From J.Cooke at Liberty-IT.co.uk Mon Aug 12 10:18:52 2002
From: J.Cooke at Liberty-IT.co.uk (Cooke,Jeremy(LIT))
Date: Mon, 12 Aug 2002 09:18:52 +0100
Subject: Nagios-users -- confirmation of subscription -- request 46985
1
Message-ID: <2E02C310A701D41187CF00902771989601F3EC31@romeo>
confirm 469851
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
From tof at sitadelle.com Mon Aug 12 11:26:50 2002
From: tof at sitadelle.com (CAILLET Christophe)
Date: Mon, 12 Aug 2002 11:26:50 +0200
Subject: Pbs with nagios
Message-ID: <3D577F5A.3060505@sitadelle.com>
Hi everybody,
I've a problem with my nagios i've about 170 services on 110 host. When
i check with check_http a a web server on a host group the report on the
server is that the service is down for a long time but when i execute
the plugin on command line the result is OK for the server.
The error is Connection timeout and the response on command line is
Response OK in 0s.
Anybody can help me?
Thanks.
PS : sorry for my poor english ;o)
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
From Daniel.Rusch at GlobalCrossing.com Mon Aug 12 16:44:42 2002
From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel)
Date: Mon, 12 Aug 2002 10:44:42 -0400
Subject: Public and Admin Permissions
Message-ID: <0DA06E553C3BD511823500508BB8965A02012019@exnadetmbx3.ams.gblxint.com>
Yes, We have our site set up that way. Guests can view most things but only
admins can change stuff.
I'm running apache so in httpd.conf:
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/.htpasswd.users
require valid-user
Options ExecCGI
Order allow,deny
Allow from all
Alias /nagios/ /usr/local/nagios/share/
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
I did this here instead of in an .htaccess file for two reasons:
1. The httpd.conf is loaded once, where as the .htaccess file is read every
time access to the directory is requested.
2. It puts all the config stuff in one place
Next, to be able to actually view services etc on the Nagios site as a
guest, we need to add "guest" to the following (be careful where you add
guest so that they can't make changes) in the cgi.cfg file in
/usr/local/nagios/etc :
default_user_name=guest
authorized_for_system_information=nagiosadmin,guest
authorized_for_configuration_information=nagiosadmin,guest
authorized_for_all_services=nagiosadmin,guest
authorized_for_all_hosts=nagiosadmin,guest
HTH
Dan
-----Original Message-----
From: Jeff Falgout [mailto:JFalgout at co.jefferson.co.us]
Sent: Friday, August 09, 2002 9:49 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Public and Admin Permissions
I am trying to setup Nagios to allow all users on the network to view
the status of
hosts and services while restricting cgi's such as cmd.cgi to admins.
In other words,
prompt for a password when the user tries to execute restricted cgi's.
I want to
avoid having to force guest users to enter guest with a blank password
through basic
auth.
Has anyone else done this, or is this even possible?
Any ideas?
Cheers
Jeff Falgout
System Administrator
IT Operations
Jefferson County, CO
Phone: 303.271.8859
Fax: 303.271.8838
Internet: jfalgout at co.jefferson.co.us
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
From sendoro at africaonline.co.tz Mon Aug 12 17:08:34 2002
From: sendoro at africaonline.co.tz (Sendoro I.Juma)
Date: Mon, 12 Aug 2002 18:08:34 +0300
Subject: (no subject)
Message-ID:
Regards
Sendoro
==========================
Africa Online (T) Ltd
50 Mirambo Street
P.O. Box 2721
Dar es Salaam Tanzania
Tel +255 22 2116 090
Mob +255 74 4279 721
Fax +255 22 2116 089
url www.africaonline.co.tz
===========================
THE NETWORK IS THE BUSINESS
===========================
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
From JFalgout at co.jefferson.co.us Mon Aug 12 17:10:17 2002
From: JFalgout at co.jefferson.co.us (Jeff Falgout)
Date: Mon, 12 Aug 2002 09:10:17 -0600
Subject: Public and Admin Permissions
Message-ID:
Yes, That's exactly what I am trying to accomplish.
I was trying to move the cmd.cgi file to a different directory, and I
was having problems.
I didn't consider auth on a single file.
Thanks for the Help
Jeff
>>> "Rusch, Daniel" 08/12/02 08:44AM
>>>
Yes, We have our site set up that way. Guests can view most things but
only
admins can change stuff.
I'm running apache so in httpd.conf:
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/.htpasswd.users
require valid-user
Options ExecCGI
Order allow,deny
Allow from all
Alias /nagios/ /usr/local/nagios/share/
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
I did this here instead of in an .htaccess file for two reasons:
1. The httpd.conf is loaded once, where as the .htaccess file is read
every
time access to the directory is requested.
2. It puts all the config stuff in one place
Next, to be able to actually view services etc on the Nagios site as a
guest, we need to add "guest" to the following (be careful where you
add
guest so that they can't make changes) in the cgi.cfg file in
/usr/local/nagios/etc :
default_user_name=guest
authorized_for_system_information=nagiosadmin,guest
authorized_for_configuration_information=nagiosadmin,guest
authorized_for_all_services=nagiosadmin,guest
authorized_for_all_hosts=nagiosadmin,guest
HTH
Dan
-----Original Message-----
From: Jeff Falgout [mailto:JFalgout at co.jefferson.co.us]
Sent: Friday, August 09, 2002 9:49 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Public and Admin Permissions
I am trying to setup Nagios to allow all users on the network to view
the status of
hosts and services while restricting cgi's such as cmd.cgi to admins.
In other words,
prompt for a password when the user tries to execute restricted cgi's.
I want to
avoid having to force guest users to enter guest with a blank password
through basic
auth.
Has anyone else done this, or is this even possible?
Any ideas?
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
From ABostick at mydoconline.com Mon Aug 12 18:30:02 2002
From: ABostick at mydoconline.com (ABostick at mydoconline.com)
Date: Mon, 12 Aug 2002 11:30:02 -0500
Subject: Removal of host group downtime
Message-ID:
Hey folks,
Nagios will let you put a whole host group into downtime but I do not see
where you can remove a whole host group from downtime at once. Is this
possible or planned?
If we are upgrading and put a hostgroup into downtime for 24hrs but it ends
up only taking 8hrs, we would like to delete the remaining downtime. For
large host groups, this is a lot of clicking... :)
Thanks,
Aaron
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
From russell at quadrix.com Mon Aug 12 18:47:16 2002
From: russell at quadrix.com (Russell Scibetti)
Date: Mon, 12 Aug 2002 12:47:16 -0400
Subject: Removal of host group downtime
References:
Message-ID: <3D57E694.10104@quadrix.com>
In addition to this, you can currently schedule downtime for all
services in a hostgroup, but not all services on a host. When a host
that has 15 services on it is going down for upgrades, it is irritating
to have to put each individual service into downtime.
If you can group all the services in a hostgroup for downtime, it only
seems logical that you should be able to so the same thing at the host
level.
Is there a way of doing this that I'm notaware of, or should this just
be a feature request?
-Russell
ABostick at mydoconline.com wrote:
>Hey folks,
>
>Nagios will let you put a whole host group into downtime but I do not see
>where you can remove a whole host group from downtime at once. Is this
>possible or planned?
>
>If we are upgrading and put a hostgroup into downtime for 24hrs but it ends
>up only taking 8hrs, we would like to delete the remaining downtime. For
>large host groups, this is a lot of clicking... :)
>
>Thanks,
>Aaron
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From stevelml1 at scee.sony.co.uk Mon Aug 12 19:44:10 2002
From: stevelml1 at scee.sony.co.uk (Steve Loughran)
Date: Mon, 12 Aug 2002 18:44:10 +0100
Subject: statusmap weirdness
Message-ID: <007301c24227$dd690400$ccfe10ac@niw2k>
Hi all
OK, so dont shoot me because I am running v1.03b, I will upgrade, honest!
I added a few normal hosts today, with check-host-alive and check_ping, and
suddenly my circular marked up statusmap view had a green backgound all over
the image, not just inside the network layout path. Not a problem i
guess.... now I have just had a machine go offline and the background colour
is the light pink that should be behind the host that is down. So I have one
host down, a pink background to the image, but the host that is down is
still on a green background. Oh, the host has come back up again, and the
background just went back to green again.
Is this a bug in v1.03b thats fixed in v1.04b, or a generic bug in all
versions? Any idea where I should be looking if its a config error? I cant
see anything wrong with the hosts/services files, they are the standard
check-host-alive and check_ping, nothing too extravagent.
--
Steve
-------------------------------------------------
Steve Loughran, Network Infrastructure Manager
Sony Computer Entertainment Europe (Cambridge)
Yamaha YZF1000R Thunderace
ICQ#: 104426046
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From ABostick at mydoconline.com Mon Aug 12 20:16:47 2002
From: ABostick at mydoconline.com (ABostick at mydoconline.com)
Date: Mon, 12 Aug 2002 13:16:47 -0500
Subject: Removal of host group downtime
Message-ID:
I believe when you put the host itself into downtime, it implies that the
services are in downtime. At least that has been my experience...
Aaron
-----Original Message-----
From: Russell Scibetti [mailto:russell at quadrix.com]
Sent: Monday, August 12, 2002 11:47 AM
To: Bostick, Aaron PH/US
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Removal of host group downtime
In addition to this, you can currently schedule downtime for all
services in a hostgroup, but not all services on a host. When a host
that has 15 services on it is going down for upgrades, it is irritating
to have to put each individual service into downtime.
If you can group all the services in a hostgroup for downtime, it only
seems logical that you should be able to so the same thing at the host
level.
Is there a way of doing this that I'm notaware of, or should this just
be a feature request?
-Russell
ABostick at mydoconline.com wrote:
>Hey folks,
>
>Nagios will let you put a whole host group into downtime but I do not see
>where you can remove a whole host group from downtime at once. Is this
>possible or planned?
>
>If we are upgrading and put a hostgroup into downtime for 24hrs but it ends
>up only taking 8hrs, we would like to delete the remaining downtime. For
>large host groups, this is a lot of clicking... :)
>
>Thanks,
>Aaron
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From David.Crown at state.de.us Mon Aug 12 20:31:59 2002
From: David.Crown at state.de.us (Crown David T. (DNREC))
Date: Mon, 12 Aug 2002 14:31:59 -0400
Subject: confusion over notification
Message-ID: <72DC392B4BC6D942BDE9E876E0E36348061281@DEMAACLS05N1.state.de.us>
After reading over the docs and what not, I am still a little confused
over notification setup. When I am setting up notification commands (I'm
just using the included scripts for mail) do I set up the users with the
commands or do I set the services up with those commands, both? I have
them setup, and partially working (I now know my mistake). But before I
start banging away on the keyboard to correct this, I am hoping to have
a slightly clearer picture. Any light that could be shed on this would
be much appreciated. Thanks
David Crown, MCSE, MCP+I, CCNA
Information Resources Management
State of Delaware,
Department of Natural Resources and Environmental Control
dcrown at state.de.us
Voice: (302)739-4409 Fax: (302)739-6242
www.dnrec.state.de.us/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From katherine.elliott at autodesk.com Mon Aug 12 20:41:26 2002
From: katherine.elliott at autodesk.com (katherine.elliott at autodesk.com)
Date: Mon, 12 Aug 2002 11:41:26 -0700
Subject: Host Down - no packets lost, just a rta higher than 10 ms
Message-ID: <5976CCA1A985D311953900805FA7CAE30675D37F@hqmsgsrf07.autodesk.com>
Hi,
I am having a problem with getting host down notifications when the hosts are not down. There are not any packets lost just a higher rta. I set a high rta of 1000 in the command line. It appears to actually be ms and not seconds, so I set it this high in hopes that I would never get a Host Down error because of a high rta. However I still got a host down notication:
* Nagios *
Notification Type: PROBLEM
Host: kermit
State: DOWN
Address: 144.111.2.51
Info: PING CRITICAL - Packet loss = 0, RTA = 14.00 ms
Date/Time: Sat Aug 10 06:11:13 GMT 2002
commands.cfg:
command_line /opt/apps/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 5,1% -c 10,5% -p 5 -t 1000
Ideally I would like it to never notify unless just packets are lost. I am using check_ping (netsaint-plugins 1.2.9-4) 1.41.2.3
Usage: check_ping -H -w ,% -c ,%
[-p packets] [-t timeout] [-L].
Any help will be much appreciated!
Thanks,
Katie
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From galimore at mac.com Mon Aug 12 20:54:45 2002
From: galimore at mac.com (Terry Simons)
Date: Mon, 12 Aug 2002 12:54:45 -0600
Subject: confusion over notification
In-Reply-To: <72DC392B4BC6D942BDE9E876E0E36348061281@DEMAACLS05N1.state.de.us>
References: <72DC392B4BC6D942BDE9E876E0E36348061281@DEMAACLS05N1.state.de.us>
Message-ID:
David,
Firstly,
You set up contacts with notification commands so that when a
notification needs to happen for that user it will call the appropriate
command. In this way, you can actually have separate commands for
different people... kind of handy if you have a situation that might
need it.
So that's part 1. You set up notification commands for users so that
*when* a notification is send out, it knows what to do to contact the
user.
Part two:
Services do *NOT* use notification commands. They use check commands.
The difference is that a check command is what is used when a service is
checked. So let's say we use a check_tcp -p 23 for some service...
we'll call it check_telnet. If that service FAILS then we need to send
a notification to the appropriate people.
Nagios figures out who needs to be contacted based on your hostgroup
definitions (which it'll figure out from your contact_groups option in
the service), and it will send each user a notification based on
whichever notification_command they have specified.
So... in short, notification commands are used to tell Nagios how to
*notify* contacts. Check commands are used to tell Nagios how to
*check* hosts and services.
I hope this helps...
- Terry
On Monday, August 12, 2002, at 12:31 PM, Crown David T. (DNREC) wrote:
> After reading over the docs and what not, I am still a little confused
> over notification setup. When I am setting up notification commands
> (I?m just using the included scripts for mail) do I set up the users
> with the commands or do I set the services up with those commands,
> both? I have them setup, and partially working (I now know my mistake).
> But before I start banging away on the keyboard to correct this, I am
> hoping to have a slightly clearer picture. Any light that could be shed
> on this would be much appreciated. Thanks
>
> ?
>
> David Crown, MCSE, MCP+I, CCNA
> Information Resources Management
> State ofDelaware,
> Department of Natural Resources and Environmental Control
> dcrown at state.de.us
> Voice: (302)739-4409 Fax: (302)739-6242
>
> www.dnrec.state.de.us/
>
> ?
>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
From galimore at mac.com Mon Aug 12 20:58:52 2002
From: galimore at mac.com (Terry Simons)
Date: Mon, 12 Aug 2002 12:58:52 -0600
Subject: Host Down - no packets lost, just a rta higher than 10 ms
In-Reply-To: <5976CCA1A985D311953900805FA7CAE30675D37F@hqmsgsrf07.autodesk.com>
References: <5976CCA1A985D311953900805FA7CAE30675D37F@hqmsgsrf07.autodesk.com>
Message-ID: <8AF97B39-AE25-11D6-A5F5-0003938FDD5C@mac.com>
Katie,
The problem appears to be in your command_line option:
command_line???/opt/apps/nagios/libexec/check_ping -H $HOSTADDRESS$ -w
5,1% -c 10,5% -p 5 -t 1000
You're telling it to send a critical notification if you have 10ms of
latency, or 5% packet loss.
You had 14 ms of latency, thus it sent out a critical notification.
Hope that helps,
- Terry
On Monday, August 12, 2002, at 12:41 PM, katherine.elliott at autodesk.com
wrote:
> Hi,
>
> I am having a problem with getting host down notifications when the
> hosts are not down.?There are not any packets lost just a higher rta.
> ?I set a high rta of 1000 in the command line.?It appears to actually
> be ms and not seconds, so I set it this high in hopes that I would
> never get a Host Down error because of a high rta.?However I still got
> a host down notication:
>
> ?
>
> * Nagios *
>
> ?
>
> Notification Type: PROBLEM
>
> Host: kermit
>
> State: DOWN
>
> Address: 144.111.2.51
>
> Info:PINGCRITICAL - Packet loss = 0, RTA = 14.00 ms
>
> ?
>
> Date/Time: Sat Aug 1006:11:13 GMT2002
>
> ?
>
> commands.cfg:
>
> command_line???/opt/apps/nagios/libexec/check_ping -H $HOSTADDRESS$ -w
> 5,1% -c 10,5% -p 5 -t 1000
>
> ?
>
> Ideally I would like it to never notify unless just packets are lost.
> ??I am using check_ping (netsaint-plugins 1.2.9-4) 1.41.2.3
>
> Usage: check_ping -H -w ,% -c ,%
>
> ??????[-p packets] [-t timeout] [-L].
>
> ?
>
> Any help will be much appreciated!
>
> ?
>
> Thanks,
>
> Katie
>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
From jasonm at kelman.com Mon Aug 12 21:05:11 2002
From: jasonm at kelman.com (Jason Marshall)
Date: Mon, 12 Aug 2002 13:05:11 -0600 (MDT)
Subject: Host Down - no packets lost, just a rta higher
than 10 ms
In-Reply-To: <5976CCA1A985D311953900805FA7CAE30675D37F@hqmsgsrf07.autodesk.com>
References: <5976CCA1A985D311953900805FA7CAE30675D37F@hqmsgsrf07.autodesk.com>
Message-ID:
> I am having a problem with getting host down notifications when the
> hosts are not down. There are not any packets lost just a higher rta.
> I set a high rta of 1000 in the command line. It appears to actually
> be ms and not seconds, so I set it this high in hopes that I would
> never get a Host Down error because of a high rta. However I still
> got a host down notication:
You're setting the wrong parameter to 1000. You set the timeout for the
command to be 1000 seconds, which isn't what you want.
> command_line /opt/apps/nagios/libexec/check_ping -H $HOSTADDRESS$ -w
> 5,1% -c 10,5% -p 5 -t 1000
You've set the "warning" round-trip time to 5 milliseconds or 1% loss.
You've set the "critical" round-trip time to 10 milliseconds or 5% loss.
So as you can see, setting -w to 1000,1% and -c to 10000,5% might do more
like what you expect.
Note that, since you are only sending five packets per test, you're never
going to get just 1% or 5% loss. Just 0%, 20%, etc. So any dropped
packet is going to give you "critical".
---
Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada.
From a Sun Microsystems bug report (#4102680):
"Workaround: don't pound on the mouse like a wild monkey."
"I have great faith in fools:
Self confidence my friends call it." -Edgar Allan Poe
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From NSosa at oas.org Mon Aug 12 21:51:21 2002
From: NSosa at oas.org (Sosa, Nelson)
Date: Mon, 12 Aug 2002 15:51:21 -0400
Subject: Problems with Temptrax
Message-ID:
Hello,
Is anybody out there using temptrax? The plugin works fine from the console
but when I use it with nagios the temperature does not update in the web
page and also it doesn't get into Warning or Critical state. It looks like
it only reads the temperature the first time the nagios process starts and
then it never changes. Any help would be appreciated.
Thanks!
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From jyates at dataservice.org Mon Aug 12 21:53:28 2002
From: jyates at dataservice.org (Jason Yates)
Date: Mon, 12 Aug 2002 15:53:28 -0400
Subject: Server Descriptions?
Message-ID:
Can server descriptions be displayed on the host information page? Giving
information like OS Version, type of server, ram, cpu, etc. Basically, I
need this for inventory purposes.
-Jason Yates
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From galimore at mac.com Mon Aug 12 22:05:10 2002
From: galimore at mac.com (Terry Simons)
Date: Mon, 12 Aug 2002 14:05:10 -0600
Subject: Problems with Temptrax
In-Reply-To:
References:
Message-ID:
Sure...
Can you send part of your config?
I'm not using temptrax, but if the plugin works from the command line,
chances are it's a configuration problem.
Can you send any config relevant to the temptrax service definition, and
the check_command definition you're using, AND what you typed on the
command line?
- Terry
On Monday, August 12, 2002, at 01:51 PM, Sosa, Nelson wrote:
> Hello,
>
> Is anybody out there using temptrax? The plugin works fine from the
> console
> but when I use it with nagios the temperature does not update in the web
> page and also it doesn't get into Warning or Critical state. It looks
> like
> it only reads the temperature the first time the nagios process starts
> and
> then it never changes. Any help would be appreciated.
> Thanks!
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From NSosa at oas.org Mon Aug 12 22:21:20 2002
From: NSosa at oas.org (Sosa, Nelson)
Date: Mon, 12 Aug 2002 16:21:20 -0400
Subject: Problems with Temptrax
Message-ID:
hmmm...it seems like the problem is that I don't have permission as nagios
user to read the serial port where the temptrax is connected, everytime that
it worked from the console I was running the command as root but when I try
to use it as a normal user the /dev/ttyS0 gives me a "permission denied"
message...
I tried "chown nagios:nagios /dev/ttyS0" to nagios or any other user with no
luck
Any ideas?????
Thanks!!!
Nelson.
-----Original Message-----
From: Terry Simons [mailto:galimore at mac.com]
Sent: Monday, August 12, 2002 4:05 PM
To: Sosa, Nelson
Cc: 'nagios-users at lists.sourceforge.net'
Subject: Re: [Nagios-users] Problems with Temptrax
Sure...
Can you send part of your config?
I'm not using temptrax, but if the plugin works from the command line,
chances are it's a configuration problem.
Can you send any config relevant to the temptrax service definition, and
the check_command definition you're using, AND what you typed on the
command line?
- Terry
On Monday, August 12, 2002, at 01:51 PM, Sosa, Nelson wrote:
> Hello,
>
> Is anybody out there using temptrax? The plugin works fine from the
> console
> but when I use it with nagios the temperature does not update in the web
> page and also it doesn't get into Warning or Critical state. It looks
> like
> it only reads the temperature the first time the nagios process starts
> and
> then it never changes. Any help would be appreciated.
> Thanks!
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From harperm at eloan.com Mon Aug 12 22:38:32 2002
From: harperm at eloan.com (Harper Mann)
Date: Mon, 12 Aug 2002 13:38:32 -0700
Subject: Problems with Temptrax
Message-ID:
On Linux, I had to set the temptrax binary to setgid "tty":
crw-rw---- 1 root tty 4, 64 Aug 12 13:23 /dev/tts/0
-rwxr-sr-x 1 nagios tty 7301 Jul 25 22:54 temptrax*
so it could run from user "nagios" .
Good luck,
- Harper
Harper Mann
Systems Group
E-Loan, Inc.
925-560-2889 (office)
510-599-2075 (cell)
This message is intended only for the individual or entity to which it is
addressed and may contain information that is confidential and/or
privileged. If you received this e-mail in error, please delete it and
notify the sender immediately. Any dissemination, distribution or copying of
this communication by someone other than the intended recipient, is strictly
prohibited.
-----Original Message-----
From: Terry Simons [mailto:galimore at mac.com]
Sent: Monday, August 12, 2002 1:05 PM
To: Sosa, Nelson
Cc: 'nagios-users at lists.sourceforge.net'
Subject: Re: [Nagios-users] Problems with Temptrax
Sure...
Can you send part of your config?
I'm not using temptrax, but if the plugin works from the command line,
chances are it's a configuration problem.
Can you send any config relevant to the temptrax service definition, and
the check_command definition you're using, AND what you typed on the
command line?
- Terry
On Monday, August 12, 2002, at 01:51 PM, Sosa, Nelson wrote:
> Hello,
>
> Is anybody out there using temptrax? The plugin works fine from the
> console
> but when I use it with nagios the temperature does not update in the web
> page and also it doesn't get into Warning or Critical state. It looks
> like
> it only reads the temperature the first time the nagios process starts
> and
> then it never changes. Any help would be appreciated.
> Thanks!
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From randy.omeara at lmco.com Mon Aug 12 23:26:52 2002
From: randy.omeara at lmco.com (OMeara, Randy)
Date: Mon, 12 Aug 2002 14:26:52 -0700
Subject: wrl problem
Message-ID:
I ran into this awhile back and found the answer in the mail archives.
I *believe* the fix was to remove dots from host names. For example,
if you have a host named www.my.com, remove the periods and rename it
to something like www-my-com in your config files.
Like I said, this is from memory...
Randy
-----Original Message-----
From: Kevin S. Brackett [mailto:ksb at earth.openxl.com]
Sent: Friday, August 09, 2002 1:25 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] wrl problem
name expected
File: http://XXXXXXXXXXXXX/nagios/cgi-bin/statuswrl.cgi?host=all
Line: 101
Column: 13
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From ksb at platypusgroup.com Mon Aug 12 23:55:05 2002
From: ksb at platypusgroup.com (Kevin S. Brackett)
Date: Mon, 12 Aug 2002 17:55:05 -0400 (EDT)
Subject: wrl problem
In-Reply-To:
References:
Message-ID: <20020812175442.T87820-100000@nothingness.loophole.org>
On Mon, 12 Aug 2002, OMeara, Randy wrote:
> I ran into this awhile back and found the answer in the mail archives.
>
> I *believe* the fix was to remove dots from host names. For example,
> if you have a host named www.my.com, remove the periods and rename it
> to something like www-my-com in your config files.
>
> Like I said, this is from memory...
>
Thanks much. It worked. :)
- kevin
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From andrew.slater at netstrategy.net Tue Aug 13 03:31:39 2002
From: andrew.slater at netstrategy.net (andrew.slater at netstrategy.net)
Date: Tue, 13 Aug 2002 11:31:39 +1000
Subject: check_smtp problem
Message-ID:
Hi all,
I know this is more suited to the plugins list but there really isnt much
activity there, so I thought I would post here (apologies to any if this is
out of order).
My problem is that with a fresh install of Nagios 1.04b using the 1.3b1
plugins, I am getting a CRITICAL response to some check_smtp service
checks.
Nagios is running on a RedHat 7.3 system (installed from source not RPMs),
the check_smtp is the default command and actually works succesfully on
most of my mail servers. In fact, on the problem servers the check returns
an "SMTP OK: 0 second response time", but still returns CRITICAL as the
service status. The details are as follows;
Domino 5.11 smtp server - OK: 0 second response time - CRITICAL
Domino 5.10 smtp server - OK: 0 second response time - CRITICAL
MS Exchange 2000 server - OK: 0 second response time - CRITICAL
qmail smtp server - OK: 0 second response time - OK
MAILsweeper esmtp server - OK: 0 second response time - OK
All configs for the above services and servers are identical (except IP
address of course!) It appears that the problem is only occuring on Domino
and Exchange servers.
Has anyone seen this problem before, and if so is there a solution? I would
like to go live with the monitoring system, but really would prefer to have
notifications working correctly on our mail servers. I have looked briefly
at the source code of the check_smtp but cant find anything that glares out
at me. (Havent coded in a looong time). I now throw myself on the combined
wisdom of the list.
Any takers?
Andrew Slater
NetStrategy Pty Ltd
1 Vuko Place Warriewood
Locked Bag 2000 Warriewood
NSW 2102 Sydney Australia
Telephone: +61-2-9970-2000 Fax: +61-2-9970-2100
24 by 7 Helpdesk +61-1300-736-383
---What we do---
We help more customers win by lowering their IT costs and solving
their problems. Call us to find out how we can help you win.
---Legal Notice---
Confidential Communication
This email and any files transmitted with it is intended solely for the use
of the individual or entity to whom it is addressed. If you are not the
intended recipient, or the person responsible for delivering the email to
the intended recipient, please immediately notify the sender by email and
delete the original transmission and its contents. Any use (which includes
dissemination, forwarding, printing, or copying) of this email and any file
attachments is prohibited.
---Liability Disclaimer---
Before opening or using attachments, check them for viruses and defects.
Our liability is limited to resupplying any affected attachments.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From andrew_kemp at pacific.net.au Tue Aug 13 03:44:28 2002
From: andrew_kemp at pacific.net.au (Andrew Kemp)
Date: Tue, 13 Aug 2002 11:44:28 +1000
Subject: Distributed monitoring setup
Message-ID: <005201c2426a$f628c9b0$758317d2@LTKEMP>
Greetings,
I am wishing to discuss with others their Nagios setup in a distributed
environment.
We have 3 servers running Nagios - 1 x external and 2 x internal. The
external server has outside parties having limited views to their
hosts/connections into our network. The 2 internal servers are currently
setup in a distributed environment, with one server sending results to
the other (via nsca) due to it's geographic location on our network. The
'central server' not only collects the results from the other
distributed server, but also actively checks approximately half of the
total number of hosts and services.
My reading of the Nagios documentation shows that it is assumed the
central server only accepts results from the distributed servers rather
than actively checking hosts and services itself. However, I see no
reason as to why the central server can not also actively check - there
is no design issue that I am aware of.
How do others run their distributed setup ?
Also, we believe that there are scheduling issues with Nagios under
different Linux kernels. With a 2.2.20 kernel in a distributed setup, we
found that the number of Nagios processes continued to grow - ie: there
was no reaping. An strace of a child process showed that it was waiting
to write to the external command files, while an strace of the parent
process showed no errors and the reaping worked as expected.
Therefore, we modified the start script for Nagios to include an strace
of the parent process and ran fine with this for many months. This is
with Nagios 1.0a7 through 1.0b3 and the previously undocumented
'command_check_interval=-1'.
Recently we upgraded the monitoring hosts to a 2.4 kernel, and
discovered an entirely different problem. The number of Nagios processes
grows exponentially until the load on the box is so large that a hard
reset is required. Again, the children processes do not appear to be
being reaped as would be expected. An strace of the child processes
shows that they are waiting on a write to the internal pipe (Nagios
parent process) after reading the results from the external command
file.
We have tried numerous ways of trying to correct this problem, including
upgrading to Nagios 1.0b4 and also including the latest base/checks.c
from CVS but can not get Nagios to sufficiently reap the children
processes. So, until we can resolve this problem we have been forced to
downgrade back to the 2.2 kernel, where Nagios 1.0b4 and base/checks.c
works fine (though with the strace on the parent process).
So, I would be interested in discussing with others who are running
Nagios in a distributed setup under Linux as to whether or not they are
experiencing similar issues.
Regards,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From frankk74 at rogers.com Sat Aug 10 23:50:25 2002
From: frankk74 at rogers.com (Frank Kannemann)
Date: Sat, 10 Aug 2002 17:50:25 -0400
Subject: problems with icons in status view?
Message-ID: <000001c24272$cb185670$6501a8c0@w2xzl91n02>
Hi,
I am using the rpm that was linked to on the nagios site.
I can't seem to get anything other than a "?" for the icons.
I have tried 3 things:
1) setup definitions in cgi.cfg (old method)
2) setup new definitions using xed...cfg file
3) I noticed that extended definitions were part of the compile options...
so I recompiled the nagios in case the pre-packaged rpm wasn't done that
way...
but it didn't make any difference... the only thing I noticed was the
binaries
were different sizes by 2x
help.....
Thanks... Thanks for nagios and the rpms!
Frank
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From frankk74 at rogers.com Tue Aug 13 05:02:13 2002
From: frankk74 at rogers.com (Frank Kannemann)
Date: Mon, 12 Aug 2002 23:02:13 -0400
Subject: icons and extended host definitions
Message-ID: <001701c24275$d378a060$6401a8c0@slnt.phub.net.cable.rogers.com>
Hi,
I am using the rpm that was linked to on the nagios site.
I can't seem to get anything other than a "?" for the icons.
I have tried a couple of things:
1) setup definitions in cgi.cfg (old method)
2) setup new definitions using xed...cfg file
3) I noticed that extended definitions were part of the compile options...
so I recompiled the nagios in case the pre-packaged rpm wasn't done that way...
but it didn't make any difference... the only thing I noticed was the binaries
were different sizes by 2x
4) I couldn't find a error messages in nagios.log...
help.....
Thanks... Thanks for nagios and the rpms!
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From galimore at mac.com Tue Aug 13 06:37:44 2002
From: galimore at mac.com (terry)
Date: Mon, 12 Aug 2002 22:37:44 -0600
Subject: Notification/Contact definition question
Message-ID: <69468108-AE76-11D6-BE3D-00306570AEC8@mac.com>
If I were to have 3 contacts with the same E-mail, and pager address,
would Nagios be smart enough to only send out one notification for
that, or would it send it out 3 times?
For instance:
define contactgroup{
contactgroup_name my_group
members fred, george, bob
}
define contact{
contact_name george
contact_email list at somewhere.com
contact_pager some_pager_group
}
define contact{
contact_name bob
contact_email list at somewhere.com
contact_pager some_pager_group
}
define contact{
contact_name fred
contact_email list at somewhere.com
contact_pager some_pager_group
}
Would nagios determine that it should only send out 1 E-mail to
list at somewhere.com and likewise for the pager?
I'm asking this because I'm having a situation where I have paging set
up like this for one group, and they appear to only be getting one
page.. which is what I want, but I have another group that is getting
triple E-mail (at the very least) and possibly triple the pages.
Thanks,
- Terry
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From galimore at mac.com Tue Aug 13 06:50:19 2002
From: galimore at mac.com (terry)
Date: Mon, 12 Aug 2002 22:50:19 -0600
Subject: Notification/Contact definition question
In-Reply-To:
References:
Message-ID: <2AF142C4-AE78-11D6-BE3D-00306570AEC8@mac.com>
That's what I thought.
I think it's broken then, but I only think it's broken for E-mail at
the moment.... possibly paging, but I'll check it out.
I'm running 1.0b5.
I'll do some testing, and drop a note to the list again when I can
determine whether or not it's actually broken for sure.
- Terry
On Monday, August 12, 2002, at 10:50 PM, andrew.slater at netstrategy.net
wrote:
>
> In the doco it says that it _is_ smart enough. The final stage filters
> will
> mean that it will only send one notification.
>
>
>
> Kind regards,
>
> Andrew Slater
>
>
>
>
> NetStrategy Pty Ltd
> 1 Vuko Place Warriewood
> Locked Bag 2000 Warriewood
> NSW 2102 Sydney Australia
>
> Telephone: +61-2-9970-2000 Fax: +61-2-9970-2100
> 24 by 7 Helpdesk +61-1300-736-383
>
> ---What we do---
> We help more customers win by lowering their IT costs and solving
> their problems. Call us to find out how we can help you win.
>
> ---Legal Notice---
> Confidential Communication
> This email and any files transmitted with it is intended solely for
> the use
> of the individual or entity to whom it is addressed. If you are not the
> intended recipient, or the person responsible for delivering the email
> to
> the intended recipient, please immediately notify the sender by email
> and
> delete the original transmission and its contents. Any use (which
> includes
> dissemination, forwarding, printing, or copying) of this email and any
> file
> attachments is prohibited.
>
> ---Liability Disclaimer---
> Before opening or using attachments, check them for viruses and
> defects.
> Our liability is limited to resupplying any affected attachments.
>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From dean.bishop at tcdsb.org Tue Aug 13 13:11:24 2002
From: dean.bishop at tcdsb.org (Bishop, Dean)
Date: Tue, 13 Aug 2002 07:11:24 -0400
Subject: check_smtp problem
Message-ID:
Send your config. i.e. host and service definitions for these servers.
later,
dean
-----Original Message-----
From: andrew.slater at netstrategy.net
[mailto:andrew.slater at netstrategy.net]
Sent: Monday, August 12, 2002 9:32 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_smtp problem
Hi all,
I know this is more suited to the plugins list but there really isnt much
activity there, so I thought I would post here (apologies to any if this is
out of order).
My problem is that with a fresh install of Nagios 1.04b using the 1.3b1
plugins, I am getting a CRITICAL response to some check_smtp service
checks.
Nagios is running on a RedHat 7.3 system (installed from source not RPMs),
the check_smtp is the default command and actually works succesfully on
most of my mail servers. In fact, on the problem servers the check returns
an "SMTP OK: 0 second response time", but still returns CRITICAL as the
service status. The details are as follows;
Domino 5.11 smtp server - OK: 0 second response time - CRITICAL
Domino 5.10 smtp server - OK: 0 second response time - CRITICAL
MS Exchange 2000 server - OK: 0 second response time - CRITICAL
qmail smtp server - OK: 0 second response time - OK
MAILsweeper esmtp server - OK: 0 second response time - OK
All configs for the above services and servers are identical (except IP
address of course!) It appears that the problem is only occuring on Domino
and Exchange servers.
Has anyone seen this problem before, and if so is there a solution? I would
like to go live with the monitoring system, but really would prefer to have
notifications working correctly on our mail servers. I have looked briefly
at the source code of the check_smtp but cant find anything that glares out
at me. (Havent coded in a looong time). I now throw myself on the combined
wisdom of the list.
Any takers?
Andrew Slater
NetStrategy Pty Ltd
1 Vuko Place Warriewood
Locked Bag 2000 Warriewood
NSW 2102 Sydney Australia
Telephone: +61-2-9970-2000 Fax: +61-2-9970-2100
24 by 7 Helpdesk +61-1300-736-383
---What we do---
We help more customers win by lowering their IT costs and solving
their problems. Call us to find out how we can help you win.
---Legal Notice---
Confidential Communication
This email and any files transmitted with it is intended solely for the use
of the individual or entity to whom it is addressed. If you are not the
intended recipient, or the person responsible for delivering the email to
the intended recipient, please immediately notify the sender by email and
delete the original transmission and its contents. Any use (which includes
dissemination, forwarding, printing, or copying) of this email and any file
attachments is prohibited.
---Liability Disclaimer---
Before opening or using attachments, check them for viruses and defects.
Our liability is limited to resupplying any affected attachments.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From mails_and_news at bluewin.ch Tue Aug 13 13:14:32 2002
From: mails_and_news at bluewin.ch (mails_and_news at bluewin.ch)
Date: Tue, 13 Aug 2002 13:14:32 +0200
Subject: mrtg and nagios on the same machine
Message-ID: <3D2ACDA4000B7562@mss4n.bluewin.ch>
Hello list
I run mrtg for a long time on a suse8.0 system.
Now I have installed nagios on the same system. But the statusmap, trends
and histogram is not working (the html-pages create failure 404). And of
course I cant find the statusmap.cgi and so on. Regarding to the FAQ I should
install gd, zlib and png libaries. But all three libraris (sources:zlib-1.1.4.tar.gz,
libpng-1.0.14.tar.gz, gd-1.8.4.tar.gz) are already on the system, because
mrtg need this also.
My questions: Do I need to install this again, because nagios was installed
after the libaries (for mrtg)?
Can I use this zlib-1.1.4.tar.gz,libpng-1.0.14.tar.gz,gd-1.8.4.tar.gz for
nagios?
Is there out a little bit more information how to install this libaires,
especially this part, because it is not clear for me!
Then clean out your old??? Nagios configuration information and rerun the
configure script??? with the following two commands (from within you Nagios
distribution directory):
make devclean
./configure --with-gd-lib=LIBDIR --with-gd-inc=INCDIR [other options...]
Replace LIBDIR with the directory in which the gd library is installed (usually
/usr/lib or /usr/local/lib) and replace INCDIR with the directory in which
the header files for the gd library are installed (usually /usr/include
or /usr/local/include).
After you rerun the configure script, make sure to recompile??? the CGIs
and install them in their proper location.
thanks in advance
Oliver
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
From dean.bishop at tcdsb.org Tue Aug 13 15:47:19 2002
From: dean.bishop at tcdsb.org (Bishop, Dean)
Date: Tue, 13 Aug 2002 09:47:19 -0400
Subject: outages.cgi permission problem.
Message-ID:
Good morning,
k, so every other cgi works just fine. But for some reason i keep getting
the:
It appears as though you do not have permission to view information you
requested...
messages when i try to view the "Network Outages".
Anyone have a thought?
below is my cgi.cfg.
thanks in advance,
dean
#################################################################
#
# CGI.CFG - Sample CGI Configuration File for Nagios 1.0b3
#
# Last Modified: 05-30-2002
#
#################################################################
# MAIN CONFIGURATION FILE
# This tells the CGIs where to find your main configuration file.
# The CGIs will read the main and host config files for any other
# data they might need.
main_config_file=/usr/local/nagios/etc/nagios.cfg
# PHYSICAL HTML PATH
# This is the path where the HTML files for Nagios reside. This
# value is used to locate the logo images needed by the statusmap
# and statuswrl CGIs.
physical_html_path=/usr/local/nagios/share
# URL HTML PATH
# This is the path portion of the URL that corresponds to the
# physical location of the Nagios HTML files (as defined above).
# This value is used by the CGIs to locate the online documentation
# and graphics. If you access the Nagios pages with an URL like
# http://www.myhost.com/nagios, this value should be '/nagios'
# (without the quotes).
url_html_path=/nagios/
# CONTEXT-SENSITIVE HELP
# This option determines whether or not a context-sensitive
# help icon will be displayed for most of the CGIs.
# Values: 0 = disables context-sensitive help
# 1 = enables context-sensitive help
show_context_help=0
# NAGIOS PROCESS CHECK COMMAND
# This is the full path and filename of the program used to check
# the status of the Nagios process. It is used only by the CGIs
# and is completely optional. However, if you don't use it, you'll
# see warning messages in the CGIs about the Nagios process
# not running and you won't be able to execute any commands from
# the web interface. The program should follow the same rules
# as plugins; the return codes are the same as for the plugins,
# it should have timeout protection, it should output something
# to STDIO, etc.
#
# Note: If you are using the check_nagios plugin here, the first
# argument should be the physical path to the status log, the
# second argument is the number of minutes that the status log
# contents should be "fresher" than, and the third argument is the
# string that should be matched from the output of the 'ps'
# command in order to locate the running Nagios process. That
# process string is going to vary depending on how you start
# Nagios. Run the 'ps' command manually to see what the command
# line entry for the Nagios process looks like.
#nagios_check_command=/usr/local/nagios/libexec/check_nagios
/usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios'
# AUTHENTICATION USAGE
# This option controls whether or not the CGIs will use any
# authentication when displaying host and service information, as
# well as committing commands to Nagios for processing.
#
# Read the HTML documentation to learn how the authorization works!
#
# NOTE: It is a really *bad* idea to disable authorization, unless
# you plan on removing the command CGI (cmd.cgi)! Failure to do
# so will leave you wide open to kiddies messing with Nagios and
# possibly hitting you with a denial of service attack by filling up
# your drive by continuously writing to your command file!
#
# Setting this value to 0 will cause the CGIs to *not* use
# authentication (bad idea), while any other value will make them
# use the authentication functions (the default).
use_authentication=1
# DEFAULT USER
# Setting this variable will define a default user name that can
# access pages without authentication. This allows people within a
# secure domain (i.e., behind a firewall) to see the current status
# without authenticating. You may want to use this to avoid basic
# authentication if you are not using a sercure server since basic
# authentication transmits passwords in the clear.
#
# Important: Do not define a default username unless you are
# running a secure web server and are sure that everyone who has
# access to the CGIs has been authenticated in some manner! If you
# define this variable, anyone who has not authenticated to the web
# server will inherit all rights you assign to this user!
#default_user_name=guest
# SYSTEM/PROCESS INFORMATION ACCESS
# This option is a comma-delimited list of all usernames that
# have access to viewing the Nagios process information as
# provided by the Extended Information CGI (extinfo.cgi). By
# default, *no one* has access to this unless you choose to
# not use authorization. You may use an asterisk (*) to
# authorize any user who has authenticated to the web server.
authorized_for_system_information=nagiosadmin
# CONFIGURATION INFORMATION ACCESS
# This option is a comma-delimited list of all usernames that
# can view ALL configuration information (hosts, commands, etc).
# By default, users can only view configuration information
# for the hosts and services they are contacts for. You may use
# an asterisk (*) to authorize any user who has authenticated
# to the web server.
authorized_for_configuration_information=nagiosadmin
# SYSTEM/PROCESS COMMAND ACCESS
# This option is a comma-delimited list of all usernames that
# can issue shutdown and restart commands to Nagios via the
# command CGI (cmd.cgi). Users in this list can also change
# the program mode to active or standby. By default, *no one*
# has access to this unless you choose to not use authorization.
# You may use an asterisk (*) to authorize any user who has
# authenticated to the web server.
authorized_for_system_commands=nagiosadmin
# GLOBAL HOST/SERVICE VIEW ACCESS
# These two options are comma-delimited lists of all usernames that
# can view information for all hosts and services that are being
# monitored. By default, users can only view information
# for hosts or services that they are contacts for (unless you
# you choose to not use authorization). You may use an asterisk (*)
# to authorize any user who has authenticated to the web server.
#authorized_for_all_services=nagiosadmin
#authorized_for_all_hosts=nagiosadmin
# GLOBAL HOST/SERVICE COMMAND ACCESS
# These two options are comma-delimited lists of all usernames that
# can issue host or service related commands via the command
# CGI (cmd.cgi) for all hosts and services that are being monitored.
# By default, users can only issue commands for hosts or services
# that they are contacts for (unless you you choose to not use
# authorization). You may use an asterisk (*) to authorize any
# user who has authenticated to the web server.
#authorized_for_all_service_commands=nagiosadmin
#authorized_for_all_host_commands=nagiosadmin
# EXTENDED HOST INFORMATION
# This is all entirely optional. If you don't enter any extended
# information, nothing bad will happen - I promise... Its basically
# just used to have pretty icons and such associated with your hosts.
# This is especially nice when you're using the statusmap and
# statuswrl CGIs. You can also specify an URL that links to a document
# containing more information about the host (location details, contact
# information, etc).
#
#
hostextinfo[]=;;;;\
# ;,;,,;
#
# = Optional URL that points to a document of
# some type containing information on the host.
# The information (and the document type) can
# be anything you want. Examples include details
# on the physical location of the server, info
# on how to contact the admins in case of an
# emergency, etc. Relative URLs start in the
# same path that is used to access the CGIs.
# The link that is created for the host's notes
# notes is found in the extinfo CGI.
# Note: You may use the $HOSTNAME$ and
# $HOSTADDRESS$ macros in this URL.
# = A GIF, PNG, or JPG image to associate with
# the host. This is used in the status and
# extinfo CGIs.
# = An image to use in the statuswrl CGI in the
# VRML generation. Transparent images don't
# work so great..
# = A GD2 format image used by the statusmap CGI
# to represent the host. PNG images can be
# converted to GD2 format by using the 'pngtogd2'
# utility supplied with Boutell's gd library.
# = ALT tag used with PNG, GIF, and GD2 images
# in the status, statusmap, and extinfo CGIs
# , = X and Y coordinates used when drawing the
# host in the statusmap CGI. (0,0) is located
# in the upper left corner of the screen and is
# considered to be the origin. The coordinates
# you supply here are used as the coords of the
# upper left hand corner of host icon. Both
# numbers should be positive integers.
# ,, = X, Y, and Z coordinates used when drawing
# the host in the statuswrl (VRML) CGI. All
# numbers can be positive or negative (anywhere
# in 3-D space). The coordinates are used to
# determine the center of the host "cube" that
# is drawn. Host "cubes" are drawn with a
# height, width, and depth of 0.5 (meters).
#
# Note: All images must be placed in the /logos subdirectory under
# the HTML images path (i.e. /usr/local/nagios/share/images/logos/).
# This path is automatically determined by appending "/images/logos"
# to the path specified by the 'physical_html_path' directive.
#hostextinfo[es-eds]=/serverinfo/es-eds.html;novell40.gif;novell40.jpg;novel
l40.gd2;IntranetWare 4.11;100,50;3.5,0.0,-1.5;
#hostextinfo[rosie]=/serverinfo/rosie.html;win40.gif;win40.jpg;win40.gd2;NT
Server 4.0;;;
# EXTENDED SERVICE INFORMATION
# This is all entirely optional. If you don't enter any extended
# information, nothing bad will happen - I promise... Its basically
# just used to have pretty icons and such associated with your services.
# You can also specify an URL that links to a document containing more
# information about the service (location details, contact information,
# etc).
#
#
serviceextinfo[;]=;;
#
# = Optional URL that points to a document of
# some type containing information on the service.
# The information (and the document type) can
# be anything you want. Examples include details
# on the physical location of the server, info
# on how to contact the admins in case of an
# emergency, etc. Relative URLs start in the
# same path that is used to access the CGIs.
# The link that is created for the service's
# notes URL is found in the extinfo CGI.
# Note: You may use the $HOSTNAME$, $HOSTADDRESS$,
# and $SERVICEDESC$ macros in this URL.
# = A GIF, PNG, or JPG image to associate with
# the service. This is used in the status and
# extinfo CGIs.
# = ALT tag used with image
#
# Note: All images must be placed in the /logos subdirectory under
# the HTML images path (i.e. /usr/local/nagios/share/images/logos/).
# This path is automatically determined by appending "/images/logos"
# to the path specified by the 'physical_html_path' directive.
#serviceextinfo[es-eds;PING]=http://www.somewhere.com?tracerouteto=$HOSTADDR
ESS$;;PING rate
#serviceextinfo[rosie;Security Alerts]=;security.gif;Security alerts
# STATUSMAP BACKGROUND IMAGE
# This option allows you to specify an image to be used as a
# background in the statusmap CGI. It is assumed that the image
# resides in the HTML images path (i.e. /usr/local/nagios/share/images).
# This path is automatically determined by appending "/images"
# to the path specified by the 'physical_html_path' directive.
# Note: The image file must be in GD2 format!
#statusmap_background_image=smbackground.gd2
# DEFAULT STATUSMAP LAYOUT METHOD
# This option allows you to specify the default layout method
# the statusmap CGI should use for drawing hosts. If you do
# not use this option, the default is to use user-defined
# coordinates. Valid options are as follows:
# 0 = User-defined coordinates
# 1 = Depth layers
# 2 = Collapsed tree
# 3 = Balanced tree
# 4 = Circular
# 5 = Circular (Marked Up)
default_statusmap_layout=5
# DEFAULT STATUSWRL LAYOUT METHOD
# This option allows you to specify the default layout method
# the statuswrl (VRML) CGI should use for drawing hosts. If you
# do not use this option, the default is to use user-defined
# coordinates. Valid options are as follows:
# 0 = User-defined coordinates
# 2 = Collapsed tree
# 3 = Balanced tree
# 4 = Circular
default_statuswrl_layout=4
# STATUSWRL INCLUDE
# This option allows you to include your own objects in the
# generated VRML world. It is assumed that the file
# resides in the HTML path (i.e. /usr/local/nagios/share).
#statuswrl_include=myworld.wrl
# PING SYNTAX
# This option determines what syntax should be used when
# attempting to ping a host from the WAP interface (using
# the statuswml CGI. You must include the full path to
# the ping binary, along with all required options. The
# $HOSTADDRESS$ macro is substituted with the address of
# the host before the command is executed.
ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
# REFRESH RATE
# This option allows you to specify the refresh rate in seconds
# of various CGIs (status, statusmap, extinfo, and outages).
refresh_rate=90
# SOUND OPTIONS
# These options allow you to specify an optional audio file
# that should be played in your browser window when there are
# problems on the network. The audio files are used only in
# the status CGI. Only the sound for the most critical problem
# will be played. Order of importance (higher to lower) is as
# follows: unreachable hosts, down hosts, critical services,
# warning services, and unknown services. If there are no
# visible problems, the sound file optionally specified by
# 'normal_sound' variable will be played.
#
#
# =
#
# Note: All audio files must be placed in the /media subdirectory
# under the HTML path (i.e. /usr/local/nagios/share/media/).
host_unreachable_sound=hostdown.wav
host_down_sound=hostdown.wav
service_critical_sound=critical.wav
service_warning_sound=warning.wav
service_unknown_sound=warning.wav
normal_sound=noproblem.wav
# DG EXTENDED DATA
# Note: These config directives are only used if you compiled
# in database support for extended data!
# The user you specify here only needs SELECT privileges on the
# 'hostextinfo' table in the database.
#xeddb_host=somehost
#xeddb_port=someport
#xeddb_database=somedatabase
#xeddb_username=someuser
#xeddb_password=somepassword
# DB STATUS DATA (Read-Only For CGIs)
# Note: These config directives are only used if you compiled
# in database support for status data!
# The user you specify here only needs SELECT privileges on the
# 'programstatus', 'hoststatus', and 'servicestatus' tables
# in the database, as these values are only used by the CGIs.
# The core program will read the directives you specify in
# in a resource file.
#xsddb_host=somehost
#xsddb_port=someport
#xsddb_database=somedatabase
#xsddb_username=someuser
#xsddb_password=somepassword
# DB COMMENT DATA (Read-Only For CGIs)
# Note: These config directives are only used if you compiled
# in database support for comment data!
# The user you specify here only needs SELECT privileges on the
# 'hostcomments', and 'servicecomments' tables in the database,
# as these values are only used by the CGIs. The core program
# will read the directives you specify in a resource file.
#xcddb_host=somehost
#xcddb_port=someport
#xcddb_database=somedatabase
#xcddb_username=someuser
#xcddb_password=somepassword
# DB DOWNTIME DATA (Read-Only For CGIs)
# Note: These config directives are only used if you compiled
# in database support for downtime data!
# The user you specify here only needs SELECT privileges on the
# 'hostdowntime', and 'servicedowntime' tables in the database,
# as these values are only used by the CGIs. The core program
# will read the directives you specify in a resource file.
#xdddb_host=somehost
#xdddb_port=someport
#xdddb_database=somedatabase
#xdddb_username=someuser
#xdddb_password=somepassword
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From nathan at sysadminsith.org Tue Aug 13 17:05:37 2002
From: nathan at sysadminsith.org (nathan)
Date: Tue, 13 Aug 2002 08:05:37 -0700
Subject: template configs on single line?
Message-ID: <20020813080537.A63605@sysadminsith.org>
I've rtfmed and couldn't find any mention of this so here goes....
Current to define a host I have something like this:
define host{
use generic-host
host_name my-box
alias My Really Neato Box
address 127.0.0.1
}
Since now I am looking at adding ~400 hosts to Nagios I'm wondering if there
is a way to condense the config for a host to a single line for ease of
adding/removing hosts via scripts. Something like this:
define host{use generic-host;host_name [...] 127.0.0.1; }
I love the power and simplicity of template configs, but the default objects
are still ahead in my mind for ease of tinkering with via scripts.
Thanks,
--
Nathan
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From bill at rmp.com Tue Aug 13 17:05:16 2002
From: bill at rmp.com (Bill Hudson)
Date: Tue, 13 Aug 2002 08:05:16 -0700
Subject: Pbs with nagios
References: <3D577F5A.3060505@sitadelle.com>
Message-ID: <3D59202C.4040601@rmp.com>
CAILLET Christophe wrote:
> Hi everybody,
>
>
> I've a problem with my nagios i've about 170 services on 110 host. When
> i check with check_http a a web server on a host group the report on the
> server is that the service is down for a long time but when i execute
> the plugin on command line the result is OK for the server.
> The error is Connection timeout and the response on command line is
> Response OK in 0s.
Sounds like it may be a permission problem. What user are you executing
the command-line as? Make sure it is the same user that nagios is
running as.
--
Bill Hudson
Information Systems Manager; Robert Mann Packaging, Inc
Phone: 408.848.5440 Fax: 408.848.2063 V/M: 408.681.3880
mailto:bill at rmp.com http://www.rmp.com
"Let every nation know, whether it wishes us well or ill,
that we shall pay any price, bear any burden, meet any hardship,
support any friend, oppose any foe to assure the survival and
the success of liberty." - President John F. Kennedy, Inaugural Address,
January 20, 1961
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From bill at rmp.com Tue Aug 13 17:10:20 2002
From: bill at rmp.com (Bill Hudson)
Date: Tue, 13 Aug 2002 08:10:20 -0700
Subject: Server Descriptions?
References:
Message-ID: <3D59215C.5020904@rmp.com>
Jason Yates wrote:
> Can server descriptions be displayed on the host information page? Giving
> information like OS Version, type of server, ram, cpu, etc. Basically, I
> need this for inventory purposes.
You can display whatever information you like in the "additional notes"
for each server. You specify a URL in the "notes_url" directive of each
server entry in hostextinfo.cfg
I use this to not only display information on each host, but to hook
into a custom cgi that allows the nagios user to perform basic tests
like ping, traceroute, nmap, etc.
--
Bill Hudson
Information Systems Manager; Robert Mann Packaging, Inc
Phone: 408.848.5440 Fax: 408.848.2063 V/M: 408.681.3880
mailto:bill at rmp.com http://www.rmp.com
"Let every nation know, whether it wishes us well or ill,
that we shall pay any price, bear any burden, meet any hardship,
support any friend, oppose any foe to assure the survival and
the success of liberty." - President John F. Kennedy, Inaugural Address,
January 20, 1961
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From galimore at mac.com Tue Aug 13 17:58:24 2002
From: galimore at mac.com (Terry Simons)
Date: Tue, 13 Aug 2002 09:58:24 -0600
Subject: mrtg and nagios on the same machine
In-Reply-To: <3D2ACDA4000B7562@mss4n.bluewin.ch>
References: <3D2ACDA4000B7562@mss4n.bluewin.ch>
Message-ID: <7FACBB1C-AED5-11D6-942A-0003938FDD5C@mac.com>
On Tuesday, August 13, 2002, at 05:14 AM, mails_and_news at bluewin.ch
wrote:
> Hello list
> I run mrtg for a long time on a suse8.0 system.
> Now I have installed nagios on the same system. But the statusmap,
> trends
> and histogram is not working (the html-pages create failure 404). And of
> course I cant find the statusmap.cgi and so on. Regarding to the FAQ I
> should
> install gd, zlib and png libaries. But all three libraris
> (sources:zlib-1.1.4.tar.gz,
> libpng-1.0.14.tar.gz, gd-1.8.4.tar.gz) are already on the system,
> because
> mrtg need this also.
Are you SURE that Nagios is finding the gd libs? If Nagios has
problems, it *will* display errors for the plugins that need them, even
though everything else will "make".
On my system, I had to tell Nagios *specifically* where gd was,
otherwise it failed every time.
> My questions: Do I need to install this again, because nagios was
> installed
> after the libaries (for mrtg)?
No, if they're on your system they'll work, you may have to tell Nagios'
configure script *where* they are though.
> Can I use this zlib-1.1.4.tar.gz,libpng-1.0.14.tar.gz,gd-1.8.4.tar.gz
> for
> nagios?
Yes.
> Is there out a little bit more information how to install this libaires,
> especially this part, because it is not clear for me!
Read the documentation for each library. It's usually in a file called
"README" in the library's directory after you extract the files.
Also read the "INSTALL" file, or its equivalent for each library (the
README will usually tell you which file to read for instructions)
> Then clean out your old??? Nagios configuration information and rerun
> the
> configure script??? with the following two commands (from within you
> Nagios
> distribution directory):
>
> make devclean
> ./configure --with-gd-lib=LIBDIR --with-gd-inc=INCDIR [other options...]
Yes, you should try this...
>
>
> Replace LIBDIR with the directory in which the gd library is installed
> (usually
> /usr/lib or /usr/local/lib) and replace INCDIR with the directory in
> which
> the header files for the gd library are installed (usually /usr/include
> or /usr/local/include).
Yes, where is your gd library located?
Mine is in /usr/local/lib/ and /usr/local/include/, but this may vary
for you.
>
> After you rerun the configure script, make sure to recompile??? the CGIs
> and install them in their proper location.
Yup... are you confused about these steps?
If so, what are you confused about specifically?
- Terry
>
> thanks in advance
> Oliver
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code1
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From jpathak at taxcut.com Tue Aug 13 19:30:22 2002
From: jpathak at taxcut.com (Jignesh Pathak)
Date: Tue, 13 Aug 2002 13:30:22 -0400
Subject: Check_SMTP is not working
Message-ID: <003401c242ef$1a1bc640$61222404@SHYAM>
Hello Gurus:
I am trying to check SMTP service running on Windows NT 4.0/Lotus Domino
R5.0.10 through Nagios v 1.0b4 installed on Solaris 8 box. It is giving
me critical error message. It looks like that it is not getting any
response from SMTP server. But I am able to send/receive mail from that
SMTP server. Also I am able to connect it via telnet on port 25. What
could be wrong with my configuration? I have checked IP address and it
is SMTP server's IP address.
Thanks,
Jignesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jpathak at taxcut.com Tue Aug 13 19:34:56 2002
From: jpathak at taxcut.com (Jignesh Pathak)
Date: Tue, 13 Aug 2002 13:34:56 -0400
Subject: Process Warning
Message-ID: <003901c242ef$bd887990$61222404@SHYAM>
Hello:
I am getting Process Warning message saying that "Warning: Monitoring
process may not be running!
Click here for more info." And says critical error as "Could not locate
a running Nagios process!". What do I need to do to resolve this issue?
I am running Nagios- 1.0b4 on Solaris8 box.
Thanks,
Jignesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From DDobbs at mutualmaterials.com Tue Aug 13 19:37:38 2002
From: DDobbs at mutualmaterials.com (Dan Dobbs)
Date: Tue, 13 Aug 2002 10:37:38 -0700
Subject: Netscape 6.2, Windows, and Nagios
Message-ID:
Hey all.
My Nagios install is running great. However, as I hate IE, I'm trying
to switch over to Netscape on my Windows box (I have to run Windows, as
some our internal apps aren't ported yet).
Whenever I got an alert from Nagios in the tactical overview screen, it
played the little sound on IE. However, in Netscape, it keeps coming up
with the 'get the plug-in' garbage, which only has Quicktime as an
option.
I like having the alert sounds---what plug in can I install to make it
work correctly?
Thanks!
-dd
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From dean.bishop at tcdsb.org Tue Aug 13 19:40:04 2002
From: dean.bishop at tcdsb.org (Bishop, Dean)
Date: Tue, 13 Aug 2002 13:40:04 -0400
Subject: outages.cgi permission problem.
Message-ID:
actually i found my problem about 10 minutes after i sent the e-mail.
my problem was in cgi.cfg. i still had the
authorized_for_all_services/hosts and
authorized_for_all_service/host_commands commented out.
it seems a bit strange to me that this outage.cgi was the only thing i saw
affected. Currently i only have one user, my nagiosadmin. i just assumed
that he would have all access.
guess not.
thanks,
dean
-----Original Message-----
From: Kenneth.ray [mailto:kenneth.ray at travelersla.com]
Sent: Tuesday, August 13, 2002 12:30 PM
To: dean.bishop at tcdsb.org
Subject: RE:outages.cgi permission problem.
if all the CGI's were compiled at the same time ? check permissions on
the file itself. if no go there, check your server logs. I would bet
it's calling a file that is not set up correctly for permissions.
status.log maybe? I know on my version that nagios.lock never gets
deleted no matter how i shut it down cause for some odd reason it gets
created with whoever i fired the process up with..
HTH,
Ken.
Message: 7
From: "Bishop, Dean"
To: "'nagios-users at lists.sourceforge.net'"
Date: Tue, 13 Aug 2002 09:47:19 -0400
Subject: [Nagios-users] outages.cgi permission problem.
Good morning,
k, so every other cgi works just fine. But for some reason i keep
getting
the:
It appears as though you do not have permission to view information you
requested...
messages when i try to view the "Network Outages".
Anyone have a thought?
below is my cgi.cfg.
thanks in advance,
dean
#################################################################
#
# CGI.CFG - Sample CGI Configuration File for Nagios 1.0b3
#
# Last Modified: 05-30-2002
#
#################################################################
# MAIN CONFIGURATION FILE
# This tells the CGIs where to find your main configuration file.
# The CGIs will read the main and host config files for any other
# data they might need.
main_config_file=/usr/local/nagios/etc/nagios.cfg
# PHYSICAL HTML PATH
# This is the path where the HTML files for Nagios reside. This
# value is used to locate the logo images needed by the statusmap
# and statuswrl CGIs.
physical_html_path=/usr/local/nagios/share
# URL HTML PATH
# This is the path portion of the URL that corresponds to the
# physical location of the Nagios HTML files (as defined above).
# This value is used by the CGIs to locate the online documentation
# and graphics. If you access the Nagios pages with an URL like
# http://www.myhost.com/nagios, this value should be '/nagios'
# (without the quotes).
url_html_path=/nagios/
# CONTEXT-SENSITIVE HELP
# This option determines whether or not a context-sensitive
# help icon will be displayed for most of the CGIs.
# Values: 0 = disables context-sensitive help
# 1 = enables context-sensitive help
show_context_help=0
# NAGIOS PROCESS CHECK COMMAND
# This is the full path and filename of the program used to check
# the status of the Nagios process. It is used only by the CGIs
# and is completely optional. However, if you don't use it, you'll
# see warning messages in the CGIs about the Nagios process
# not running and you won't be able to execute any commands from
# the web interface. The program should follow the same rules
# as plugins; the return codes are the same as for the plugins,
# it should have timeout protection, it should output something
# to STDIO, etc.
#
# Note: If you are using the check_nagios plugin here, the first
# argument should be the physical path to the status log, the
# second argument is the number of minutes that the status log
# contents should be "fresher" than, and the third argument is the
# string that should be matched from the output of the 'ps'
# command in order to locate the running Nagios process. That
# process string is going to vary depending on how you start
# Nagios. Run the 'ps' command manually to see what the command
# line entry for the Nagios process looks like.
#nagios_check_command=/usr/local/nagios/libexec/check_nagios
/usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios'
# AUTHENTICATION USAGE
# This option controls whether or not the CGIs will use any
# authentication when displaying host and service information, as
# well as committing commands to Nagios for processing.
#
# Read the HTML documentation to learn how the authorization works!
#
# NOTE: It is a really *bad* idea to disable authorization, unless
# you plan on removing the command CGI (cmd.cgi)! Failure to do
# so will leave you wide open to kiddies messing with Nagios and
# possibly hitting you with a denial of service attack by filling up
# your drive by continuously writing to your command file!
#
# Setting this value to 0 will cause the CGIs to *not* use
# authentication (bad idea), while any other value will make them
# use the authentication functions (the default).
use_authentication=1
# DEFAULT USER
# Setting this variable will define a default user name that can
# access pages without authentication. This allows people within a
# secure domain (i.e., behind a firewall) to see the current status
# without authenticating. You may want to use this to avoid basic
# authentication if you are not using a sercure server since basic
# authentication transmits passwords in the clear.
#
# Important: Do not define a default username unless you are
# running a secure web server and are sure that everyone who has
# access to the CGIs has been authenticated in some manner! If you
# define this variable, anyone who has not authenticated to the web
# server will inherit all rights you assign to this user!
#default_user_name=guest
# SYSTEM/PROCESS INFORMATION ACCESS
# This option is a comma-delimited list of all usernames that
# have access to viewing the Nagios process information as
# provided by the Extended Information CGI (extinfo.cgi). By
# default, *no one* has access to this unless you choose to
# not use authorization. You may use an asterisk (*) to
# authorize any user who has authenticated to the web server.
authorized_for_system_information=nagiosadmin
# CONFIGURATION INFORMATION ACCESS
# This option is a comma-delimited list of all usernames that
# can view ALL configuration information (hosts, commands, etc).
# By default, users can only view configuration information
# for the hosts and services they are contacts for. You may use
# an asterisk (*) to authorize any user who has authenticated
# to the web server.
authorized_for_configuration_information=nagiosadmin
# SYSTEM/PROCESS COMMAND ACCESS
# This option is a comma-delimited list of all usernames that
# can issue shutdown and restart commands to Nagios via the
# command CGI (cmd.cgi). Users in this list can also change
# the program mode to active or standby. By default, *no one*
# has access to this unless you choose to not use authorization.
# You may use an asterisk (*) to authorize any user who has
# authenticated to the web server.
authorized_for_system_commands=nagiosadmin
# GLOBAL HOST/SERVICE VIEW ACCESS
# These two options are comma-delimited lists of all usernames that
# can view information for all hosts and services that are being
# monitored. By default, users can only view information
# for hosts or services that they are contacts for (unless you
# you choose to not use authorization). You may use an asterisk (*)
# to authorize any user who has authenticated to the web server.
#authorized_for_all_services=nagiosadmin
#authorized_for_all_hosts=nagiosadmin
# GLOBAL HOST/SERVICE COMMAND ACCESS
# These two options are comma-delimited lists of all usernames that
# can issue host or service related commands via the command
# CGI (cmd.cgi) for all hosts and services that are being monitored.
# By default, users can only issue commands for hosts or services
# that they are contacts for (unless you you choose to not use
# authorization). You may use an asterisk (*) to authorize any
# user who has authenticated to the web server.
#authorized_for_all_service_commands=nagiosadmin
#authorized_for_all_host_commands=nagiosadmin
# EXTENDED HOST INFORMATION
# This is all entirely optional. If you don't enter any extended
# information, nothing bad will happen - I promise... Its basically
# just used to have pretty icons and such associated with your hosts.
# This is especially nice when you're using the statusmap and
# statuswrl CGIs. You can also specify an URL that links to a document
# containing more information about the host (location details, contact
# information, etc).
#
#
hostextinfo[]=;;;;\
#
;,;,,;
#
# = Optional URL that points to a document of
# some type containing information on the host.
# The information (and the document type) can
# be anything you want. Examples include details
# on the physical location of the server, info
# on how to contact the admins in case of an
# emergency, etc. Relative URLs start in the
# same path that is used to access the CGIs.
# The link that is created for the host's notes
# notes is found in the extinfo CGI.
# Note: You may use the $HOSTNAME$ and
# $HOSTADDRESS$ macros in this URL.
# = A GIF, PNG, or JPG image to associate with
# the host. This is used in the status and
# extinfo CGIs.
# = An image to use in the statuswrl CGI in the
# VRML generation. Transparent images don't
# work so great..
# = A GD2 format image used by the statusmap CGI
# to represent the host. PNG images can be
# converted to GD2 format by using the 'pngtogd2'
# utility supplied with Boutell's gd library.
# = ALT tag used with PNG, GIF, and GD2 images
# in the status, statusmap, and extinfo CGIs
# , = X and Y coordinates used when drawing the
# host in the statusmap CGI. (0,0) is located
# in the upper left corner of the screen and is
# considered to be the origin. The coordinates
# you supply here are used as the coords of the
# upper left hand corner of host icon. Both
# numbers should be positive integers.
# ,, = X, Y, and Z coordinates used when drawing
# the host in the statuswrl (VRML) CGI. All
# numbers can be positive or negative (anywhere
# in 3-D space). The coordinates are used to
# determine the center of the host "cube" that
# is drawn. Host "cubes" are drawn with a
# height, width, and depth of 0.5 (meters).
#
# Note: All images must be placed in the /logos subdirectory under
# the HTML images path (i.e. /usr/local/nagios/share/images/logos/).
# This path is automatically determined by appending "/images/logos"
# to the path specified by the 'physical_html_path' directive.
#hostextinfo[es-eds]=/serverinfo/es-eds.html;novell40.gif;novell40.jpg;novel
l40.gd2;IntranetWare 4.11;100,50;3.5,0.0,-1.5;
#hostextinfo[rosie]=/serverinfo/rosie.html;win40.gif;win40.jpg;win40.gd2;NT
Server 4.0;;;
# EXTENDED SERVICE INFORMATION
# This is all entirely optional. If you don't enter any extended
# information, nothing bad will happen - I promise... Its basically
# just used to have pretty icons and such associated with your services.
# You can also specify an URL that links to a document containing more
# information about the service (location details, contact information,
# etc).
#
#
serviceextinfo[;]=;;
#
# = Optional URL that points to a document of
# some type containing information on the service.
# The information (and the document type) can
# be anything you want. Examples include details
# on the physical location of the server, info
# on how to contact the admins in case of an
# emergency, etc. Relative URLs start in the
# same path that is used to access the CGIs.
# The link that is created for the service's
# notes URL is found in the extinfo CGI.
# Note: You may use the $HOSTNAME$, $HOSTADDRESS$,
# and $SERVICEDESC$ macros in this URL.
# = A GIF, PNG, or JPG image to associate with
# the service. This is used in the status and
# extinfo CGIs.
# = ALT tag used with image
#
# Note: All images must be placed in the /logos subdirectory under
# the HTML images path (i.e. /usr/local/nagios/share/images/logos/).
# This path is automatically determined by appending "/images/logos"
# to the path specified by the 'physical_html_path' directive.
#serviceextinfo[es-eds;PING]=http://www.somewhere.com?tracerouteto=$HOSTADDR
ESS$;;PING rate
#serviceextinfo[rosie;Security Alerts]=;security.gif;Security alerts
# STATUSMAP BACKGROUND IMAGE
# This option allows you to specify an image to be used as a
# background in the statusmap CGI. It is assumed that the image
# resides in the HTML images path (i.e. /usr/local/nagios/share/images).
# This path is automatically determined by appending "/images"
# to the path specified by the 'physical_html_path' directive.
# Note: The image file must be in GD2 format!
#statusmap_background_image=smbackground.gd2
# DEFAULT STATUSMAP LAYOUT METHOD
# This option allows you to specify the default layout method
# the statusmap CGI should use for drawing hosts. If you do
# not use this option, the default is to use user-defined
# coordinates. Valid options are as follows:
# 0 = User-defined coordinates
# 1 = Depth layers
# 2 = Collapsed tree
# 3 = Balanced tree
# 4 = Circular
# 5 = Circular (Marked Up)
default_statusmap_layout=5
# DEFAULT STATUSWRL LAYOUT METHOD
# This option allows you to specify the default layout method
# the statuswrl (VRML) CGI should use for drawing hosts. If you
# do not use this option, the default is to use user-defined
# coordinates. Valid options are as follows:
# 0 = User-defined coordinates
# 2 = Collapsed tree
# 3 = Balanced tree
# 4 = Circular
default_statuswrl_layout=4
# STATUSWRL INCLUDE
# This option allows you to include your own objects in the
# generated VRML world. It is assumed that the file
# resides in the HTML path (i.e. /usr/local/nagios/share).
#statuswrl_include=myworld.wrl
# PING SYNTAX
# This option determines what syntax should be used when
# attempting to ping a host from the WAP interface (using
# the statuswml CGI. You must include the full path to
# the ping binary, along with all required options. The
# $HOSTADDRESS$ macro is substituted with the address of
# the host before the command is executed.
ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
# REFRESH RATE
# This option allows you to specify the refresh rate in seconds
# of various CGIs (status, statusmap, extinfo, and outages).
refresh_rate=90
# SOUND OPTIONS
# These options allow you to specify an optional audio file
# that should be played in your browser window when there are
# problems on the network. The audio files are used only in
# the status CGI. Only the sound for the most critical problem
# will be played. Order of importance (higher to lower) is as
# follows: unreachable hosts, down hosts, critical services,
# warning services, and unknown services. If there are no
# visible problems, the sound file optionally specified by
# 'normal_sound' variable will be played.
#
#
# =
#
# Note: All audio files must be placed in the /media subdirectory
# under the HTML path (i.e. /usr/local/nagios/share/media/).
host_unreachable_sound=hostdown.wav
host_down_sound=hostdown.wav
service_critical_sound=critical.wav
service_warning_sound=warning.wav
service_unknown_sound=warning.wav
normal_sound=noproblem.wav
# DG EXTENDED DATA
# Note: These config directives are only used if you compiled
# in database support for extended data!
# The user you specify here only needs SELECT privileges on the
# 'hostextinfo' table in the database.
#xeddb_host=somehost
#xeddb_port=someport
#xeddb_database=somedatabase
#xeddb_username=someuser
#xeddb_password=somepassword
# DB STATUS DATA (Read-Only For CGIs)
# Note: These config directives are only used if you compiled
# in database support for status data!
# The user you specify here only needs SELECT privileges on the
# 'programstatus', 'hoststatus', and 'servicestatus' tables
# in the database, as these values are only used by the CGIs.
# The core program will read the directives you specify in
# in a resource file.
#xsddb_host=somehost
#xsddb_port=someport
#xsddb_database=somedatabase
#xsddb_username=someuser
#xsddb_password=somepassword
# DB COMMENT DATA (Read-Only For CGIs)
# Note: These config directives are only used if you compiled
# in database support for comment data!
# The user you specify here only needs SELECT privileges on the
# 'hostcomments', and 'servicecomments' tables in the database,
# as these values are only used by the CGIs. The core program
# will read the directives you specify in a resource file.
#xcddb_host=somehost
#xcddb_port=someport
#xcddb_database=somedatabase
#xcddb_username=someuser
#xcddb_password=somepassword
# DB DOWNTIME DATA (Read-Only For CGIs)
# Note: These config directives are only used if you compiled
# in database support for downtime data!
# The user you specify here only needs SELECT privileges on the
# 'hostdowntime', and 'servicedowntime' tables in the database,
# as these values are only used by the CGIs. The core program
# will read the directives you specify in a resource file.
#xdddb_host=somehost
#xdddb_port=someport
#xdddb_database=somedatabase
#xdddb_username=someuser
#xdddb_password=somepassword
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From russell at quadrix.com Tue Aug 13 20:06:42 2002
From: russell at quadrix.com (Russell Scibetti)
Date: Tue, 13 Aug 2002 14:06:42 -0400
Subject: check_http plugin redirects bug
Message-ID: <3D594AB2.2030203@quadrix.com>
I sent this to the nagiosplug list with no response, so I was hoping
someone on this list might be able to respond to this:
I have found a problem with the check_http plugin and its ability to
follow redirects properly. If it hits a redirect that has the full
domain and file name given, it can follow the redirect (assuming you are
giving the plugin the "-f follow" argument). However, if the
redirect in the HTTP header only gives the file name without a leading
slash, the plugin tries doing a GET for that file name. Since it is
missing the leading slash, the plugin will always return a 404 in this case.
Should I just fix the plugin to make sure that the leading slash is
added, or is the plugin developer on this list and he/she would like to
fix it? Or does anyone have any other suggestions?
-Russell Scibetti
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From dean.bishop at tcdsb.org Tue Aug 13 20:07:16 2002
From: dean.bishop at tcdsb.org (Bishop, Dean)
Date: Tue, 13 Aug 2002 14:07:16 -0400
Subject: seperating notification types based on timeperiod and nothing els
e??
Message-ID:
Good morning,
k, so i have 1100 hosts setup in my nagios config. i am now
configuring the notification for these hosts and services. The problem is
that i have hosts/services that are deemed critical and i want to be able to
change the method of notification depending on the timeperiod.
e.g. Critical_server goes down during working hours, techs are on-site and
watching their e-mail so i just want them to be notified via e-mail.
If Critical_server goes down during non-working hours, techs are not
checking their e-mail and need to be paged as well.
It seems as though the only place to tell nagios _how_ to notify a
contact is in the contact.cfg.
Based on my understanding, i would have to create two contacts for
each technician (tech1-workinghours, tech1-nonworkinghours,
tech2-workinghours, tech2-nonworkinghours...) and also two contactgroups
(techs-workinghours, techs-nonworkinghours). Then i add both contactgroups
to the host's/service's "contact_groups" entry.
Does anyone have a better way of doing this??
thanks in advance,
dean
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From jnichols at pbp.net Tue Aug 13 20:29:38 2002
From: jnichols at pbp.net (Jonathan Nichols)
Date: Tue, 13 Aug 2002 11:29:38 -0700
Subject: external commands
Message-ID: <00de01c242f7$61e6b4a0$a52efea9@pbp.net>
Greetings all,
I'm actually using Netsaint 0.0.7 still.. question about external
commands. It's only worked once. I don't get any errors from the web page,
and it tells me that it was successful, but the command never happens. It
just sits in the /usr/local/netsaint/var/rw/netsaint.cmd file and never gets
processed. I've tried restarting netsaint, and as far as I can tell, the
permissions are correct because it's able to write the netsaint.cmd file.
Is there anything in particular that I should be looking at? I've checked
Google but can't find anything different than what I've already tried. :(
Thanks for any assistance..
-Jonathan
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From mp at xmission.com Tue Aug 13 21:36:57 2002
From: mp at xmission.com (Myke Place)
Date: Tue, 13 Aug 2002 13:36:57 -0600 (MDT)
Subject: check_fping incorrectly reporting hosts as OK
Message-ID:
Hi,
I'm having a bit of trouble getting check_fping to report the status of a
host correctly to Nagios. The problem that exists as follows when using
check_fping to contact a host that I know is unreachable.
./check_fping deadhost
FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
fping -v returns the following:
fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
fping: comments to david at remote.net
Is there something I'm missing here? Does check_fping need some special
arguments to work properly in checkcommands.cfg?
Any help would be greatly appreciated. Thanks.
--------------------
Myke Place
mp at xmission.com
801.539.0852
www.radiojournal.org
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From ffejes at sears.com Tue Aug 13 21:59:09 2002
From: ffejes at sears.com (ffejes at sears.com)
Date: Tue, 13 Aug 2002 14:59:09 -0500
Subject: "(No output!)" Critical Alert Solution
Message-ID:
Hello all. A few weeks ago I sent out an email regarding plugin alerts
being created with "(No output!)" as the alert output. Nobody responded to
the message but, nonetheless, I have found a solution and would like to
share in the event that anybody ever comes across a similar situation.
Here is some background information:
+ We've been running NetSaint/Nagios for over 6 months.
+ We currently have 250 hosts being monitored and ~300 services.
+ The server is running NetBSD/i386 1.5.2.
+ We began seeing these alerts after growing to be a little more than 200
hosts.
After a lot of unsuccessful attempts at modifying the actual Nagios code
and getting nowhere (and even trying to downgrade Nagios), I decided that
the problem had to be due to the increased number of managed hosts. The
"(No output!)" message is the default output to a plugin response and it
remains if the plugin terminates unexpectedly. In a nutshell, I could not
think of many reasons why the program would terminate other than some kind
of resource issue. A quick look at our default NetBSD ulimits gave me hope
as the stack/file descriptors/processes limits were terribly small. I
bumped them up in the nagios init script by adding the following:
ulimit -n unlimited
ulimit -s unlimited
ulimit -p unlimited
That solved the problem and we've been running without a hitch for the past
few weeks. Some preliminary testing made me believe that it was the
stacksize setting that made the difference but I did not go too deep and
could not say for absolute certain at this point.
At any rate, this is probably of limited use to most people as the Linux
distributions seem to have much higher default ulimits, but if it prevents
another person from beating his head against the wall for a week or two
then I'll be pleased. :)
Happy monitoring!
--frank
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From colin.harford at mail.su.ualberta.ca Tue Aug 13 22:35:49 2002
From: colin.harford at mail.su.ualberta.ca (Colin Harford)
Date: Tue, 13 Aug 2002 14:35:49 -0600
Subject: Unable to install nagiosplugins...
Message-ID:
Trying to install the nagiosplugins so that I can use nagios.
The system is running OpenBSD-3.1
(ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
# make
Making all in plugins
Bad modifier: )
Unclosed variable specification
"Makefile", line 760: Need an operator
Fatal errors encountered -- cannot continue
*** Error code 1
Stop in /opt/nagios/nagiosplug-1.3-beta1 (line 185 of Makefile).
(ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
>From the make file:
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
-include $(DEP_FILES) <--this is line 760 in plugins/Makefile
mostlyclean-depend:
clean-depend:
distclean-depend:
-rm -rf .deps
The configure output
(ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
./configure --prefix=/opt/nagios --with-user=netsaint --with-group=netstaint
--with-cgiurl=/netstaint/cgi-bin/
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for aclocal... no
checking for automake... no
checking for autoconf... no
checking for autoheader... no
checking for gcc... gcc
checking whether the C compiler (gcc -L.) works... yes
checking whether the C compiler (gcc -L.) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for python... no
checking for perl... /usr/bin/perl
checking for sh... /bin/sh
checking for hostname... /bin/hostname
checking for basename... /usr/bin/basename
checking how to run the C preprocessor... gcc -E
checking for elf_begin in -lelf... no
checking for kvm_open in -lkvm... yes
checking for getloadavg in -lutil... yes
checking for getloadavg... yes
checking whether getloadavg requires setgid... (cached) yes
checking group of /dev/kmem... kmem
checking for main in -ldce... no
checking for main in -lnsl... no
checking for socket in -lsocket... no
checking for main in -lresolv... yes
checking for main in -lcrypt... no
configure: warning: Skipping PostgreSQL plugin (check_pgsql)
configure: warning: install lib crypt and PostgreSQL libs to compile this
plugin (see Requirements).
checking for rc_read_config in -lradiusclient... no
configure: warning: Skipping radius plugin
configure: warning: install radius libs to compile this plugin (see
Requirements).
checking for main in -lldap... no
configure: warning: Skipping LDAP plugin
configure: warning: install LDAP libs to compile this plugin (see
Requirements).
configure: warning: Skipping mysql plugin
configure: warning: install mysql client libs to compile this plugin (see
Requirements).
checking for openssl... /usr/sbin/openssl
checking for openssl/x509.h... yes
checking for openssl/ssl.h... yes
checking for openssl/rsa.h... yes
checking for openssl/pem.h... yes
checking for openssl/crypto.h... yes
checking for openssl/err.h... yes
checking for CRYPTO_lock in -lcrypto... yes
checking for main in -lssl... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for signal.h... yes
checking for strings.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for uio.h... no
checking for errno.h... yes
checking for regex.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for sys/socket.h... yes
checking for sys/loadavg.h... no
checking for working const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for getopt_long... no import_sources=getopt
checking for getopt_long_only... no
checking for vsnprintf... no
checking for select... no
checking for socket... no
checking for strdup... no
checking for strstr... no
checking for strtod... no
checking for strtol... no
checking for strtoul... no
checking for type of socket size... int
checking for ps... /bin/ps
ps syntax... /bin/ps -axo 'stat comm vsz rss user ppid args'
checking for df... /bin/df
df syntax... /bin/df -Pk
checking for ping... /sbin/ping
ping syntax... /sbin/ping -n -c
checking for nslookup... /usr/sbin/nslookup
checking nslookup syntax... /usr/sbin/nslookup
checking for host... /usr/sbin/host
checking host syntax... /usr/sbin/host
checking for uptime... /usr/bin/uptime
checking for rpcinfo... /usr/bin/rpcinfo
checking for ntpdate... /usr/local/sbin/ntpdate
checking for ntpdc... /usr/local/sbin/ntpdc
checking for lmstat... no
** Get lmstat from Globetrotter Software to monitor flexlm licenses
checking for smbclient... no
** Get smbclient from Samba.org to monitor SMB shares
checking for who... /usr/bin/who
checking for snmpget... /usr/local/bin/snmpget
checking for snmpgetnext... /usr/local/bin/snmpgetnext
** Tried /usr/bin/perl - install Net::SNMP perl module if you want to
use the perl snmp plugins
checking for quakestat... no
checking for qstat... no
** Get qstat from http://www.activesw.com/people/steve/qstat.html in order
to make check_game plugin
checking for fping... /usr/local/sbin/fping
checking for ssh... /usr/bin/ssh
checking for dig... /usr/sbin/dig
yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating subst
creating plugins/Makefile
creating plugins-scripts/Makefile
creating plugins-scripts/subst
creating plugins-scripts/utils.pm
creating plugins-scripts/utils.sh
creating command.cfg
creating test.pl
creating plugins/config.h
creating plugins/common.h
creating plugins/version.h
creating plugins/netutils.h
creating plugins/utils.h
creating plugins/popen.h
Colin Harford ???
?????????????????????? ???????????????
Systems and Network Administrator ???? Apple Product Professional
================================= ????
Computer and Network Support ????????
University of Alberta Students' Union ?????????????????
Phone: (780) 492-4241 ??Fax: ?(780) 492-4643
http://www.su.ualberta.ca
"I sense much NT in you, NT leads to Blue Screen.
Blue Screen leads to downtime, downtime leads to suffering.
NT is the path to the darkside."
- Unknown Unix Jedi
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
From dean.bishop at tcdsb.org Tue Aug 13 23:09:19 2002
From: dean.bishop at tcdsb.org (Bishop, Dean)
Date: Tue, 13 Aug 2002 17:09:19 -0400
Subject: external commands
Message-ID:
yeah, permissions could be fine but the file type is wrong.
rm the file /usr/local/netsaint/var/rw/netsaint.cmd
then restart netsaint. This should create the file again (doing an 'll
/usr/local/netsaint/var/rw' will give you:
prw-rw---- 1 netsaint netsaint 0 Aug 13 16:47
netsaint.cmd
^
note the leading character. this indicates the type of file (p for pipe)
if it is not created check the permissions on the /usr/local/netsaint/var
and /usr/local/netsaint/var/rw folders. Also check
/usr/local/netsaint/etc/netsaint.cfg and ensure that:
check_external_commands=1
hth,
dean
-----Original Message-----
From: Jonathan Nichols [mailto:jnichols at pbp.net]
Sent: Tuesday, August 13, 2002 4:27 PM
To: Bishop, Dean
Subject: Re: [Nagios-users] external commands
It's not? Uh oh. Something is wrong, then.. here's what it has..
netsaint at dumpster:/usr/local/netsaint/var/rw> cat netsaint.cmd
[1029230649] ADD_HOST_COMMENT;cheese;1;jnichols;Test
netsaint at dumpster:/usr/local/netsaint/var/rw>
If I request any other external command, the command will overwrite whatever
is currently in the netsaint.cmd file, but won't actually process it.
I think the permissions are correct..
netsaint at dumpster:/usr/local/netsaint/var/rw> ls -laF
total 4
drwxrwsrwx 2 netsaint nscmd 80 Aug 13 02:16 ./
drwxrwxr-x 4 netsaint netsaint 256 Aug 13 13:26 ../
-rw-r--r-- 1 nobody nscmd 54 Aug 13 02:24 netsaint.cmd
netsaint at dumpster:/usr/local/netsaint/var/rw>
The docs said that the /var/rw directory needed to be owned by
nobody:nscmd..
----- Original Message -----
From: "Bishop, Dean"
To: "'Jonathan Nichols'"
Sent: Tuesday, August 13, 2002 11:45 AM
Subject: RE: [Nagios-users] external commands
> ?? sitting in netsaint.cmd??
>
> this is not a regular file. It is created automatically when you start
> Netsaint and it accepts commands FIFO.
>
> it sounds like you are appending a regular file. Is this accurate or have
i
> misread your e-mail??
>
>
>
> -----Original Message-----
> From: Jonathan Nichols [mailto:jnichols at pbp.net]
> Sent: Tuesday, August 13, 2002 2:30 PM
> To: nagios
> Subject: [Nagios-users] external commands
>
>
> Greetings all,
> I'm actually using Netsaint 0.0.7 still.. question about external
> commands. It's only worked once. I don't get any errors from the web page,
> and it tells me that it was successful, but the command never happens. It
> just sits in the /usr/local/netsaint/var/rw/netsaint.cmd file and never
gets
> processed. I've tried restarting netsaint, and as far as I can tell, the
> permissions are correct because it's able to write the netsaint.cmd file.
>
> Is there anything in particular that I should be looking at? I've checked
> Google but can't find anything different than what I've already tried. :(
>
> Thanks for any assistance..
>
> -Jonathan
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From albert.tobey at priority-health.com Tue Aug 13 23:38:04 2002
From: albert.tobey at priority-health.com (Al Tobey)
Date: 13 Aug 2002 17:38:04 -0400
Subject: SNMP Monitoring
Message-ID: <1029274684.21747.452.camel@linuxws1>
I suspect there is some animosity out there toward SNMP, but I would
still like to request a very small convenience.
I have written a tool to monitor processes on remote machines using the
host-resources mib. It is in perl and uses the Net-SNMP library. I am
working on getting permission to release it to the list. But, keeping
track of community names is a real PITA in Nagios right now, so here's
my proposal:
define host {
...
snmp_community public
}
# - or -
define hostgroup {
...
snmp_community public
}
# a couple example commands
define command {
command_name snmp_monitor_process
command_line $USER1$/snmp_process_monitor.pl -H $HOSTADDRESS$ -C
$SNMPCOMMUNITY$ --command $ARG1$
}
define command {
command_name snmp_monitor_multiple_processes
command_line $USER1$/snmp_process_monitor.pl -H $HOSTADDRESS$ -C
$SNMPCOMMUNITY$ --command $ARG1$ -w $ARG2$ -c $ARG3$
}
I know similar things can be done using the $USER?$ macros, but it's not
as intuitive as what I've suggested above. Also, the CGI's don't even
really need to know about the communities, to prevent giving them to the
whole world. Not like they're very secret anyways.
Later,
-Al Tobey
Unix Administrator
Priority Health
********************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this
email in error please notify the Priority Health Information
Services Department at (616) 942-0954.
********************************************************************
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From colin.harford at mail.su.ualberta.ca Tue Aug 13 23:54:11 2002
From: colin.harford at mail.su.ualberta.ca (Colin Harford)
Date: Tue, 13 Aug 2002 15:54:11 -0600
Subject: Unable to install nagiosplugins...
In-Reply-To: <4C4CB317C3CD6A40AAF9B1C76866966981E499@kali.avantgo.com>
References: <4C4CB317C3CD6A40AAF9B1C76866966981E499@kali.avantgo.com>
Message-ID:
On 8/13/02 3:40 PM, "Carl Forsythe" wrote:
> Try using gnu make instead of the make from the OS, that happens in FreeBSD so
> it might be the case with OpenBSD.
>
> -Carl
(ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
# gmake
cd . &&
/bin/sh: syntax error: unexpected EOF
gmake: *** [aclocal.m4] Error 1
>
>
> -----Original Message-----
> From: Colin Harford [mailto:colin.harford at mail.su.ualberta.ca]
> Sent: Tuesday, August 13, 2002 1:36 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Unable to install nagiosplugins...
>
>
>
>
> Trying to install the nagiosplugins so that I can use nagios.
>
>
> The system is running OpenBSD-3.1
>
> (ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
> # make
> Making all in plugins
> Bad modifier: )
>
> Unclosed variable specification
> "Makefile", line 760: Need an operator
> Fatal errors encountered -- cannot continue
> *** Error code 1
>
> Stop in /opt/nagios/nagiosplug-1.3-beta1 (line 185 of Makefile).
>
> (ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
>
>
>
>> From the make file:
>
> DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
>
> -include $(DEP_FILES) <--this is line 760 in plugins/Makefile
> mostlyclean-depend:
>
> clean-depend:
>
> distclean-depend:
> -rm -rf .deps
>
>
>
>
> The configure output
>
>
> (ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
> ./configure --prefix=/opt/nagios --with-user=netsaint --with-group=netstaint
> --with-cgiurl=/netstaint/cgi-bin/
> creating cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c
> checking for ranlib... ranlib
> checking for aclocal... no
> checking for automake... no
> checking for autoconf... no
> checking for autoheader... no
> checking for gcc... gcc
> checking whether the C compiler (gcc -L.) works... yes
> checking whether the C compiler (gcc -L.) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking whether make sets ${MAKE}... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking for python... no
> checking for perl... /usr/bin/perl
> checking for sh... /bin/sh
> checking for hostname... /bin/hostname
> checking for basename... /usr/bin/basename
> checking how to run the C preprocessor... gcc -E
> checking for elf_begin in -lelf... no
> checking for kvm_open in -lkvm... yes
> checking for getloadavg in -lutil... yes
> checking for getloadavg... yes
> checking whether getloadavg requires setgid... (cached) yes
> checking group of /dev/kmem... kmem
> checking for main in -ldce... no
> checking for main in -lnsl... no
> checking for socket in -lsocket... no
> checking for main in -lresolv... yes
> checking for main in -lcrypt... no
> configure: warning: Skipping PostgreSQL plugin (check_pgsql)
> configure: warning: install lib crypt and PostgreSQL libs to compile this
> plugin (see Requirements).
> checking for rc_read_config in -lradiusclient... no
> configure: warning: Skipping radius plugin
> configure: warning: install radius libs to compile this plugin (see
> Requirements).
> checking for main in -lldap... no
> configure: warning: Skipping LDAP plugin
> configure: warning: install LDAP libs to compile this plugin (see
> Requirements).
> configure: warning: Skipping mysql plugin
> configure: warning: install mysql client libs to compile this plugin (see
> Requirements).
> checking for openssl... /usr/sbin/openssl
> checking for openssl/x509.h... yes
> checking for openssl/ssl.h... yes
> checking for openssl/rsa.h... yes
> checking for openssl/pem.h... yes
> checking for openssl/crypto.h... yes
> checking for openssl/err.h... yes
> checking for CRYPTO_lock in -lcrypto... yes
> checking for main in -lssl... yes
> checking for ANSI C header files... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for signal.h... yes
> checking for strings.h... yes
> checking for string.h... yes
> checking for syslog.h... yes
> checking for unistd.h... yes
> checking for uio.h... no
> checking for errno.h... yes
> checking for regex.h... yes
> checking for sys/types.h... yes
> checking for sys/time.h... yes
> checking for sys/socket.h... yes
> checking for sys/loadavg.h... no
> checking for working const... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for pid_t... yes
> checking for size_t... yes
> checking return type of signal handlers... void
> checking for getopt_long... no import_sources=getopt
> checking for getopt_long_only... no
> checking for vsnprintf... no
> checking for select... no
> checking for socket... no
> checking for strdup... no
> checking for strstr... no
> checking for strtod... no
> checking for strtol... no
> checking for strtoul... no
> checking for type of socket size... int
> checking for ps... /bin/ps
> ps syntax... /bin/ps -axo 'stat comm vsz rss user ppid args'
> checking for df... /bin/df
> df syntax... /bin/df -Pk
> checking for ping... /sbin/ping
> ping syntax... /sbin/ping -n -c
> checking for nslookup... /usr/sbin/nslookup
> checking nslookup syntax... /usr/sbin/nslookup
> checking for host... /usr/sbin/host
> checking host syntax... /usr/sbin/host
> checking for uptime... /usr/bin/uptime
> checking for rpcinfo... /usr/bin/rpcinfo
> checking for ntpdate... /usr/local/sbin/ntpdate
> checking for ntpdc... /usr/local/sbin/ntpdc
> checking for lmstat... no
> ** Get lmstat from Globetrotter Software to monitor flexlm licenses
> checking for smbclient... no
> ** Get smbclient from Samba.org to monitor SMB shares
> checking for who... /usr/bin/who
> checking for snmpget... /usr/local/bin/snmpget
> checking for snmpgetnext... /usr/local/bin/snmpgetnext
> ** Tried /usr/bin/perl - install Net::SNMP perl module if you want to
> use the perl snmp plugins
> checking for quakestat... no
> checking for qstat... no
> ** Get qstat from http://www.activesw.com/people/steve/qstat.html in order
> to make check_game plugin
> checking for fping... /usr/local/sbin/fping
> checking for ssh... /usr/bin/ssh
> checking for dig... /usr/sbin/dig
> yes
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating subst
> creating plugins/Makefile
> creating plugins-scripts/Makefile
> creating plugins-scripts/subst
> creating plugins-scripts/utils.pm
> creating plugins-scripts/utils.sh
> creating command.cfg
> creating test.pl
> creating plugins/config.h
> creating plugins/common.h
> creating plugins/version.h
> creating plugins/netutils.h
> creating plugins/utils.h
> creating plugins/popen.h
>
>
>
> Colin Harford ???
>
> ?????????????????????? ???????????????
> Systems and Network Administrator ???? Apple Product Professional
> ================================= ????
> Computer and Network Support ????????
> University of Alberta Students' Union ?????????????????
> Phone: (780) 492-4241 ??Fax: ?(780) 492-4643
> http://www.su.ualberta.ca
>
>
> "I sense much NT in you, NT leads to Blue Screen.
> Blue Screen leads to downtime, downtime leads to suffering.
> NT is the path to the darkside."
> - Unknown Unix Jedi
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code1
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
From 8lb4fmllhm001 at sneakemail.com Wed Aug 14 01:37:24 2002
From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com)
Date: 13 Aug 2002 19:37:24 -0400
Subject: VRML problem
Message-ID: <1589902673.1029281896541.JavaMail.root@monkey>
I've been trying to get VRML working properly. I've installed the Cortona VRML browser and can get some sort of image to view, but it's a standard image which simply says:
You have not supplied any 3-D drawing coordinates.
Read the FAQs for more information on doing this.
However, I *have* read the FAQs. I've successfully configured a handful of hosts to display using the user-supplied coords when viewing the Status Map. I've successfully implemented the add-on images. I'm reasonably certain (from what I've read) that I've set up the necessary config info to get VRML to display properly.
Here's a snippet from my hostextinfo.cfg file (hostname changed to protect the innocent):
define hostextinfo{
name solaris
icon_image sun40.gif
vrml_image sun40.jpg
statusmap_image sun40.gd2
register 0
}
define hostextinfo{
host_name charlie
use solaris
2d_coords 100,100
3d_coords 100.0,100.0,100.0
}
At the very least, I should be seeing 'charlie' in the VRML image, but I do not.
(I originally tried the 3d_coords as whole numbers (not dotted), but on reading the FAQ, surmised that perhaps the dotted notation was required. Clearly it didn't make a difference here.)
Thoughts? Suggestions?
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From jnichols at pbp.net Wed Aug 14 02:12:38 2002
From: jnichols at pbp.net (Jonathan Nichols)
Date: Tue, 13 Aug 2002 17:12:38 -0700
Subject: external commands
References:
Message-ID: <025101c24327$4cb4fb70$a52efea9@pbp.net>
It's not creating the correct file, I guess... I removed the directory and
basically copy/pasted directly from the section on external commands in the
documentation. (That's what's in the perms.sh file)
Yours is also owned by netsaint:netsaint... the docs said nobody:nscmd - I
wonder if that has anything to do with it. Apache is running as
nobody/nogroup, and members of the nscmd group are netsaint, nobody.
sh-2.05# ls -laF
total 977
drwxrwxr-x 4 netsaint netsaint 280 Aug 13 17:09 ./
drwxr-xr-x 9 netsaint netsaint 216 Jun 1 23:33 ../
drwxrwxr-x 2 netsaint netsaint 48 Apr 22 22:38 archives/
-rw-rw-r-- 1 netsaint users 60 Aug 13 17:09 comment.log
-rw-r--r-- 1 netsaint netsaint 6 Aug 13 01:53 netsaint.lock
-rw-r--r-- 1 netsaint netsaint 965676 Aug 13 17:09 netsaint.log
-rw-r--r-- 1 root root 338 Aug 13 17:07 perms.sh
drwxrwsr-x 2 netsaint nscmd 80 Aug 13 17:09 rw/
-rw-rw-r-- 1 netsaint users 9761 Aug 13 17:09 status.log
-rw-r--r-- 1 netsaint netsaint 6837 Aug 13 17:09 status.sav
sh-2.05# cd rw/
sh-2.05# ls -laF
total 4
drwxrwsr-x 2 netsaint nscmd 80 Aug 13 17:09 ./
drwxrwxr-x 4 netsaint netsaint 280 Aug 13 17:09 ../
-rw-r--r-- 1 nobody nscmd 63 Aug 13 17:09 netsaint.cmd
sh-2.05#
----- Original Message -----
From: "Bishop, Dean"
To: "'Jonathan Nichols'"
Cc:
Sent: Tuesday, August 13, 2002 2:09 PM
Subject: RE: [Nagios-users] external commands
> yeah, permissions could be fine but the file type is wrong.
>
> rm the file /usr/local/netsaint/var/rw/netsaint.cmd
> then restart netsaint. This should create the file again (doing an 'll
> /usr/local/netsaint/var/rw' will give you:
> prw-rw---- 1 netsaint netsaint 0 Aug 13 16:47
> netsaint.cmd
> ^
> note the leading character. this indicates the type of file (p for pipe)
>
> if it is not created check the permissions on the /usr/local/netsaint/var
> and /usr/local/netsaint/var/rw folders. Also check
> /usr/local/netsaint/etc/netsaint.cfg and ensure that:
> check_external_commands=1
>
> hth,
> dean
>
> -----Original Message-----
> From: Jonathan Nichols [mailto:jnichols at pbp.net]
> Sent: Tuesday, August 13, 2002 4:27 PM
> To: Bishop, Dean
> Subject: Re: [Nagios-users] external commands
>
>
> It's not? Uh oh. Something is wrong, then.. here's what it has..
> netsaint at dumpster:/usr/local/netsaint/var/rw> cat netsaint.cmd
> [1029230649] ADD_HOST_COMMENT;cheese;1;jnichols;Test
> netsaint at dumpster:/usr/local/netsaint/var/rw>
>
> If I request any other external command, the command will overwrite
whatever
> is currently in the netsaint.cmd file, but won't actually process it.
>
> I think the permissions are correct..
> netsaint at dumpster:/usr/local/netsaint/var/rw> ls -laF
> total 4
> drwxrwsrwx 2 netsaint nscmd 80 Aug 13 02:16 ./
> drwxrwxr-x 4 netsaint netsaint 256 Aug 13 13:26 ../
> -rw-r--r-- 1 nobody nscmd 54 Aug 13 02:24 netsaint.cmd
> netsaint at dumpster:/usr/local/netsaint/var/rw>
>
> The docs said that the /var/rw directory needed to be owned by
> nobody:nscmd..
>
> ----- Original Message -----
> From: "Bishop, Dean"
> To: "'Jonathan Nichols'"
> Sent: Tuesday, August 13, 2002 11:45 AM
> Subject: RE: [Nagios-users] external commands
>
>
> > ?? sitting in netsaint.cmd??
> >
> > this is not a regular file. It is created automatically when you start
> > Netsaint and it accepts commands FIFO.
> >
> > it sounds like you are appending a regular file. Is this accurate or
have
> i
> > misread your e-mail??
> >
> >
> >
> > -----Original Message-----
> > From: Jonathan Nichols [mailto:jnichols at pbp.net]
> > Sent: Tuesday, August 13, 2002 2:30 PM
> > To: nagios
> > Subject: [Nagios-users] external commands
> >
> >
> > Greetings all,
> > I'm actually using Netsaint 0.0.7 still.. question about external
> > commands. It's only worked once. I don't get any errors from the web
page,
> > and it tells me that it was successful, but the command never happens.
It
> > just sits in the /usr/local/netsaint/var/rw/netsaint.cmd file and never
> gets
> > processed. I've tried restarting netsaint, and as far as I can tell, the
> > permissions are correct because it's able to write the netsaint.cmd
file.
> >
> > Is there anything in particular that I should be looking at? I've
checked
>
> > Google but can't find anything different than what I've already tried.
:(
> >
> > Thanks for any assistance..
> >
> > -Jonathan
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: Dice - The leading online job board
> > for high-tech professionals. Search and apply for tech jobs today!
> > http://seeker.dice.com/seeker.epl?rel_code=31
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From 8lb4fmllhm001 at sneakemail.com Wed Aug 14 02:22:29 2002
From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com)
Date: 13 Aug 2002 20:22:29 -0400
Subject: on-call pager rotation
Message-ID: <1660304721.1029284597269.JavaMail.root@monkey>
Perhaps this is the wrong list to submit this to, but maybe someone already has a solution/workaround....
In an environment where you have one (or more) administrative groups, where all admins have their own pager (ie, instead of a 'floater' which gets handed off to the on-call admin), it would be handy for one of the admins to either 'hand off' the virtual pager to someone else in his group, or to 'take' the virtual pager from someone else in his group.
For example, let's say there's an admininstrative group called linuxadmin, with admins rob, sue and stef. As rob finishes his 1 week (for example) with the virtual pager, either he would reassign it to sue, or sue would reassign it to herself. After sue is done with her week, she passes the buck to terry (or stef assigns it to himself), etc etc and so on.
The crude way of doing this would, of course, to be editing escalations.cfg once a week, changing who gets to be the primary on-call. But I'd like to think there's a better way of doing this, preferably web-based.
Thoughts? Suggestions?
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From andrew.slater at netstrategy.net Wed Aug 14 02:29:22 2002
From: andrew.slater at netstrategy.net (andrew.slater at netstrategy.net)
Date: Wed, 14 Aug 2002 10:29:22 +1000
Subject: check_smtp problem
Message-ID:
Howdy,
Thanks for the response, here are my configs;
host.cfg --->
These are the servers that come up CRITICAL-
# 'scorpion' host definition
define host{
host_name scorpion
alias Domino SMTP 1
address xxx.xxx.xxx.xxx
check_command check-host-alive
max_check_attempts 10
checks_enabled 1
notification_interval 60
notification_period 24x7
notification_options d,u,r
}
# 'keene_mx' host definition
define host{
host_name keene_mx
alias MS Exchange Server 2000
address xxx.xxx.xxx.xxx
parents telstra_link
check_command check-host-alive
max_check_attempts 10
checks_enabled 1
notification_interval 60
notification_period 24x7
notification_options d,u,r
}
# 'pirahna' host definition
define host{
host_name pirahna
alias Domino SMTP 2
address xxx.xxx.xxx.xxx
check_command check-host-alive
max_check_attempts 10
checks_enabled 1
notification_interval 60
notification_period 24x7
notification_options d,u,r
}
These are the servers that come up OK;
# 'triton' host definition
define host{
host_name triton
alias MailSweeper
address xxx.xxx.xxx.xxx
parents lonewolf
check_command check-host-alive
max_check_attempts 10
checks_enabled 1
notification_interval 60
notification_period 24x7
notification_options d,u,r
}
# 'mx2' host definition
define host{
host_name mx2
alias qmail Relay
address xxx.xxx.xxx.xxx
parents lonewolf
check_command check-host-alive
max_check_attempts 10
checks_enabled 1
notification_interval 60
notification_period 24x7
notification_options d,u,r
}
services.cfg --->
# Template definition
define service{
name generic-service
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
register 0
}
# Service definition
define service{
use generic-service
host_name scorpion
service_description SMTP
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups notes-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_smtp
}
# Service definition
define service{
use generic-service
host_name keene_mx
service_description SMTP
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups mail-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_smtp
}
# Service definition
define service{
use generic-service
host_name pirahna
service_description SMTP
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups notes-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_smtp
}
# Service definition
define service{
use generic-service
host_name triton
service_description SMTP
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups mail-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_smtp
}
# Service definition
define service{
use generic-service
host_name mx2
service_description SMTP
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups mail-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_smtp
}
As you can see, the configs are identical between all servers (I am still
trying to get the whole thing up and running consistently before altering
each config to be appropriate for its purpose).
The check_smtp command is unaltered from the original install and there is
a check_ping to each of the above servers as well. I have tried
with/without the additional services (keene_mx for instance also has a
check_pop which runs fine) and still get the same result.
The only consistency in the failures is the type of server. I have tried
monitoring other mail servers of the same type and always seem to get the
same result. ie Exchange2000 and Domino _always_ seem to fail and qmail and
MAILsweeper for SMTP _never_ fail. Telnetting to each brings up the
expected "220" result and as I said in the first email, I _do_ get an OK: 0
second response time on every server whether they list as OK or CRITICAL.
Well thanks in advance for any thoughts you might have.
Andrew Slater
"Bishop, Dean"
,
b.org> nagios-users at lists.sourceforge.net
cc:
13/08/2002 09:11 Subject: RE: [Nagios-users] check_smtp problem
PM
Send your config. i.e. host and service definitions for these servers.
later,
dean
-----Original Message-----
From: andrew.slater at netstrategy.net
[mailto:andrew.slater at netstrategy.net]
Sent: Monday, August 12, 2002 9:32 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_smtp problem
Hi all,
I know this is more suited to the plugins list but there really isnt much
activity there, so I thought I would post here (apologies to any if this is
out of order).
My problem is that with a fresh install of Nagios 1.04b using the 1.3b1
plugins, I am getting a CRITICAL response to some check_smtp service
checks.
Nagios is running on a RedHat 7.3 system (installed from source not RPMs),
the check_smtp is the default command and actually works succesfully on
most of my mail servers. In fact, on the problem servers the check returns
an "SMTP OK: 0 second response time", but still returns CRITICAL as the
service status. The details are as follows;
Domino 5.11 smtp server - OK: 0 second response time - CRITICAL
Domino 5.10 smtp server - OK: 0 second response time - CRITICAL
MS Exchange 2000 server - OK: 0 second response time - CRITICAL
qmail smtp server - OK: 0 second response time - OK
MAILsweeper esmtp server - OK: 0 second response time - OK
All configs for the above services and servers are identical (except IP
address of course!) It appears that the problem is only occuring on Domino
and Exchange servers.
Has anyone seen this problem before, and if so is there a solution? I would
like to go live with the monitoring system, but really would prefer to have
notifications working correctly on our mail servers. I have looked briefly
at the source code of the check_smtp but cant find anything that glares out
at me. (Havent coded in a looong time). I now throw myself on the combined
wisdom of the list.
Any takers?
Andrew Slater
NetStrategy Pty Ltd
1 Vuko Place Warriewood
Locked Bag 2000 Warriewood
NSW 2102 Sydney Australia
Telephone: +61-2-9970-2000 Fax: +61-2-9970-2100
24 by 7 Helpdesk +61-1300-736-383
---What we do---
We help more customers win by lowering their IT costs and solving
their problems. Call us to find out how we can help you win.
---Legal Notice---
Confidential Communication
This email and any files transmitted with it is intended solely for the use
of the individual or entity to whom it is addressed. If you are not the
intended recipient, or the person responsible for delivering the email to
the intended recipient, please immediately notify the sender by email and
delete the original transmission and its contents. Any use (which includes
dissemination, forwarding, printing, or copying) of this email and any file
attachments is prohibited.
---Liability Disclaimer---
Before opening or using attachments, check them for viruses and defects.
Our liability is limited to resupplying any affected attachments.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From drich at employees.org Wed Aug 14 02:43:42 2002
From: drich at employees.org (Dan Rich)
Date: Tue, 13 Aug 2002 17:43:42 -0700 (PDT)
Subject: on-call pager rotation
In-Reply-To: <1660304721.1029284597269.JavaMail.root@monkey>
References: <1660304721.1029284597269.JavaMail.root@monkey>
Message-ID:
On 13 Aug 2002 8lb4fmllhm001 at sneakemail.com wrote:
> The crude way of doing this would, of course, to be editing escalations.cfg once a week, changing who gets to be the primary on-call. But I'd like to think there's a better way of doing this, preferably web-based.
When we used to have that situation we did it via. email (or now I would
do it through the qpage config). We just kept an alias of
operations-pager and it would be set to whoever was on-call that week.
The plan was I would eventually have a web page to manage it, but that
never happened.
--
Dan Rich | http://www.employees.org/~drich/
| "Step up to red alert!" "Are you sure, sir?
| It means changing the bulb in the sign..."
| - Red Dwarf (BBC)
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From halim at bankislam.com.my Wed Aug 14 04:07:47 2002
From: halim at bankislam.com.my (Halim Saleh - IT)
Date: Wed, 14 Aug 2002 10:07:47 +0800
Subject: problems with icons in status view?
Message-ID:
Frank
Try add this line at template or each defined Hostextinfo
define hostextinfo {
.
.
--> gd2_image win40.gd2
.
.
}
regards
-Halim-
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
From jsellens at generalconcepts.com Wed Aug 14 04:04:49 2002
From: jsellens at generalconcepts.com (John Sellens)
Date: Tue, 13 Aug 2002 22:04:49 -0400 (EDT)
Subject: Unable to install nagiosplugins...
Message-ID: <200208140204.g7E24nk32538@gc0.generalconcepts.com>
| From: Colin Harford
| Date: Tue, 13 Aug 2002 17:54:11 -0400
|
| (ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
| # gmake
| cd . &&
| /bin/sh: syntax error: unexpected EOF
| gmake: *** [aclocal.m4] Error 1
I think there's a problem in the dates on some of the automake-ish
files in the 1.3-beta1 distribution (which I reported to the
nagiosplug-devel list earlier today).
The "cd . &&" command is trying to run automake or aclocal, which
you likely don't have on your system.
Try this, which worked for me on a couple of machines:
gunzip < nagiosplug-1.3-beta1.tar.gz | tar xf -
cd nagiosplug-1.3-beta1
touch aclocal.m4; sleep 1
touch Makefile.in; sleep 1
touch configure; sleep 1
./configure
gmake
Doing the "touch" commands avoids having make want to run automake
and friends.
Cheers!
John
jsellens at generalconcepts.com
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From sghosh at sghosh.org Wed Aug 14 04:13:51 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Tue, 13 Aug 2002 22:13:51 -0400 (EDT)
Subject: Check_SMTP is not working
In-Reply-To: <003401c242ef$1a1bc640$61222404@SHYAM>
References: <003401c242ef$1a1bc640$61222404@SHYAM>
Message-ID:
check the following line in the source - check_smtp.c
#define SMTP_QUIT
It should say
#define SMTP_QUIT "QUIT\r\n"
The RFC requires \r\n after every command - the earlier plugin only used a
\n which worked with sendmail and all the unix based smtp servers.
-sg
On Tue, 13 Aug 2002, Jignesh Pathak wrote:
> Hello Gurus:
>
>
>
> I am trying to check SMTP service running on Windows NT 4.0/Lotus Domino
> R5.0.10 through Nagios v 1.0b4 installed on Solaris 8 box. It is giving
> me critical error message. It looks like that it is not getting any
> response from SMTP server. But I am able to send/receive mail from that
> SMTP server. Also I am able to connect it via telnet on port 25. What
> could be wrong with my configuration? I have checked IP address and it
> is SMTP server's IP address.
>
>
>
> Thanks,
>
>
>
> Jignesh
>
>
--
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From sghosh at sghosh.org Wed Aug 14 04:17:01 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Tue, 13 Aug 2002 22:17:01 -0400 (EDT)
Subject: check_smtp problem
In-Reply-To:
References:
Message-ID:
can you run the plugin from the command line and check the result of
'echo $?' after the completion of execution.
Also can you run strace - on a commandline execution of the plugin if the
above echo returned a "2".
either list works for these questions...
-sg
On Tue, 13 Aug 2002 andrew.slater at netstrategy.net wrote:
> Hi all,
>
> I know this is more suited to the plugins list but there really isnt much
> activity there, so I thought I would post here (apologies to any if this is
> out of order).
>
> My problem is that with a fresh install of Nagios 1.04b using the 1.3b1
> plugins, I am getting a CRITICAL response to some check_smtp service
> checks.
>
> Nagios is running on a RedHat 7.3 system (installed from source not RPMs),
> the check_smtp is the default command and actually works succesfully on
> most of my mail servers. In fact, on the problem servers the check returns
> an "SMTP OK: 0 second response time", but still returns CRITICAL as the
> service status. The details are as follows;
>
> Domino 5.11 smtp server - OK: 0 second response time - CRITICAL
> Domino 5.10 smtp server - OK: 0 second response time - CRITICAL
> MS Exchange 2000 server - OK: 0 second response time - CRITICAL
> qmail smtp server - OK: 0 second response time - OK
> MAILsweeper esmtp server - OK: 0 second response time - OK
>
> All configs for the above services and servers are identical (except IP
> address of course!) It appears that the problem is only occuring on Domino
> and Exchange servers.
>
> Has anyone seen this problem before, and if so is there a solution? I would
> like to go live with the monitoring system, but really would prefer to have
> notifications working correctly on our mail servers. I have looked briefly
> at the source code of the check_smtp but cant find anything that glares out
> at me. (Havent coded in a looong time). I now throw myself on the combined
> wisdom of the list.
>
> Any takers?
>
> Andrew Slater
>
>
>
>
> NetStrategy Pty Ltd
> 1 Vuko Place Warriewood
> Locked Bag 2000 Warriewood
> NSW 2102 Sydney Australia
>
> Telephone: +61-2-9970-2000 Fax: +61-2-9970-2100
> 24 by 7 Helpdesk +61-1300-736-383
>
> ---What we do---
> We help more customers win by lowering their IT costs and solving
> their problems. Call us to find out how we can help you win.
>
> ---Legal Notice---
> Confidential Communication
> This email and any files transmitted with it is intended solely for the use
> of the individual or entity to whom it is addressed. If you are not the
> intended recipient, or the person responsible for delivering the email to
> the intended recipient, please immediately notify the sender by email and
> delete the original transmission and its contents. Any use (which includes
> dissemination, forwarding, printing, or copying) of this email and any file
> attachments is prohibited.
>
> ---Liability Disclaimer---
> Before opening or using attachments, check them for viruses and defects.
> Our liability is limited to resupplying any affected attachments.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
--
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From opensrcguru at inzauro.com Wed Aug 14 06:05:15 2002
From: opensrcguru at inzauro.com (opensrcguru)
Date: Tue, 13 Aug 2002 23:05:15 -0500
Subject: Nagios Status Map and 3D Map Docs
Message-ID: <000c01c24347$dd618510$0279790a@inzauro2>
Would it be possible to get some help with the layout and setup of network nodes and how to make everything nice and pretty? I got the correct cons to appear, now it just neems like I need to work the physical locations of the nodes. Also, what viewer should one use to view the 3D maps?
aNy help greatly appreciated
Terry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From lgavage at ulg.ac.be Wed Aug 14 09:20:07 2002
From: lgavage at ulg.ac.be (Lionel Gavage)
Date: Wed, 14 Aug 2002 09:20:07 +0200
Subject: Nagios Redundant and Failover Network Monitoring
Message-ID:
Hello,
I use Nagios beta4 and i'd like use redundant and failover option.
Does anydody have already used this option ?
If yes, can share her experience?
Thks.
Lionel.
Lionel Gavage
Network Engineer (SeGI/ULg)
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From atul at mindsw.com Wed Aug 14 09:42:26 2002
From: atul at mindsw.com (Atul Gosain)
Date: Wed, 14 Aug 2002 13:12:26 +0530 (IST)
Subject: Query about service dependencies
Message-ID: <2336.202.88.151.191.1029310946.squirrel@www.webyarn.com>
Hi
I have been trying to configure service dependencies on nagios but couldnt
understand how they r working.
In my case there r 3 hosts
scotty-->hathway-->mindsw.com
I have defined host dependencies for them in which mindsw.com is
dependent on hathway and hathway is dependent on scotty.
I am pasting the dependencies file.
##########################################################################
#Scotty-->Hathway-->Mindsw.com
define servicedependency{
host_name scotty
service_description PING
dependent_host_name hathway
dependent_service_description PING
execution_failure_criteria w,u,c
notification_failure_criteria w,u,c
}
define servicedependency{
host_name scotty
service_description PING
dependent_host_name mindsw.com
dependent_service_description PING
execution_failure_criteria w,u,c
notification_failure_criteria w,u,c
}
define servicedependency{
host_name hathway
service_description PING
dependent_host_name mindsw.com
dependent_service_description PING
execution_failure_criteria w,u,c
notification_failure_criteria w,u,c
}
#servicedependency definition
define servicedependency{
host_name mindsw.com
service_description PING
dependent_host_name mindsw.com
dependent_service_description HTTP
execution_failure_criteria w,u,c ; These are the
criteria for which check execution will be supressed
notification_failure_criteria w,u,c ; These are the criteria
for which notifications will be supressed
name mindsw_serv_template
}
#servicedependency definition
define servicedependency{
host_name hathway
service_description PING
dependent_host_name scotty
dependent_service_description DNS check
execution_failure_criteria w,u,c ; These are the
criteria for which check execution will be supressed
notification_failure_criteria w,u,c ; These are the criteria
for which notifications will be supressed
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Current Users
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Total Processes
}
define servicedependency{
use mindsw_serv_template
dependent_service_description POP Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description IMAP Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description SMTP Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description MySql Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Load Check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Zombie Processes
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Memory Checking
}
define servicedependency{
use mindsw_serv_template
dependent_service_description DNS check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description POP Relay Service Check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description SSH service check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description /dev/hda1 Free Space
}
# Servicedependency definition
define servicedependency{
host_name scotty
service_description PING
dependent_host_name scotty
dependent_service_description HTTP
execution_failure_criteria w,u,c ; These are the
criteria for which check execution will be supressed
notification_failure_criteria w,u,c ; These are the criteria
for which notifications will be supressed
name scotty_serv_template
}
define servicedependency{
use scotty_serv_template
dependent_service_description Current Users
}
define servicedependency{
use scotty_serv_template
dependent_service_description Total Processes
}
define servicedependency{
use scotty_serv_template
dependent_service_description IMAP Service
}
define servicedependency{
use scotty_serv_template
dependent_service_description SMTP Service
}
define servicedependency{
use scotty_serv_template
dependent_service_description MySql Service
}
define servicedependency{
use scotty_serv_template
dependent_service_description Load Check
}
define servicedependency{
use scotty_serv_template
dependent_service_description Zombie Processes
}
define servicedependency{
use scotty_serv_template
dependent_service_description Memory Checking
}
define servicedependency{
use scotty_serv_template
dependent_service_description /dev/hda1 Free Space
}
define servicedependency{
use scotty_serv_template
dependent_service_description Bandwidth Check
}
define servicedependency{
use scotty_serv_template
dependent_service_description SNMP Check
}
define servicedependency{
use scotty_serv_template
dependent_service_description SSH service check
}
################################################################################
# HOST DEPENDENCY DEFINITIONS
#
# SYNTAX:
#
################################################################################
define hostdependency{
host_name hathway
dependent_host_name mindsw.com
notification_failure_criteria d,u
}
define hostdependency{
host_name scotty
dependent_host_name hathway
notification_failure_criteria d,u
}
###############################################################################
I have some basic questions about it.
What does hostdependency mean?
It should mean that when hathway is down , nagios should not even check
for the services of mindsw.com, but we have to define the service
dependencies also, Why?
In service dependencies, i have defined that PING of mindsw.com is
dependent on PING of hathway and all the services of mindsw.com are
dependent on PING of mindsw.com. Even then, when hathway is down, nagios
checks for all the services of mindsw.com and then shows them in critical
state.
Should it show the services of mindsw.com in Unknown state if the service
they are dependent on is not OK??
I have also set soft_state_dependencies=1 in nagios.cfg also, so that if
any service fails and has soft error state, then also the dependent
services should not be executed.
Thanks
Atul
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From galimore at mac.com Wed Aug 14 10:27:02 2002
From: galimore at mac.com (terry)
Date: Wed, 14 Aug 2002 02:27:02 -0600
Subject: Nagios Status Map and 3D Map Docs
In-Reply-To: <000c01c24347$dd618510$0279790a@inzauro2>
References: <000c01c24347$dd618510$0279790a@inzauro2>
Message-ID: <9BAEFCD2-AF5F-11D6-822E-00306570AEC8@mac.com>
Terry,
I haven't done the 3D stuff, but the docs explain how to do it.
You'll need to set coordinates for each device... I haven't quite
reached that point yet, but I'd take a look at the docs if you haven't
already, as they do explain how to set that all up.
Terry Simons
Network Assistant
Marriott Library, University of Utah
On Tuesday, August 13, 2002, at 10:05 PM, opensrcguru wrote:
> Would it be possible to get some help with the layout and setup of
> network nodes and how to make everything nice and pretty?? I got?the
> correct?cons to appear, now it just neems like I need to work the
> physical locations of the nodes.? ?Also, what viewer should one use to
> view the 3D maps?
> ?
> aNy help greatly appreciated
> ?
> ?
> Terry
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
From galimore at mac.com Wed Aug 14 10:33:05 2002
From: galimore at mac.com (terry)
Date: Wed, 14 Aug 2002 02:33:05 -0600
Subject: seperating notification types based on timeperiod and nothing els e??
In-Reply-To:
References:
Message-ID: <74426960-AF60-11D6-822E-00306570AEC8@mac.com>
You don't have to set up two contact groups.
Simply set up two timeperiods... one for when they should get E-mail
(which is always?) and one for when they get paged.
Create a user that gets paged, and a user that gets E-mail and add them
to the one contact group.
Nagios will figure out when to send what based on your time periods.
Hope that helps,
- Terry
On Tuesday, August 13, 2002, at 12:07 PM, Bishop, Dean wrote:
> Good morning,
>
> k, so i have 1100 hosts setup in my nagios config. i am now
> configuring the notification for these hosts and services. The
> problem is
> that i have hosts/services that are deemed critical and i want to be
> able to
> change the method of notification depending on the timeperiod.
>
> e.g. Critical_server goes down during working hours, techs are
> on-site and
> watching their e-mail so i just want them to be notified via e-mail.
>
> If Critical_server goes down during non-working hours, techs are
> not
> checking their e-mail and need to be paged as well.
>
> It seems as though the only place to tell nagios _how_ to notify a
> contact is in the contact.cfg.
>
> Based on my understanding, i would have to create two contacts for
> each technician (tech1-workinghours, tech1-nonworkinghours,
> tech2-workinghours, tech2-nonworkinghours...) and also two
> contactgroups
> (techs-workinghours, techs-nonworkinghours). Then i add both
> contactgroups
> to the host's/service's "contact_groups" entry.
>
> Does anyone have a better way of doing this??
>
> thanks in advance,
> dean
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From galimore at mac.com Wed Aug 14 10:34:21 2002
From: galimore at mac.com (terry)
Date: Wed, 14 Aug 2002 02:34:21 -0600
Subject: check_fping incorrectly reporting hosts as OK
In-Reply-To:
References:
Message-ID:
Does fping work on the commandline?
- Terry
On Tuesday, August 13, 2002, at 01:36 PM, Myke Place wrote:
> Hi,
>
> I'm having a bit of trouble getting check_fping to report the status
> of a
> host correctly to Nagios. The problem that exists as follows when using
> check_fping to contact a host that I know is unreachable.
>
> ./check_fping deadhost
> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
>
> fping -v returns the following:
>
> fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
> fping: comments to david at remote.net
>
> Is there something I'm missing here? Does check_fping need some special
> arguments to work properly in checkcommands.cfg?
>
> Any help would be greatly appreciated. Thanks.
>
> --------------------
> Myke Place
> mp at xmission.com
> 801.539.0852
> www.radiojournal.org
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From lists.scott at themagicbox.net Wed Aug 14 12:31:25 2002
From: lists.scott at themagicbox.net (Scott)
Date: Wed, 14 Aug 2002 20:31:25 +1000
Subject: Config file messiness
Message-ID: <003901c2437d$bdf888f0$0500a8c0@earth>
Hi every1 :)
Anybody have a neat way of setting up hosts and services on nagios.
I started by using the sample layouts but actually moved to a system which seems to be neater but probably more complex.
This is the layout at present
/etc/ - contains config data.. eg. nagios.cfg
/etc/locations - contains service_pingall.cfg
/etc/locations/melbourne
/etc/locations/adelaide
/etc/locations/sydney
/etc/locations/perth
for those of you outside Australia (I presume most of you) these are a list of a few capital cities where we have pops or proxy servers installed.
Inside these directories I contain a file for each host to be configured, this includes the host information and any services to be configured with them.
making the files rather large be defining the defaults as a template is also tedious but changing all the files at this stage is going to be a long and tedious task.
Anybody have a nicer way of doing this?
Would it be better to implement a database type structure or would this slow the system down too much?
anyway, any thoughts are greatly appreciated.
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From lists.scott at themagicbox.net Wed Aug 14 12:30:43 2002
From: lists.scott at themagicbox.net (Scott)
Date: Wed, 14 Aug 2002 20:30:43 +1000
Subject: sample service
References:
Message-ID: <003501c2437d$a8da5890$0500a8c0@earth>
Well, sorry about the delay, I have been reading, just not replying for a few odd days or weeks, anyway.. the result from setting up dependancies is a little tedious.
After being confused by the fact that a host dependancy is not actually related to a service dependancy I think I am finally ready to implement something half useable.
the problem is that a service consisting of a ping is still not related to a host being host_checked by a ping.. confusing or what!!
so if a service ping stops responding then a dependant will still be checked and show as unreachable.. damn annoying as I have all my hosts set with a ping * service by default.. :(
I do need the ping * service as I have lots of routers online and other than checking telnet ports all over the place this was the easiest way of adding a default service to a new host "on the fly"
so, unless you specifically have a dependant service I would always suggest using a host dependancy..
Thanks again
Scott
----- Original Message -----
From: Matthew.Quinney at hollandandholland.com
To: Scott
Cc: nagios-users at lists.sourceforge.net ; nagios-users-admin at lists.sourceforge.net ; Volker.Aust at premiere.de
Sent: Thursday, August 08, 2002 9:09 PM
Subject: Re: [Nagios-users] sample service
Scott,
Let me know how you get on with service dependancies ! I cannot see how else you can do but define a list of service dependencies for each server !!!
Thanks !
Matthew
---------------------------------------------------------------------------------------------------
Matthew Quinney
Certified Lotus Specialist
Network Manager
Holland & Holland Ltd
31-33 Bruton ST
London
Tel - 0207 4994411
email - matthew.quinney at hollandandholland.com
"Scott"
Sent by: nagios-users-admin at lists.sourceforge.net
08/08/2002 11:55
To ,
cc
bcc
Subject Re: [Nagios-users] sample service
Thanks so much for that, its exactly the information I was looking for...
Now I have to figure this dependency thingy out... more fun and games...
I now have 75 hosts and 105 services and its getting a little tricky to
maintain information.
Scott
Thanks again people
----- Original Message -----
From:
To:
Cc:
Sent: Thursday, August 08, 2002 1:59 AM
Subject: RE: [Nagios-users] sample service
> Hi Scott,
>
> to disable active checks for a service you could set "check_period none"
> (assuming you use the default timeperiods.cfg) or you can set
> "active_checks_enabled 1" (then you have a red cross in all status-views
and
> you can change it with the web-interface).
>
> This is my template for passive service checks:
>
> # passive service definition template
> define service{
> use generic-service
> name passive-service
> check_command check-router-alive
> max_check_attempts 1
> active_checks_enabled 1
> passive_checks_enabled 1
> check_period none
> notification_options c,r
> register 0
> }
>
> and this is a service:
>
> define service{
> use passive-service
> host_name cisco-as02
> service_description Serial1/0
> contact_groups router-admins,rz-leitstand,bk-wien
> }
>
> Hope this helps.
>
> -vol
>
>
> -----Original Message-----
> From: Scott [mailto:lists.scott at themagicbox.net]
> Sent: Wednesday, August 07, 2002 5:08 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] sample service
>
>
> Hi every1,
>
> I have already asked this in the past and received no reply, this is what
I
> propose...
>
> could somebody please post a service define for a passive test for me to
> use.. you may need the template to describe this correctly.
>
> I have set one up already but trying to completely disable active checks
> seems to be impossible..
>
> Thanks in advance Nagios fans/friends and family
>
> Scott
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
_____________________________________________________________________
This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dean.bishop at tcdsb.org Wed Aug 14 13:44:25 2002
From: dean.bishop at tcdsb.org (Bishop, Dean)
Date: Wed, 14 Aug 2002 07:44:25 -0400
Subject: VRML problem
Message-ID:
Good morning,
confirm the following in /usr/local/nagios/etc/cgi.cfg:
Template-based extended information definitions are stored in seperate
configuration files, apart from the CGI configuration file. In order to tell
the CGIs where to find your configuration information, you must add the
following directive in your CGI configuration file:
xedtemplate_config_file=configuration_file
Example:
xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg
xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg
hth,
dean
-----Original Message-----
From: 8lb4fmllhm001 at sneakemail.com [mailto:8lb4fmllhm001 at sneakemail.com]
Sent: Tuesday, August 13, 2002 7:37 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] VRML problem
I've been trying to get VRML working properly. I've installed the Cortona
VRML browser and can get some sort of image to view, but it's a standard
image which simply says:
You have not supplied any 3-D drawing coordinates.
Read the FAQs for more information on doing this.
However, I *have* read the FAQs. I've successfully configured a handful of
hosts to display using the user-supplied coords when viewing the Status Map.
I've successfully implemented the add-on images. I'm reasonably certain
(from what I've read) that I've set up the necessary config info to get VRML
to display properly.
Here's a snippet from my hostextinfo.cfg file (hostname changed to protect
the innocent):
define hostextinfo{
name solaris
icon_image sun40.gif
vrml_image sun40.jpg
statusmap_image sun40.gd2
register 0
}
define hostextinfo{
host_name charlie
use solaris
2d_coords 100,100
3d_coords 100.0,100.0,100.0
}
At the very least, I should be seeing 'charlie' in the VRML image, but I do
not.
(I originally tried the 3d_coords as whole numbers (not dotted), but on
reading the FAQ, surmised that perhaps the dotted notation was required.
Clearly it didn't make a difference here.)
Thoughts? Suggestions?
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From sghosh at sghosh.org Wed Aug 14 15:22:53 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Wed, 14 Aug 2002 09:22:53 -0400 (EDT)
Subject: SNMP Monitoring
In-Reply-To: <1029274684.21747.452.camel@linuxws1>
References: <1029274684.21747.452.camel@linuxws1>
Message-ID:
The CGIs currently have access to all the config files except resource.cfg
where all the USERx macros are stored.
One reason not to have snmp_community in the host definition is that it
will increase the memory footprint because you will have to allocate a
struct member for all hosts. Otherwise we could add NSClient passwords and
other access method information as well.
Keeping the community names in resource.cfg can be painless if one can
make up a mapping between classes of devices with common communities and
the USERx macro numbers. e.g I use USER10 for all switches/hubs, USER11
for all hosts/server, USER9 for all routers.
-sg
On 13 Aug 2002, Al Tobey wrote:
> I suspect there is some animosity out there toward SNMP, but I would
> still like to request a very small convenience.
> I have written a tool to monitor processes on remote machines using the
> host-resources mib. It is in perl and uses the Net-SNMP library. I am
> working on getting permission to release it to the list. But, keeping
> track of community names is a real PITA in Nagios right now, so here's
> my proposal:
>
> define host {
> ...
> snmp_community public
> }
> # - or -
> define hostgroup {
> ...
> snmp_community public
> }
>
> # a couple example commands
> define command {
> command_name snmp_monitor_process
> command_line $USER1$/snmp_process_monitor.pl -H $HOSTADDRESS$ -C
> $SNMPCOMMUNITY$ --command $ARG1$
> }
>
> define command {
> command_name snmp_monitor_multiple_processes
> command_line $USER1$/snmp_process_monitor.pl -H $HOSTADDRESS$ -C
> $SNMPCOMMUNITY$ --command $ARG1$ -w $ARG2$ -c $ARG3$
> }
>
> I know similar things can be done using the $USER?$ macros, but it's not
> as intuitive as what I've suggested above. Also, the CGI's don't even
> really need to know about the communities, to prevent giving them to the
> whole world. Not like they're very secret anyways.
>
> Later,
> -Al Tobey
> Unix Administrator
> Priority Health
>
>
>
> ********************************************************************
> This email and any files transmitted with it are confidential
> and intended solely for the use of the individual or entity
> to whom they are addressed. If you have received this
> email in error please notify the Priority Health Information
> Services Department at (616) 942-0954.
> ********************************************************************
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
--
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From ajeffco at orhs.org Wed Aug 14 16:28:13 2002
From: ajeffco at orhs.org (Jeffcoat, Al)
Date: Wed, 14 Aug 2002 10:28:13 -0400
Subject: NRPE Not listening
Message-ID: <6319AEF0FF0BC4488F10029776CEAC070F5656@MAIL01.orhs.org>
Hi All,
I've got Nagios running nicely on my linux and AIX servers.
Now, I'm trying to install it onto a DEC Alpha we have. I got the
plugins to compile, and nrpe seems to compile with no problems. I
edited the nrpe.cfg file, and added the ip of my Nagios server. When I
try to run a plugin from my Nagios server (ie, "[root at nagios libexec]#
./check_nrpe eagle -c check_load"), I get: CHECK_NRPE: Received 0 bytes.
Are we allowed to connect to the host?
I have checked the config file for the address about 10 times to make
sure that it was right, and it still doesn't want to answer.
So, I saw that the config file says that if it runs under inetd, it
ignores that. So, I tried to start it under inetd, and it seems like it
doesn't ever start. When I run netstat -a | grep nrpe, it show's
nothing. Likewise, I also tried netstat -a | grep 5666, and nothing.
I've also added nrpe to the services file. When I add it to the
inetd.conf, and restart inetd, I get "connection refused by host" from
check_nrpe.
Anyone else had luck getting nrpe to work under OSF/1(aka TruUNIX) 4.0F?
Al Jeffcoat
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From lists.scott at themagicbox.net Wed Aug 14 16:47:37 2002
From: lists.scott at themagicbox.net (Scott)
Date: Thu, 15 Aug 2002 00:47:37 +1000
Subject: NRPE Not listening
References: <6319AEF0FF0BC4488F10029776CEAC070F5656@MAIL01.orhs.org>
Message-ID: <001901c243a1$88cc9620$0500a8c0@earth>
Have you tried nsca, I havent tried nrpe at all because I tried nsca first and it worked very very well, it also does encryption with passwords which makes it a nicety!!
As I said I cant comment on NRPE as I havent actually used it yet..
----- Original Message -----
From: Jeffcoat, Al
To: nagios-users at lists.sourceforge.net
Sent: Thursday, August 15, 2002 12:28 AM
Subject: [Nagios-users] NRPE Not listening
Hi All,
I've got Nagios running nicely on my linux and AIX servers.
Now, I'm trying to install it onto a DEC Alpha we have. I got the plugins to compile, and nrpe seems to compile with no problems. I edited the nrpe.cfg file, and added the ip of my Nagios server. When I try to run a plugin from my Nagios server (ie, "[root at nagios libexec]# ./check_nrpe eagle -c check_load"), I get: CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?
I have checked the config file for the address about 10 times to make sure that it was right, and it still doesn't want to answer.
So, I saw that the config file says that if it runs under inetd, it ignores that. So, I tried to start it under inetd, and it seems like it doesn't ever start. When I run netstat -a | grep nrpe, it show's nothing. Likewise, I also tried netstat -a | grep 5666, and nothing. I've also added nrpe to the services file. When I add it to the inetd.conf, and restart inetd, I get "connection refused by host" from check_nrpe.
Anyone else had luck getting nrpe to work under OSF/1(aka TruUNIX) 4.0F?
Al Jeffcoat
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mp at xmission.com Wed Aug 14 16:51:51 2002
From: mp at xmission.com (Myke Place)
Date: Wed, 14 Aug 2002 08:51:51 -0600 (MDT)
Subject: check_fping strangeness
Message-ID:
Yes it does. Here is the output of fping:
fping deadhost
deadhost is unreachable
Any ideas?
>Does fping work on the commandline?
>
>- Terry
On Tuesday, August 13, 2002, at 01:36 PM, Myke Place wrote:
> Hi,
>
> I'm having a bit of trouble getting check_fping to report the status
> of a
> host correctly to Nagios. The problem that exists as follows when using
> check_fping to contact a host that I know is unreachable.
>
> ./check_fping deadhost
> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
> fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
> fping: comments to david at remote.net
>
> Is there something I'm missing here? Does check_fping need some special
> arguments to work properly in checkcommands.cfg?
>
> Any help would be greatly appreciated. Thanks.
>
--------------------
Myke Place
mp at xmission.com
801.539.0852
www.radiojournal.org
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From jasonm at kelman.com Wed Aug 14 17:00:10 2002
From: jasonm at kelman.com (Jason Marshall)
Date: Wed, 14 Aug 2002 09:00:10 -0600 (MDT)
Subject: on-call pager rotation
In-Reply-To: <1660304721.1029284597269.JavaMail.root@monkey>
References: <1660304721.1029284597269.JavaMail.root@monkey>
Message-ID:
> The crude way of doing this would, of course, to be editing
> escalations.cfg once a week, changing who gets to be the primary
> on-call. But I'd like to think there's a better way of doing this,
> preferably web-based.
We're looking at the same thing here. What I came up with was replacing
the actual qpage notification with a simple wrapper that looks in a
directory that contains files named by on-call person. For instance, in
/opt/nagios/notifications/dbase, you'd have three empty files, rob, bill
and stef (or whatever). They'd be world-writable. All that someone has
to do is touch the appropriate file to change who's on-call. The person
going OFF-call is always the best choice here, as he or she has a vested
interest in the rotation happening, or else his or her pager keeps going
off!
orion:(jasonm):/opt/nagios/notifications/dbase$ ls -1rt
rob
stef
bill
Now, if bill's coming off-call and it's rob's turn, bill would "touch"
rob, and now:
orion:(jasonm):/opt/nagios/notifications/dbase$ touch rob
orion:(jasonm):/opt/nagios/notifications/dbase$ ls -1rt
bill
stef
rob
Rob is listed last, so he'd be the one on call. The notification wrapper
just does a ls -1rt in that directory, does a tail -1 on the result, and
voila, you get the name of the new on-call person.
You can rig up a CGI script to do this, so if Bill gets off work and
goes to the grocery store and the stupid pager goes off, he can get out
his wireless PDA and click on "make rob the on-call guy". You get the
idea.
---
Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada.
From a Sun Microsystems bug report (#4102680):
"Workaround: don't pound on the mouse like a wild monkey."
"I have great faith in fools:
Self confidence my friends call it." -Edgar Allan Poe
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From adamn at sportingbet.com Wed Aug 14 17:17:19 2002
From: adamn at sportingbet.com (Adam Shaun Nealis)
Date: Wed, 14 Aug 2002 16:17:19 +0100
Subject: Is there An Explanation of The Nagios Architecture Anywhere?
Message-ID: <3D5A747F.3000308@sportingbet.com>
Having more or less completely set up nagios on a
single server, called orange, monitoring only itself,
I went through the docs again to look for guidance
on how to extend the set up to monitor >1 server.
So far I've been taking the approach of RTFM, then
grokking before doing, as I'm trying to avoid
getting myself in a mess where all seems to work for
my test rig, but I don't understand how I got there.
On the way, I became a bit confused by the meanings
of some of the terms used.
But I believe that if I want to do basic monitoring
of a set of hosts, say blue and red, from a single
central server (orange), I can, for example, run
check_ping and check_http from orange to get stats
for blue and red.
However, what am I supposed to do if I want to know
about load or disk usage on blue and red? Is it enough
to install nrpe plus the plugins only on red and blue?
(
I'm a bit confused by the use of term "remote" here
http://nagios.sourceforge.net/docs/1_0/addons.html#nrpe
as opposed to here
http://nagios.sourceforge.net/docs/1_0/networkreachability.html
)
TIA for any help,
Adam.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From ajeffco at orhs.org Wed Aug 14 17:29:05 2002
From: ajeffco at orhs.org (Jeffcoat, Al)
Date: Wed, 14 Aug 2002 11:29:05 -0400
Subject: NRPE Not listening
Message-ID: <6319AEF0FF0BC4488F10029776CEAC070F5657@MAIL01.orhs.org>
Well, that was a good idea, and I tried that, but here I think is the
real problem for both NRPE and NSCA. When I run the ./configure and
then "make all", during the make, I get these errors...
These errors come with the cc that comes with DEC
--- cut ---
# make all
cd ./src/; make ; cd ..
cc -g -DHAVE_CONFIG_H nrpe.c netutils.c -o nrpe
nrpe.c:
cc: Warning: nrpe.c, line 354: In this statement, & before array
"myname.sin_zero" is ignored. (addrarray)
bzero(&myname.sin_zero,8);
--------------^
netutils.c:
ld:
Unresolved:
snprintf
*** Exit 1
Stop.
*** Exit 1
Stop.
--- end of cut
These are the errors that come with gcc
--- cut ---
# make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/usr/users/tomb/al/nrpe-1.5/src'
gcc -g -O2 -DHAVE_CONFIG_H nrpe.c netutils.c -o nrpe
nrpe.c: In function `wait_for_connections':
nrpe.c:354: warning: passing arg 1 of `bzero' from incompatible pointer
type
nrpe.c: In function `handle_connection':
nrpe.c:613: warning: passing arg 1 of `bzero' from incompatible pointer
type
netutils.c: In function `my_connect':
netutils.c:71: warning: cast from pointer to integer of different size
/usr/bin/ld:
Unresolved:
snprintf
collect2: ld returned 1 exit status
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/usr/users/tomb/al/nrpe-1.5/src'
*** Compile finished ***
--- end cut ---
The compile finishes, and creates a nrpe and check_nrpe file... I tried
to install the gnu ld, but that breaks gcc on osf1. Well, mine,
anyway...
NSCA finishes with a "collect2: ld returned 1 exit status" error, and
doesn't create anything...
Al
-----Original Message-----
From: Scott [mailto:lists.scott at themagicbox.net]
Sent: Wednesday, August 14, 2002 10:48 AM
To: Jeffcoat, Al; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Not listening
Have you tried nsca, I havent tried nrpe at all because I tried nsca
first and it worked very very well, it also does encryption with
passwords which makes it a nicety!!
As I said I cant comment on NRPE as I havent actually used it yet..
----- Original Message -----
From: Jeffcoat, Al
To: nagios-users at lists.sourceforge.net
Sent: Thursday, August 15, 2002 12:28 AM
Subject: [Nagios-users] NRPE Not listening
Hi All,
I've got Nagios running nicely on my linux and AIX servers.
Now, I'm trying to install it onto a DEC Alpha we have. I got
the plugins to compile, and nrpe seems to compile with no problems. I
edited the nrpe.cfg file, and added the ip of my Nagios server. When I
try to run a plugin from my Nagios server (ie, "[root at nagios libexec]#
./check_nrpe eagle -c check_load"), I get: CHECK_NRPE: Received 0 bytes.
Are we allowed to connect to the host?
I have checked the config file for the address about 10 times to
make sure that it was right, and it still doesn't want to answer.
So, I saw that the config file says that if it runs under inetd,
it ignores that. So, I tried to start it under inetd, and it seems like
it doesn't ever start. When I run netstat -a | grep nrpe, it show's
nothing. Likewise, I also tried netstat -a | grep 5666, and nothing.
I've also added nrpe to the services file. When I add it to the
inetd.conf, and restart inetd, I get "connection refused by host" from
check_nrpe.
Anyone else had luck getting nrpe to work under OSF/1(aka
TruUNIX) 4.0F?
Al Jeffcoat
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From sghosh at sghosh.org Wed Aug 14 17:38:53 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Wed, 14 Aug 2002 11:38:53 -0400 (EDT)
Subject: Is there An Explanation of The Nagios Architecture
Anywhere?
In-Reply-To: <3D5A747F.3000308@sportingbet.com>
References: <3D5A747F.3000308@sportingbet.com>
Message-ID:
On Wed, 14 Aug 2002, Adam Shaun Nealis wrote:
> Having more or less completely set up nagios on a
> single server, called orange, monitoring only itself,
> I went through the docs again to look for guidance
> on how to extend the set up to monitor >1 server.
>
> So far I've been taking the approach of RTFM, then
> grokking before doing, as I'm trying to avoid
> getting myself in a mess where all seems to work for
> my test rig, but I don't understand how I got there.
>
> On the way, I became a bit confused by the meanings
> of some of the terms used.
>
> But I believe that if I want to do basic monitoring
> of a set of hosts, say blue and red, from a single
> central server (orange), I can, for example, run
> check_ping and check_http from orange to get stats
> for blue and red.
>
> However, what am I supposed to do if I want to know
> about load or disk usage on blue and red? Is it enough
> to install nrpe plus the plugins only on red and blue?
Whenever you want to check something on a server that is not visible
externally (disk, load, etc) you need to install the plugins on that
system and a method of invoking those plugins from the monitoring host
(eg. nrpe)
Nagios considers anything not on the localhost that it is running to be
remote hosts. Some remote hosts may be on remote network segments.
For the purposes of determining network reachability, remote network
segment hosts are treated slightly differently than local network segment
hosts.
hope that clears it up a bit :)
>
> (
> I'm a bit confused by the use of term "remote" here
> http://nagios.sourceforge.net/docs/1_0/addons.html#nrpe
> as opposed to here
> http://nagios.sourceforge.net/docs/1_0/networkreachability.html
> )
>
> TIA for any help,
> Adam.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
--
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From gilles.poiret at noos.fr Wed Aug 14 18:56:02 2002
From: gilles.poiret at noos.fr (poiret gilles)
Date: Wed, 14 Aug 02 18:56:02
Subject: trouble with Performance Data
Message-ID:
Hi,
I aim to export data collected by nagios to a file, in order to use them with rrdtool.
To achieve that, i followed instructions of the page : http://nagios.sourceforge.net/docs/1_0/perfdata.html
- nagios is compiled with "--with-file-perfdata" option
- my nagios.cfg file contains the line : process_performance_data=1
- As i'm using File-base method, the nagios.cfg file contains also :
xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log
xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$
xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log
xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$
- in service.cfg, a line such as
process_perf_data 1
appears in the global description of hosts/services.
And it's a failure...
when i restart nagios,
both files /usr/local/nagios/var/{service,host}perf.log are created, empty.
but they stay empty...
On the web interface, "Process info" option, "Performance Data Being Processed" is set at "No" !!!
When i try to enable performance data (via the web), nagios asks me to activate external command...
My questions :
--------------
- according to my tests, nagios doesn't perform check in the conf. file for variable which begin with x...
(xfoo_bar=/tmp doesn't produce error, while foo_bar=/tmp does)
Are the xpdfile_{service,host} directives really used now by nagios (or it's just to prepare future features)?
- Is it normal that in the "process info", performance data is said inactive ?
If it's not normal, what is the link with external commands ? In my mind, configuration is enough to export data...
- what's wrong with my conf ? !!! :)
Thanks,
--
Gilles POIRET
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From Zdenek.Havel at mius.cz Wed Aug 14 19:37:07 2002
From: Zdenek.Havel at mius.cz (=?iso-8859-2?Q?Havel_Zden=ECk?=)
Date: Wed, 14 Aug 2002 19:37:07 +0200
Subject: trouble with Performance Data
Message-ID:
I thing, that no plugin support data performace today. I have same question.
Only one ansver arrived from Chet Luther [chet at rcn.com].
> Chet Luther wrote:
> ==================
> That's what I'm doing right now, but I wasn't aware of the performance
data features of Nagios > when I decided to do it. So I ended up just
having the plugins (like you say) return the regular > output to Nagios,
while writing their performance data directly to RRD databases.
> I have a framework in place that makes writing plugins for this
extremely easy, and I'll
> attach it to the message in case you feel like seeing how someone else is
handling it. Beware,
> it isn't code I had intended to release so it depends upon a lot of things
that may be different > on your system. There is a small README in the
archive that explains what is what in the
> package.
If you can this framework tel Chet, or I can sen it.
Another way is use wrapper arround plugin. I make simple wrapper arrnoud
check_snmp plugin.
Zdenek Havel
-----P?vodn? zpr?va-----
Od: poiret gilles [mailto:gilles.poiret at noos.fr]
Odesl?no: 14. srpna 2002 20:56
Komu: nagios-users at lists.sourceforge.net
P?edm?t: [Nagios-users] trouble with Performance Data
Hi,
I aim to export data collected by nagios to a file, in order to use them
with rrdtool. To achieve that, i followed instructions of the page :
http://nagios.sourceforge.net/docs/1_0/perfdata.html
- nagios is compiled with "--with-file-perfdata" option
- my nagios.cfg file contains the line : process_performance_data=1
- As i'm using File-base method, the nagios.cfg file contains also :
xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log
xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPU
T$\t$PERFDATA$
xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log
xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$
- in service.cfg, a line such as
process_perf_data 1
appears in the global description of hosts/services.
And it's a failure...
when i restart nagios,
both files /usr/local/nagios/var/{service,host}perf.log are created, empty.
but they stay empty...
On the web interface, "Process info" option, "Performance Data Being
Processed" is set at "No" !!! When i try to enable performance data (via the
web), nagios asks me to activate external command...
My questions :
--------------
- according to my tests, nagios doesn't perform check in the conf. file for
variable which begin with x...
(xfoo_bar=/tmp doesn't produce error, while foo_bar=/tmp does)
Are the xpdfile_{service,host} directives really used now by nagios (or
it's just to prepare future features)?
- Is it normal that in the "process info", performance data is said
inactive ?
If it's not normal, what is the link with external commands ? In my
mind, configuration is enough to export data...
- what's wrong with my conf ? !!! :)
Thanks,
--
Gilles POIRET
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board for
high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
From colin.harford at mail.su.ualberta.ca Wed Aug 14 19:51:28 2002
From: colin.harford at mail.su.ualberta.ca (Colin Harford)
Date: Wed, 14 Aug 2002 11:51:28 -0600
Subject: Unable to install nagiosplugins...
In-Reply-To: <200208140204.g7E24nk32538@gc0.generalconcepts.com>
References: <200208140204.g7E24nk32538@gc0.generalconcepts.com>
Message-ID:
On 8/13/02 8:04 PM, "John Sellens" wrote:
> | From: Colin Harford
> | Date: Tue, 13 Aug 2002 17:54:11 -0400
>
> |
> | (ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
> | # gmake
> | cd . &&
> | /bin/sh: syntax error: unexpected EOF
> | gmake: *** [aclocal.m4] Error 1
>
> I think there's a problem in the dates on some of the automake-ish
> files in the 1.3-beta1 distribution (which I reported to the
> nagiosplug-devel list earlier today).
>
> The "cd . &&" command is trying to run automake or aclocal, which
> you likely don't have on your system.
>
> Try this, which worked for me on a couple of machines:
>
> gunzip < nagiosplug-1.3-beta1.tar.gz | tar xf -
> cd nagiosplug-1.3-beta1
> touch aclocal.m4; sleep 1
> touch Makefile.in; sleep 1
> touch configure; sleep 1
> ./configure
> gmake
>
> Doing the "touch" commands avoids having make want to run automake
> and friends.
>
> Cheers!
>
> John
> jsellens at generalconcepts.com
Thanks,
That seems to fix it.
Colin Harford ???
?????????????????????? ???????????????
Systems and Network Administrator ???? Apple Product Professional
================================= ????
Computer and Network Support ????????
University of Alberta Students' Union ?????????????????
Phone: (780) 492-4241 ??Fax: ?(780) 492-4643
http://www.su.ualberta.ca
"I sense much NT in you, NT leads to Blue Screen.
Blue Screen leads to downtime, downtime leads to suffering.
NT is the path to the darkside."
- Unknown Unix Jedi
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
From rue at thinlayer.co.uk Wed Aug 14 21:20:28 2002
From: rue at thinlayer.co.uk (Rue Turner)
Date: Wed, 14 Aug 2002 20:20:28 +0100
Subject: nagios plugins
References: <1965376118.1028654538542.JavaMail.root@monkey> <5.1.1.6.0.20020809113407.00a4a080@austtx1.phys.misyshealthcare.com>
Message-ID: <3D5AAD7C.8030708@thinlayer.co.uk>
John,
I've been trying to find a way into plugin writing so I can migrate all
of my custom BB checks into Nagios. Is there a boilerplate plugin a-la
BB's "ext-proto" ?
Thanks in advance for the pointer
rue
John Jolet wrote:
> I migrated from bb to nagios almost two years ago....well, netsaint,
> actually....and i'm happier with nagios than with bb, mostly because I
> like the more centralized setup and lighter-weight agent pieces.
> And I find it easier to write my own check modules for nagios.
>
> At 06:54 PM 8/6/2002 +0100, you wrote:
>
>> I have been using BB for the past year and have grown fairly fond of
>> it. However, i needed better reporting and a faster response time,
>> more configurability yada yada yada... so started looking around and
>> stopped at Nagios. Although it's younger than BB I find it much more
>> mature and is highly configurable.
>> It IS a LOT more work to get going but if you go for the
>> Nagios/MySQL/Nagat type installation the headaches will be worth it.
>> Just to compare, my bb-hosts was about 150-200 lines, compared to
>> well over 2000 lines of cfg's for Nagios - but don't be put off by
>> this. It is more complex, yes, but mostly just verbose.
>> I'm comming to the half-way point of my migration from BB to Nagios
>> and am more than pleased/excited with the results.
>>
>>
>> 8lb4fmllhm001 at sneakemail.com wrote:
>>
>>> Being relatively new to Nagios, I was wondering if anyone who is
>>> familiar with both Nagios and Big Brother can comment on the
>>> relative merits of each?
>>>
>>> -----------------------------------------------------
>>> Protect yourself from spam, use http://sneakemail.com
>>>
>>>
>>> -------------------------------------------------------
>>> This sf.net email is sponsored by:ThinkGeek
>>> Welcome to geek heaven.
>>> http://thinkgeek.com/sf
>>> _______________________________________________
>>> Nagios-users mailing list
>>> Nagios-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>>
>>> .
>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> This sf.net email is sponsored by:ThinkGeek
>> Welcome to geek heaven.
>> http://thinkgeek.com/sf
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
> .
>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From opensrcguru at inzauro.com Thu Aug 15 02:31:24 2002
From: opensrcguru at inzauro.com (opensrcguru)
Date: Wed, 14 Aug 2002 19:31:24 -0500
Subject: What is all this garble
Message-ID: <001201c243f3$280eaec0$0279790a@inzauro2>
All of this garble keeps popping up at the bottom of all of the pages. Any idea how to get rid of it? What is it?
timeperiod_list freed host_list freed hostgroup_list freed contact_list freed contactgroup_list freed service_list freed command_list freed serviceescalation_list freed hostgroupescalation_list freed servicedependency_list freed hostdependency_list freed hostescalation_list freed
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From galimore at mac.com Thu Aug 15 05:45:50 2002
From: galimore at mac.com (terry)
Date: Wed, 14 Aug 2002 21:45:50 -0600
Subject: check_fping strangeness
In-Reply-To:
References:
Message-ID: <7D7D6572-B001-11D6-85A0-00306570AEC8@mac.com>
Yeah,
Your problem isn't with Nagios. :)
The plugin is working exactly as it should.
It's reporting what fping is telling it.
fping thinks your host is unreachable.
- Terry
On Wednesday, August 14, 2002, at 08:51 AM, Myke Place wrote:
> Yes it does. Here is the output of fping:
>
> fping deadhost
> deadhost is unreachable
>
> Any ideas?
>
>> Does fping work on the commandline?
>>
>> - Terry
>
> On Tuesday, August 13, 2002, at 01:36 PM, Myke Place wrote:
>
>> Hi,
>>
>> I'm having a bit of trouble getting check_fping to report the status
>> of a
>> host correctly to Nagios. The problem that exists as follows when
>> using
>> check_fping to contact a host that I know is unreachable.
>>
>> ./check_fping deadhost
>> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
>
>> fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
>> fping: comments to david at remote.net
>>
>> Is there something I'm missing here? Does check_fping need some
>> special
>> arguments to work properly in checkcommands.cfg?
>>
>> Any help would be greatly appreciated. Thanks.
>>
>
> --------------------
> Myke Place
> mp at xmission.com
> 801.539.0852
> www.radiojournal.org
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From mp at xmission.com Thu Aug 15 06:04:31 2002
From: mp at xmission.com (Myke Place)
Date: Wed, 14 Aug 2002 22:04:31 -0600 (MDT)
Subject: check_fping strangeness
In-Reply-To: <7D7D6572-B001-11D6-85A0-00306570AEC8@mac.com>
References: <7D7D6572-B001-11D6-85A0-00306570AEC8@mac.com>
Message-ID:
Terry,
The problem is that the output of the plugins reports the host as being in
an 'OK' state which of course a host would not be were it down.
On Wed, 14 Aug 2002, terry wrote:
> Yeah,
>
> Your problem isn't with Nagios. :)
>
> The plugin is working exactly as it should.
>
> It's reporting what fping is telling it.
>
> fping thinks your host is unreachable.
>
> - Terry
>
> On Wednesday, August 14, 2002, at 08:51 AM, Myke Place wrote:
>
> > Yes it does. Here is the output of fping:
> >
> > fping deadhost
> > deadhost is unreachable
> >
> > Any ideas?
> >
> >> Does fping work on the commandline?
> >>
> >> - Terry
> >
> > On Tuesday, August 13, 2002, at 01:36 PM, Myke Place wrote:
> >
> >> Hi,
> >>
> >> I'm having a bit of trouble getting check_fping to report the status
> >> of a
> >> host correctly to Nagios. The problem that exists as follows when
> >> using
> >> check_fping to contact a host that I know is unreachable.
> >>
> >> ./check_fping deadhost
> >> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
> >
> >> fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
> >> fping: comments to david at remote.net
> >>
> >> Is there something I'm missing here? Does check_fping need some
> >> special
> >> arguments to work properly in checkcommands.cfg?
> >>
> >> Any help would be greatly appreciated. Thanks.
> >>
> >
> > --------------------
> > Myke Place
> > mp at xmission.com
> > 801.539.0852
> > www.radiojournal.org
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: Dice - The leading online job board
> > for high-tech professionals. Search and apply for tech jobs today!
> > http://seeker.dice.com/seeker.epl?rel_code=31
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
From jamie at bclnz.net Thu Aug 15 06:38:26 2002
From: jamie at bclnz.net (Jamie)
Date: Thu, 15 Aug 2002 16:38:26 +1200
Subject: Using Nagios with RRD/NRG
Message-ID: <002f01c24415$99447e40$b58031ca@bcl977307>
Hi,
I'd like to use Nagios with NRG, an RRD frontend by Steve Rader. I see that
Nagios works with MRTG (mrtgtraf). Has anyone made it work with RRD files?
How much beer would it take to convince someone to do it?
cheers!
Jamie
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From galimore at mac.com Thu Aug 15 06:53:17 2002
From: galimore at mac.com (terry)
Date: Wed, 14 Aug 2002 22:53:17 -0600
Subject: check_fping strangeness
In-Reply-To:
References:
Message-ID:
Ah!
Sorry, I should have read more carefully.
What does your check_fping definition look like?
Does fping correctly report for up hosts?
Also, where did you get the plugin from? (Is it a Nagios plugin, or
the old netsaint plugins)?
- Terry
On Wednesday, August 14, 2002, at 10:04 PM, Myke Place wrote:
> Terry,
>
> The problem is that the output of the plugins reports the host as
> being in
> an 'OK' state which of course a host would not be were it down.
>
> On Wed, 14 Aug 2002, terry wrote:
>
>> Yeah,
>>
>> Your problem isn't with Nagios. :)
>>
>> The plugin is working exactly as it should.
>>
>> It's reporting what fping is telling it.
>>
>> fping thinks your host is unreachable.
>>
>> - Terry
>>
>> On Wednesday, August 14, 2002, at 08:51 AM, Myke Place wrote:
>>
>>> Yes it does. Here is the output of fping:
>>>
>>> fping deadhost
>>> deadhost is unreachable
>>>
>>> Any ideas?
>>>
>>>> Does fping work on the commandline?
>>>>
>>>> - Terry
>>>
>>> On Tuesday, August 13, 2002, at 01:36 PM, Myke Place wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm having a bit of trouble getting check_fping to report the status
>>>> of a
>>>> host correctly to Nagios. The problem that exists as follows when
>>>> using
>>>> check_fping to contact a host that I know is unreachable.
>>>>
>>>> ./check_fping deadhost
>>>> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
>>>
>>>> fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
>>>> fping: comments to david at remote.net
>>>>
>>>> Is there something I'm missing here? Does check_fping need some
>>>> special
>>>> arguments to work properly in checkcommands.cfg?
>>>>
>>>> Any help would be greatly appreciated. Thanks.
>>>>
>>>
>>> --------------------
>>> Myke Place
>>> mp at xmission.com
>>> 801.539.0852
>>> www.radiojournal.org
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This sf.net email is sponsored by: Dice - The leading online job
>>> board
>>> for high-tech professionals. Search and apply for tech jobs today!
>>> http://seeker.dice.com/seeker.epl?rel_code=31
>>> _______________________________________________
>>> Nagios-users mailing list
>>> Nagios-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>
>>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From mp at xmission.com Thu Aug 15 06:58:44 2002
From: mp at xmission.com (Myke Place)
Date: Wed, 14 Aug 2002 22:58:44 -0600 (MDT)
Subject: check_fping strangeness
In-Reply-To:
References:
Message-ID:
On Wed, 14 Aug 2002, terry wrote:
> Ah!
>
> Sorry, I should have read more carefully.
No problem, it took me a while to catch it myself.
> What does your check_fping definition look like?
# 'check_fping' command definition
define command{
command_name check_fping
command_line $USER1$/check_fping $HOSTADDRESS$
}
> Does fping correctly report for up hosts?
It shows OK for both hosts that are up as well as those that are down.
> Also, where did you get the plugin from? (Is it a Nagios plugin, or
> the old netsaint plugins)?
I'm using the latest release of Nagios plugins.
>
> - Terry
>
> On Wednesday, August 14, 2002, at 10:04 PM, Myke Place wrote:
>
> > Terry,
> >
> > The problem is that the output of the plugins reports the host as
> > being in
> > an 'OK' state which of course a host would not be were it down.
> >
> > On Wed, 14 Aug 2002, terry wrote:
> >
> >> Yeah,
> >>
> >> Your problem isn't with Nagios. :)
> >>
> >> The plugin is working exactly as it should.
> >>
> >> It's reporting what fping is telling it.
> >>
> >> fping thinks your host is unreachable.
> >>
> >> - Terry
> >>
> >> On Wednesday, August 14, 2002, at 08:51 AM, Myke Place wrote:
> >>
> >>> Yes it does. Here is the output of fping:
> >>>
> >>> fping deadhost
> >>> deadhost is unreachable
> >>>
> >>> Any ideas?
> >>>
> >>>> Does fping work on the commandline?
> >>>>
> >>>> - Terry
> >>>
> >>> On Tuesday, August 13, 2002, at 01:36 PM, Myke Place wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I'm having a bit of trouble getting check_fping to report the status
> >>>> of a
> >>>> host correctly to Nagios. The problem that exists as follows when
> >>>> using
> >>>> check_fping to contact a host that I know is unreachable.
> >>>>
> >>>> ./check_fping deadhost
> >>>> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
> >>>
> >>>> fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
> >>>> fping: comments to david at remote.net
> >>>>
> >>>> Is there something I'm missing here? Does check_fping need some
> >>>> special
> >>>> arguments to work properly in checkcommands.cfg?
> >>>>
> >>>> Any help would be greatly appreciated. Thanks.
> >>>>
> >>>
> >>> --------------------
> >>> Myke Place
> >>> mp at xmission.com
> >>> 801.539.0852
> >>> www.radiojournal.org
> >>>
> >>>
> >>>
> >>> -------------------------------------------------------
> >>> This sf.net email is sponsored by: Dice - The leading online job
> >>> board
> >>> for high-tech professionals. Search and apply for tech jobs today!
> >>> http://seeker.dice.com/seeker.epl?rel_code=31
> >>> _______________________________________________
> >>> Nagios-users mailing list
> >>> Nagios-users at lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/nagios-users
> >>
> >>
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: Dice - The leading online job board
> > for high-tech professionals. Search and apply for tech jobs today!
> > http://seeker.dice.com/seeker.epl?rel_code=31
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jnichols at pbp.net Thu Aug 15 07:11:12 2002
From: jnichols at pbp.net (Jonathan Nichols)
Date: Wed, 14 Aug 2002 22:11:12 -0700
Subject: Using Nagios with RRD/NRG
References: <002f01c24415$99447e40$b58031ca@bcl977307>
Message-ID: <003501c2441a$2c91db30$a52efea9@pbp.net>
> Hi,
>
> I'd like to use Nagios with NRG, an RRD frontend by Steve Rader. I see
that
> Nagios works with MRTG (mrtgtraf). Has anyone made it work with RRD files?
>
> How much beer would it take to convince someone to do it?
>
> cheers!
>
Jamie -
Geez, give me enough beer and you can convince me that I really *can*
kick butt on that 400lb, 6'7" wrestler at the other end of the bar!
:-)
I think the guy that made cacti made a Netsaint interface to RRD, actually.
http://www.raxnet.net/products/cacti/additional_scripts.php <---the URL for
his additional scripts.
I dunno if it requires cacti or not, but cacti seems pretty cool anyway. :)
By the way.. I prefer Rogue Ales (from Newport, Oregon) - feel free to send
some this way ;)
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jamie at bclnz.net Thu Aug 15 08:10:16 2002
From: jamie at bclnz.net (Jamie)
Date: Thu, 15 Aug 2002 18:10:16 +1200
Subject: Using Nagios with RRD/NRG
References: <002f01c24415$99447e40$b58031ca@bcl977307> <003501c2441a$2c91db30$a52efea9@pbp.net>
Message-ID: <006201c24422$6cfd6d80$b58031ca@bcl977307>
Hmm. Close but no cigar.
maybe a combination of ./rrdtool fetch-ing the last entry and comparing
against a threshold value...
One Brutal Bitter comin' right up.
-jamie
----- Original Message -----
From: "Jonathan Nichols"
To: "Jamie" ;
Sent: Thursday, August 15, 2002 5:11 PM
Subject: Re: [Nagios-users] Using Nagios with RRD/NRG
>
>
>
> > Hi,
> >
> > I'd like to use Nagios with NRG, an RRD frontend by Steve Rader. I see
> that
> > Nagios works with MRTG (mrtgtraf). Has anyone made it work with RRD
files?
> >
> > How much beer would it take to convince someone to do it?
> >
> > cheers!
> >
> Jamie -
>
> Geez, give me enough beer and you can convince me that I really *can*
> kick butt on that 400lb, 6'7" wrestler at the other end of the bar!
> :-)
>
> I think the guy that made cacti made a Netsaint interface to RRD,
actually.
> http://www.raxnet.net/products/cacti/additional_scripts.php <---the URL
for
> his additional scripts.
>
> I dunno if it requires cacti or not, but cacti seems pretty cool anyway.
:)
>
> By the way.. I prefer Rogue Ales (from Newport, Oregon) - feel free to
send
> some this way ;)
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From hepper at tui.de Thu Aug 15 13:15:22 2002
From: hepper at tui.de (hepper at tui.de)
Date: Thu, 15 Aug 2002 13:15:22 +0200
Subject: Logfile rotation
Message-ID: <20020815111522.GA7268@ant.han.de>
Hi,
i have a problem with the logfile rotation. In the config rotation is set to
daily, and the log file path is set. Logfiles are rotated but ther is only
one entry in the rotated logfile:
[1029362400] LOG ROTATION: DAILY
System is RedHat linux 7.2
TIA
Thomas
--
TUI InfoTec - IT-Systeme
\\ I //
(@ @)
--ooO-(_)-Ooo---
T. Hepper - Tel. 0511/567-5103, thomas.hepper at tui.de
> * B?ro und Hauspost:
> * PREUSSAG-Geb?ude, TUI InfoTec, Raum 1.319, 1.OG
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From chet at rcn.com Thu Aug 15 14:21:48 2002
From: chet at rcn.com (Chet Luther)
Date: Thu, 15 Aug 2002 08:21:48 -0400
Subject: check_fping strangeness
References:
Message-ID: <020601c24456$53f24de0$8918970a@spg.va>
Myke,
The fping utility opens a raw socket. Every UNIX I've ever used
restricted this operation to the root user. What I had to do on my system
to get check_fping to work was 'chown root:nagiosgroup' both the fping
binary and check_fping plugin, then 'chmod 4750' them so that they would be
executed with root privileges.
Hope this helps,
Chet Luther
chet at rcn.com
> > Ah!
> >
> > Sorry, I should have read more carefully.
>
> No problem, it took me a while to catch it myself.
>
> > What does your check_fping definition look like?
>
> # 'check_fping' command definition
> define command{
> command_name check_fping
> command_line $USER1$/check_fping $HOSTADDRESS$
> }
>
>
> > Does fping correctly report for up hosts?
>
> It shows OK for both hosts that are up as well as those that are down.
>
> > Also, where did you get the plugin from? (Is it a Nagios plugin, or
> > the old netsaint plugins)?
>
> I'm using the latest release of Nagios plugins.
>
>
> >
> > - Terry
> >
> > On Wednesday, August 14, 2002, at 10:04 PM, Myke Place wrote:
> >
> > > Terry,
> > >
> > > The problem is that the output of the plugins reports the host as
> > > being in
> > > an 'OK' state which of course a host would not be were it down.
> > >
> > > On Wed, 14 Aug 2002, terry wrote:
> > >
> > >> Yeah,
> > >>
> > >> Your problem isn't with Nagios. :)
> > >>
> > >> The plugin is working exactly as it should.
> > >>
> > >> It's reporting what fping is telling it.
> > >>
> > >> fping thinks your host is unreachable.
> > >>
> > >> - Terry
> > >>
> > >> On Wednesday, August 14, 2002, at 08:51 AM, Myke Place wrote:
> > >>
> > >>> Yes it does. Here is the output of fping:
> > >>>
> > >>> fping deadhost
> > >>> deadhost is unreachable
> > >>>
> > >>> Any ideas?
> > >>>
> > >>>> Does fping work on the commandline?
> > >>>>
> > >>>> - Terry
> > >>>
> > >>> On Tuesday, August 13, 2002, at 01:36 PM, Myke Place wrote:
> > >>>
> > >>>> Hi,
> > >>>>
> > >>>> I'm having a bit of trouble getting check_fping to report the
status
> > >>>> of a
> > >>>> host correctly to Nagios. The problem that exists as follows when
> > >>>> using
> > >>>> check_fping to contact a host that I know is unreachable.
> > >>>>
> > >>>> ./check_fping deadhost
> > >>>> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
> > >>>
> > >>>> fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
> > >>>> fping: comments to david at remote.net
> > >>>>
> > >>>> Is there something I'm missing here? Does check_fping need some
> > >>>> special
> > >>>> arguments to work properly in checkcommands.cfg?
> > >>>>
> > >>>> Any help would be greatly appreciated. Thanks.
> > >>>>
> > >>>
> > >>> --------------------
> > >>> Myke Place
> > >>> mp at xmission.com
> > >>> 801.539.0852
> > >>> www.radiojournal.org
> > >>>
> > >>>
> > >>>
> > >>> -------------------------------------------------------
> > >>> This sf.net email is sponsored by: Dice - The leading online job
> > >>> board
> > >>> for high-tech professionals. Search and apply for tech jobs today!
> > >>> http://seeker.dice.com/seeker.epl?rel_code=31
> > >>> _______________________________________________
> > >>> Nagios-users mailing list
> > >>> Nagios-users at lists.sourceforge.net
> > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From uwe.zietzling at baw.de Thu Aug 15 14:32:16 2002
From: uwe.zietzling at baw.de (Zietzling, Uwe)
Date: Thu, 15 Aug 2002 14:32:16 +0200
Subject: possible Service-Bug
Message-ID:
Hello!
I'm using Nagios1.0b5 on SuseLinux 8.0 Kernel 2.4.18 with
NagiosPlug-1.3-beta1.
I noticed that when specify a Service (in my case a selfwritten
check_unixdisk which checks harddrive-capacitys via snmp) with more than one
Host, nagios declares that the value of this service is the same on all
hosts(in this service-specification).It seems that the value of the last
check is taken for all.
f.i. i get an output like that:
HOST SERVICE .....STATUS-INFORMATION
comnputerA "Used-Space /opt" total: 1000MB used 269MB (26%)
comnputerB "Used-Space /opt" total: 1000MB used 269MB (26%)
comnputerC "Used-Space /opt" total: 1000MB used 269MB (26%)
But it's working fine on Nagios 1.0a6 with SuseLinux 7.2 Kernel 2.4.4.
Knows somebody what the fault is?
thank you in advance
Uwe
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From dean.bishop at tcdsb.org Thu Aug 15 15:29:37 2002
From: dean.bishop at tcdsb.org (Bishop, Dean)
Date: Thu, 15 Aug 2002 09:29:37 -0400
Subject: 3d status map name expected error.
Message-ID:
Good morning,
k so the 3d status map is a frill but it is still irritating me that it
doesn't work for me.
if i strip down my hosts, hostgroups, and services so that i have only one
entry (snippets below)
my 3d status map works. However, when i use my proper configs which include
about 1100 hosts, i get the following error from cortona:
name expected
File: http://10.1.4.19/nagios/cgi-bin/statuswrl.cgi?host=all
Line: 34370
Column: 24
What is this telling me? i don't have anything with 34000 lines in it. I
read in a previous post that a dot caused a similar problem. i don't have
any dots. i have a bunch of hyphens and underscores. The only other thing
i can think of is the length of the device name, which in some cases is 47
characters long (e.g. Our-Lady-of-Perpetual-Help-0239-Bell-Switch)
i'm not anxious to start half splitting my config files (trying to remove
the entry causing the error).
thanks in advance,
dean
___________________________________________
hosts.cfg snippet:
define host{
use generic-host ; Name of host
template to use
host_name CEC-BellCAT5000
alias BellCAT5000
address 10.1.0.19
check_command check-host-alive
max_check_attempts 5
notification_interval 45
notification_period 24x7
notification_options d,r
}
hostgroups.cfg snippet:
# 'Switches' host group definition
define hostgroup{
hostgroup_name Switches
alias Switches
contact_groups ServerAdmins
members CEC-BellCAT5000,
}
services.cfg snippet:
# Service definition
define service{
use generic-service ; Name of
service template to use
host_name CEC-BellCAT5000
service_description Port Check-23
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 1
retry_check_interval 1
contact_groups SwitchAdmins
notification_interval 1
notification_period 24x7
notification_options w,u,c,r
check_command check_tcp!23
}
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From ajeffco at orhs.org Thu Aug 15 15:22:55 2002
From: ajeffco at orhs.org (Jeffcoat, Al)
Date: Thu, 15 Aug 2002 09:22:55 -0400
Subject: Availability Report
Message-ID: <6319AEF0FF0BC4488F10029776CEAC070F5658@MAIL01.orhs.org>
Hi All,
Does anyone know how to get the host(s) to stop giving an undetermined
status in any of the reporting tabs? On of my operations analysts has
to turn in a monthly report on system availability, and these reports
would be useful. However, anytime we run the reports, the majority of
the time for all the hosts is indeterminate.
Thanks,
Al
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dean.bishop at tcdsb.org Thu Aug 15 15:51:05 2002
From: dean.bishop at tcdsb.org (Bishop, Dean)
Date: Thu, 15 Aug 2002 09:51:05 -0400
Subject: Availability Report
Message-ID:
In nagios.cfg did you specify:
retain_state_information=1
??
regards,
dean
-----Original Message-----
From: Jeffcoat, Al [mailto:ajeffco at orhs.org]
Sent: Thursday, August 15, 2002 9:23 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Availability Report
Hi All,
Does anyone know how to get the host(s) to stop giving an undetermined
status in any of the reporting tabs? On of my operations analysts has to
turn in a monthly report on system availability, and these reports would be
useful. However, anytime we run the reports, the majority of the time for
all the hosts is indeterminate.
Thanks,
Al
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ajeffco at orhs.org Thu Aug 15 16:02:52 2002
From: ajeffco at orhs.org (Jeffcoat, Al)
Date: Thu, 15 Aug 2002 10:02:52 -0400
Subject: Availability Report
Message-ID: <6319AEF0FF0BC4488F10029776CEAC07014EF44D@MAIL01.orhs.org>
Yes.
-----Original Message-----
From: Bishop, Dean [mailto:dean.bishop at tcdsb.org]
Sent: Thursday, August 15, 2002 9:51 AM
To: Jeffcoat, Al; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Availability Report
In nagios.cfg did you specify:
retain_state_information=1
??
regards,
dean
-----Original Message-----
From: Jeffcoat, Al [mailto:ajeffco at orhs.org]
Sent: Thursday, August 15, 2002 9:23 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Availability Report
Hi All,
Does anyone know how to get the host(s) to stop giving an
undetermined status in any of the reporting tabs? On of my operations
analysts has to turn in a monthly report on system availability, and
these reports would be useful. However, anytime we run the reports, the
majority of the time for all the hosts is indeterminate.
Thanks,
Al
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From randy.omeara at lmco.com Thu Aug 15 16:19:20 2002
From: randy.omeara at lmco.com (OMeara, Randy)
Date: Thu, 15 Aug 2002 07:19:20 -0700
Subject: What is all this garble
Message-ID:
Turn off any --enable-DEBUGn switches that you are passing to configure and
rebuild.
-----Original Message-----
From: opensrcguru [mailto:opensrcguru at inzauro.com]
Sent: Wednesday, August 14, 2002 5:31 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] What is all this garble
All of this garble keeps popping up at the bottom of all of the pages. Any
idea how to get rid of it? What is it?
timeperiod_list freed host_list freed hostgroup_list freed contact_list
freed contactgroup_list freed service_list freed command_list freed
serviceescalation_list freed hostgroupescalation_list freed
servicedependency_list freed hostdependency_list freed hostescalation_list
freed
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From russell at quadrix.com Thu Aug 15 17:08:08 2002
From: russell at quadrix.com (Russell Scibetti)
Date: Thu, 15 Aug 2002 11:08:08 -0400
Subject: Availability Report
References: <6319AEF0FF0BC4488F10029776CEAC070F5658@MAIL01.orhs.org>
Message-ID: <3D5BC3D8.5050204@quadrix.com>
In the graphs, hosts will ALWAYS be undetermined unless a service check
has failed on that box. Host checks never run unless a service on that
hosts fails. on the status screen, this shows up as Host OK Assumed to
be up. However, in the graphs, since there is no real host data (not
host checks have occurred), it shows up as undetermined. The easy way
to fix this is on the Select Report Options step, changed the Assumed
State drop to Host UP instead of unspecified. This will change those
undetermineds to OK, which is really the case because they are up (all
their services are up, so they must be up), they just haven't been checked.
-Russell
Jeffcoat, Al wrote:
> Hi All,
>
>
>
> Does anyone know how to get the host(s) to stop giving an undetermined
> status in any of the reporting tabs? On of my operations analysts has
> to turn in a monthly report on system availability, and these reports
> would be useful. However, anytime we run the reports, the majority of
> the time for all the hosts is indeterminate.
>
>
>
> Thanks,
>
> Al
>
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From nagios at troutpocket.org Thu Aug 15 17:21:52 2002
From: nagios at troutpocket.org (Scott)
Date: Thu, 15 Aug 2002 08:21:52 -0700 (PDT)
Subject: mysql db structure
Message-ID: <1364.12.235.182.135.1029424912.squirrel@www.troutpocket.org>
How do I create the mysql db file for xsddb_database and the like from
resources.cfg? Is there a file I can download to import?
-Scott
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From nagios at troutpocket.org Thu Aug 15 17:24:30 2002
From: nagios at troutpocket.org (Scott)
Date: Thu, 15 Aug 2002 08:24:30 -0700 (PDT)
Subject: nagios success
Message-ID: <1374.12.235.182.135.1029425070.squirrel@www.troutpocket.org>
I wanted to report that I'm having great success with nagios. Local
monitoring and remote using NRPE work spectacularly. I cleaned one thing
up, though. I linked /var/log/nagios, /etc/httpd/conf/nagios-httpd.conf,
and /usr/lib/nagios/plugins all into the /etc/nagios folder for easier
access. I also created a /etc/nagios/hosts folder where I stored uniquely
named host files like host1.cfg and referenced them in the main
nagios.cfg.
-Scott
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From nagios at troutpocket.org Thu Aug 15 17:28:06 2002
From: nagios at troutpocket.org (Scott)
Date: Thu, 15 Aug 2002 08:28:06 -0700 (PDT)
Subject: trend reporting sporadic
Message-ID: <1407.12.235.182.135.1029425286.squirrel@www.troutpocket.org>
All tcp service checks (check_http, check_imap, etc) all produce 100%
indeterminate data. Local service checks like check_load, check_procs,
check_disk return data sporadically. What is the cause of this? Is it
related to the mysql resources.cfg settings? This is my only problem with
nagios afaik. Otherwise it's great!
-Scott
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jmarquart at planalytics.com Thu Aug 15 17:34:32 2002
From: jmarquart at planalytics.com (jmarquart at planalytics.com)
Date: Thu, 15 Aug 2002 11:34:32 -0400
Subject: Availability Report
Message-ID: <85256C16.00558F72.00@mailhost.planalytics.com>
Ok - Thanks to Al's question and Russell's anwer - I understand the host
availability report now.
But what about services? (Either I have really missed something, or I have a
problem)
If I run a report against services I monitor w/ as follows - I get different
results based on time periods:
Assume intitial states = yes
assume state retention = yes
first assumed state = unspecified
backtracked archives 4
zoom factor 4
if I run a report for this month - I get what i expect - near 100% up - for all
dates - up to the current minute.
if i run a report for this week - I get 100% indeterminate.
Since this has a good 4 days of overlapping time - I do not understand why one
report tells me 100% up and the other 100% indeterminate
Any ideas?
note - this behavior is for some services. other services just give
indeterminate for all report ranges
note - other report periods' behavior:
state = indeterminate:
last 24 hours
today
yesterday
this week
last 7 days
state = good
last week
this month
last month
this year
(last year - no data available)
-john
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From galimore at mac.com Thu Aug 15 17:39:39 2002
From: galimore at mac.com (Terry Simons)
Date: Thu, 15 Aug 2002 09:39:39 -0600
Subject: check_fping strangeness
In-Reply-To: <020601c24456$53f24de0$8918970a@spg.va>
References: <020601c24456$53f24de0$8918970a@spg.va>
Message-ID: <35C24CFE-B065-11D6-BB10-0003938FDD5C@mac.com>
While this may be true, you get a different error in that case, which is
not what Myke is seeing:
This program can only be run by root, or it must be setuid root.
- Terry
On Thursday, August 15, 2002, at 06:21 AM, Chet Luther wrote:
> Myke,
> The fping utility opens a raw socket. Every UNIX I've ever used
> restricted this operation to the root user. What I had to do on my
> system
> to get check_fping to work was 'chown root:nagiosgroup' both the fping
> binary and check_fping plugin, then 'chmod 4750' them so that they
> would be
> executed with root privileges.
>
> Hope this helps,
>
> Chet Luther
> chet at rcn.com
>
>>> Ah!
>>>
>>> Sorry, I should have read more carefully.
>>
>> No problem, it took me a while to catch it myself.
>>
>>> What does your check_fping definition look like?
>>
>> # 'check_fping' command definition
>> define command{
>> command_name check_fping
>> command_line $USER1$/check_fping $HOSTADDRESS$
>> }
>>
>>
>>> Does fping correctly report for up hosts?
>>
>> It shows OK for both hosts that are up as well as those that are down.
>>
>>> Also, where did you get the plugin from? (Is it a Nagios plugin, or
>>> the old netsaint plugins)?
>>
>> I'm using the latest release of Nagios plugins.
>>
>>
>>>
>>> - Terry
>>>
>>> On Wednesday, August 14, 2002, at 10:04 PM, Myke Place wrote:
>>>
>>>> Terry,
>>>>
>>>> The problem is that the output of the plugins reports the host as
>>>> being in
>>>> an 'OK' state which of course a host would not be were it down.
>>>>
>>>> On Wed, 14 Aug 2002, terry wrote:
>>>>
>>>>> Yeah,
>>>>>
>>>>> Your problem isn't with Nagios. :)
>>>>>
>>>>> The plugin is working exactly as it should.
>>>>>
>>>>> It's reporting what fping is telling it.
>>>>>
>>>>> fping thinks your host is unreachable.
>>>>>
>>>>> - Terry
>>>>>
>>>>> On Wednesday, August 14, 2002, at 08:51 AM, Myke Place wrote:
>>>>>
>>>>>> Yes it does. Here is the output of fping:
>>>>>>
>>>>>> fping deadhost
>>>>>> deadhost is unreachable
>>>>>>
>>>>>> Any ideas?
>>>>>>
>>>>>>> Does fping work on the commandline?
>>>>>>>
>>>>>>> - Terry
>>>>>>
>>>>>> On Tuesday, August 13, 2002, at 01:36 PM, Myke Place wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm having a bit of trouble getting check_fping to report the
> status
>>>>>>> of a
>>>>>>> host correctly to Nagios. The problem that exists as follows when
>>>>>>> using
>>>>>>> check_fping to contact a host that I know is unreachable.
>>>>>>>
>>>>>>> ./check_fping deadhost
>>>>>>> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
>>>>>>
>>>>>>> fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
>>>>>>> fping: comments to david at remote.net
>>>>>>>
>>>>>>> Is there something I'm missing here? Does check_fping need some
>>>>>>> special
>>>>>>> arguments to work properly in checkcommands.cfg?
>>>>>>>
>>>>>>> Any help would be greatly appreciated. Thanks.
>>>>>>>
>>>>>>
>>>>>> --------------------
>>>>>> Myke Place
>>>>>> mp at xmission.com
>>>>>> 801.539.0852
>>>>>> www.radiojournal.org
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------
>>>>>> This sf.net email is sponsored by: Dice - The leading online job
>>>>>> board
>>>>>> for high-tech professionals. Search and apply for tech jobs today!
>>>>>> http://seeker.dice.com/seeker.epl?rel_code=31
>>>>>> _______________________________________________
>>>>>> Nagios-users mailing list
>>>>>> Nagios-users at lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jgiles at joeman1.com Thu Aug 15 17:42:13 2002
From: jgiles at joeman1.com (Joe Giles)
Date: 15 Aug 2002 15:42:13 -0000
Subject: Monitoring Individual Programs
Message-ID: <20020815154213.4299.qmail@joeman1.com>
List,
Im new to NAGIOS, but I have looked through the docs and Im still at a loss. I have NAGIOS up and running and its great. However, I have 3 applications that run and I would like to be notified if they crash. Is there a way to monitor the apps by CMD name and not PID? The reason for this is they stop and restart pirodically so the PID changes.
Thanks
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From russell at quadrix.com Thu Aug 15 17:43:44 2002
From: russell at quadrix.com (Russell Scibetti)
Date: Thu, 15 Aug 2002 11:43:44 -0400
Subject: Availability Report
References: <6319AEF0FF0BC4488F10029776CEAC070F5658@MAIL01.orhs.org> <3D5BC3D8.5050204@quadrix.com> <1478.12.235.182.135.1029425552.squirrel@www.troutpocket.org>
Message-ID: <3D5BCC30.9060905@quadrix.com>
You don't have to edit any CGI's. It's a form drop-down when you go
through the step for creating an availability or trend report. First
you choose host or service, then which host or service to report on,
then the page that asks what time period, etc. On that page, there is
a drop-down form box for First Assumed State. Set that to Host OK, then
create the report.
-Russell
Scott wrote:
>Ack! This answered my question which I just posted. Thanks! Anyway to
>set to default to assumed state:up? I expect I would have to edit one of
>the status*.cgi files, but I don't know cgi :(. Any insights?
>-Scott
>
>Russell Scibetti said:
>
>>In the graphs, hosts will ALWAYS be undetermined unless a service check
>> has failed on that box. Host checks never run unless a service on
>>that hosts fails. on the status screen, this shows up as Host OK
>>Assumed to be up. However, in the graphs, since there is no real host
>>data (not host checks have occurred), it shows up as undetermined.
>>The easy way to fix this is on the Select Report Options step, changed
>>the Assumed State drop to Host UP instead of unspecified. This will
>>change those undetermineds to OK, which is really the case because
>>they are up (all their services are up, so they must be up), they just
>>haven't been checked.
>>
>>-Russell
>>
>>Jeffcoat, Al wrote:
>>
>>>Hi All,
>>>
>>>
>>>
>>>Does anyone know how to get the host(s) to stop giving an undetermined
>>> status in any of the reporting tabs? On of my operations analysts
>>>has to turn in a monthly report on system availability, and these
>>>reports would be useful. However, anytime we run the reports, the
>>>majority of the time for all the hosts is indeterminate.
>>>
>>>
>>>
>>>Thanks,
>>>
>>>Al
>>>
>>--
>>Russell Scibetti
>>Quadrix Solutions, Inc.
>>http://www.quadrix.com
>>(732) 235-2335, ext. 7038
>>
>
>
>
>
>
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From galimore at mac.com Thu Aug 15 17:43:12 2002
From: galimore at mac.com (Terry Simons)
Date: Thu, 15 Aug 2002 09:43:12 -0600
Subject: Availability Report
In-Reply-To: <6319AEF0FF0BC4488F10029776CEAC070F5658@MAIL01.orhs.org>
References: <6319AEF0FF0BC4488F10029776CEAC070F5658@MAIL01.orhs.org>
Message-ID:
Al,
If you try to get a report for more days than you have data you will
always get an undetermined status.
For instance:
If you have had a machine monitored by Nagios for 23 days, and you go to
grab a 31 day report... you *will* get an undetermined percentage,
because Nagios doesn't have the data for all 31 days for that host, and
it doesn't know what its state was.
HTH
- Terry
On Thursday, August 15, 2002, at 07:22 AM, Jeffcoat, Al wrote:
> Hi All,
>
> ?
>
> Does anyone know how to get the host(s) to stop giving an undetermined
> status in any of the reporting tabs??On of my operations analysts has
> to turn in a monthly report on system availability, and these reports
> would be useful.?However, anytime we run the reports, the majority of
> the time for all the hosts is indeterminate.?
>
> ?
>
> Thanks,
>
> Al
>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From russell at quadrix.com Thu Aug 15 17:51:01 2002
From: russell at quadrix.com (Russell Scibetti)
Date: Thu, 15 Aug 2002 11:51:01 -0400
Subject: Monitoring Individual Programs
References: <20020815154213.4299.qmail@joeman1.com>
Message-ID: <3D5BCDE5.7000107@quadrix.com>
I'd write your own plugin that does a ps and looks for the CMD name. I
wrote something similar looking for procs by the proc owner, knowing how
many there should be, and if I get more or less than that number, return
a critical.
-Russell
Joe Giles wrote:
>List,
>Im new to NAGIOS, but I have looked through the docs and Im still at a loss. I have NAGIOS up and running and its great. However, I have 3 applications that run and I would like to be notified if they crash. Is there a way to monitor the apps by CMD name and not PID? The reason for this is they stop and restart pirodically so the PID changes.
>
>Thanks
>
>Joe Giles
>jgiles at joeman1.com
>AOL ID: mcigiles
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: OSDN - Tired of that same old
>cell phone? Get a new here for FREE!
>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jgiles at joeman1.com Thu Aug 15 17:58:28 2002
From: jgiles at joeman1.com (Joe Giles)
Date: 15 Aug 2002 15:58:28 -0000
Subject: Monitoring Individual Programs
Message-ID: <20020815155828.4803.qmail@joeman1.com>
Where can I get information of how to build that?
Thanks
Joe
> I'd write your own plugin that does a ps and looks for the CMD name. I
> wrote something similar looking for procs by the proc owner, knowing how
> many there should be, and if I get more or less than that number, return
> a critical.
>
> -Russell
>
> Joe Giles wrote:
>
> >List,
> >Im new to NAGIOS, but I have looked through the docs and Im still at a loss. I have NAGIOS up and running and its great. However, I have 3 applications that run and I would like to be notified if they crash. Is there a way to monitor the apps by CMD name and not PID? The reason for this is they stop and restart pirodically so the PID changes.
> >
> >Thanks
> >
> >Joe Giles
> >jgiles at joeman1.com
> >AOL ID: mcigiles
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by: OSDN - Tired of that same old
> >cell phone? Get a new here for FREE!
> >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> >_______________________________________________
> >Nagios-users mailing list
> >Nagios-users at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
> >
>
> --
> Russell Scibetti
> Quadrix Solutions, Inc.
> http://www.quadrix.com
> (732) 235-2335, ext. 7038
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From Darren.Gamble at sjrb.ca Thu Aug 15 18:00:07 2002
From: Darren.Gamble at sjrb.ca (Darren Gamble)
Date: Thu, 15 Aug 2002 10:00:07 -0600
Subject: Monitoring Individual Programs
Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB49C@shawmail02>
Good day,
> List,
> Im new to NAGIOS, but I have looked through the docs and Im
> still at a loss. I have NAGIOS up and running and its great.
> However, I have 3 applications that run and I would like to
> be notified if they crash. Is there a way to monitor the apps
> by CMD name and not PID? The reason for this is they stop and
> restart pirodically so the PID changes.
You're probably best off writing your own shell script that can determine if
a process is running by name (using ps, grep, awk, etc). Consult the man
pages for those programs for more information.
If you want to take it to the next level, you can use the NET-SNMP agent to
see how many hosts are running on any local or remote machine via SNMP
(you'll need to configure the agent for each specific process) which is
fairly easy to do. We use this very heavily here.
============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From galimore at mac.com Thu Aug 15 17:59:53 2002
From: galimore at mac.com (Terry Simons)
Date: Thu, 15 Aug 2002 09:59:53 -0600
Subject: Monitoring Individual Programs
In-Reply-To: <20020815154213.4299.qmail@joeman1.com>
References: <20020815154213.4299.qmail@joeman1.com>
Message-ID: <092CEC98-B068-11D6-BB10-0003938FDD5C@mac.com>
It would be fairly simple to write a plugin to do this. I don't think
one currently exists in the plugins package... at least, there doesn't
appear to be one in my libexec directory.
Do you happen to know any perl?
All you really have to do is call something like... ps a | grep
path_to_process from a script and then check the returned data to see
if your process is in the list.
If it is, then you return an OK status, otherwise you return Critical
(or even Warning).
HTH
- Terry
On Thursday, August 15, 2002, at 09:42 AM, Joe Giles wrote:
> List,
> Im new to NAGIOS, but I have looked through the docs and Im still at a
> loss. I have NAGIOS up and running and its great. However, I have 3
> applications that run and I would like to be notified if they crash. Is
> there a way to monitor the apps by CMD name and not PID? The reason for
> this is they stop and restart pirodically so the PID changes.
>
> Thanks
>
> Joe Giles
> jgiles at joeman1.com
> AOL ID: mcigiles
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From galimore at mac.com Thu Aug 15 18:01:39 2002
From: galimore at mac.com (Terry Simons)
Date: Thu, 15 Aug 2002 10:01:39 -0600
Subject: Availability Report
In-Reply-To: <3D5BCC30.9060905@quadrix.com>
References: <3D5BCC30.9060905@quadrix.com>
Message-ID: <486CE7A1-B068-11D6-BB10-0003938FDD5C@mac.com>
You can also set this parameter in your cgi.cfg file.
You can tell it that the first assumed state is up, and then you don't
have to much with the drop-down box every time you create a report.
- Terry
On Thursday, August 15, 2002, at 09:43 AM, Russell Scibetti wrote:
> You don't have to edit any CGI's. ?It's a form drop-down when you go
> through the step for creating an availability or trend report. ?First
> you choose host or service, then which host or service to report on,
> then the page that asks what time period, etc. ?On ?that page, there is
> a drop-down form box for First Assumed State. ?Set that to Host OK,
> then create the report.
>
> -Russell
>
> Scott wrote:
>
> Ack! This answered my question which I just posted. Thanks! Anyway to
> set to default to assumed state:up? I expect I would have to edit one
> of
> the status*.cgi files, but I don't know cgi :(. Any insights?
> -Scott
>
> Russell Scibetti said:
>
> In the graphs, hosts will ALWAYS be undetermined unless a service check
> has failed on that box. Host checks never run unless a service on
> that hosts fails. on the status screen, this shows up as Host OK
> Assumed to be up. However, in the graphs, since there is no real host
> data (not host checks have occurred), it shows up as undetermined.
> The easy way to fix this is on the Select Report Options step, changed
> the Assumed State drop to Host UP instead of unspecified. This will
> change those undetermineds to OK, which is really the case because
> they are up (all their services are up, so they must be up), they just
> haven't been checked.
>
> -Russell
>
> Jeffcoat, Al wrote:
>
> Hi All,
>
>
>
> Does anyone know how to get the host(s) to stop giving an undetermined
> status in any of the reporting tabs? On of my operations analysts
> has to turn in a monthly report on system availability, and these
> reports would be useful. However, anytime we run the reports, the
> majority of the time for all the hosts is indeterminate.
>
>
>
> Thanks,
>
> Al
>
> --
> Russell Scibetti
> Quadrix Solutions, Inc.
> http://www.quadrix.com
> (732) 235-2335, ext. 7038
>
>
>
>
>
>
>
> --
> Russell Scibetti
> Quadrix Solutions, Inc.
> http://www.quadrix.com
> (732) 235-2335, ext. 7038
>
>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From galimore at mac.com Thu Aug 15 18:04:10 2002
From: galimore at mac.com (Terry Simons)
Date: Thu, 15 Aug 2002 10:04:10 -0600
Subject: check_fping strangeness
In-Reply-To:
References:
Message-ID:
Is it possible that the fping plugin is just returning incorrect
information to Nagios?
That's what it seems like, but it's hard to say.
You might want to look at the source for the plugin, and see if you can
figure out what it's doing.
- Terry
On Wednesday, August 14, 2002, at 10:58 PM, Myke Place wrote:
>
> On Wed, 14 Aug 2002, terry wrote:
>
>> Ah!
>>
>> Sorry, I should have read more carefully.
>
> No problem, it took me a while to catch it myself.
>
>> What does your check_fping definition look like?
>
> # 'check_fping' command definition
> define command{
> command_name check_fping
> command_line $USER1$/check_fping $HOSTADDRESS$
> }
>
>
>> Does fping correctly report for up hosts?
>
> It shows OK for both hosts that are up as well as those that are down.
>
>> Also, where did you get the plugin from? (Is it a Nagios plugin, or
>> the old netsaint plugins)?
>
> I'm using the latest release of Nagios plugins.
>
>
>>
>> - Terry
>>
>> On Wednesday, August 14, 2002, at 10:04 PM, Myke Place wrote:
>>
>>> Terry,
>>>
>>> The problem is that the output of the plugins reports the host as
>>> being in
>>> an 'OK' state which of course a host would not be were it down.
>>>
>>> On Wed, 14 Aug 2002, terry wrote:
>>>
>>>> Yeah,
>>>>
>>>> Your problem isn't with Nagios. :)
>>>>
>>>> The plugin is working exactly as it should.
>>>>
>>>> It's reporting what fping is telling it.
>>>>
>>>> fping thinks your host is unreachable.
>>>>
>>>> - Terry
>>>>
>>>> On Wednesday, August 14, 2002, at 08:51 AM, Myke Place wrote:
>>>>
>>>>> Yes it does. Here is the output of fping:
>>>>>
>>>>> fping deadhost
>>>>> deadhost is unreachable
>>>>>
>>>>> Any ideas?
>>>>>
>>>>>> Does fping work on the commandline?
>>>>>>
>>>>>> - Terry
>>>>>
>>>>> On Tuesday, August 13, 2002, at 01:36 PM, Myke Place wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm having a bit of trouble getting check_fping to report the
>>>>>> status
>>>>>> of a
>>>>>> host correctly to Nagios. The problem that exists as follows when
>>>>>> using
>>>>>> check_fping to contact a host that I know is unreachable.
>>>>>>
>>>>>> ./check_fping deadhost
>>>>>> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
>>>>>
>>>>>> fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
>>>>>> fping: comments to david at remote.net
>>>>>>
>>>>>> Is there something I'm missing here? Does check_fping need some
>>>>>> special
>>>>>> arguments to work properly in checkcommands.cfg?
>>>>>>
>>>>>> Any help would be greatly appreciated. Thanks.
>>>>>>
>>>>>
>>>>> --------------------
>>>>> Myke Place
>>>>> mp at xmission.com
>>>>> 801.539.0852
>>>>> www.radiojournal.org
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------
>>>>> This sf.net email is sponsored by: Dice - The leading online job
>>>>> board
>>>>> for high-tech professionals. Search and apply for tech jobs today!
>>>>> http://seeker.dice.com/seeker.epl?rel_code=31
>>>>> _______________________________________________
>>>>> Nagios-users mailing list
>>>>> Nagios-users at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>>>
>>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This sf.net email is sponsored by: Dice - The leading online job board
>>> for high-tech professionals. Search and apply for tech jobs today!
>>> http://seeker.dice.com/seeker.epl?rel_code=31
>>> _______________________________________________
>>> Nagios-users mailing list
>>> Nagios-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>
>>
>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jgiles at joeman1.com Thu Aug 15 18:11:59 2002
From: jgiles at joeman1.com (Joe Giles)
Date: 15 Aug 2002 16:11:59 -0000
Subject: Monitoring Individual Programs
Message-ID: <20020815161159.5225.qmail@joeman1.com>
Actually, I did find a .pl script for this on sourceforge called REL check_process. I tested this on CL and it works... Now to impliment it into nagos... Any thoughts on how to do this?
Thanks
Joe
> It would be fairly simple to write a plugin to do this. I don't think
> one currently exists in the plugins package... at least, there doesn't
> appear to be one in my libexec directory.
>
> Do you happen to know any perl?
>
> All you really have to do is call something like... ps a | grep
> path_to_process from a script and then check the returned data to see
> if your process is in the list.
>
> If it is, then you return an OK status, otherwise you return Critical
> (or even Warning).
>
> HTH
>
> - Terry
>
> On Thursday, August 15, 2002, at 09:42 AM, Joe Giles wrote:
>
> > List,
> > Im new to NAGIOS, but I have looked through the docs and Im still at a
> > loss. I have NAGIOS up and running and its great. However, I have 3
> > applications that run and I would like to be notified if they crash. Is
> > there a way to monitor the apps by CMD name and not PID? The reason for
> > this is they stop and restart pirodically so the PID changes.
> >
> > Thanks
> >
> > Joe Giles
> > jgiles at joeman1.com
> > AOL ID: mcigiles
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone? Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jgiles at joeman1.com Thu Aug 15 18:22:05 2002
From: jgiles at joeman1.com (Joe Giles)
Date: 15 Aug 2002 16:22:05 -0000
Subject: Monitoring Individual Programs
Message-ID: <20020815162205.5662.qmail@joeman1.com>
WOO HOO, I figured it out.. :)
Thanks for all the help
Joe
> Actually, I did find a .pl script for this on sourceforge called REL check_process. I tested this on CL and it works... Now to impliment it into nagos... Any thoughts on how to do this?
>
> Thanks
> Joe
>
> > It would be fairly simple to write a plugin to do this. I don't think
> > one currently exists in the plugins package... at least, there doesn't
> > appear to be one in my libexec directory.
> >
> > Do you happen to know any perl?
> >
> > All you really have to do is call something like... ps a | grep
> > path_to_process from a script and then check the returned data to see
> > if your process is in the list.
> >
> > If it is, then you return an OK status, otherwise you return Critical
> > (or even Warning).
> >
> > HTH
> >
> > - Terry
> >
> > On Thursday, August 15, 2002, at 09:42 AM, Joe Giles wrote:
> >
> > > List,
> > > Im new to NAGIOS, but I have looked through the docs and Im still at a
> > > loss. I have NAGIOS up and running and its great. However, I have 3
> > > applications that run and I would like to be notified if they crash. Is
> > > there a way to monitor the apps by CMD name and not PID? The reason for
> > > this is they stop and restart pirodically so the PID changes.
> > >
> > > Thanks
> > >
> > > Joe Giles
> > > jgiles at joeman1.com
> > > AOL ID: mcigiles
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by: OSDN - Tired of that same old
> > > cell phone? Get a new here for FREE!
> > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone? Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
>
>
> Joe Giles
> jgiles at joeman1.com
> AOL ID: mcigiles
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jsie at quadrix.com Thu Aug 15 18:23:52 2002
From: jsie at quadrix.com (Jackson Sie)
Date: Thu, 15 Aug 2002 12:23:52 -0400
Subject: Monitoring Individual Programs
In-Reply-To: <20020815154213.4299.qmail@joeman1.com>
References: <20020815154213.4299.qmail@joeman1.com>
Message-ID: <005d01c24478$2540e750$a0c81fac@pikachu>
There's actually another way... If your apps can run as non-trusted
separately created users with their own UID, then it should be trivially
easy to do the equivalent of '/usr/bin/ps -f -u ' on whatever
OS you are on. The syntax I've listed is for Solaris.
Jackson Sie
Senior Architect
Quadrix Solutions, Inc.
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joe Giles
Sent: Thursday, August 15, 2002 11:42 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Monitoring Individual Programs
List,
Im new to NAGIOS, but I have looked through the docs and Im still at a
loss. I have NAGIOS up and running and its great. However, I have 3
applications that run and I would like to be notified if they crash. Is
there a way to monitor the apps by CMD name and not PID? The reason for
this is they stop and restart pirodically so the PID changes.
Thanks
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell
phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From ajeffco at orhs.org Thu Aug 15 18:40:47 2002
From: ajeffco at orhs.org (Jeffcoat, Al)
Date: Thu, 15 Aug 2002 12:40:47 -0400
Subject: Availability Report
Message-ID: <6319AEF0FF0BC4488F10029776CEAC07014EF44F@MAIL01.orhs.org>
Hmmm... I'm going to have to see if I get the same thing. I got the
host part down, and it makes sense. I tried to run service trends on
telnet (since the ops report I mentioned earlier is based on whether the
users can log in or not), and didn't notice any "irregularities" beyond
my network "blinking" every now and again.
Al
-----Original Message-----
From: jmarquart at planalytics.com [mailto:jmarquart at planalytics.com]
Sent: Thursday, August 15, 2002 11:35 AM
To: Russell Scibetti
Cc: Jeffcoat, Al; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Availability Report
Ok - Thanks to Al's question and Russell's anwer - I understand the host
availability report now.
But what about services? (Either I have really missed something, or I
have a
problem)
If I run a report against services I monitor w/ as follows - I get
different
results based on time periods:
Assume intitial states = yes
assume state retention = yes
first assumed state = unspecified
backtracked archives 4
zoom factor 4
if I run a report for this month - I get what i expect - near 100% up -
for all
dates - up to the current minute.
if i run a report for this week - I get 100% indeterminate.
Since this has a good 4 days of overlapping time - I do not understand
why one
report tells me 100% up and the other 100% indeterminate
Any ideas?
note - this behavior is for some services. other services just give
indeterminate for all report ranges
note - other report periods' behavior:
state = indeterminate:
last 24 hours
today
yesterday
this week
last 7 days
state = good
last week
this month
last month
this year
(last year - no data available)
-john
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From galimore at mac.com Thu Aug 15 18:46:49 2002
From: galimore at mac.com (Terry Simons)
Date: Thu, 15 Aug 2002 10:46:49 -0600
Subject: Availability Report
In-Reply-To: <3D5BD809.6020505@quadrix.com>
References: <3D5BD809.6020505@quadrix.com>
Message-ID: <97C358F0-B06E-11D6-BB10-0003938FDD5C@mac.com>
Agh!
Looks like I was wrong! :/
Sorry, I must have been thinking of something else.
It would be a nice feature though... ;)
- Terry
On Thursday, August 15, 2002, at 10:34 AM, Russell Scibetti wrote:
> What setting is that?
>
> Terry Simons wrote:
>
>> You can also set this parameter in your cgi.cfg file.
>>
>> You can tell it that the first assumed state is up, and then you don't
>> have to much with the drop-down box every time you create a report.
>>
>> - Terry
>>
>>
>> On Thursday, August 15, 2002, at 09:43 AM, Russell Scibetti wrote:
>>
>>> You don't have to edit any CGI's. It's a form drop-down when you go
>>> through the step for creating an availability or trend report. First
>>> you choose host or service, then which host or service to report on,
>>> then the page that asks what time period, etc. On that page, there
>>> is a drop-down form box for First Assumed State. Set that to Host
>>> OK, then create the report.
>>>
>>> -Russell
>>>
>>> Scott wrote:
>>>
>>> Ack! This answered my question which I just posted. Thanks! Anyway
>>> to
>>> set to default to assumed state:up? I expect I would have to edit
>>> one of
>>> the status*.cgi files, but I don't know cgi :(. Any insights?
>>> -Scott
>>>
>>> Russell Scibetti said:
>>>
>>> In the graphs, hosts will ALWAYS be undetermined unless a service
>>> check
>>> has failed on that box. Host checks never run unless a service on
>>> that hosts fails. on the status screen, this shows up as Host OK
>>> Assumed to be up. However, in the graphs, since there is no real
>>> host
>>> data (not host checks have occurred), it shows up as undetermined.
>>> The easy way to fix this is on the Select Report Options step,
>>> changed
>>> the Assumed State drop to Host UP instead of unspecified. This will
>>> change those undetermineds to OK, which is really the case because
>>> they are up (all their services are up, so they must be up), they
>>> just
>>> haven't been checked.
>>>
>>> -Russell
>>>
>>> Jeffcoat, Al wrote:
>>>
>>> Hi All,
>>>
>>>
>>>
>>> Does anyone know how to get the host(s) to stop giving an undetermined
>>> status in any of the reporting tabs? On of my operations analysts
>>> has to turn in a monthly report on system availability, and these
>>> reports would be useful. However, anytime we run the reports, the
>>> majority of the time for all the hosts is indeterminate.
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Al
>>>
>>> -- Russell Scibetti
>>> Quadrix Solutions, Inc.
>>> http://www.quadrix.com
>>> (732) 235-2335, ext. 7038
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> -- Russell Scibetti
>>> Quadrix Solutions, Inc.
>>> http://www.quadrix.com
>>> (732) 235-2335, ext. 7038
>>>
>>>
>>
>>
>>
>> -------------------------------------------------------
>> This sf.net email is sponsored by: OSDN - Tired of that same old
>> cell phone? Get a new here for FREE!
>> https://www.inphonic.com/r.asp?r=urceforge1&refcode1=vs3390
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>
>>
>
> -- Russell Scibetti
> Quadrix Solutions, Inc.
> http://www.quadrix.com
> (732) 235-2335, ext. 7038
>
>
>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From amurrey at sauriantech.com Thu Aug 15 18:49:19 2002
From: amurrey at sauriantech.com (Andrew Murrey)
Date: Thu, 15 Aug 2002 11:49:19 -0500
Subject: Upgrading
In-Reply-To: <97C358F0-B06E-11D6-BB10-0003938FDD5C@mac.com>
References: <97C358F0-B06E-11D6-BB10-0003938FDD5C@mac.com>
Message-ID:
Whats the best way to upgrade your Nagios installation without blowing away
your config files and custom images?
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Terry
Simons
Sent: Thursday, August 15, 2002 11:47 AM
To: Russell Scibetti
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Availability Report
Agh!
Looks like I was wrong! :/
Sorry, I must have been thinking of something else.
It would be a nice feature though... ;)
- Terry
On Thursday, August 15, 2002, at 10:34 AM, Russell Scibetti wrote:
> What setting is that?
>
> Terry Simons wrote:
>
>> You can also set this parameter in your cgi.cfg file.
>>
>> You can tell it that the first assumed state is up, and then you don't
>> have to much with the drop-down box every time you create a report.
>>
>> - Terry
>>
>>
>> On Thursday, August 15, 2002, at 09:43 AM, Russell Scibetti wrote:
>>
>>> You don't have to edit any CGI's. It's a form drop-down when you go
>>> through the step for creating an availability or trend report. First
>>> you choose host or service, then which host or service to report on,
>>> then the page that asks what time period, etc. On that page, there
>>> is a drop-down form box for First Assumed State. Set that to Host
>>> OK, then create the report.
>>>
>>> -Russell
>>>
>>> Scott wrote:
>>>
>>> Ack! This answered my question which I just posted. Thanks! Anyway
>>> to
>>> set to default to assumed state:up? I expect I would have to edit
>>> one of
>>> the status*.cgi files, but I don't know cgi :(. Any insights?
>>> -Scott
>>>
>>> Russell Scibetti said:
>>>
>>> In the graphs, hosts will ALWAYS be undetermined unless a service
>>> check
>>> has failed on that box. Host checks never run unless a service on
>>> that hosts fails. on the status screen, this shows up as Host OK
>>> Assumed to be up. However, in the graphs, since there is no real
>>> host
>>> data (not host checks have occurred), it shows up as undetermined.
>>> The easy way to fix this is on the Select Report Options step,
>>> changed
>>> the Assumed State drop to Host UP instead of unspecified. This will
>>> change those undetermineds to OK, which is really the case because
>>> they are up (all their services are up, so they must be up), they
>>> just
>>> haven't been checked.
>>>
>>> -Russell
>>>
>>> Jeffcoat, Al wrote:
>>>
>>> Hi All,
>>>
>>>
>>>
>>> Does anyone know how to get the host(s) to stop giving an undetermined
>>> status in any of the reporting tabs? On of my operations analysts
>>> has to turn in a monthly report on system availability, and these
>>> reports would be useful. However, anytime we run the reports, the
>>> majority of the time for all the hosts is indeterminate.
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Al
>>>
>>> -- Russell Scibetti
>>> Quadrix Solutions, Inc.
>>> http://www.quadrix.com
>>> (732) 235-2335, ext. 7038
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> -- Russell Scibetti
>>> Quadrix Solutions, Inc.
>>> http://www.quadrix.com
>>> (732) 235-2335, ext. 7038
>>>
>>>
>>
>>
>>
>> -------------------------------------------------------
>> This sf.net email is sponsored by: OSDN - Tired of that same old
>> cell phone? Get a new here for FREE!
>> https://www.inphonic.com/r.asp?r=urceforge1&refcode1=vs3390
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>
>>
>
> -- Russell Scibetti
> Quadrix Solutions, Inc.
> http://www.quadrix.com
> (732) 235-2335, ext. 7038
>
>
>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From albert.tobey at priority-health.com Thu Aug 15 19:22:17 2002
From: albert.tobey at priority-health.com (Al Tobey)
Date: 15 Aug 2002 13:22:17 -0400
Subject: SNMP Monitoring
In-Reply-To:
References:
Message-ID: <1029432137.23503.6306.camel@linuxws1>
On Wed, 2002-08-14 at 09:22, Subhendu Ghosh wrote:
> The CGIs currently have access to all the config files except resource.cfg
> where all the USERx macros are stored.
>
> One reason not to have snmp_community in the host definition is that it
> will increase the memory footprint because you will have to allocate a
> struct member for all hosts. Otherwise we could add NSClient passwords and
> other access method information as well.
Hmm. I suppose you're correct, but that's a sacrifice I'm willing to
make. It's much cheaper for me to buy more ram than to spend a lot of
time managing SNMP communities in my Nagios config.
It might be nice to have host/hostgroup user variables that could be
used for SNMP or any other similar information.
define host {
...
user_var1 public
}
> Keeping the community names in resource.cfg can be painless if one can
> make up a mapping between classes of devices with common communities and
> the USERx macro numbers. e.g I use USER10 for all switches/hubs, USER11
> for all hosts/server, USER9 for all routers.
I used to do that. Now (as of yesterday) I have a patch for nagios to
do what I asked about. It's attached and has been tested against b4 and
b5. It adds "snmp_community" to the host definitions and the
"$SNMPCOMMUNITY$" macro for use in the command or service definitions.
define host {
...
snmp_community public
}
define command {
...
command_line snmp_monitor_process.pl -H $HOSTADDRESS$ -C
$SNMPCOMMUNITY$ -e process_name
}
-Al Tobey
Unix Administrator
********************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this
email in error please notify the Priority Health Information
Services Department at (616) 942-0954.
********************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-snmp_community.patch
Type: text/x-patch
Size: 14573 bytes
Desc: not available
URL:
From sghosh at sghosh.org Thu Aug 15 20:16:56 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Thu, 15 Aug 2002 14:16:56 -0400 (EDT)
Subject: SNMP Monitoring
In-Reply-To: <1029432137.23503.6306.camel@linuxws1>
References: <1029432137.23503.6306.camel@linuxws1>
Message-ID:
I think Ethan had some user defineable variables up his sleve for the the
post 1.0 release. :)
-sg
On 15 Aug 2002, Al Tobey wrote:
> On Wed, 2002-08-14 at 09:22, Subhendu Ghosh wrote:
> > The CGIs currently have access to all the config files except resource.cfg
> > where all the USERx macros are stored.
> >
> > One reason not to have snmp_community in the host definition is that it
> > will increase the memory footprint because you will have to allocate a
> > struct member for all hosts. Otherwise we could add NSClient passwords and
> > other access method information as well.
> Hmm. I suppose you're correct, but that's a sacrifice I'm willing to
> make. It's much cheaper for me to buy more ram than to spend a lot of
> time managing SNMP communities in my Nagios config.
>
> It might be nice to have host/hostgroup user variables that could be
> used for SNMP or any other similar information.
> define host {
> ...
> user_var1 public
> }
>
> > Keeping the community names in resource.cfg can be painless if one can
> > make up a mapping between classes of devices with common communities and
> > the USERx macro numbers. e.g I use USER10 for all switches/hubs, USER11
> > for all hosts/server, USER9 for all routers.
> I used to do that. Now (as of yesterday) I have a patch for nagios to
> do what I asked about. It's attached and has been tested against b4 and
> b5. It adds "snmp_community" to the host definitions and the
> "$SNMPCOMMUNITY$" macro for use in the command or service definitions.
> define host {
> ...
> snmp_community public
> }
> define command {
> ...
> command_line snmp_monitor_process.pl -H $HOSTADDRESS$ -C
> $SNMPCOMMUNITY$ -e process_name
> }
>
> -Al Tobey
> Unix Administrator
>
>
>
>
> ********************************************************************
> This email and any files transmitted with it are confidential
> and intended solely for the use of the individual or entity
> to whom they are addressed. If you have received this
> email in error please notify the Priority Health Information
> Services Department at (616) 942-0954.
> ********************************************************************
>
>
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-snmp_community.patch
Type: text/x-patch
Size: 14573 bytes
Desc:
URL:
From sghosh at sghosh.org Thu Aug 15 20:23:15 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Thu, 15 Aug 2002 14:23:15 -0400 (EDT)
Subject: Using Nagios with RRD/NRG
In-Reply-To: <006201c24422$6cfd6d80$b58031ca@bcl977307>
References: <006201c24422$6cfd6d80$b58031ca@bcl977307>
Message-ID:
Ummm..
check_rrd_data.pl in contrib ???
On Thu, 15 Aug 2002, Jamie wrote:
> Hmm. Close but no cigar.
>
> maybe a combination of ./rrdtool fetch-ing the last entry and comparing
> against a threshold value...
>
> One Brutal Bitter comin' right up.
>
> -jamie
>
> ----- Original Message -----
> From: "Jonathan Nichols"
> To: "Jamie" ;
> Sent: Thursday, August 15, 2002 5:11 PM
> Subject: Re: [Nagios-users] Using Nagios with RRD/NRG
>
>
> >
> >
> >
> > > Hi,
> > >
> > > I'd like to use Nagios with NRG, an RRD frontend by Steve Rader. I see
> > that
> > > Nagios works with MRTG (mrtgtraf). Has anyone made it work with RRD
> files?
> > >
> > > How much beer would it take to convince someone to do it?
> > >
> > > cheers!
> > >
> > Jamie -
> >
> > Geez, give me enough beer and you can convince me that I really *can*
> > kick butt on that 400lb, 6'7" wrestler at the other end of the bar!
> > :-)
> >
> > I think the guy that made cacti made a Netsaint interface to RRD,
> actually.
> > http://www.raxnet.net/products/cacti/additional_scripts.php <---the URL
> for
> > his additional scripts.
> >
> > I dunno if it requires cacti or not, but cacti seems pretty cool anyway.
> :)
> >
> > By the way.. I prefer Rogue Ales (from Newport, Oregon) - feel free to
> send
> > some this way ;)
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone? Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
--
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From sghosh at sghosh.org Thu Aug 15 20:28:29 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Thu, 15 Aug 2002 14:28:29 -0400 (EDT)
Subject: check_fping strangeness
In-Reply-To:
References:
Message-ID:
Following is the command that i used to call fping from the plugin.
command_line = ssprintf
(command_line, "%s -b %d -c %d %s",
PATH_TO_FPING, packet_size, packet_count, server);
Can you run the fping from the CL and report the result and the result of
"echo $?"
also run check_fping in verbose mode to see what the exact call is.
-sg
On Thu, 15 Aug 2002, Terry Simons wrote:
> Is it possible that the fping plugin is just returning incorrect
> information to Nagios?
>
> That's what it seems like, but it's hard to say.
>
> You might want to look at the source for the plugin, and see if you can
> figure out what it's doing.
>
> - Terry
>
> On Wednesday, August 14, 2002, at 10:58 PM, Myke Place wrote:
>
> >
> > On Wed, 14 Aug 2002, terry wrote:
> >
> >> Ah!
> >>
> >> Sorry, I should have read more carefully.
> >
> > No problem, it took me a while to catch it myself.
> >
> >> What does your check_fping definition look like?
> >
> > # 'check_fping' command definition
> > define command{
> > command_name check_fping
> > command_line $USER1$/check_fping $HOSTADDRESS$
> > }
> >
> >
> >> Does fping correctly report for up hosts?
> >
> > It shows OK for both hosts that are up as well as those that are down.
> >
> >> Also, where did you get the plugin from? (Is it a Nagios plugin, or
> >> the old netsaint plugins)?
> >
> > I'm using the latest release of Nagios plugins.
> >
> >
> >>
> >> - Terry
> >>
> >> On Wednesday, August 14, 2002, at 10:04 PM, Myke Place wrote:
> >>
> >>> Terry,
> >>>
> >>> The problem is that the output of the plugins reports the host as
> >>> being in
> >>> an 'OK' state which of course a host would not be were it down.
> >>>
> >>> On Wed, 14 Aug 2002, terry wrote:
> >>>
> >>>> Yeah,
> >>>>
> >>>> Your problem isn't with Nagios. :)
> >>>>
> >>>> The plugin is working exactly as it should.
> >>>>
> >>>> It's reporting what fping is telling it.
> >>>>
> >>>> fping thinks your host is unreachable.
> >>>>
> >>>> - Terry
> >>>>
> >>>> On Wednesday, August 14, 2002, at 08:51 AM, Myke Place wrote:
> >>>>
> >>>>> Yes it does. Here is the output of fping:
> >>>>>
> >>>>> fping deadhost
> >>>>> deadhost is unreachable
> >>>>>
> >>>>> Any ideas?
> >>>>>
> >>>>>> Does fping work on the commandline?
> >>>>>>
> >>>>>> - Terry
> >>>>>
> >>>>> On Tuesday, August 13, 2002, at 01:36 PM, Myke Place wrote:
> >>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> I'm having a bit of trouble getting check_fping to report the
> >>>>>> status
> >>>>>> of a
> >>>>>> host correctly to Nagios. The problem that exists as follows when
> >>>>>> using
> >>>>>> check_fping to contact a host that I know is unreachable.
> >>>>>>
> >>>>>> ./check_fping deadhost
> >>>>>> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
> >>>>>
> >>>>>> fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
> >>>>>> fping: comments to david at remote.net
> >>>>>>
> >>>>>> Is there something I'm missing here? Does check_fping need some
> >>>>>> special
> >>>>>> arguments to work properly in checkcommands.cfg?
> >>>>>>
> >>>>>> Any help would be greatly appreciated. Thanks.
> >>>>>>
> >>>>>
> >>>>> --------------------
> >>>>> Myke Place
> >>>>> mp at xmission.com
> >>>>> 801.539.0852
> >>>>> www.radiojournal.org
> >>>>>
> >>>>>
> >>>>>
> >>>>> -------------------------------------------------------
> >>>>> This sf.net email is sponsored by: Dice - The leading online job
> >>>>> board
> >>>>> for high-tech professionals. Search and apply for tech jobs today!
> >>>>> http://seeker.dice.com/seeker.epl?rel_code=31
> >>>>> _______________________________________________
> >>>>> Nagios-users mailing list
> >>>>> Nagios-users at lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>> -------------------------------------------------------
> >>> This sf.net email is sponsored by: Dice - The leading online job board
> >>> for high-tech professionals. Search and apply for tech jobs today!
> >>> http://seeker.dice.com/seeker.epl?rel_code=31
> >>> _______________________________________________
> >>> Nagios-users mailing list
> >>> Nagios-users at lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/nagios-users
> >>
> >>
> >
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
--
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From p6411 at hotmail.com Thu Aug 15 21:11:30 2002
From: p6411 at hotmail.com (paul paulusma)
Date: Thu, 15 Aug 2002 21:11:30 +0200
Subject: Enterprise Control Portal
Message-ID:
An HTML attachment was scrubbed...
URL:
From mp at xmission.com Thu Aug 15 22:02:56 2002
From: mp at xmission.com (Myke Place)
Date: Thu, 15 Aug 2002 14:02:56 -0600 (MDT)
Subject: check_fping still reporting 'OK'
In-Reply-To:
References:
Message-ID:
> Can you run the fping from the CL and report the result and the result of
> "echo $?"
fping deadhost
deadhost is unreachable
Immediatly following that I issued 'echo $?':
echo $?
1
> also run check_fping in verbose mode to see what the exact call is.
This is as follows:
./check_fping deadhost -v
/usr/bin/fping -b 56 -c 1 deadhost
deadhost : xmt/rcv/%loss = 1/0/100%
FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
As you can see it continues to report the state as being 'OK'.
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From 8lb4fmllhm001 at sneakemail.com Thu Aug 15 22:22:06 2002
From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com)
Date: 15 Aug 2002 16:22:06 -0400
Subject: logfile scrubbing
Message-ID: <1650916689.1029442980406.JavaMail.root@monkey>
I've been fiddling with the logfile scrubbers, trying to get them to work properly. No joy.
First I was checking out check_log, but out of the box (at least on Red Hat 7.3) it doesn't work. I ended up munging the script, just to get it to work from the command line. From Nagios, it just didn't seem to work.
I checked out check_log2.pl (under contrib), seeing as how it uses seek/tell, instead of copying over entire logfiles. That works fine from the command line, but again, once I stuff it into Nagios, I get output like:
Aug 14 21:47:14 myhost nagios: Warning: Return code of 127 for check of service 'Messages Scrubber #1' on host 'webmonk' was out of bounds. Make sure the plugin you're trying to run actually exists.
I went back, over and over again, and I swear I have the definitions set up right. Here's the relevant snippet from checkcommands.cfg:
define command{
command_name check_local_log2
command_line $USER1$/check_log2 -l $ARG1$ -s $ARG2$ -p $ARG3$
}
and here's the relevant bit from services.cfg:
define service{
use icmp
host_name myhost
service_description Messages Scrubber #1
contact_groups linux-admins
max_check_attempts 1
check_command check_local_log2!/var/log/messages!/tmp/check_log.messages-errors.seek!error
}
I set it to /tmp/check_log.messages-error.seek, since I wasn't certain where it would be writing if I specified a relative pathname. (That's one part of the documentation which seems to be vague/lacking.)
Suggestions on how to debug this?
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From 8lb4fmllhm001 at sneakemail.com Thu Aug 15 22:31:44 2002
From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com)
Date: 15 Aug 2002 16:31:44 -0400
Subject: setting up NSCA
Message-ID: <1574419793.1029443552973.JavaMail.root@monkey>
I've been puzzling over how to properly set up NSCA. I've successfully installed the server on the Nagios host, that part was straightforward.
The part which is lacking clarity is the send_nsca piece. I realize it needs to be installed on a client host (compiled for that architecture). Setting up the config file seems clear. It would also seem to be a simple matter of catting a file and piping it into send_nsca (assuming it's formatted as required. But beyond this, this is where it seems to lapse into obscurity.
I recall that the plugins need to be installed on the client as well (or whatever you feel like running, so long as you get the output and return codes that you need). So I'm guessing you cobble a script (which you kick off every 5 minutes from cron) to run each plugin with the parameters as desired, catch the return codes, stuff them into a temporary file, then pump the tempfile into send_nsca...?
Am I on track here? Am I missing anything?
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From wilcoxc at troycorp.com Thu Aug 15 22:48:10 2002
From: wilcoxc at troycorp.com (Wilcox, Chris)
Date: Thu, 15 Aug 2002 16:48:10 -0400
Subject: Email Notifications
Message-ID: <5F735AF7A501D411910600104B76901E01EA969C@POSTAL>
I've got the main program up and running great. The only thing NOT working
is email notification.
If my Linux box is running smtp, and I have another mail server behind the
firewall that is also running smtp (on the same network physically), where
and how do I send the mail? I think that's my problem.
Any quirks here I should be aware of or should it just work, no one has had
issues here.....
Thank in advance....
Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From wilcoxc at troycorp.com Thu Aug 15 22:55:18 2002
From: wilcoxc at troycorp.com (Wilcox, Chris)
Date: Thu, 15 Aug 2002 16:55:18 -0400
Subject: Do you know what really sucks?
Message-ID: <5F735AF7A501D411910600104B76901E01EA969D@POSTAL>
When I configured Netsaint [Hostname]'s I used spaces.
So none of my *.cfg files converted well using the convertcfg util. No
problem just go through the original hosts.cfg file and put hyphen's in for
spaces and run convertcfg util again. Worked really that time...
But here's the kicker...all of my Log files have the old Hostnames,
effectively I lose all of my old logs until I can parse through it with a
script and fix the name. (and I thought I was going to get away with no
scripting)
Does anybody have a script already built to find and replace?
Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From Daniel.Rusch at GlobalCrossing.com Thu Aug 15 22:51:27 2002
From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel)
Date: Thu, 15 Aug 2002 16:51:27 -0400
Subject: Nagios processes
Message-ID: <0DA06E553C3BD511823500508BB8965A02012034@exnadetmbx3.ams.gblxint.com>
All,
I am running nagios 1.0b4 on a Linux RH 7.3 intel box
I have 200 hosts and about 300 services
when I check the processes running on the box with ps -fe | grep nagios
I notice that there are 187 nagios processes. Is that normal? or did I hose
up something?
Thanks,
DR
-----Original Message-----
From: Myke Place [mailto:mp at xmission.com]
Sent: Thursday, August 15, 2002 3:03 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_fping still reporting 'OK'
> Can you run the fping from the CL and report the result and the result of
> "echo $?"
fping deadhost
deadhost is unreachable
Immediatly following that I issued 'echo $?':
echo $?
1
> also run check_fping in verbose mode to see what the exact call is.
This is as follows:
./check_fping deadhost -v
/usr/bin/fping -b 56 -c 1 deadhost
deadhost : xmt/rcv/%loss = 1/0/100%
FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
As you can see it continues to report the state as being 'OK'.
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From 8lb4fmllhm001 at sneakemail.com Thu Aug 15 23:00:10 2002
From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com)
Date: 15 Aug 2002 17:00:10 -0400
Subject: Email Notifications
Message-ID: <248134993.1029445253064.JavaMail.root@monkey>
-----Original Message-----
This is more of a Sendmail and design question. Can you successfully send e-mail from the command line, like this:
$ echo "hello" | mail wilcoxc at troycorp.com
and, more importantly, do you receive it correctly?
If it turns out that you can't even get mail out onto the network, you could have a whole bunch of Sendmail fun ahead of you. :)
If, OTOH, mail's being delivered properly, and you have your e-mail address set up properly in contacts.cfg, then all that remains is whether you have contactgoups.cfg and services.cfg set up properly.
From: Wilcox, Chris [mailto:wilcoxc at troycorp.com]
Sent: Thursday, August 15, 2002 3:48 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Email Notifications
I've got the main program up and running great. The only thing NOT working is email notification.
If my Linux box is running smtp, and I have another mail server behind the firewall that is also running smtp (on the same network physically), where and how do I send the mail? I think that's my problem.
Any quirks here I should be aware of or should it just work, no one has had issues here.....
Thank in advance....
Chris.
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From 8lb4fmllhm001 at sneakemail.com Fri Aug 16 00:45:36 2002
From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com)
Date: 15 Aug 2002 18:45:36 -0400
Subject: compiling nsca-2.1 under Solaris8
Message-ID: <1586117969.1029451579937.JavaMail.root@monkey>
Ran into this while compiling nsca-2.1:
$ make all
cd ./src/; make all ; cd ..
make[1]: Entering directory `/usr/local/src/nsca-2.1/src'
gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nsca.c netutils.c utils.c -o nsca
In file included from nsca.c:18:
../common/common.h:105: parse error before `u_int32_t'
../common/common.h:105: warning: no semicolon at end of struct or union
../common/common.h:106: warning: data definition has no type or storage class
../common/common.h:111: parse error before `}'
../common/common.h:111: warning: data definition has no type or storage class
../common/common.h:116: parse error before `u_int32_t'
../common/common.h:116: warning: no semicolon at end of struct or union
../common/common.h:117: warning: data definition has no type or storage class
nsca.c: In function `handle_connection':
nsca.c:768: `init_packet' undeclared (first use in this function)
nsca.c:768: (Each undeclared identifier is reported only once
nsca.c:768: for each function it appears in.)
nsca.c:768: parse error before `send_packet'
nsca.c:791: `send_packet' undeclared (first use in this function)
nsca.c:793: `u_int32_t' undeclared (first use in this function)
nsca.c: In function `handle_connection_read':
nsca.c:837: `data_packet' undeclared (first use in this function)
nsca.c:837: parse error before `receive_packet'
nsca.c:838: `u_int32_t' undeclared (first use in this function)
nsca.c:856: `receive_packet' undeclared (first use in this function)
nsca.c:896: `packet_crc32' undeclared (first use in this function)
nsca.c:898: `calculated_crc32' undeclared (first use in this function)
[snip]
I should mention that the make went fine.
I looked through the FAQ, but no joy. Suggestions?
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jgiles at joeman1.com Thu Aug 15 13:46:38 2002
From: jgiles at joeman1.com (Joe Giles)
Date: 15 Aug 2002 11:46:38 -0000
Subject: System Crashing
Message-ID: <20020815114638.3798.qmail@joeman1.com>
List,
Is there any componet in Nagios that COULD cause your system to loose one of your ETH devices? Since I have installed Nagios, I runs great, but I keep loosing ETH0. I have to do a ifup on that device to bring it back. Today, I had to reboot to bring it back. When Im not using the Nagios, the system runs fine. Im using the INIT script that get created with you do a make install-init.
I would like to continue using the product, but I cant have my server down. Any help or insight would be great.
Thanks.
Background on the Server:
RedHat 7.3
Using Apache, MySQL, ACID, Snort, DHCP, IPCHAINS with MASQ, 2 NIC's One on a public interface and One on Private. All Red Hat Network Updates Including the new Kernel. Let me know if you need additional info.
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From mmcclure at pneservices.com Fri Aug 16 03:07:41 2002
From: mmcclure at pneservices.com (mmcclure at pneservices.com)
Date: Thu, 15 Aug 2002 20:07:41 -0500
Subject: Do you know what really sucks?
In-Reply-To: <5F735AF7A501D411910600104B76901E01EA969D@POSTAL>
References: <5F735AF7A501D411910600104B76901E01EA969D@POSTAL>
Message-ID: <004f01c244c1$529182c0$2801a8c0@dutch>
Ahh, the power of Unix.
sed -e s/oldstring/newstring/g < oldfile > newfile
----------
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc.
http://www.pneservices.com
mmcclure at pneservices.com
mobile: 913-636-5590
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wilcox,
Chris
Sent: Thursday, August 15, 2002 3:55 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Do you know what really sucks?
When I configured Netsaint [Hostname]'s I used spaces.
So none of my *.cfg files converted well using the convertcfg util. No
problem just go through the original hosts.cfg file and put hyphen's in
for spaces and run convertcfg util again. Worked really that time...
But here's the kicker...all of my Log files have the old Hostnames,
effectively I lose all of my old logs until I can parse through it with
a script and fix the name. (and I thought I was going to get away with
no scripting)
Does anybody have a script already built to find and replace?
Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jsie at quadrix.com Fri Aug 16 03:04:57 2002
From: jsie at quadrix.com (Jackson Sie)
Date: Thu, 15 Aug 2002 21:04:57 -0400
Subject: compiling nsca-2.1 under Solaris8
In-Reply-To: <1586117969.1029451579937.JavaMail.root@monkey>
References: <1586117969.1029451579937.JavaMail.root@monkey>
Message-ID: <002401c244c0$f01d8030$6500a8c0@pikachu>
Just do search and replace in the nsca source tree for 'u_int32_t' and
replace with 'uint32_t'. That should do the trick. We had run into a
similar problem as well when we were still thinking of using nsca...
Jackson Sie
Senior Architect
Quadrix Solutions, Inc.
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
8lb4fmllhm001 at sneakemail.com
Sent: Thursday, August 15, 2002 6:46 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] compiling nsca-2.1 under Solaris8
Ran into this while compiling nsca-2.1:
$ make all
cd ./src/; make all ; cd ..
make[1]: Entering directory `/usr/local/src/nsca-2.1/src'
gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nsca.c netutils.c utils.c -o
nsca In file included from nsca.c:18:
../common/common.h:105: parse error before `u_int32_t'
../common/common.h:105: warning: no semicolon at end of struct or union
../common/common.h:106: warning: data definition has no type or storage
class
../common/common.h:111: parse error before `}'
../common/common.h:111: warning: data definition has no type or storage
class
../common/common.h:116: parse error before `u_int32_t'
../common/common.h:116: warning: no semicolon at end of struct or union
../common/common.h:117: warning: data definition has no type or storage
class
nsca.c: In function `handle_connection':
nsca.c:768: `init_packet' undeclared (first use in this function)
nsca.c:768: (Each undeclared identifier is reported only once
nsca.c:768: for each function it appears in.)
nsca.c:768: parse error before `send_packet'
nsca.c:791: `send_packet' undeclared (first use in this function)
nsca.c:793: `u_int32_t' undeclared (first use in this function)
nsca.c: In function `handle_connection_read':
nsca.c:837: `data_packet' undeclared (first use in this function)
nsca.c:837: parse error before `receive_packet'
nsca.c:838: `u_int32_t' undeclared (first use in this function)
nsca.c:856: `receive_packet' undeclared (first use in this function)
nsca.c:896: `packet_crc32' undeclared (first use in this function)
nsca.c:898: `calculated_crc32' undeclared (first use in this function)
[snip]
I should mention that the make went fine.
I looked through the FAQ, but no joy. Suggestions?
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell
phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From mmcclure at pneservices.com Fri Aug 16 03:21:43 2002
From: mmcclure at pneservices.com (mmcclure at pneservices.com)
Date: Thu, 15 Aug 2002 20:21:43 -0500
Subject: Email Notifications
In-Reply-To: <5F735AF7A501D411910600104B76901E01EA969C@POSTAL>
References: <5F735AF7A501D411910600104B76901E01EA969C@POSTAL>
Message-ID: <005601c244c3$47bf5c30$2801a8c0@dutch>
That's a pretty general question, Chris. You might provide a little
more detail, like which box runs Nagios, what type and version of
operating systems are running on the machines, what email address you
want to receive notifications, etc.
Obviously, if you can't send mail from your Nagios box to the address
you want to receive the notifications, then your problem isn't Nagios.
If you need help with your mail systems, and you aren't sure how to do
anything and/or don't have time to figure it out, you might look into
hiring a consultant.
----------
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc.
http://www.pneservices.com
mmcclure at pneservices.com
mobile: 913-636-5590
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wilcox,
Chris
Sent: Thursday, August 15, 2002 3:48 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Email Notifications
I've got the main program up and running great. The only thing NOT
working is email notification.
If my Linux box is running smtp, and I have another mail server behind
the firewall that is also running smtp (on the same network physically),
where and how do I send the mail? I think that's my problem.
Any quirks here I should be aware of or should it just work, no one has
had issues here.....
Thank in advance....
Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mmcclure at pneservices.com Fri Aug 16 03:25:52 2002
From: mmcclure at pneservices.com (mmcclure at pneservices.com)
Date: Thu, 15 Aug 2002 20:25:52 -0500
Subject: System Crashing
In-Reply-To: <20020815114638.3798.qmail@joeman1.com>
References: <20020815114638.3798.qmail@joeman1.com>
Message-ID: <005b01c244c3$dca22300$2801a8c0@dutch>
What make and model of NICs are they? Are they the same?
Have you tried swapping the flaky one with a known good one?
Do you have them statically set for duplex and speed, or auto-negotiate?
----------
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. http://www.pneservices.com
mmcclure at pneservices.com
mobile: 913-636-5590
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joe Giles
Sent: Thursday, August 15, 2002 6:47 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] System Crashing
List,
Is there any componet in Nagios that COULD cause your system to loose
one of your ETH devices? Since I have installed Nagios, I runs great,
but I keep loosing ETH0. I have to do a ifup on that device to bring it
back. Today, I had to reboot to bring it back. When Im not using the
Nagios, the system runs fine. Im using the INIT script that get created
with you do a make install-init.
I would like to continue using the product, but I cant have my server
down. Any help or insight would be great.
Thanks.
Background on the Server:
RedHat 7.3
Using Apache, MySQL, ACID, Snort, DHCP, IPCHAINS with MASQ, 2 NIC's One
on a public interface and One on Private. All Red Hat Network Updates
Including the new Kernel. Let me know if you need additional info.
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From mmcclure at pneservices.com Fri Aug 16 03:29:25 2002
From: mmcclure at pneservices.com (mmcclure at pneservices.com)
Date: Thu, 15 Aug 2002 20:29:25 -0500
Subject: Using Nagios with RRD/NRG
In-Reply-To: <006201c24422$6cfd6d80$b58031ca@bcl977307>
References: <006201c24422$6cfd6d80$b58031ca@bcl977307>
Message-ID: <005e01c244c4$5b072970$2801a8c0@dutch>
It's actually pretty easy to go the other way. Pull data from Nagios
and put it into RRD. Then you can you use whatever front-end you want.
----------
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. http://www.pneservices.com
mmcclure at pneservices.com
mobile: 913-636-5590
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jamie
Sent: Thursday, August 15, 2002 1:10 AM
To: Jonathan Nichols; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Using Nagios with RRD/NRG
Hmm. Close but no cigar.
maybe a combination of ./rrdtool fetch-ing the last entry and comparing
against a threshold value...
One Brutal Bitter comin' right up.
-jamie
----- Original Message -----
From: "Jonathan Nichols"
To: "Jamie" ;
Sent: Thursday, August 15, 2002 5:11 PM
Subject: Re: [Nagios-users] Using Nagios with RRD/NRG
>
>
>
> > Hi,
> >
> > I'd like to use Nagios with NRG, an RRD frontend by Steve Rader. I
see
> that
> > Nagios works with MRTG (mrtgtraf). Has anyone made it work with RRD
files?
> >
> > How much beer would it take to convince someone to do it?
> >
> > cheers!
> >
> Jamie -
>
> Geez, give me enough beer and you can convince me that I really
*can*
> kick butt on that 400lb, 6'7" wrestler at the other end of the bar!
> :-)
>
> I think the guy that made cacti made a Netsaint interface to RRD,
actually.
> http://www.raxnet.net/products/cacti/additional_scripts.php <---the
URL
for
> his additional scripts.
>
> I dunno if it requires cacti or not, but cacti seems pretty cool
anyway.
:)
>
> By the way.. I prefer Rogue Ales (from Newport, Oregon) - feel free to
send
> some this way ;)
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From fim32 at yahoo.com Fri Aug 16 03:35:56 2002
From: fim32 at yahoo.com (Fred Im)
Date: Thu, 15 Aug 2002 18:35:56 -0700 (PDT)
Subject: compiling nsca-2.1 under Solaris8
Message-ID: <20020816013556.70412.qmail@web10412.mail.yahoo.com>
heh... y'know, there are quite a few utilities that have this... i don't even remember doing the ol' :%s and moving on...
in solaris, u_int32_t is called uint32_t
so i went through the files that used it and just search&replace...
fred
Ran into this while compiling nsca-2.1:
$ make all
cd ./src/; make all ; cd ..
make[1]: Entering directory `/usr/local/src/nsca-2.1/src'
gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nsca.c netutils.c utils.c -o nsca
In file included from nsca.c:18:
../common/common.h:105: parse error before `u_int32_t'
../common/common.h:105: warning: no semicolon at end of struct or union
../common/common.h:106: warning: data definition has no type or storage class
../common/common.h:111: parse error before `}'
../common/common.h:111: warning: data definition has no type or storage class
../common/common.h:116: parse error before `u_int32_t'
../common/common.h:116: warning: no semicolon at end of struct or union
../common/common.h:117: warning: data definition has no type or storage class
nsca.c: In function `handle_connection':
nsca.c:768: `init_packet' undeclared (first use in this function)
nsca.c:768: (Each undeclared identifier is reported only once
nsca.c:768: for each function it appears in.)
nsca.c:768: parse error before `send_packet'
nsca.c:791: `send_packet' undeclared (first use in this function)
nsca.c:793: `u_int32_t' undeclared (first use in this function)
nsca.c: In function `handle_connection_read':
nsca.c:837: `data_packet' undeclared (first use in this function)
nsca.c:837: parse error before `receive_packet'
nsca.c:838: `u_int32_t' undeclared (first use in this function)
nsca.c:856: `receive_packet' undeclared (first use in this function)
nsca.c:896: `packet_crc32' undeclared (first use in this function)
nsca.c:898: `calculated_crc32' undeclared (first use in this function)
[snip]
I should mention that the make went fine.
I looked through the FAQ, but no joy. Suggestions?
---------------------------------
Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jgiles at joeman1.com Fri Aug 16 03:37:35 2002
From: jgiles at joeman1.com (Joe Giles)
Date: 16 Aug 2002 01:37:35 -0000
Subject: System Crashing
Message-ID: <20020816013735.5784.qmail@joeman1.com>
Well, One is a 3com 100/10 set on 100 and the other is an older NE2000 compat set on 10. I havent swopped them out as of yet, but I could certianly try that. They were working fine, however, we all know how computers are. Let me try that before I mess with any software.
Thanks for the responce.
Joe
> What make and model of NICs are they? Are they the same?
>
> Have you tried swapping the flaky one with a known good one?
>
> Do you have them statically set for duplex and speed, or auto-negotiate?
>
> ----------
> Mike McClure, CCIE # 5125, CISSP # 30232
> PNE Services, Inc. http://www.pneservices.com
> mmcclure at pneservices.com
> mobile: 913-636-5590
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joe Giles
> Sent: Thursday, August 15, 2002 6:47 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] System Crashing
>
> List,
> Is there any componet in Nagios that COULD cause your system to loose
> one of your ETH devices? Since I have installed Nagios, I runs great,
> but I keep loosing ETH0. I have to do a ifup on that device to bring it
> back. Today, I had to reboot to bring it back. When Im not using the
> Nagios, the system runs fine. Im using the INIT script that get created
> with you do a make install-init.
>
> I would like to continue using the product, but I cant have my server
> down. Any help or insight would be great.
>
> Thanks.
>
> Background on the Server:
> RedHat 7.3
> Using Apache, MySQL, ACID, Snort, DHCP, IPCHAINS with MASQ, 2 NIC's One
> on a public interface and One on Private. All Red Hat Network Updates
> Including the new Kernel. Let me know if you need additional info.
>
>
> Joe Giles
> jgiles at joeman1.com
> AOL ID: mcigiles
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jgiles at joeman1.com Fri Aug 16 03:39:06 2002
From: jgiles at joeman1.com (Joe Giles)
Date: 16 Aug 2002 01:39:06 -0000
Subject: System Crashing
Message-ID: <20020816013906.5856.qmail@joeman1.com>
Yeah, someone else mentioned that it might be the NIC... I will check that.. I have several that I can try.
Thanks for the responce.
Joe
> My first question would be what NIC are you using? It's possible that
> your Linux driver gets confused under a constant or heavy load, and
> that's what's causing your eth0 to disappear.
>
> Something like that might make it seem to be Nagios' fault, but I
> haven't heard of this problem with anyone else, so I doubt it's
> Nagios... if it was a Nagios specific thing I think a lot more people
> would have had an issue by now.
>
> Is your driver compiled-in to the kernel, or is it a module?
>
> You might want to check around and see if there's a newer driver
> available.
>
> - Terry
>
> On Thursday, August 15, 2002, at 05:46 AM, Joe Giles wrote:
>
> > List,
> > Is there any componet in Nagios that COULD cause your system to loose
> > one of your ETH devices? Since I have installed Nagios, I runs great,
> > but I keep loosing ETH0. I have to do a ifup on that device to bring
> > it back. Today, I had to reboot to bring it back. When Im not using
> > the Nagios, the system runs fine. Im using the INIT script that get
> > created with you do a make install-init.
> >
> > I would like to continue using the product, but I cant have my server
> > down. Any help or insight would be great.
> >
> > Thanks.
> >
> > Background on the Server:
> > RedHat 7.3
> > Using Apache, MySQL, ACID, Snort, DHCP, IPCHAINS with MASQ, 2 NIC's
> > One on a public interface and One on Private. All Red Hat Network
> > Updates Including the new Kernel. Let me know if you need additional
> > info.
> >
> >
> > Joe Giles
> > jgiles at joeman1.com
> > AOL ID: mcigiles
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone? Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
>
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From fim32 at yahoo.com Fri Aug 16 03:42:47 2002
From: fim32 at yahoo.com (Fred Im)
Date: Thu, 15 Aug 2002 18:42:47 -0700 (PDT)
Subject: setting up NSCA
Message-ID: <20020816014247.64063.qmail@web10403.mail.yahoo.com>
assuming, of course, you do mean nsca and not nrpe...
nsca is like setting up a whole 'nother nagios instance, with some dummy notifications, dummy hostgroups, and other dummy settings, but with REAL checks, and piping all of that to your original nagios instance. i basically read and copied the scripts from the "distributed monitoring" section of the docs... http://nagios.sourceforge.net/docs/1_0/distributed.html
just in case it's not clearer... nsca is when you want to have little "islands" of nagios running in different places, and reporting back to a "main" nagios instance... if you just want to run checks on remote systems, and gather the data, then you probably want to run nrpe... that's more of an "indirect check" http://nagios.sourceforge.net/docs/1_0/indirectchecks.html
fred
I've been puzzling over how to properly set up NSCA. I've successfully
installed the server on the Nagios host, that part was straightforward.
The part which is lacking clarity is the send_nsca piece. I realize it needs
to be installed on a client host (compiled for that architecture). Setting up
the config file seems clear. It would also seem to be a simple matter of
catting a file and piping it into send_nsca (assuming it's formatted as required.
But beyond this, this is where it seems to lapse into obscurity.
I recall that the plugins need to be installed on the client as well (or
whatever you feel like running, so long as you get the output and return codes that
you need). So I'm guessing you cobble a script (which you kick off every 5
minutes from cron) to run each plugin with the parameters as desired, catch the
return codes, stuff them into a temporary file, then pump the tempfile into
send_nsca...?
Am I on track here? Am I missing anything?
---------------------------------
Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mmcclure at pneservices.com Fri Aug 16 04:17:17 2002
From: mmcclure at pneservices.com (mmcclure at pneservices.com)
Date: Thu, 15 Aug 2002 21:17:17 -0500
Subject: System Crashing
In-Reply-To: <20020816013735.5784.qmail@joeman1.com>
References: <20020816013735.5784.qmail@joeman1.com>
Message-ID: <006501c244cb$0b7b6040$2801a8c0@dutch>
That's a good idea. In general, I start with the physical layer first
when troubleshooting network issues. Verify the cabling and NICs are
good and work with other systems without problems.
Then, check the data-link layer, such as hubs or switches, etc. Are the
Ethernet frames getting through?
Next, the network and transport layers. Routers, firewalls, host OSes.
----------
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. http://www.pneservices.com
mmcclure at pneservices.com
mobile: 913-636-5590
-----Original Message-----
From: Joe Giles [mailto:jgiles at joeman1.com]
Sent: Thursday, August 15, 2002 8:38 PM
To: mmcclure at pneservices.com; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] System Crashing
Well, One is a 3com 100/10 set on 100 and the other is an older NE2000
compat set on 10. I havent swopped them out as of yet, but I could
certianly try that. They were working fine, however, we all know how
computers are. Let me try that before I mess with any software.
Thanks for the responce.
Joe
> What make and model of NICs are they? Are they the same?
>
> Have you tried swapping the flaky one with a known good one?
>
> Do you have them statically set for duplex and speed, or
auto-negotiate?
>
> ----------
> Mike McClure, CCIE # 5125, CISSP # 30232
> PNE Services, Inc. http://www.pneservices.com
> mmcclure at pneservices.com
> mobile: 913-636-5590
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joe
Giles
> Sent: Thursday, August 15, 2002 6:47 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] System Crashing
>
> List,
> Is there any componet in Nagios that COULD cause your system to loose
> one of your ETH devices? Since I have installed Nagios, I runs great,
> but I keep loosing ETH0. I have to do a ifup on that device to bring
it
> back. Today, I had to reboot to bring it back. When Im not using the
> Nagios, the system runs fine. Im using the INIT script that get
created
> with you do a make install-init.
>
> I would like to continue using the product, but I cant have my server
> down. Any help or insight would be great.
>
> Thanks.
>
> Background on the Server:
> RedHat 7.3
> Using Apache, MySQL, ACID, Snort, DHCP, IPCHAINS with MASQ, 2 NIC's
One
> on a public interface and One on Private. All Red Hat Network Updates
> Including the new Kernel. Let me know if you need additional info.
>
>
> Joe Giles
> jgiles at joeman1.com
> AOL ID: mcigiles
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From galimore at mac.com Fri Aug 16 04:16:45 2002
From: galimore at mac.com (terry)
Date: Thu, 15 Aug 2002 20:16:45 -0600
Subject: Upgrading
In-Reply-To:
References:
Message-ID: <3692D98C-B0BE-11D6-BEA5-00306570AEC8@mac.com>
I'm not sure what you mean...
If you're already running Nagios, and you want to upgrade, you should
be able to just do it.
Nagios won't erase configs that you've added to it's directories...
that would royally suck!
It *might* replace files that you've edited that it relies on though.
What files are you specifically worried about?
I upgrade every time a new release comes out without moving anything.
I just do:
./configure --with-gd-inc=/usr/local/include
--with-gd-lib=/usr/local/lib
make all
make install
make install-html
And life goes on.
If you had edited.... say, side.html in html directory
(/usr/local/nagios/share/ by default) then I can see it replacing your
edited share.html with a new version, but I shouldn't replace any files
you've added to the Nagios directories.
Hope that helps.
- Terry
On Thursday, August 15, 2002, at 10:49 AM, Andrew Murrey wrote:
> Whats the best way to upgrade your Nagios installation without blowing
> away
> your config files and custom images?
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Terry
> Simons
> Sent: Thursday, August 15, 2002 11:47 AM
> To: Russell Scibetti
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Availability Report
>
>
> Agh!
> Looks like I was wrong! :/
>
> Sorry, I must have been thinking of something else.
>
> It would be a nice feature though... ;)
>
> - Terry
>
> On Thursday, August 15, 2002, at 10:34 AM, Russell Scibetti wrote:
>
>> What setting is that?
>>
>> Terry Simons wrote:
>>
>>> You can also set this parameter in your cgi.cfg file.
>>>
>>> You can tell it that the first assumed state is up, and then you
>>> don't
>>> have to much with the drop-down box every time you create a report.
>>>
>>> - Terry
>>>
>>>
>>> On Thursday, August 15, 2002, at 09:43 AM, Russell Scibetti wrote:
>>>
>>>> You don't have to edit any CGI's. It's a form drop-down when you go
>>>> through the step for creating an availability or trend report.
>>>> First
>>>> you choose host or service, then which host or service to report on,
>>>> then the page that asks what time period, etc. On that page, there
>>>> is a drop-down form box for First Assumed State. Set that to Host
>>>> OK, then create the report.
>>>>
>>>> -Russell
>>>>
>>>> Scott wrote:
>>>>
>>>> Ack! This answered my question which I just posted. Thanks! Anyway
>>>> to
>>>> set to default to assumed state:up? I expect I would have to edit
>>>> one of
>>>> the status*.cgi files, but I don't know cgi :(. Any insights?
>>>> -Scott
>>>>
>>>> Russell Scibetti said:
>>>>
>>>> In the graphs, hosts will ALWAYS be undetermined unless a service
>>>> check
>>>> has failed on that box. Host checks never run unless a service on
>>>> that hosts fails. on the status screen, this shows up as Host OK
>>>> Assumed to be up. However, in the graphs, since there is no real
>>>> host
>>>> data (not host checks have occurred), it shows up as undetermined.
>>>> The easy way to fix this is on the Select Report Options step,
>>>> changed
>>>> the Assumed State drop to Host UP instead of unspecified. This
>>>> will
>>>> change those undetermineds to OK, which is really the case because
>>>> they are up (all their services are up, so they must be up), they
>>>> just
>>>> haven't been checked.
>>>>
>>>> -Russell
>>>>
>>>> Jeffcoat, Al wrote:
>>>>
>>>> Hi All,
>>>>
>>>>
>>>>
>>>> Does anyone know how to get the host(s) to stop giving an
>>>> undetermined
>>>> status in any of the reporting tabs? On of my operations analysts
>>>> has to turn in a monthly report on system availability, and these
>>>> reports would be useful. However, anytime we run the reports, the
>>>> majority of the time for all the hosts is indeterminate.
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Al
>>>>
>>>> -- Russell Scibetti
>>>> Quadrix Solutions, Inc.
>>>> http://www.quadrix.com
>>>> (732) 235-2335, ext. 7038
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -- Russell Scibetti
>>>> Quadrix Solutions, Inc.
>>>> http://www.quadrix.com
>>>> (732) 235-2335, ext. 7038
>>>>
>>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This sf.net email is sponsored by: OSDN - Tired of that same old
>>> cell phone? Get a new here for FREE!
>>> https://www.inphonic.com/r.asp?r=urceforge1&refcode1=vs3390
>>> _______________________________________________
>>> Nagios-users mailing list
>>> Nagios-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>>
>>>
>>
>> -- Russell Scibetti
>> Quadrix Solutions, Inc.
>> http://www.quadrix.com
>> (732) 235-2335, ext. 7038
>>
>>
>>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From sghosh at sghosh.org Fri Aug 16 04:21:00 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Thu, 15 Aug 2002 22:21:00 -0400 (EDT)
Subject: check_http plugin redirects bug
In-Reply-To: <3D594AB2.2030203@quadrix.com>
References: <3D594AB2.2030203@quadrix.com>
Message-ID:
I had asked for clarification on this when the last request was made - did
not get any response (or I missed it).
If you have a patch that parses the redirect string and prepends the slash
if missing, that would be great.
-sg
On Tue, 13 Aug 2002, Russell Scibetti wrote:
> I sent this to the nagiosplug list with no response, so I was hoping
> someone on this list might be able to respond to this:
>
> I have found a problem with the check_http plugin and its ability to
> follow redirects properly. If it hits a redirect that has the full
> domain and file name given, it can follow the redirect (assuming you are
> giving the plugin the "-f follow" argument). However, if the
> redirect in the HTTP header only gives the file name without a leading
> slash, the plugin tries doing a GET for that file name. Since it is
> missing the leading slash, the plugin will always return a 404 in this case.
>
> Should I just fix the plugin to make sure that the leading slash is
> added, or is the plugin developer on this list and he/she would like to
> fix it? Or does anyone have any other suggestions?
>
> -Russell Scibetti
>
>
--
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From sghosh at sghosh.org Fri Aug 16 04:24:35 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Thu, 15 Aug 2002 22:24:35 -0400 (EDT)
Subject: check_fping still reporting 'OK'
In-Reply-To:
References:
Message-ID:
Looks like something has changed with the latest fping...
What OS are you running? do you have IPv6 enabled?
Are you running fping from fping.org or the version patched by Tobias of
MRTG and RRD fame ?
-sg
On Thu, 15 Aug 2002, Myke Place wrote:
>
> > Can you run the fping from the CL and report the result and the result of
> > "echo $?"
>
> fping deadhost
> deadhost is unreachable
>
> Immediatly following that I issued 'echo $?':
>
> echo $?
> 1
>
> > also run check_fping in verbose mode to see what the exact call is.
>
> This is as follows:
>
> ./check_fping deadhost -v
> /usr/bin/fping -b 56 -c 1 deadhost
>
> deadhost : xmt/rcv/%loss = 1/0/100%
> FPING OK - deadhost (loss=100.000000%, rta=0.000000 ms)
>
> As you can see it continues to report the state as being 'OK'.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
--
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From scott at troutpocket.org Thu Aug 15 17:32:32 2002
From: scott at troutpocket.org (Scott)
Date: Thu, 15 Aug 2002 08:32:32 -0700 (PDT)
Subject: Availability Report
In-Reply-To: <3D5BC3D8.5050204@quadrix.com>
References: <6319AEF0FF0BC4488F10029776CEAC070F5658@MAIL01.orhs.org>
<3D5BC3D8.5050204@quadrix.com>
Message-ID: <1478.12.235.182.135.1029425552.squirrel@www.troutpocket.org>
Ack! This answered my question which I just posted. Thanks! Anyway to
set to default to assumed state:up? I expect I would have to edit one of
the status*.cgi files, but I don't know cgi :(. Any insights?
-Scott
Russell Scibetti said:
> In the graphs, hosts will ALWAYS be undetermined unless a service check
> has failed on that box. Host checks never run unless a service on
> that hosts fails. on the status screen, this shows up as Host OK
> Assumed to be up. However, in the graphs, since there is no real host
> data (not host checks have occurred), it shows up as undetermined.
> The easy way to fix this is on the Select Report Options step, changed
> the Assumed State drop to Host UP instead of unspecified. This will
> change those undetermineds to OK, which is really the case because
> they are up (all their services are up, so they must be up), they just
> haven't been checked.
>
> -Russell
>
> Jeffcoat, Al wrote:
>
>> Hi All,
>>
>>
>>
>> Does anyone know how to get the host(s) to stop giving an undetermined
>> status in any of the reporting tabs? On of my operations analysts
>> has to turn in a monthly report on system availability, and these
>> reports would be useful. However, anytime we run the reports, the
>> majority of the time for all the hosts is indeterminate.
>>
>>
>>
>> Thanks,
>>
>> Al
>>
>
> --
> Russell Scibetti
> Quadrix Solutions, Inc.
> http://www.quadrix.com
> (732) 235-2335, ext. 7038
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From galimore at mac.com Fri Aug 16 03:29:42 2002
From: galimore at mac.com (terry)
Date: Thu, 15 Aug 2002 19:29:42 -0600
Subject: System Crashing
In-Reply-To: <20020815114638.3798.qmail@joeman1.com>
References: <20020815114638.3798.qmail@joeman1.com>
Message-ID:
My first question would be what NIC are you using? It's possible that
your Linux driver gets confused under a constant or heavy load, and
that's what's causing your eth0 to disappear.
Something like that might make it seem to be Nagios' fault, but I
haven't heard of this problem with anyone else, so I doubt it's
Nagios... if it was a Nagios specific thing I think a lot more people
would have had an issue by now.
Is your driver compiled-in to the kernel, or is it a module?
You might want to check around and see if there's a newer driver
available.
- Terry
On Thursday, August 15, 2002, at 05:46 AM, Joe Giles wrote:
> List,
> Is there any componet in Nagios that COULD cause your system to loose
> one of your ETH devices? Since I have installed Nagios, I runs great,
> but I keep loosing ETH0. I have to do a ifup on that device to bring
> it back. Today, I had to reboot to bring it back. When Im not using
> the Nagios, the system runs fine. Im using the INIT script that get
> created with you do a make install-init.
>
> I would like to continue using the product, but I cant have my server
> down. Any help or insight would be great.
>
> Thanks.
>
> Background on the Server:
> RedHat 7.3
> Using Apache, MySQL, ACID, Snort, DHCP, IPCHAINS with MASQ, 2 NIC's
> One on a public interface and One on Private. All Red Hat Network
> Updates Including the new Kernel. Let me know if you need additional
> info.
>
>
> Joe Giles
> jgiles at joeman1.com
> AOL ID: mcigiles
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From jgiles at joeman1.com Fri Aug 16 05:46:28 2002
From: jgiles at joeman1.com (Joe Giles)
Date: 16 Aug 2002 03:46:28 -0000
Subject: System Crashing
Message-ID: <20020816034628.5659.qmail@joeman1.com>
I have changed out my NIC and so far, the system is working better... So hopefully that is a good sign. That older NE2000 NIC was placed in another machine running XP and is showing signs of fatigue. Im betting that the issue was with the older NIC.
Well see tommorow. Last 2 days, the server would loose the NIC around 2 to 2:30 AM.
Thanks again for the responce :)
Joe
> My first question would be what NIC are you using? It's possible that
> your Linux driver gets confused under a constant or heavy load, and
> that's what's causing your eth0 to disappear.
>
> Something like that might make it seem to be Nagios' fault, but I
> haven't heard of this problem with anyone else, so I doubt it's
> Nagios... if it was a Nagios specific thing I think a lot more people
> would have had an issue by now.
>
> Is your driver compiled-in to the kernel, or is it a module?
>
> You might want to check around and see if there's a newer driver
> available.
>
> - Terry
>
> On Thursday, August 15, 2002, at 05:46 AM, Joe Giles wrote:
>
> > List,
> > Is there any componet in Nagios that COULD cause your system to loose
> > one of your ETH devices? Since I have installed Nagios, I runs great,
> > but I keep loosing ETH0. I have to do a ifup on that device to bring
> > it back. Today, I had to reboot to bring it back. When Im not using
> > the Nagios, the system runs fine. Im using the INIT script that get
> > created with you do a make install-init.
> >
> > I would like to continue using the product, but I cant have my server
> > down. Any help or insight would be great.
> >
> > Thanks.
> >
> > Background on the Server:
> > RedHat 7.3
> > Using Apache, MySQL, ACID, Snort, DHCP, IPCHAINS with MASQ, 2 NIC's
> > One on a public interface and One on Private. All Red Hat Network
> > Updates Including the new Kernel. Let me know if you need additional
> > info.
> >
> >
> > Joe Giles
> > jgiles at joeman1.com
> > AOL ID: mcigiles
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone? Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From atul at mindsw.com Fri Aug 16 08:34:20 2002
From: atul at mindsw.com (Atul Gosain)
Date: Fri, 16 Aug 2002 12:04:20 +0530 (IST)
Subject: query about service dependencies
Message-ID: <1243.202.88.151.191.1029479660.squirrel@www.webyarn.com>
Hi Nagios users
I have been trying to configure service dependencies on nagios but couldnt
understand how they r working.
In my case there r 3 hosts
scotty-->hathway-->mindsw.com
I have defined host dependencies for them in which mindsw.com is
dependent on
hathway and hathway is dependent on scotty.
I am pasting the dependencies file.
##########################################################################
#Scotty-->Hathway-->Mindsw.com
define servicedependency{
host_name scotty
service_description PING
dependent_host_name hathway
dependent_service_description PING
execution_failure_criteria w,u,c
notification_failure_criteria w,u,c
}
define servicedependency{
host_name scotty
service_description PING
dependent_host_name mindsw.com
dependent_service_description PING
execution_failure_criteria w,u,c
notification_failure_criteria w,u,c
}
define servicedependency{
host_name hathway
service_description PING
dependent_host_name mindsw.com
dependent_service_description PING
execution_failure_criteria w,u,c
notification_failure_criteria w,u,c
}
#servicedependency definition
define servicedependency{
host_name mindsw.com
service_description PING
dependent_host_name mindsw.com
dependent_service_description HTTP
execution_failure_criteria w,u,c ; These are the
criteria for
which check execution will be supressed
notification_failure_criteria w,u,c ; These are the criteria
for which
notifications will be supressed
name mindsw_serv_template
}
#servicedependency definition
define servicedependency{
host_name hathway
service_description PING
dependent_host_name scotty
dependent_service_description DNS check
execution_failure_criteria w,u,c ; These are the
criteria for
which check execution will be supressed
notification_failure_criteria w,u,c ; These are the criteria
for which
notifications will be supressed
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Current Users
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Total Processes
}
define servicedependency{
use mindsw_serv_template
dependent_service_description POP Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description IMAP Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description SMTP Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description MySql Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Load Check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Zombie Processes
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Memory Checking
}
define servicedependency{
use mindsw_serv_template
dependent_service_description DNS check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description POP Relay Service Check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description SSH service check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description /dev/hda1 Free Space
}
# Servicedependency definition
define servicedependency{
host_name scotty
service_description PING
dependent_host_name scotty
dependent_service_description HTTP
execution_failure_criteria w,u,c ; These are the
criteria for
which check execution will be supressed
notification_failure_criteria w,u,c ; These are the criteria
for which
notifications will be supressed
name scotty_serv_template
}
define servicedependency{
use scotty_serv_template
dependent_service_description Current Users
}
define servicedependency{
use scotty_serv_template
dependent_service_description Total Processes
}
define servicedependency{
use scotty_serv_template
dependent_service_description IMAP Service
}
define servicedependency{
use scotty_serv_template
dependent_service_description SMTP Service
}
define servicedependency{
use scotty_serv_template
dependent_service_description MySql Service
}
define servicedependency{
use scotty_serv_template
dependent_service_description Load Check
}
define servicedependency{
use scotty_serv_template
dependent_service_description Zombie Processes
}
define servicedependency{
use scotty_serv_template
dependent_service_description Memory Checking
}
define servicedependency{
use scotty_serv_template
dependent_service_description /dev/hda1 Free Space
}
define servicedependency{
use scotty_serv_template
dependent_service_description Bandwidth Check
}
define servicedependency{
use scotty_serv_template
dependent_service_description SNMP Check
}
define servicedependency{
use scotty_serv_template
dependent_service_description SSH service check
}
################################################################################
# HOST DEPENDENCY DEFINITIONS
#
# SYNTAX:
#
################################################################################
define hostdependency{
host_name hathway
dependent_host_name mindsw.com
notification_failure_criteria d,u
}
define hostdependency{
host_name scotty
dependent_host_name hathway
notification_failure_criteria d,u
}
###############################################################################
I have some basic questions about it.
What does hostdependency mean?
It should mean that when hathway is down , nagios should not even check
for the
services of mindsw.com, but we have to define the service dependencies
also, Why?
Even in service dependencies, i have defined that PING of mindsw.com is
dependent on PING of hathway and all the services of mindsw.com are
dependent on PING of mindsw.com. Even then, when hathway is down,
Should nagios ideally show the status of dependent services to be unknown
or critical when the service on which its dependent upon is down??
Thanks
Atul
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From atul at mindsw.com Fri Aug 16 08:35:01 2002
From: atul at mindsw.com (Atul Gosain)
Date: Fri, 16 Aug 2002 12:05:01 +0530 (IST)
Subject: query about service dependencies
Message-ID: <1247.202.88.151.191.1029479701.squirrel@www.webyarn.com>
Hi Nagios users
I have been trying to configure service dependencies on nagios but couldnt
understand how they r working.
In my case there r 3 hosts
scotty-->hathway-->mindsw.com
I have defined host dependencies for them in which mindsw.com is
dependent on
hathway and hathway is dependent on scotty.
I am pasting the dependencies file.
##########################################################################
#Scotty-->Hathway-->Mindsw.com
define servicedependency{
host_name scotty
service_description PING
dependent_host_name hathway
dependent_service_description PING
execution_failure_criteria w,u,c
notification_failure_criteria w,u,c
}
define servicedependency{
host_name scotty
service_description PING
dependent_host_name mindsw.com
dependent_service_description PING
execution_failure_criteria w,u,c
notification_failure_criteria w,u,c
}
define servicedependency{
host_name hathway
service_description PING
dependent_host_name mindsw.com
dependent_service_description PING
execution_failure_criteria w,u,c
notification_failure_criteria w,u,c
}
#servicedependency definition
define servicedependency{
host_name mindsw.com
service_description PING
dependent_host_name mindsw.com
dependent_service_description HTTP
execution_failure_criteria w,u,c ; These are the
criteria for
which check execution will be supressed
notification_failure_criteria w,u,c ; These are the criteria
for which
notifications will be supressed
name mindsw_serv_template
}
#servicedependency definition
define servicedependency{
host_name hathway
service_description PING
dependent_host_name scotty
dependent_service_description DNS check
execution_failure_criteria w,u,c ; These are the
criteria for
which check execution will be supressed
notification_failure_criteria w,u,c ; These are the criteria
for which
notifications will be supressed
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Current Users
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Total Processes
}
define servicedependency{
use mindsw_serv_template
dependent_service_description POP Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description IMAP Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description SMTP Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description MySql Service
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Load Check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Zombie Processes
}
define servicedependency{
use mindsw_serv_template
dependent_service_description Memory Checking
}
define servicedependency{
use mindsw_serv_template
dependent_service_description DNS check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description POP Relay Service Check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description SSH service check
}
define servicedependency{
use mindsw_serv_template
dependent_service_description /dev/hda1 Free Space
}
# Servicedependency definition
define servicedependency{
host_name scotty
service_description PING
dependent_host_name scotty
dependent_service_description HTTP
execution_failure_criteria w,u,c ; These are the
criteria for
which check execution will be supressed
notification_failure_criteria w,u,c ; These are the criteria
for which
notifications will be supressed
name scotty_serv_template
}
define servicedependency{
use scotty_serv_template
dependent_service_description Current Users
}
define servicedependency{
use scotty_serv_template
dependent_service_description Total Processes
}
define servicedependency{
use scotty_serv_template
dependent_service_description IMAP Service
}
define servicedependency{
use scotty_serv_template
dependent_service_description SMTP Service
}
define servicedependency{
use scotty_serv_template
dependent_service_description MySql Service
}
define servicedependency{
use scotty_serv_template
dependent_service_description Load Check
}
define servicedependency{
use scotty_serv_template
dependent_service_description Zombie Processes
}
define servicedependency{
use scotty_serv_template
dependent_service_description Memory Checking
}
define servicedependency{
use scotty_serv_template
dependent_service_description /dev/hda1 Free Space
}
define servicedependency{
use scotty_serv_template
dependent_service_description Bandwidth Check
}
define servicedependency{
use scotty_serv_template
dependent_service_description SNMP Check
}
define servicedependency{
use scotty_serv_template
dependent_service_description SSH service check
}
################################################################################
# HOST DEPENDENCY DEFINITIONS
#
# SYNTAX:
#
################################################################################
define hostdependency{
host_name hathway
dependent_host_name mindsw.com
notification_failure_criteria d,u
}
define hostdependency{
host_name scotty
dependent_host_name hathway
notification_failure_criteria d,u
}
###############################################################################
I have some basic questions about it.
What does hostdependency mean?
It should mean that when hathway is down , nagios should not even check
for the
services of mindsw.com, but we have to define the service dependencies
also, Why?
Even in service dependencies, i have defined that PING of mindsw.com is
dependent on PING of hathway and all the services of mindsw.com are
dependent on PING of mindsw.com. Even then, when hathway is down,
Should nagios ideally show the status of dependent services to be unknown
or critical when the service on which its dependent upon is down??
Thanks
Atul
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From uwe.zietzling at baw.de Fri Aug 16 10:58:04 2002
From: uwe.zietzling at baw.de (Zietzling, Uwe)
Date: Fri, 16 Aug 2002 10:58:04 +0200
Subject: quoting-problem in printf
Message-ID:
Hello!
I have got a "%" sign in my plugin-output. When Nagios executes the
/usr/bin/printf command-line in 'notify-by-email' (which is locatet in
commands.cfg), then Nagios takes "%" as a quoting-sign and abortes printing
the text behind.
f.e.
the mail-Output is:
WARNING -total: 800 MB -used: 672MB (84
but it should be:
WARNING -total: 800 MB -used: 672MB (84%) -free: 128 MB
I was trying to supress the special meaning of % by quoting it in my plugin
with ' and " , but nothing helped.
The only thing that solves that problem, is to quote it with another %- sign
in front: ....(84%%).. -then is the mail-Output ok but i have this double
%-Sign in Nagios-Output.
Knows someone how to solve this problem?
thanks in advance
Uwe
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From peichuin670 at hotmail.com Fri Aug 16 10:56:30 2002
From: peichuin670 at hotmail.com (Pei Chuin Chua)
Date: Fri, 16 Aug 2002 16:56:30 +0800
Subject: Verifying Configuration
Message-ID:
Help!
How do I parse the configuration file to get it running? Do I run the main
configuration script (perl)? Is this script provided when I untar the nagios
software? Or do I need to master perl language and generate my own script to
run the configuration file?
>From my questions one can tell I am a newbie. Yes I am.. a very new newbie
indeed! Your answers will be much appreciated! Sorry for the number of silly
questions!
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From dean.bishop at tcdsb.org Fri Aug 16 13:20:25 2002
From: dean.bishop at tcdsb.org (Bishop, Dean)
Date: Fri, 16 Aug 2002 07:20:25 -0400
Subject: quoting-problem in printf
Message-ID:
Good morning,
Normally the escape character is "\". If that doesn't work replace
"usr/bin/printf" with "/bin/echo -e" in your command lines of the hosts.cfg
file.
regards,
dean
-----Original Message-----
From: Zietzling, Uwe [mailto:uwe.zietzling at baw.de]
Sent: Friday, August 16, 2002 4:58 AM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] quoting-problem in printf
Hello!
I have got a "%" sign in my plugin-output. When Nagios executes the
/usr/bin/printf command-line in 'notify-by-email' (which is locatet in
commands.cfg), then Nagios takes "%" as a quoting-sign and abortes printing
the text behind.
f.e.
the mail-Output is:
WARNING -total: 800 MB -used: 672MB (84
but it should be:
WARNING -total: 800 MB -used: 672MB (84%) -free: 128 MB
I was trying to supress the special meaning of % by quoting it in my plugin
with ' and " , but nothing helped.
The only thing that solves that problem, is to quote it with another %- sign
in front: ....(84%%).. -then is the mail-Output ok but i have this double
%-Sign in Nagios-Output.
Knows someone how to solve this problem?
thanks in advance
Uwe
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From Matthew.Quinney at hollandandholland.com Fri Aug 16 15:23:22 2002
From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com)
Date: Fri, 16 Aug 2002 14:23:22 +0100
Subject: Check Ping & RH7.3
In-Reply-To: <1029432137.23503.6306.camel@linuxws1>
References: <1029432137.23503.6306.camel@linuxws1>
Message-ID:
Hello All,
I believe that a few people have found that when upgrading to RH 7.3 they
are unable to use check_ping. Has anybody found a solution other than
restoring an old copy of ping ?
Thanks
Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mpowell at ena.com Fri Aug 16 15:59:23 2002
From: mpowell at ena.com (Marc Powell)
Date: Fri, 16 Aug 2002 08:59:23 -0500
Subject: Check Ping & RH7.3
Message-ID: <5DB017510818EC468B05BD7BD9EACF8301E262CE@mismail.ena.com>
I just built a new 7.3 server and installed the latest nagios plugins and everything works great.
--
Marc
Sent from a very tiny wireless device with a very tiny keyboard. Please excuse any typos.
-----Original Message-----
From: Matthew.Quinney at hollandandholland.com
CC: nagios-users at lists.sourceforge.net
Sent: Fri Aug 16 08:23:22 2002
Subject: [Nagios-users] Check Ping & RH7.3
Hello All,
I believe that a few people have found that when upgrading to RH 7.3 they are unable to use check_ping. Has anybody found a solution other than restoring an old copy of ping ?
Thanks
Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From Matthew.Quinney at hollandandholland.com Fri Aug 16 16:15:55 2002
From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com)
Date: Fri, 16 Aug 2002 15:15:55 +0100
Subject: Check Ping & RH7.3
In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8301E262CE@mismail.ena.com>
References: <5DB017510818EC468B05BD7BD9EACF8301E262CE@mismail.ena.com>
Message-ID:
Hello All,
It appears it is RH 7.3 problem. I get an error....
[nagios at Pingu nagios]$ ping 160.5.82.129
ping: socket: Operation not permitted
I am searching the web now, but has anbody got any ideas ? The file
permissions are okay.
Thanks,
Matthew
---------------------------------------------------------------------------------------------------
Matthew Quinney
Certified Lotus Specialist
Network Manager
Holland & Holland Ltd
31-33 Bruton ST
London
Tel - 0207 4994411
email - matthew.quinney at hollandandholland.com
"Marc Powell"
Sent by: nagios-users-admin at lists.sourceforge.net
16/08/2002 14:59
To
cc
bcc
Subject
Re: [Nagios-users] Check Ping & RH7.3
I just built a new 7.3 server and installed the latest nagios plugins and
everything works great.
--
Marc
Sent from a very tiny wireless device with a very tiny keyboard. Please
excuse any typos.
-----Original Message-----
From: Matthew.Quinney at hollandandholland.com
CC: nagios-users at lists.sourceforge.net
Sent: Fri Aug 16 08:23:22 2002
Subject: [Nagios-users] Check Ping & RH7.3
Hello All,
I believe that a few people have found that when upgrading to RH 7.3 they
are unable to use check_ping. Has anybody found a solution other than
restoring an old copy of ping ?
Thanks
Matthew
_____________________________________________________________________
This e-mail has been scanned for viruses by the uuNet Internet Managed
Scanning Service - powered by MessageLabs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From 8lb4fmllhm001 at sneakemail.com Fri Aug 16 16:42:52 2002
From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com)
Date: 16 Aug 2002 10:42:52 -0400
Subject: compiling nsca-2.1 under Solaris8
Message-ID: <1553366353.1029509028859.JavaMail.root@monkey>
Jackson Sie wrote:
> Just do search and replace in the nsca source tree for 'u_int32_t' and
> replace with 'uint32_t'. That should do the trick. We had run into a
> similar problem as well when we were still thinking of using nsca...
Nope, errors still exist.
But you bring up a good question: Why *not* NSCA?
One thing that's been hammered into me on www.infrastructures.org: Have the clients contact the central server, not the other way around.
In the case of NSCA, I own Nagios and root on the monitoring server. It doesn't matter if someone merely grants me non-root access on their host; I can (once I get NSCA to compile :P ) just install NSCA and the plugins, and off I go.
In the case of NRPE, I'm guessing one needs root privs...? I can't say that I've taken a look at this tarball, so don't know if it requires a privileged port. (I realize that a privileged port isn't required for NSCA.) I'm also wondering about things like: scalability on the monitoring server, and (lack of) crypto/authentication on the client.
Thoughts?
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From kf64g001 at sneakemail.com Fri Aug 16 17:26:12 2002
From: kf64g001 at sneakemail.com (kf64g001 at sneakemail.com)
Date: 16 Aug 2002 11:26:12 -0400
Subject: (no subject)
Message-ID: <933346641.1029511629393.JavaMail.root@monkey>
Make sure that you have the setuid bit set, and owner set to root:
-rwsr-xr-x 1 root root 35192 Apr 18 16:40 /bin/ping
Matthew.Quinney at hollandandholland.com wrote:
>It appears it is RH 7.3 problem. I get an error....
>
>[nagios at Pingu nagios]$ ping 160.5.82.129
>ping: socket: Operation not permitted
>
>
>I am searching the web now, but has anbody got any ideas ? The file permissions are okay.
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From kf64g001 at sneakemail.com Fri Aug 16 17:28:58 2002
From: kf64g001 at sneakemail.com (kf64g001 at sneakemail.com)
Date: 16 Aug 2002 11:28:58 -0400
Subject: compiling nsca-2.1 under Solaris8
Message-ID: <1480637777.1029511798392.JavaMail.root@monkey>
DOH! I missed changing common/common.h :P
Got it to build now....
I'd still be interested in hearing a discussion of the relative merits of NSCA vs. NRPE, though. :)
> Jackson Sie wrote:
> > Just do search and replace in the nsca source tree for
> 'u_int32_t' and
> > replace with 'uint32_t'. That should do the trick. We had
> run into a
> > similar problem as well when we were still thinking of using nsca...
>
> Nope, errors still exist.
>
> But you bring up a good question: Why *not* NSCA?
>
> One thing that's been hammered into me on
> www.infrastructures.org: Have the clients contact the
> central server, not the other way around.
>
> In the case of NSCA, I own Nagios and root on the monitoring
> server. It doesn't matter if someone merely grants me
> non-root access on their host; I can (once I get NSCA to
> compile :P ) just install NSCA and the plugins, and off I go.
>
> In the case of NRPE, I'm guessing one needs root privs...? I
> can't say that I've taken a look at this tarball, so don't
> know if it requires a privileged port. (I realize that a
> privileged port isn't required for NSCA.) I'm also wondering
> about things like: scalability on the monitoring server, and
> (lack of) crypto/authentication on the client.
>
> Thoughts?
>
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From Matthew.Quinney at hollandandholland.com Fri Aug 16 17:50:15 2002
From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com)
Date: Fri, 16 Aug 2002 16:50:15 +0100
Subject: (no subject)
In-Reply-To: <933346641.1029511629393.JavaMail.root@monkey>
References: <933346641.1029511629393.JavaMail.root@monkey>
Message-ID:
My file has exactly the same security, size and date permissions as yours.
Sorry !!!
Here is my Nagios command if that has anything to do with it !
define command{
command_name check_ping
command_line /usr/local/nagios/libexec/check_ping -H
$HOSTADDRESS$ -w 8000,85% -c 10000,90%
}
---------------------------------------------------------------------------------------------------
Matthew Quinney
Certified Lotus Specialist
Network Manager
Holland & Holland Ltd
31-33 Bruton ST
London
Tel - 0207 4994411
email - matthew.quinney at hollandandholland.com
kf64g001 at sneakemail.com
Sent by: nagios-users-admin at lists.sourceforge.net
16/08/2002 16:26
To
nagios-users at lists.sourceforge.net
cc
bcc
Subject
[Nagios-users] (no subject)
Make sure that you have the setuid bit set, and owner set to root:
-rwsr-xr-x 1 root root 35192 Apr 18 16:40 /bin/ping
Matthew.Quinney at hollandandholland.com wrote:
>It appears it is RH 7.3 problem. I get an error....
>
>[nagios at Pingu nagios]$ ping 160.5.82.129
>ping: socket: Operation not permitted
>
>
>I am searching the web now, but has anbody got any ideas ? The file
permissions are okay.
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
_____________________________________________________________________
This e-mail has been scanned for viruses by the uuNet Internet Managed
Scanning Service - powered by MessageLabs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From sghosh at sghosh.org Fri Aug 16 18:21:27 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Fri, 16 Aug 2002 12:21:27 -0400 (EDT)
Subject: Check Ping & RH7.3
In-Reply-To:
References:
Message-ID:
I have no problems running ping on RH7.3
Is you /bin/ping setuid root?
-sg
On Fri, 16 Aug 2002 Matthew.Quinney at hollandandholland.com wrote:
> Hello All,
>
> It appears it is RH 7.3 problem. I get an error....
>
> [nagios at Pingu nagios]$ ping 160.5.82.129
> ping: socket: Operation not permitted
>
>
> I am searching the web now, but has anbody got any ideas ? The file
> permissions are okay.
>
> Thanks,
>
> Matthew
>
> Re: [Nagios-users] Check Ping & RH7.3
>
>
>
> I just built a new 7.3 server and installed the latest nagios plugins and
> everything works great.
>
>
> --
> Marc
>
> Subject: [Nagios-users] Check Ping & RH7.3
>
>
> Hello All,
>
> I believe that a few people have found that when upgrading to RH 7.3 they
> are unable to use check_ping. Has anybody found a solution other than
> restoring an old copy of ping ?
>
> Thanks
>
> Matthew
>
--
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From sghosh at sghosh.org Fri Aug 16 18:27:47 2002
From: sghosh at sghosh.org (Subhendu Ghosh)
Date: Fri, 16 Aug 2002 12:27:47 -0400 (EDT)
Subject: (no subject)
In-Reply-To:
References:
Message-ID:
Please don't send mail to the admin list.
If ping is not working form the command line - then nagios or netsaint
cannot do anything more.
First step would be get /bin/ping to work without socket errors.
If the permissions and timestamp match then you might want to reinstall
the iputils package...
-sg
On Fri, 16 Aug 2002 Matthew.Quinney at hollandandholland.com wrote:
> My file has exactly the same security, size and date permissions as yours.
> Sorry !!!
>
> Here is my Nagios command if that has anything to do with it !
>
>
> define command{
> command_name check_ping
> command_line /usr/local/nagios/libexec/check_ping -H
> $HOSTADDRESS$ -w 8000,85% -c 10000,90%
> }
>
>
> Subject
> [Nagios-users] (no subject)
>
>
>
> Make sure that you have the setuid bit set, and owner set to root:
>
> -rwsr-xr-x 1 root root 35192 Apr 18 16:40 /bin/ping
>
>
> Matthew.Quinney at hollandandholland.com wrote:
> >It appears it is RH 7.3 problem. I get an error....
> >
> >[nagios at Pingu nagios]$ ping 160.5.82.129
> >ping: socket: Operation not permitted
> >
> >
> >I am searching the web now, but has anbody got any ideas ? The file
> permissions are okay.
--
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
From mp at xmission.com Fri Aug 16 18:34:37 2002
From: mp at xmission.com (Myke Place)
Date: Fri, 16 Aug 2002 10:34:37 -0600 (MDT)
Subject: check_fping still reporting 'OK'
In-Reply-To: