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: References: Message-ID: On Thu, 15 Aug 2002, Subhendu Ghosh wrote: > Looks like something has changed with the latest fping... > > What OS are you running? do you have IPv6 enabled? uname -a;cat /etc/debian_version Linux stats 2.4.19-pre8-jam3 #1 SMP Tue May 21 10:56:00 MDT 2002 i686 unknown 3.0 I don't believe IPv6 support is compiled in currently. > Are you running fping from fping.org or the version patched by Tobias of > MRTG and RRD fame ? This is the fping which is included with Debian 3.0 (fping_2.4b2-to-ipv6-4_i386.deb) which appears to be packaged from the source code on fping.com. > -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 Daniel.Rusch at GlobalCrossing.com Fri Aug 16 18:46:32 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 16 Aug 2002 12:46:32 -0400 Subject: check_by_ssh Message-ID: <0DA06E553C3BD511823500508BB8965A02012039@exnadetmbx3.ams.gblxint.com> All, I am trying to do a check_by_ssh. I tried to run it from command line like this: ./check_by_ssh -H anotherBox /home/nagios/check_ping -L www.yahoo.com 25 50 200 1000 It fails and returns the following: No remotecmd If I ssh into the "antherBox" as nagios and run ./check_ping -L www.yahoo.com 25 50 200 1000 the check_ping works fine. any ideas? -----Original Message----- From: kf64g001 at sneakemail.com [mailto:kf64g001 at sneakemail.com] Sent: Friday, August 16, 2002 10:26 AM To: nagios-users at lists.sourceforge.net 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 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:55:12 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 16 Aug 2002 12:55:12 -0400 (EDT) Subject: check_fping still reporting 'OK' In-Reply-To: References: Message-ID: On Fri, 16 Aug 2002, Myke Place wrote: > On Thu, 15 Aug 2002, Subhendu Ghosh wrote: > > > Looks like something has changed with the latest fping... > > > > What OS are you running? do you have IPv6 enabled? > > uname -a;cat /etc/debian_version > Linux stats 2.4.19-pre8-jam3 #1 SMP Tue May 21 10:56:00 MDT 2002 i686 > unknown > 3.0 > > I don't believe IPv6 support is compiled in currently. > > > Are you running fping from fping.org or the version patched by Tobias of > > MRTG and RRD fame ? > > This is the fping which is included with Debian 3.0 > (fping_2.4b2-to-ipv6-4_i386.deb) which appears to be packaged from the > source code on fping.com. Try to back down one version to fping_2.4b2-to I can't seem to get the latest to work unless IPv6 is enabled on the system. But the FPING OK is still a bug - will take a look at it later today. -sg > > > -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 galimore at mac.com Fri Aug 16 19:00:46 2002 From: galimore at mac.com (Terry Simons) Date: Fri, 16 Aug 2002 11:00:46 -0600 Subject: check_by_ssh In-Reply-To: <0DA06E553C3BD511823500508BB8965A02012039@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A02012039@exnadetmbx3.ams.gblxint.com> Message-ID: One thing I notice is that you're using ./check_ping when doing the check locally, but you're using /home/nagios/check_ping when doing it remotely. Are you sure the path (/home/nagios/check_ping) is correct? Other than that, I'm not sure what the problem might be. - Terry On Friday, August 16, 2002, at 10:46 AM, Rusch, Daniel wrote: > All, > > I am trying to do a check_by_ssh. I tried to run it from command line > like > this: > > ./check_by_ssh -H anotherBox /home/nagios/check_ping -L www.yahoo.com > 25 50 > 200 1000 > > It fails and returns the following: > > No remotecmd > > If I ssh into the "antherBox" as nagios and run ./check_ping -L > www.yahoo.com 25 50 200 1000 > > the check_ping works fine. > > any ideas? > > > > > -----Original Message----- > From: kf64g001 at sneakemail.com [mailto:kf64g001 at sneakemail.com] > Sent: Friday, August 16, 2002 10:26 AM > To: nagios-users at lists.sourceforge.net > 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 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 18:58:05 2002 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Fri, 16 Aug 2002 17:58:05 +0100 Subject: Check Ping & RH7.3 - a workaround !!!! In-Reply-To: References: Message-ID: Dear All, Although I have not fixed it I have found a workaround. /bin/ping was set SUID root but it sill didnt work. I could run a ping from the command line when logged in as the nagios user but not it seems in combination with the check_ping script as distributed with V1.0b4, the script said it could not parse the output from ping. However with check_fping all seems fine (although I had to set this suid too). I hope this helps others ! Thank you all, 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 Subhendu Ghosh Sent by: nagios-users-admin at lists.sourceforge.net 16/08/2002 17:21 To nagios-users at lists.sourceforge.net cc bcc Subject Re: [Nagios-users] Check Ping & RH7.3 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 _______________________________________________ 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 Matthew.Quinney at hollandandholland.com Fri Aug 16 19:03:32 2002 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Fri, 16 Aug 2002 18:03:32 +0100 Subject: Check Ping & RH7.3 - a workaround !!!! In-Reply-To: References: Message-ID: DOH - thats it then !!! Oh well hopefully my mails will help somebody who makes this mistake too. Thank you all for your support ! Long live open source software and its communities ! 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 Subhendu Ghosh 16/08/2002 18:03 To Matthew.Quinney at hollandandholland.com cc nagios-users at lists.sourceforge.net bcc Subject Re: [Nagios-users] Check Ping & RH7.3 - a workaround !!!! On Fri, 16 Aug 2002 Matthew.Quinney at hollandandholland.com wrote: > Dear All, > > Although I have not fixed it I have found a workaround. > > /bin/ping was set SUID root but it sill didnt work. I could run a ping > from the command line when logged in as the nagios user but not it seems > in combination with the check_ping script as distributed with V1.0b4, the > script said it could not parse the output from ping. there is no check_ping distributed with v1.0b4 only with netsaint-plugins or nagios-plugins nagios-plugins supports the RH7.3 output, netsaint-plugins do not.. -sg > > However with check_fping all seems fine (although I had to set this suid > too). > > I hope this helps others ! > > Thank you all, > > 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 > > > > Subhendu Ghosh > Sent by: nagios-users-admin at lists.sourceforge.net > 16/08/2002 17:21 > > To > nagios-users at lists.sourceforge.net > cc > > bcc > > Subject > Re: [Nagios-users] Check Ping & RH7.3 > > > > 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 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 19:03:41 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 16 Aug 2002 13:03:41 -0400 (EDT) Subject: Check Ping & RH7.3 - a workaround !!!! In-Reply-To: References: Message-ID: On Fri, 16 Aug 2002 Matthew.Quinney at hollandandholland.com wrote: > Dear All, > > Although I have not fixed it I have found a workaround. > > /bin/ping was set SUID root but it sill didnt work. I could run a ping > from the command line when logged in as the nagios user but not it seems > in combination with the check_ping script as distributed with V1.0b4, the > script said it could not parse the output from ping. there is no check_ping distributed with v1.0b4 only with netsaint-plugins or nagios-plugins nagios-plugins supports the RH7.3 output, netsaint-plugins do not.. -sg > > However with check_fping all seems fine (although I had to set this suid > too). > > I hope this helps others ! > > Thank you all, > > 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 > > > > Subhendu Ghosh > Sent by: nagios-users-admin at lists.sourceforge.net > 16/08/2002 17:21 > > To > nagios-users at lists.sourceforge.net > cc > > bcc > > Subject > Re: [Nagios-users] Check Ping & RH7.3 > > > > 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 ajeffco at orhs.org Fri Aug 16 19:09:42 2002 From: ajeffco at orhs.org (Jeffcoat, Al) Date: Fri, 16 Aug 2002 13:09:42 -0400 Subject: Check Ping & RH7.3 Message-ID: <6319AEF0FF0BC4488F10029776CEAC07014EF452@MAIL01.orhs.org> I'm using RH7.3 also, no problems here. Al -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, August 16, 2002 9:59 AM To: Matthew.Quinney at hollandandholland.com Cc: nagios-users at lists.sourceforge.net 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ghelleks at mac.com Fri Aug 16 19:22:12 2002 From: ghelleks at mac.com (Gunnar Hellekson) Date: Fri, 16 Aug 2002 13:22:12 -0400 Subject: check_by_ssh In-Reply-To: <0DA06E553C3BD511823500508BB8965A02012039@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A02012039@exnadetmbx3.ams.gblxint.com> Message-ID: > From: "Rusch, Daniel" > Date: Fri, 16 Aug 2002 12:46:32 -0400 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_by_ssh > > All, > > I am trying to do a check_by_ssh. I tried to run it from command line like > this: > > ./check_by_ssh -H anotherBox /home/nagios/check_ping -L www.yahoo.com 25 50 > 200 1000 Seems you're missing the "-C" argument. That cmd should read: ./check_by_ssh -H anotherBox -C '/home/nagios/check_ping -L www.yahoo.com 25 50 200 1000' ------------------------------------------------------- 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 19:36:42 2002 From: fim32 at yahoo.com (Fred Im) Date: Fri, 16 Aug 2002 10:36:42 -0700 (PDT) Subject: Subject: RE: compiling nsca-2.1 under Solaris8 Message-ID: <20020816173642.77733.qmail@web10408.mail.yahoo.com> ok... i'll describe how i set up each of the pieces here (yes, i use both) to give some basis to how it looks to me... at the company i work for, we were faced with a dilemma; purchase another year of licensing for a monitoring product, or find something comparable and free... so someone mentioned netsaint, and we picked up nagios. nagios in itself is quite a nice product; it has a lot of hooks and useful pieces, and then there are other addons that provide other useful bits. the nicest part of nagios vs. netsaint are the templates, depending on your host set, you can make short work of a lot of configuring... but i'll relate that to nsca in a bit... currently, i'm monitoring 50+ hosts and running 500+ service monitors. all of this is a combination of nagios, nrpe, and nsca. nagios handles the backend stuff, that's the notifications, time periods and a majority of the service "gets" via mostly nrpe calls. we already had a monitoring infrastructure in place, so all of our nrpe traffic is behind the monitored equipment (in a monitoring network, per se) nrpe does not run under a privileged port, and does not require root access. nrpe does all of it's work as a special user i created for monitoring purposes. on all of the systems, this user doesn't even have a password (it only runs the nrpe daemon). using nrpe, i can get data directly from each of the servers, cpu/mem/disk usage, and some custom scripts for running apps, directly from the main nagios server. we have pockets of servers that are not in our datacenter. these pockets of servers (at most 3 or 4 machines) have a "local" monitoring server (something pretty small). so on the local monitoring servers, i had to reinstall nagios, copy most of my templates over, and then install nsca. the nagios is configured to not send any notifications, and to report all of its data (using the submit_check_result which in turn calls send_nsca) back to the main nagios engine. the main nagios server then handles the alerting. the nsca data has to travel over the internet. nagios runs pretty well, but here are some things that could use some improvement: the main nagios server and the pocket nagios server have to have their configs matched, when the passive checks come in, if there isn't a matching service listed in the main nagios server, then it throws it away. adding custom monitors (for nrpe) goes into the main nagios server config files AND the nrpe.cfg file on the individual server. this (nrpe.cfg) is primarily where the local customizations for threshholds go. it would be nicer if i could centralize all of the configs in one place, but it does work... so, in answer to your questions... you can't always have the client contact the server. in this case, and pretty much for any monitoring system, you want the monitoring server to fetch results. granted, nagios does have some nice hooks with the freshness checking and all... well, to install the software, nsca + plugins or nrpe + plugins, you gotta log into the machine and install the software... both don't require a privileged port; i suppose if you wanted to cron the nsca and plugins... but then, why use nagios if you're planning to cron anyways? when you get down to it, there ar egoing to be some differences between the clients (which stinks), i think nrpe makes a smoother integration of parts than nsca. in terms of scalability... i can't say that i've seen a big difference in usage for passive vs. active checks. nagios comparably uses cpu time vs. the other monitoring package we used... maybe someone else has better numbers on this? in terms of crypto for nrpe. while you CAN run any command with nrpe and return it as a check, you have to specifically list the allowed commands and allowed hosts from which to connect from. in terms of someone sniffing and reading your monitored results... um... if you saw "DISK ok [34% used]" in a packet, what would you do with it? i suppose you could trick the master server into accepting bad data... but what would that do? send an extra alert? i would advise this... take care in the commands you allow to run... fred > 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? > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.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 jmarquart at planalytics.com Fri Aug 16 19:35:52 2002 From: jmarquart at planalytics.com (jmarquart at planalytics.com) Date: Fri, 16 Aug 2002 13:35:52 -0400 Subject: check_by_ssh Message-ID: <85256C17.0060AB62.00@mailhost.planalytics.com> Hmm that answers a problem i have had - which convinced me to run check_by_ssh form the netsaint plugin package. simple usage help (i.e. check_by_ssh w/out any args) - says that you can omit the -C - that the -C is only needed to run passive mode - multiple checks. with the netsaint plugins - it functions correctly that way as well so - it the nagios plugin wrong when it says: check_by_ssh [-f] [-t timeout] [--i identity] [-l user] -H ... or is it just that without the -C - it has trouble parsing the command? also - does anyone have an instance of using multiple -C for passive mode? (and is it a passive check? or some other passive mode? -john Gunnar Hellekson on 08/16/2002 01:22:12 PM To: nagios-users cc: "Rusch, Daniel" (bcc: John J. der Schalla Marquart/Planalytics) Subject: Re: [Nagios-users] check_by_ssh > From: "Rusch, Daniel" > Date: Fri, 16 Aug 2002 12:46:32 -0400 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_by_ssh > > All, > > I am trying to do a check_by_ssh. I tried to run it from command line like > this: > > ./check_by_ssh -H anotherBox /home/nagios/check_ping -L www.yahoo.com 25 50 > 200 1000 Seems you're missing the "-C" argument. That cmd should read: ./check_by_ssh -H anotherBox -C '/home/nagios/check_ping -L www.yahoo.com 25 50 200 1000' ------------------------------------------------------- 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 ghelleks at mac.com Fri Aug 16 19:49:48 2002 From: ghelleks at mac.com (Gunnar Hellekson) Date: Fri, 16 Aug 2002 13:49:48 -0400 Subject: check_by_ssh In-Reply-To: <85256C17.0060AB62.00@mailhost.planalytics.com> References: <85256C17.0060AB62.00@mailhost.planalytics.com> Message-ID: > From: jmarquart at planalytics.com > Date: Fri, 16 Aug 2002 13:35:52 -0400 > To: nagios-users > Subject: Re: [Nagios-users] check_by_ssh > > or is it just that without the -C - it has trouble parsing the command? You could try enclosing the command in quotes, and see if that works: ./check_by_ssh -H anotherBox '/home/nagios/check_ping -L www.yahoo.com 25 50 200 1000' Without the quotes, check_by_ssh will treat each portion of the remotecmd as an argument for itself, not for check_ping. > also - does anyone have an instance of using multiple -C for passive mode? > (and is it a passive check? or some other passive mode? ------------------------------------------------------- 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 20:24:50 2002 From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com) Date: 16 Aug 2002 14:24:50 -0400 Subject: Subject: RE: compiling nsca-2.1 under Solaris8 Message-ID: <237763921.1029522319772.JavaMail.root@monkey> Fred Im wrote: > ok... i'll describe how i set up each of the pieces here > (yes, i use both) to > give some basis to how it looks to me... [snip] Alright, I can see that. Now here's a curve ball: Why not just use check_by_ssh instead of NRPE? ----------------------------------------------------- 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 roberto at quantiva.com Fri Aug 16 20:45:56 2002 From: roberto at quantiva.com (Roberto Moral) Date: 16 Aug 2002 14:45:56 -0400 Subject: Fail Over/vent handlers not working. Message-ID: <1029523555.4957.12.camel@dhcppc4> Hello there, I am trying to set up a basic fail over procedure following the steps outlined in the Documentation and using the scripts provided in the distribution ( Nagios 1.0b5). Monitoring the master hosts and the Nagios process in the master log works, and I see the event handler being called (handle-master-proc-event, handle-master-host-event). However fail over doesn't happen, after debugging the scripts (handle-master-proc-event, handle-master-host-event) I found out that the event doesn't pass the state of the master server to the script, this is easy to find out by putting a echo $1 $2 before the case statement and sending that to a file, after Nagios detecting the problem and issuing the handler event the file gets created but it is empty (no arguments are passed by event handler). If I run the scripts manually passing the right parameters and it worked without a problem. Any ideas on how to fix this behavior? Roberto Moral SR. UNIX Systems Administrator ------------------------------------- roberto at quantiva.com Tel: 609-514-8513 | cell: 609-346-5601 Quantiva, inc. 100 Village Blvd. 3rd Floor Princeton, NJ 08540 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part URL: From fim32 at yahoo.com Fri Aug 16 21:34:40 2002 From: fim32 at yahoo.com (Fred Im) Date: Fri, 16 Aug 2002 12:34:40 -0700 (PDT) Subject: compiling nsca-2.1 under Solaris8 Message-ID: <20020816193440.5122.qmail@web10404.mail.yahoo.com> certainly that is an option. and it actually works out pretty well (the previous monitoring system we were using did a similar kind of thing using ssh. cons: 1) scalability, when nagios (or any other monitoring server) has to open an ssh session any time it wants to get data, it uses a pretty good amount of cpu time... 2) security, seems funny, i know. to use any scripted ssh daemon, you either have to put the passphrase somewhere or the password. neither is a favorable way to go. and the user you're logging in as on the remote host has to have login access, something you don't need for the nrpe daemon. simply put, using ssh, you have encrypted the traffic, but the user can run anything. with nrpe, someone may see some odd traffic to the effect of "Test OK [5% of 6MB]", but they can only run what you've let them run in the nrpe.cfg file. fred >Fred Im wrote: >> ok... i'll describe how i set up each of the pieces here >> (yes, i use both) to >> give some basis to how it looks to me... > >[snip] > >Alright, I can see that. > >Now here's a curve ball: Why not just use check_by_ssh instead of NRPE? __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.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 fim32 at yahoo.com Fri Aug 16 21:48:25 2002 From: fim32 at yahoo.com (Fred Im) Date: Fri, 16 Aug 2002 12:48:25 -0700 (PDT) Subject: Fwd: RE: RE: compiling nsca-2.1 under Solaris8 Message-ID: <20020816194825.43791.qmail@web10407.mail.yahoo.com> oops, i sent to wrong email --- Fred Im wrote: > Date: Fri, 16 Aug 2002 12:46:28 -0700 (PDT) > From: Fred Im > Subject: RE: RE: [Nagios-users] compiling nsca-2.1 under Solaris8 > To: "Jolet, John" > CC: nagios-users-request at lists.sourceforge.net > > while technically this is true, there needs to be some kind of authentication > that takes place. > > your choices, with ssh are: > 1) by password, > 2) public-key (with passphrase), > 3) public-key (no passphrase). > > which means: > 1) your password needs to be stored on the server > 2) your passphrase needs to be stored on the server > 3) logging into your server potentially means that they can then proceed to > log in to any of your monitored hosts. > > so, yes you COULD not require a password/passphrase for ssh, but it is pretty > dependent on your comfort level with your system and it's users. everyone > likes to use public-keys with no passphrases (i admit, there are places where > i'm guilty of that as well), but i still try to tell people... if your > private > key is on a shared system, you really should set a passphrase... > > fred > --- "Jolet, John" wrote: > > no, ssh does NOT require the password....public/private key logins. > > > > -----Original Message----- > > From: Fred Im [mailto:fim32 at yahoo.com] > > Sent: Friday, August 16, 2002 2:35 PM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: RE: [Nagios-users] compiling nsca-2.1 under Solaris8 > > > > > > certainly that is an option. and it actually works out pretty well (the > > previous monitoring system we were using did a similar kind of thing using > > ssh. > > > > cons: > > 1) scalability, when nagios (or any other monitoring server) has to open an > > ssh > > session any time it wants to get data, it uses a pretty good amount of cpu > > time... > > > > 2) security, seems funny, i know. to use any scripted ssh daemon, you > > either > > have to put the passphrase somewhere or the password. neither is a > > favorable > > way to go. and the user you're logging in as on the remote host has to > have > > login access, something you don't need for the nrpe daemon. > > > > simply put, using ssh, you have encrypted the traffic, but the user can run > > anything. with nrpe, someone may see some odd traffic to the effect of > > "Test > > OK [5% of 6MB]", but they can only run what you've let them run in the > > nrpe.cfg > > file. > > > > fred > > > > >Fred Im wrote: > > >> ok... i'll describe how i set up each of the pieces here > > >> (yes, i use both) to > > >> give some basis to how it looks to me... > > > > > >[snip] > > > > > >Alright, I can see that. > > > > > >Now here's a curve ball: Why not just use check_by_ssh instead of NRPE? > > > > > > __________________________________________________ > > Do You Yahoo!? > > HotJobs - Search Thousands of New Jobs > > http://www.hotjobs.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 > > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.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 fim32 at yahoo.com Fri Aug 16 21:51:28 2002 From: fim32 at yahoo.com (Fred Im) Date: Fri, 16 Aug 2002 12:51:28 -0700 (PDT) Subject: compiling nsca-2.1 under Solaris8 In-Reply-To: References: Message-ID: <20020816195128.88700.qmail@web10410.mail.yahoo.com> yeah, ssh can eat quite a bit of cpu... fred --- "Jolet, John" wrote: > true, i usually go with the no passphrase, but as an untrusted user. I find > the overhead of ssh prohibitive, and go with npre, myself. > > -----Original Message----- > From: Fred Im [mailto:fim32 at yahoo.com] > Sent: Friday, August 16, 2002 2:46 PM > To: Jolet, John > Cc: nagios-users-request at lists.sourceforge.net > Subject: RE: RE: [Nagios-users] compiling nsca-2.1 under Solaris8 > > > while technically this is true, there needs to be some kind of > authentication > that takes place. > > your choices, with ssh are: > 1) by password, > 2) public-key (with passphrase), > 3) public-key (no passphrase). > > which means: > 1) your password needs to be stored on the server > 2) your passphrase needs to be stored on the server > 3) logging into your server potentially means that they can then proceed > to > log in to any of your monitored hosts. > > so, yes you COULD not require a password/passphrase for ssh, but it is > pretty > dependent on your comfort level with your system and it's users. everyone > likes to use public-keys with no passphrases (i admit, there are places > where > i'm guilty of that as well), but i still try to tell people... if your > private > key is on a shared system, you really should set a passphrase... > > fred > --- "Jolet, John" wrote: > > no, ssh does NOT require the password....public/private key logins. > > > > -----Original Message----- > > From: Fred Im [mailto:fim32 at yahoo.com] > > Sent: Friday, August 16, 2002 2:35 PM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: RE: [Nagios-users] compiling nsca-2.1 under Solaris8 > > > > > > certainly that is an option. and it actually works out pretty well (the > > previous monitoring system we were using did a similar kind of thing using > > ssh. > > > > cons: > > 1) scalability, when nagios (or any other monitoring server) has to open > an > > ssh > > session any time it wants to get data, it uses a pretty good amount of cpu > > time... > > > > 2) security, seems funny, i know. to use any scripted ssh daemon, you > > either > > have to put the passphrase somewhere or the password. neither is a > > favorable > > way to go. and the user you're logging in as on the remote host has to > have > > login access, something you don't need for the nrpe daemon. > > > > simply put, using ssh, you have encrypted the traffic, but the user can > run > > anything. with nrpe, someone may see some odd traffic to the effect of > > "Test > > OK [5% of 6MB]", but they can only run what you've let them run in the > > nrpe.cfg > > file. > > > > fred > > > > >Fred Im wrote: > > >> ok... i'll describe how i set up each of the pieces here > > >> (yes, i use both) to > > >> give some basis to how it looks to me... > > > > > >[snip] > > > > > >Alright, I can see that. > > > > > >Now here's a curve ball: Why not just use check_by_ssh instead of NRPE? > > > > > > __________________________________________________ > > Do You Yahoo!? > > HotJobs - Search Thousands of New Jobs > > http://www.hotjobs.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 > > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.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 21:57:35 2002 From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com) Date: 16 Aug 2002 15:57:35 -0400 Subject: compiling nsca-2.1 under Solaris8 Message-ID: <1877556561.1029527906600.JavaMail.root@monkey> Fred Im wrote: > cons: > 1) scalability, when nagios (or any other monitoring server) > has to open an ssh > session any time it wants to get data, it uses a pretty good > amount of cpu > time... This did spring to mind. :-/ > 2) security, seems funny, i know. to use any scripted ssh > daemon, you either > have to put the passphrase somewhere or the password. > neither is a favorable > way to go. and the user you're logging in as on the remote > host has to have > login access, something you don't need for the nrpe daemon. Actually, you can set up a null passphrase (at least with v.2), drop the public key on the clients (authorized_keys2) and keep the private key only on the Nagios host. Optionally you can modify authorized_keys2 to limit what can be done whilst authenticating with that key. As for login access... assuming you don't have root access to the client, and assuming you've only been granted the one login on the client... you don't have too many options for installing the plugins. > simply put, using ssh, you have encrypted the traffic, but > the user can run > anything. with nrpe, someone may see some odd traffic to the > effect of "Test > OK [5% of 6MB]", but they can only run what you've let them > run in the nrpe.cfg > file. Again, with authenticated_keys2, you can restrict which command(s) the user can run. I might be wrong, but I think you can even specify from which IP address. And it'll be a little difficult for them to run anything, if they don't have the password/private key. ;) NRPE does seem much more lightweight, but if the daemon exits (for whatever reason, including a naive sysadmin who does a "pkill nagios"), you're rooked. Granted, the same can be said of sshd.... Okay, so I'm reaching here. ;) ----------------------------------------------------- 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 John.Jolet at misyshealthcare.com Fri Aug 16 22:00:01 2002 From: John.Jolet at misyshealthcare.com (Jolet, John) Date: Fri, 16 Aug 2002 16:00:01 -0400 Subject: compiling nsca-2.1 under Solaris8 Message-ID: if nrpe dies for whatever reason, you get critical alerts. -----Original Message----- From: 8lb4fmllhm001 at sneakemail.com [mailto:8lb4fmllhm001 at sneakemail.com] Sent: Friday, August 16, 2002 2:58 PM To: nagios-users at lists.sourceforge.net Subject: RE: RE: [Nagios-users] compiling nsca-2.1 under Solaris8 Fred Im wrote: > cons: > 1) scalability, when nagios (or any other monitoring server) > has to open an ssh > session any time it wants to get data, it uses a pretty good > amount of cpu > time... This did spring to mind. :-/ > 2) security, seems funny, i know. to use any scripted ssh > daemon, you either > have to put the passphrase somewhere or the password. > neither is a favorable > way to go. and the user you're logging in as on the remote > host has to have > login access, something you don't need for the nrpe daemon. Actually, you can set up a null passphrase (at least with v.2), drop the public key on the clients (authorized_keys2) and keep the private key only on the Nagios host. Optionally you can modify authorized_keys2 to limit what can be done whilst authenticating with that key. As for login access... assuming you don't have root access to the client, and assuming you've only been granted the one login on the client... you don't have too many options for installing the plugins. > simply put, using ssh, you have encrypted the traffic, but > the user can run > anything. with nrpe, someone may see some odd traffic to the > effect of "Test > OK [5% of 6MB]", but they can only run what you've let them > run in the nrpe.cfg > file. Again, with authenticated_keys2, you can restrict which command(s) the user can run. I might be wrong, but I think you can even specify from which IP address. And it'll be a little difficult for them to run anything, if they don't have the password/private key. ;) NRPE does seem much more lightweight, but if the daemon exits (for whatever reason, including a naive sysadmin who does a "pkill nagios"), you're rooked. Granted, the same can be said of sshd.... Okay, so I'm reaching here. ;) ----------------------------------------------------- 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 8lb4fmllhm001 at sneakemail.com Fri Aug 16 22:17:31 2002 From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com) Date: 16 Aug 2002 16:17:31 -0400 Subject: compiling nsca-2.1 under Solaris8 Message-ID: <126025041.1029529129995.JavaMail.root@monkey> Jolet, John wrote: > if nrpe dies for whatever reason, you get critical alerts. I realize this. But that's not much comfort if a) it's 3:00am, and b) you have no way to login to the box to restart the process. I sense this is getting off-topic, so I'll wrap this up by saying "You've all given me food for thought," which you have. :) ----------------------------------------------------- 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 sghosh at sghosh.org Fri Aug 16 22:26:08 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 16 Aug 2002 16:26:08 -0400 (EDT) Subject: check_by_ssh In-Reply-To: <85256C17.0060AB62.00@mailhost.planalytics.com> References: <85256C17.0060AB62.00@mailhost.planalytics.com> Message-ID: The command must be enclosed in quotes if it consists of multiple words regardless of whether -C is used or not. The recommend way is to use -C and not a positional paramter. @!~* thought I had found all the positional paramenters :( -sg On Fri, 16 Aug 2002 jmarquart at planalytics.com wrote: > > > Hmm that answers a problem i have had - which convinced me to run check_by_ssh > form the netsaint plugin package. > > simple usage help (i.e. check_by_ssh w/out any args) - says that you can omit > the -C - that the -C is only needed to run passive mode - multiple checks. > > with the netsaint plugins - it functions correctly that way as well > > so - it the nagios plugin wrong when it says: > > check_by_ssh [-f] [-t timeout] [--i identity] [-l user] -H ... > > or is it just that without the -C - it has trouble parsing the command? > > > also - does anyone have an instance of using multiple -C for passive mode? > (and is it a passive check? or some other passive mode? > > > -john > > > > > > > Gunnar Hellekson on 08/16/2002 01:22:12 PM > > > > > To: nagios-users > cc: "Rusch, Daniel" (bcc: John J. der > Schalla Marquart/Planalytics) > > Subject: Re: [Nagios-users] check_by_ssh > > > > > > > > From: "Rusch, Daniel" > > Date: Fri, 16 Aug 2002 12:46:32 -0400 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_by_ssh > > > > All, > > > > I am trying to do a check_by_ssh. I tried to run it from command line like > > this: > > > > ./check_by_ssh -H anotherBox /home/nagios/check_ping -L www.yahoo.com 25 50 > > 200 1000 > > Seems you're missing the "-C" argument. That cmd should read: > > ./check_by_ssh -H anotherBox -C '/home/nagios/check_ping -L www.yahoo.com 25 > 50 200 1000' > > > > ------------------------------------------------------- > 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 Nolan.Martin at co.travis.tx.us Fri Aug 16 23:08:46 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 16 Aug 2002 16:08:46 -0500 Subject: Service checks still not being executed Message-ID: Darren, Did you reach a resolution to this? I was following your thread, but it stops abruptly (unless I missed some e-mails). I seem to be running into the same issue. I started off with Nagios simply doing a check_ping against 200 devices. That was running very smoothly, and so I have recently expanded upon that to do application and process monitoring against each of our NetWare servers (using the MRTGEXT.NLM already on our servers). Now I see periods of time where services are not routinely being checked, while others in the list continue to be checked. Running a ps -aux on the Nagios box, I continue to periodic polling process being initiated. I also see numerous Nagios processes, which I recall you pointing out as well. I know Ethan recommended a few changes. Did these changes resolve your problem? I am currently running Nagios 1.0b3 on a workstation class machine using Red Hat 7.3. I recall that you were running Nagios on a reasonably robust machine and were not experiencing a heavy load. Appreciate your feedback or any others that might be able to assist. Thanks. >>> Darren Gamble 06/25/02 10:56AM >>> Good day, > > Does anyone have any idea what could cause this? Is this a > bug? Is there > > anything else that should be checked or could be provided? > > Not executed service checks are active or passive? They're all active checks. I am not presently using passive checks. > One crazy idea which works for me ir try to strace nagios > main process. > "strace -p 2> /dev/null". Just run this command and press > > after something like 20-30 seconds. > You may need to install strace RPM. > > Mindaugas OK, but, what am I looking for? ============================ 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: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ 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 Darren.Gamble at sjrb.ca Fri Aug 16 23:30:13 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Fri, 16 Aug 2002 15:30:13 -0600 Subject: Service checks still not being executed Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB4A5@shawmail02> Good day, > Darren, > > Did you reach a resolution to this? I was following your thread, but > it stops abruptly (unless I missed some e-mails). It stopped abruptly. There was no resolution. However, I have not been able to reproduce the problem since then, and my configuration has been under constant tweaking since then, so it could have been any number of things. > I know Ethan recommended a few changes. Did these changes > resolve your > problem? No, they did not (most were already in place). However the recommendations involved changing how Nagios schedules its services. The problem I observed was that services didn't actually get executed when they were scheduled. > I am currently running Nagios 1.0b3 on a workstation class machine > using Red Hat 7.3. I recall that you were running Nagios on a > reasonably robust machine and were not experiencing a heavy load. > > Appreciate your feedback or any others that might be able to assist. > > Thanks. I'm afraid I don't have much to offer. The group here is a good bunch, though. Hopefully someone else will be able to offer some assistance. As a workaround, try stopping the service, destroying your status and nagios log, and restarting the process (forcing Nagios to reschedule everything). That _sometimes_ worked for me, when I had this problem. Some questions that might help people help you: Do you have any service checks that have long scheduled intervals? Do you note that most services get checked, while a handful don't ever get checked? Do those services have a scheduled check time that they exceed? Do you sometimes leave the monitoring process offline for some time? Does the problem start when you start up the process? ============================ 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 Nolan.Martin at co.travis.tx.us Fri Aug 16 23:59:50 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Fri, 16 Aug 2002 16:59:50 -0500 Subject: Service checks still not being executed Message-ID: And you encountered this while you were running 1.0b4 (whereas I am on 1.0b3) and the problem went away (I assume) while you were/are still on 1.0b4? In other words, I take it you resolved this problem prior to this latest release... I had seen in your previous e-mails about deleting the status and Nagios logs, and restarting - and that it worked sometimes for you... but I have not tried that yet, based on the fact that it seemed to only work intermittently for you. I am currently running the process manually from a shell console prompt. I have found that if I simply stop it (CTL-C) and restart it, that it seems to get better, but only for awhile. But, like you also mentioned, I have found that after some periods of time, that they just begin working again on their own. Here are my answers to the questions you posed... >> Some questions that might help people help you: >> Do you have any service checks that have long scheduled intervals? I am currently running all service checks at 5 minute intervals. >> Do you note that most services get checked, while a handful don't ever get checked? Sort of. What I have found is that most continue to check regularly. However, some just stick indefinitely. However, after some extended periods of time, hours or so, they may begin processing again, while others seem to continue to stick. >> Do those services have a scheduled check time that they exceed? Can you clarify this? If I understand correctly, yes - if I watch the Scheduling Queue, I notice that they are behind schedule as they sit at the top of the queue. >>Do you sometimes leave the monitoring process offline for some time? No, it is running constantly, and has run constantly for some time. >> Does the problem start when you start up the process? Actually, restarting the process seems to help clear things up, but after awhile, service checks will continue to hang or stop processing... I appreciate any suggestions or assistance. Darren - you mention that you made a variety of tweaking and changes. Is there anything you can think of to list that you did that might possibly have corrected this? Thanks. >>> Darren Gamble 08/16/02 04:30PM >>> Good day, > Darren, > > Did you reach a resolution to this? I was following your thread, but > it stops abruptly (unless I missed some e-mails). It stopped abruptly. There was no resolution. However, I have not been able to reproduce the problem since then, and my configuration has been under constant tweaking since then, so it could have been any number of things. > I know Ethan recommended a few changes. Did these changes > resolve your > problem? No, they did not (most were already in place). However the recommendations involved changing how Nagios schedules its services. The problem I observed was that services didn't actually get executed when they were scheduled. > I am currently running Nagios 1.0b3 on a workstation class machine > using Red Hat 7.3. I recall that you were running Nagios on a > reasonably robust machine and were not experiencing a heavy load. > > Appreciate your feedback or any others that might be able to assist. > > Thanks. I'm afraid I don't have much to offer. The group here is a good bunch, though. Hopefully someone else will be able to offer some assistance. As a workaround, try stopping the service, destroying your status and nagios log, and restarting the process (forcing Nagios to reschedule everything). That _sometimes_ worked for me, when I had this problem. Some questions that might help people help you: Do you have any service checks that have long scheduled intervals? Do you note that most services get checked, while a handful don't ever get checked? Do those services have a scheduled check time that they exceed? Do you sometimes leave the monitoring process offline for some time? Does the problem start when you start up the process? ============================ 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 _______________________________________________ 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 blange at imperialinc.com Thu Aug 15 22:39:58 2002 From: blange at imperialinc.com (blange) Date: Thu, 15 Aug 2002 15:39:58 -0500 Subject: Monitoring Individual Programs Message-ID: As Quoted By Darren: 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. I am wondering how to actually do this. For instance, lets take Windows 2000 . . . Using SNMP I can look at the current processes running and if I know the PID I can use ./check_snmp to match the string of the service running. However, everytime the machine would be rebooted I would have to configure Nagios with the new OID. I am wondering if there is a way to check all running services and see if there is a string to match the program in question. Is this possible? If not, what are you referring to above? -Brian ------------------------------------------------------- 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 demarest at arraycomm.com Sun Aug 18 00:04:47 2002 From: demarest at arraycomm.com (Timothy Demarest) Date: Sat, 17 Aug 2002 15:04:47 -0700 (PDT) Subject: External commands not working from CGI Message-ID: <29536.64.175.65.197.1029621887.squirrel@webmail.arraycomm.com> Hello Nagios Users: We've been running Netsaint, now Nagios for some time with no problems. System is Solaris 8, with 1.0b5 (was 1.0b4 up until today) with MySQL as the backend database. The CGI interface works flawlessly, and reports the correct user logged in, etc. The one problem I am having is that external commands are not processed from the CGI interface. For example, I cannot disable notifications or service checks, nor can I leave comments. The config files are configured properly to check for external commands, and I am authorized in the config files along with the nagios user. The permissions are also correct, and the user Apache runs as has access to the command file. When I try to leave a comment, it says that it has and that it may take a few minutes for the command to be processed. It never is processed, nor is anything written in the logs (I have external command log set on). Interestingly, event handlers work fine from the shell. I wrote a simple perl script to disble or enable notifications, and when I run that from a shell as the Apache user it works great -- notifications are enabled or disabled and show as such in the web interface! Any ideas on why external commands work fine from a shell, but not from the CGI interface? Regards, Tim ------------------------------------------------------- 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 rue at thinlayer.co.uk Sun Aug 18 03:23:08 2002 From: rue at thinlayer.co.uk (Rue Turner) Date: Sun, 18 Aug 2002 02:23:08 +0100 Subject: nagat mysql Message-ID: <3D5EF6FC.80600@thinlayer.co.uk> Warning - slightly off topic (nagat lists are SO inactive) Has anyone sucessfuly written a nagat plugin for mysql? I've written a very dirty hack to let me use mysql for the hostextinfo in nagat (ask if you wanna try it) but as there isn't much doc on nagat plugins I didn't do it the 'proper' way. Anyone had any fun with it? chrz ------------------------------------------------------- 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 todd.jones at weirslurry.com Sun Aug 18 06:26:01 2002 From: todd.jones at weirslurry.com (todd.jones at weirslurry.com) Date: Sat, 17 Aug 2002 23:26:01 -0500 Subject: External Command problems Message-ID: I'm running Nagios 1.0b5 on RedHat7.3. I cannot get the external commands to run. Every time I try, I receive the following message. Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! The external command file may be missing. Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. I have looked back at previous posts and have not been able to find anything over the past couple months. I have followed the instructions in the documentation. Here are the details. /usr/local/nagios/var/rw/nagios.cmd prw-rw---- 1 nagios nagiocmd 0 Aug 17 22:52 nagios.cmd /usr/local/var/rw drwxrwS--- 2 nagios nagiocmd 4096 Aug 17 22:52 rw Apache runs as the apache user. Here's an example output from ps. apache 14540 0.0 0.3 81988 8372 ? S 22:52 0:00 /usr/sbin/httpd I have created the group nagiocmd and added nagios and apache to this group. nagios.cfg check_external_commands=1 command_file=/usr/local/nagios/var/rw/nagios.cmd command_check_interval=-1 cgi.cfg use_authentication=1 All lines beginning with 'authorized_for' I have an '*' as the value. I'm using base apache authentication which appears to be working fine. If I click on 'Process Info' from my Nagios site, it says OK for process status, so, I think this is okay. I'm stumped and have never been able to get this to work, even under Netsaint. I would greatly appreciate your time to look into this. Regards, Todd Jones Network Administrator Weir Slurry ------------------------------------------------------- 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 g.vickers at qut.edu.au Mon Aug 19 01:33:00 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 19 Aug 2002 09:33:00 +1000 Subject: Nagios on Debian Message-ID: <5.1.0.14.2.20020819092856.02e36a00@pop.qut.edu.au> Hi all, I am in the process of installing Nagios on Debian (Woody, stable) and was wondering if anyone else on the list had done such a thing? I'm having a few problems (like when I manually run nagios (config checking reports all OK prior to this), it seems that the cgi's can't be contacted, or at least I get that black web page 'Error: Could not read host and service status information!' despite Nagios running happily) Does anyone have any pointers or tips for me? Thanks, ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 -------------- next part -------------- An HTML attachment was scrubbed... URL: From halim at bankislam.com.my Mon Aug 19 08:37:52 2002 From: halim at bankislam.com.my (Halim Saleh - IT) Date: Mon, 19 Aug 2002 14:37:52 +0800 Subject: Plugin for checking file size Message-ID: Hi, do anybody know how to monitor spesific file size. I need to monitor *.dat file on remote NT server. Curently, I manage to monitor the HDD space using ./check_disk_smb . Do anybody have a good solution on this? tq ------------------------------------------------------- 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 fmiralles at espanix.net Mon Aug 19 13:54:11 2002 From: fmiralles at espanix.net (Francisco Miralles Argente) Date: Mon, 19 Aug 2002 13:54:11 +0200 Subject: Problem with grafics libraries in debian Message-ID: <00ff01c24777$227db820$92307fc1@portable> I had nagios runing in RedHat without problems, but now I must to run it in a Debian. When I run the scrip "configure" get his message: checking for gdImagePng in -lgd (order 1)... (cached) no checking for gdImagePng in -lgd (order 2)... (cached) no checking for gdImagePng in -lgd (order 3)... (cached) no I have installed all developenment libraries png, gd and jpeg of distribution but I get the same problem. Anyone knows how to fix this problem? TIA. -------------- next part -------------- An HTML attachment was scrubbed... URL: From freddy.frouin at fluxus.net Mon Aug 19 14:15:20 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Mon, 19 Aug 2002 14:15:20 +0200 Subject: Problem with grafics libraries in debian In-Reply-To: <00ff01c24777$227db820$92307fc1@portable> References: <00ff01c24777$227db820$92307fc1@portable> Message-ID: <20020819141520.20e43893.freddy.frouin@fluxus.net> Hi, It seems that the information has been cached by the configure script at the first run. Go in the nagios source directory and do: #rm .config.cache Then, before running configure again, look on your system if the gd library has been loaded by the library loader: #/sbin/ldconfig -p | grep libgdgd On my system, I get the following output: ... some other libs ... libgd.so.1 (libc6) => /usr/lib/libgd.so.1 libgd.so (libc6) => /usr/lib/libgd.so If you have this as output, the configure script should find the gd lib. Freddy. On Mon, 19 Aug 2002 13:54:11 +0200 "Francisco Miralles Argente" wrote: > I had nagios runing in RedHat without problems, but now I must to run it in a Debian. When I run the scrip "configure" get his message: > > checking for gdImagePng in -lgd (order 1)... (cached) no > checking for gdImagePng in -lgd (order 2)... (cached) no > checking for gdImagePng in -lgd (order 3)... (cached) no > > I have installed all developenment libraries png, gd and jpeg of distribution but I get the same problem. > > Anyone knows how to fix this problem? > > TIA. > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- 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 thomas.kotzian at gmx.at Mon Aug 19 14:27:05 2002 From: thomas.kotzian at gmx.at (Thomas Kotzian) Date: Mon, 19 Aug 2002 14:27:05 +0200 Subject: Problem with grafics libraries in debian In-Reply-To: <00ff01c24777$227db820$92307fc1@portable> References: <00ff01c24777$227db820$92307fc1@portable> Message-ID: have you installed all -devel packages for the libraries? for example libpng-devel ... Thomas Am Montag den, 19. August 2002, um 13:54, schrieb Francisco Miralles Argente: > I had nagios runing in RedHat without problems, but now I must to run > it in a Debian. When I run the scrip "configure" get his message: > ? > checking for gdImagePng in -lgd (order 1)... (cached) no > checking for gdImagePng in -lgd (order 2)... (cached) no > checking for gdImagePng in -lgd (order 3)... (cached) no > ? > I have installed all developenment?libraries png, gd and jpeg of > distribution but I get the same problem. > ? > Anyone knows? how to fix this problem? > ? > TIA. > -- Thomas Kotzian, thomas.kotzian at gmx.at ------------------------------------------------------- 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 freddy.frouin at fluxus.net Mon Aug 19 15:00:10 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Mon, 19 Aug 2002 15:00:10 +0200 Subject: Problem with grafics libraries in debian In-Reply-To: <20020819141520.20e43893.freddy.frouin@fluxus.net> References: <00ff01c24777$227db820$92307fc1@portable> <20020819141520.20e43893.freddy.frouin@fluxus.net> Message-ID: <20020819150010.173175ae.freddy.frouin@fluxus.net> #/sbin/ldconfig -p | grep libgd (there was a 'gd' not useful). f. On Mon, 19 Aug 2002 14:15:20 +0200 Freddy Frouin wrote: > Hi, > > It seems that the information has been cached by the configure > script at the first run. Go in the nagios source directory and > do: > #rm .config.cache > > Then, before running configure again, look on your system if > the gd library has been loaded by the library loader: > #/sbin/ldconfig -p | grep libgdgd > > On my system, I get the following output: > ... some other libs ... > libgd.so.1 (libc6) => /usr/lib/libgd.so.1 > libgd.so (libc6) => /usr/lib/libgd.so > > If you have this as output, the configure script should find > the gd lib. > > Freddy. > > > On Mon, 19 Aug 2002 13:54:11 +0200 > "Francisco Miralles Argente" wrote: > > > I had nagios runing in RedHat without problems, but now I must to run it in a Debian. When I run the scrip "configure" get his message: > > > > checking for gdImagePng in -lgd (order 1)... (cached) no > > checking for gdImagePng in -lgd (order 2)... (cached) no > > checking for gdImagePng in -lgd (order 3)... (cached) no > > > > I have installed all developenment libraries png, gd and jpeg of distribution but I get the same problem. > > > > Anyone knows how to fix this problem? > > > > TIA. > > > > > -- > Freddy Frouin > Responsable Supervision > Fluxus - British Telecom > 30, rue du Ch?teau des Rentiers > 75013 Paris > > T?l: +33 (0)1 44 97 70 00 > Fax: +33 (0)1 44 97 70 07 > > > ------------------------------------------------------- > 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_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- 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 Mon Aug 19 16:10:57 2002 From: albert.tobey at priority-health.com (Al Tobey) Date: 19 Aug 2002 10:10:57 -0400 Subject: Monitoring Individual Programs In-Reply-To: References: Message-ID: <1029766257.20404.8876.camel@linuxws1> On Thu, 2002-08-15 at 16:39, blange wrote: > As Quoted By Darren: > 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. > > I am wondering how to actually do this. For instance, lets take Windows 2000 . . . Using SNMP I can look at the current processes running and if I know the PID I can use ./check_snmp to match the string of the service running. However, everytime the machine would be rebooted I would have to configure Nagios with the new OID. I am wondering if there is a way to check all running services and see if there is a string to match the program in question. Is this possible? If not, what are you referring to above? Well, there is an easy way to do it. Use perl and the $session->bulkwalk() to gather the list of process names, which will include the index. I've written a plugin for my installation of nagios, but I don't have permission to release that code. Here is an example snippet of what you have to do with the Net-SNMP module to achieve what you desire. I use a similar method to get information about disk space on all of my machines. (names and values have been changed to protect the innocent) # use the host-resources mib that is available on # Net-SNMP, W2K, and Novell to get process information use SNMP; $session = new SNMP::Session( DestHost => 'localhost', Community => 'public', Version => '2c' ); # get the total number of processes for the bulkwalk $var = SNMP::VarBind->new( ['hrSystemProcesses', 0] ); $session->get( $var ); # retrieve a list of process names a'la `ps -e` $proc_list = $session->bulkwalk( 0, $var->val, [[hrSWRunName]] ); # cycle through the list and print it out %statistics = (); foreach my $proc ( @$proc_list ) { # keep track of how many processes and what their iid's are # for later processing push( @{$statistics{$proc->val}->{index}}, $proc->iid ); print "process ",$proc->val," has index of ",$proc->iid,"\n"; } exit 0; Combined with my patch to manage snmp community names in the nagios configs, and I have a fairly nice way to get lots of host information without installing any special software, since Net-SNMP is standard with most linux distributions. -Al Tobey ******************************************************************** 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: 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 Mon Aug 19 16:13:53 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Mon, 19 Aug 2002 08:13:53 -0600 Subject: Service checks still not being executed Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB4A7@shawmail02> Good day, > -----Original Message----- > From: Nolan Martin [mailto:Nolan.Martin at co.travis.tx.us] > Sent: Friday, August 16, 2002 4:00 PM > To: nagios-users at lists.sourceforge.net; Darren.Gamble at sjrb.ca > Subject: RE: [Nagios-users] Service checks still not being executed > > > And you encountered this while you were running 1.0b4 (whereas I am on > 1.0b3) and the problem went away (I assume) while you > were/are still on > 1.0b4? In other words, I take it you resolved this problem prior to > this latest release... No, I said that there was no resolution, but that the problem has not recently manifested itself (not that I have observed, anyway). I am/was running a 1.0b4 version. > Darren - you mention that you made a variety of tweaking and changes. > Is there anything you can think of to list that you did that might > possibly have corrected this? > > Thanks. No, I am not sure what may have done that. The machine is under slightly less load than it used to be (although it was not that high to begin with)- that's all that I can think of. I'm afraid I don't think I'll be able to help you. But, I know that there is a problem somewhere, so hopefully, someone else can help you with the information you provide. Perhaps you might want to try the nagios-devel list? ============================ 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 Daniel.Rusch at GlobalCrossing.com Mon Aug 19 16:14:11 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Mon, 19 Aug 2002 10:14:11 -0400 Subject: check_by_ssh Message-ID: <0DA06E553C3BD511823500508BB8965A0201203B@exnadetmbx3.ams.gblxint.com> Thanks billions, this solved the problem! DR -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, August 16, 2002 3:26 PM To: nagios-users Subject: Re: [Nagios-users] check_by_ssh The command must be enclosed in quotes if it consists of multiple words regardless of whether -C is used or not. The recommend way is to use -C and not a positional paramter. @!~* thought I had found all the positional paramenters :( -sg On Fri, 16 Aug 2002 jmarquart at planalytics.com wrote: > > > Hmm that answers a problem i have had - which convinced me to run check_by_ssh > form the netsaint plugin package. > > simple usage help (i.e. check_by_ssh w/out any args) - says that you can omit > the -C - that the -C is only needed to run passive mode - multiple checks. > > with the netsaint plugins - it functions correctly that way as well > > so - it the nagios plugin wrong when it says: > > check_by_ssh [-f] [-t timeout] [--i identity] [-l user] -H ... > > or is it just that without the -C - it has trouble parsing the command? > > > also - does anyone have an instance of using multiple -C for passive mode? > (and is it a passive check? or some other passive mode? > > > -john > > > > > > > Gunnar Hellekson on 08/16/2002 01:22:12 PM > > > > > To: nagios-users > cc: "Rusch, Daniel" (bcc: John J. der > Schalla Marquart/Planalytics) > > Subject: Re: [Nagios-users] check_by_ssh > > > > > > > > From: "Rusch, Daniel" > > Date: Fri, 16 Aug 2002 12:46:32 -0400 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_by_ssh > > > > All, > > > > I am trying to do a check_by_ssh. I tried to run it from command line like > > this: > > > > ./check_by_ssh -H anotherBox /home/nagios/check_ping -L www.yahoo.com 25 50 > > 200 1000 > > Seems you're missing the "-C" argument. That cmd should read: > > ./check_by_ssh -H anotherBox -C '/home/nagios/check_ping -L www.yahoo.com 25 > 50 200 1000' > > > > ------------------------------------------------------- > 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 _______________________________________________ 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 ffejes at sears.com Mon Aug 19 18:14:24 2002 From: ffejes at sears.com (ffejes at sears.com) Date: Mon, 19 Aug 2002 11:14:24 -0500 Subject: Any other changes in 1.0b5? Message-ID: Hello all. Were there any other changes in Nagios 1.0b5 that were not mentioned in the Changelog? Since upgrading, I have noticed big scheduling delays (especially after a restart) and requests made through the cgi interface to reschedule checks are scheduled but frequently not performed. It's as if they're in a long queue. I have downgraded our 250 host/350 service implementation to 1.0b4 and we're back and running as usual. Any insight would be appreciated. --frank ------------------------------------------------------- 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 djmeier at powercom.net Mon Aug 19 19:27:52 2002 From: djmeier at powercom.net (David J. Meier) Date: Mon, 19 Aug 2002 12:27:52 -0500 Subject: Compling 1.0b5 doesn't make statusmap.cgi??? Message-ID: <000101c247a5$bf9b7f10$2c0072d8@flyingcow> I have installed 1.0b5 and noticed that it doesn't seem to build statusmap.cgi. How can I get it to build? Here's an output of my make: statrat:/usr/development/nagios-1.0b5# make cgis cd ./cgi; make ; cd .. make[1]: Entering directory `/usr/development/nagios-1.0b5/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o auth.o auth.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o popen.o popen.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI avail.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o avail.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI cmd.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c ../common/downtime.c ../xdata/xdddefault.c -o cmd.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI config.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o config.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o edata.o edata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI extinfo.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c ../common/downtime.c ../xdata/xdddefault.c -o extinfo.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o lifo.o lifo.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI history.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o history.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI notifications.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o notifications.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI outages.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c -o outages.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI showlog.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o showlog.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI status.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c -o status.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statuswml.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o statuswml.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI summary.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o summary.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI tac.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c -o tac.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statuswrl.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -lm edata.o ../xdata/xedtemplate.c -o statuswrl.cgi make[1]: Leaving directory `/usr/development/nagios-1.0b5/cgi' statrat:/usr/development/nagios-1.0b5# cd /usr/development/nagios-1.0b5/cgi/ statrat:/usr/development/nagios-1.0b5/cgi# ls Makefile avail.cgi cmd.cgi extinfo.c history.c notifications.cgi showlog.c statuswml.cgi tac.cgi Makefile.in cgiutils.c config.c extinfo.cgi history.cgi outages.c showlog.cgi statuswrl.c trends.c auth.c cgiutils.h config.cgi getcgi.c lifo.c outages.cgi status.c statuswrl.cgi auth.h cgiutils.h.in edata.c getcgi.h lifo.h popen.c status.cgi summary.c auth.o cgiutils.o edata.h getcgi.o lifo.o popen.h statusmap.c summary.cgi avail.c cmd.c edata.o histogram.c notifications.c popen.o statuswml.c tac.c ------------------------------------------------------- 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 kenneth.ray at travelersla.com Mon Aug 19 19:56:45 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Mon, 19 Aug 2002 13:56:45 -0400 Subject: PLugin for checking file size Message-ID: <3D61315D.ECCA343A@travelersla.com> Well, I dont know about file sizes but we use fcheck to monitor if a file has changed and if so it produces a warning in the Messages file, which is reported to netsaint. but Im sure there is a program out there that can do it on a command line, Im sure also if you had the time and the inclination your could write a simple program that would do that. something that would check if a certain threshold was reached on the file size. here is some sudo code to start helping you if that is what you want to do.. filename=$1 filemaxwarn= $2 filemaxcritical=$3 currentsize= `ls -al $filename |sed 's/ */!/g'|cut -d! -f5` case in $currentsize (currentsize > critical ) tell user its critical ;; (currentsize >warning) tell user ;; *) all is cool ;; esac but that doesnt take into affect that the file does not and the case statement really doesnt work cause you have to put it in the right syntax.. but.. if you spit out an exit 2 on the firs statement and a exit 1 on the second, you should light up coreseponding critical and warning. if you dont give an exit code at the end, if the check doesn't work it will give an error.. but again this is sudo code just to show you it can be done.. HTH, Kenneth Ray Message: 2 Date: Mon, 19 Aug 2002 14:37:52 +0800 From: "Halim Saleh - IT" To: Subject: [Nagios-users] RE:Plugin for checking file size Hi, do anybody know how to monitor spesific file size. I need to monitor = *.dat file on remote NT server. Curently, I manage to monitor the HDD = space using ./check_disk_smb . Do anybody have a good solution on this? = tq ------------------------------------------------------- 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 kenneth.ray at travelersla.com Mon Aug 19 20:03:45 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Mon, 19 Aug 2002 14:03:45 -0400 Subject: OOPS was RE:check filesizes Message-ID: <3D613301.3CB58140@travelersla.com> it appears I didn't read all the way through the message, but still if you wanted to, you could program it in perl using the appropriate info. But when you talk NT that is a different ball of wax.. sorry cant help you much there.. Again, sorry Kenneth Ray ------------------------------------------------------- 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 timo.koskela at datavahti.fi Tue Aug 20 09:03:42 2002 From: timo.koskela at datavahti.fi (Timo Koskela) Date: Tue, 20 Aug 2002 10:03:42 +0300 Subject: Distributed monitoring Message-ID: <000801c24817$b87331c0$b50fa8c0@fi.poltto> Hi, I have distributed server behind a firewall and central server as well. It works fine with services, but not with hosts. Situation is like this. If one service goes down on distributed server and report to Nagios, service check goes fine and host check goes fine as well and it gives me a notification about HOST DOWN. But when it comes up again... Ok, services works fine as well when notifying Nagios via nsca, services comes up, but not hosts. It just keep trying to check hosts from central server but it can't because of firewall... I just can't figure out what have i done wrong, please help me! Timo Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From JEAN-PAUL.CHAPALAIN at CMB.FR Tue Aug 20 11:36:00 2002 From: JEAN-PAUL.CHAPALAIN at CMB.FR (CHAPALAIN JEAN-PAUL) Date: Tue, 20 Aug 2002 11:36 +0200 Subject: HELP : Probleme with time-periode and Notification_periode Message-ID: <200208200936.S5G4@cmb.fr> --- Re?u de CMB.CHAPAJP 0298002873 20-08-02 11.36 Jean-Paul wrote, Few weeks ago, I've posted a precedent message in the list without reply http://sourceforge.net/mailarchive/forum.php?thread_id=960538&forum_id=1873 Anybody can say me if it's a mistake in my config, a bug with Nagios Version 1.0a7 or anything else ? Thanks in advance. * Jean-Paul Chapalain - Reseaux et Systemes Distribues * * Groupement Informatique Credit Mutuel * * Tel : +33 298002873 Fax : +33 298284005 * * mailto : jean-paul.chapalain at cmb.fr * ---- 20-08-02 11.36 ---- Envoy? ? ------------------------------------ -> NAGIOS-USERS(a)LISTS.SOURCEFORGE.NET ------------------------------------------------------- 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 daniel-l at 34SP.com Tue Aug 20 12:53:06 2002 From: daniel-l at 34SP.com (Daniel Foster) Date: Tue, 20 Aug 2002 11:53:06 +0100 Subject: Scheduled downtime Message-ID: <200208201056.g7KAuUi3061657@wintermute.34sp.com> Hi, If I schedule some downtime for a switch on our network, I assume alerts will be suppressed for hosts/services behind (dependencies of) that switch. What will happen if during the scheduled downtime the switch is up, but a service or host behind it fails? Will we get the alerts? The reason behind this is that the switch will be restarted sometime between 3 and 6 am, so I'd like to supress alerts for then. Obviously the restart won't take 3 hours, so I may wish to receive alerts during this time. -- Daniel Foster Technical Director - 34SP.com daniel at 34SP.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 felix_schattschneider at ccmconsult.de Tue Aug 20 13:20:37 2002 From: felix_schattschneider at ccmconsult.de (felix schattschneider) Date: Tue, 20 Aug 2002 13:20:37 +0200 Subject: AW: Compling 1.0b5 doesn't make statusmap.cgi??? Message-ID: <759458843C03DF4EA76CCD67DC524D0A02CCFB@uhura.ccmconsult.de> > Von: David J. Meier [mailto:djmeier at powercom.net] > Gesendet: Montag, 19. August 2002 19:28 > I have installed 1.0b5 and noticed that it doesn't seem to build > statusmap.cgi. > > How can I get it to build? I think you need th gd-devel package installed before you do an ./configure. At least that's what helped me. (See also REQUIREMENTS in the sourcetree. Felix ------------------------------------------------------- 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 mmi at ilpoe.uni-stuttgart.de Tue Aug 20 13:24:20 2002 From: mmi at ilpoe.uni-stuttgart.de (Matthias Mikuletz) Date: Tue, 20 Aug 2002 13:24:20 +0200 (CEST) Subject: Freshness checking and host dependies Message-ID: Hi there, I'm experiencing a problem with nagios doing too many notifications. We're talking about a distributed setup, where a slave server (firewall A) is submitting service check results of itself and of another system B behind it to the nagios master. System B is depending (via the parent directive) on firewall A. So, if A has e.g. a network problem, then missing results from B shouldn't lead to e.g. notifications. Furthermore I have enabled freshness checking on the nagios master to ensure that the results from system B are coming in. When I pull out the cable from firewall A then I get a host down for firewall A (certainly this is absolutely OK). But then I keep getting problem alerts for the services on system B. So freshness checking or the (dummy) active check, which is performed, when results are found to be stale doesn't care about host dependencies (via 'parent') ?! I woudl be glad to know if this a bug or a feature?! Thanks in advance and thanks to Ethan for nagios! Matthias -- =================================================================== == from: Matthias Mikuletz == == ILp? -- Universit?t Stuttgart == == jobfon 0711/121-4142 email mmi at ilpoe.uni-stuttgart.de == =================================================================== ------------------------------------------------------- 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 githinji at ke.uu.net Tue Aug 20 15:38:49 2002 From: githinji at ke.uu.net (Githinji Miricho) Date: Tue, 20 Aug 2002 16:38:49 +0300 Subject: Compling 1.0b5 doesn't make statusmap.cgi??? Message-ID: <001f01c2484e$eb0c5c60$7152cac3@uunet.co.ke> I got the same problem.Iam running Redhat 7.2.i did a forced compile but some header files(gd.h & gdfonts.h)were absent. ------------------------------------------------------- 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 Tue Aug 20 16:39:10 2002 From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com) Date: 20 Aug 2002 10:39:10 -0400 Subject: Scheduled downtime Message-ID: <948141393.1029854450922.JavaMail.root@monkey> Daniel Foster wrote: > If I schedule some downtime for a switch on our network, I > assume alerts will > be suppressed for hosts/services behind (dependencies of) that switch. I'm somewhat new to Nagios, but that's my take on it. There's no way you can empirically know what's going on behind a dependant host (switch), unless you have an out-of-band way of reaching that host, in which case it's no longer dependant. :) > What will happen if during the scheduled downtime the switch > is up, but a > service or host behind it fails? Will we get the alerts? See below. > The reason behind this is that the switch will be restarted > sometime between > 3 and 6 am, so I'd like to supress alerts for then. > Obviously the restart > won't take 3 hours, so I may wish to receive alerts during this time. When you go to schedule downtime, take a look at the Command Description on the right side of that page. Here's my (loose) translation of it, for your scenario: Schedule the downtime for between 3am and 6am. Now, how long do you think you'll need to have the downtime? Just long enough for a restart? Will 10 minutes be more than adequate? Then set the duratino for 10 minutes. And uncheck the Fixed checkbox. This way, Nagios won't start the downtime window until it actually finds that the switch is down, at which point the timer (10 mins) begins. After those 10 mins, it adds that host (switch) and all its dependancies back in. (This all assumes that you begin the downtime after 3am and complete it before 6am.) Having said this, I'm not certain whether Nagios will flag the downtime as 'complete', if it finds that the tests for the host (switch) are successful (ie, after you bounce the switch). Perhaps someone has something to add to 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 roberto at quantiva.com Tue Aug 20 17:01:58 2002 From: roberto at quantiva.com (Roberto Moral) Date: 20 Aug 2002 11:01:58 -0400 Subject: Fail Over/vent handlers not working. In-Reply-To: <1029523555.4957.12.camel@dhcppc4> References: <1029523555.4957.12.camel@dhcppc4> Message-ID: <1029855718.1767.7.camel@dhcppc4> None one knows anything about this? On Fri, 2002-08-16 at 14:45, Roberto Moral wrote: > Hello there, > > I am trying to set up a basic fail over procedure following the steps > outlined in the Documentation and using the scripts provided in the > distribution ( Nagios 1.0b5). > > Monitoring the master hosts and the Nagios process in the master log > works, and I see the event handler being called > (handle-master-proc-event, handle-master-host-event). However fail > over doesn't happen, after debugging the scripts > (handle-master-proc-event, handle-master-host-event) I found out that > the event doesn't pass the state of the master server to the script, > this is easy to find out by putting a echo $1 $2 before the case > statement and sending that to a file, after Nagios detecting the > problem and issuing the handler event the file gets created but it is > empty (no arguments are passed by event handler). > > If I run the scripts manually passing the right parameters and it > worked without a problem. > > Any ideas on how to fix this behavior? > > > Roberto Moral > SR. UNIX Systems Administrator > ------------------------------------- > roberto at quantiva.com > Tel: 609-514-8513 | cell: 609-346-5601 > Quantiva, inc. > 100 Village Blvd. 3rd Floor > Princeton, NJ 08540 Roberto Moral SR. UNIX Systems Administrator ------------------------------------- roberto at quantiva.com Tel: 609-514-8513 | cell: 609-346-5601 Quantiva, inc. 100 Village Blvd. 3rd Floor Princeton, NJ 08540 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part URL: From albert.tobey at priority-health.com Tue Aug 20 18:14:30 2002 From: albert.tobey at priority-health.com (Al Tobey) Date: 20 Aug 2002 12:14:30 -0400 Subject: Donation: perl/SNMP monitors for processes and disk Message-ID: <1029860070.21747.8940.camel@linuxws1> Hello all, I've written two perl plugins for monitoring disk space and running processes over SNMP using the host-resources mib. They are both attached. I run these here at Priority Health for monitoring our HP-UX and Linux servers. A quick test showed that these will also work on Windows 2000 running the default SNMP. I also believe that Novell provides the host-resources mib, so the plugins should work for that, too. The Net-SNMP perl modules are required for these scripts to operate properly. They are released under the GNU public license, especially not the NO WARRANTY part ;) Here are my command definitions from checkcommands.cfg. The $SNMPCOMMUNITY$ is provided by a patch I posted to nagios-users a few days ago. I've attached it here again. define command { command_name check_disk command_line $USER1$/snmp_disk_monitor.pl -s -H $HOSTADDRESS$ -C $SNMPCOMMUNITY$ -m $ARG1$ } define command { command_name check_disk_custom command_line $USER1$/snmp_disk_monitor.pl -s -H $HOSTADDRESS$ -C $SNMPCOMMUNITY$ -m $ARG1$ -w $ARG2$ -c $ARG3$ } define command { command_name check_process command_line $USER1$/snmp_process_monitor.pl -H $HOSTADDRESS$ -C $SNMPCOMMUNITY$ -e $ARG1$ } define command { command_name check_processes command_line $USER1$/snmp_process_monitor.pl -H $HOSTADDRESS$ -C $SNMPCOMMUNITY$ -e $ARG1$ -w $ARG2$ -c $ARG3$ } Have fun and send me your feedback, -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. ******************************************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: snmp_community.patch Type: text/x-patch Size: 14573 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snmp_disk_monitor.pl Type: text/x-perl Size: 6385 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snmp_process_monitor.pl Type: text/x-perl Size: 8017 bytes Desc: not available URL: From albert.tobey at priority-health.com Tue Aug 20 18:42:58 2002 From: albert.tobey at priority-health.com (Al Tobey) Date: 20 Aug 2002 12:42:58 -0400 Subject: Donation: perl/SNMP monitors for processes and disk In-Reply-To: <1029860070.21747.8940.camel@linuxws1> References: <1029860070.21747.8940.camel@linuxws1> Message-ID: <1029861778.21747.8943.camel@linuxws1> > They are released under the GNU public license, especially not the NO > WARRANTY part ;) err ... should be: especially the NO WARRANTY part ;) -Al Tobey ******************************************************************** 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: 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 Tue Aug 20 18:49:31 2002 From: fim32 at yahoo.com (Fred Im) Date: Tue, 20 Aug 2002 09:49:31 -0700 (PDT) Subject: Distributed monitoring Message-ID: <20020820164931.13591.qmail@web10401.mail.yahoo.com> you say that you have set up distributed monitoring, but that it just keeps trying to check the hosts from behind the firewall? in your hosts.cfg what check_command did you use for those passive hosts? if you are using the standard check_host_alive, it won't work from behind the firewall (most likely), and you either have to use a "dummy check" (mine reports status ok, so it's not perfect) or come up with something more creative (like checking the status log for a passive check that does report status, like a ping, but then, that was more than i cared to set up at the time...) fred __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.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 drich at employees.org Tue Aug 20 19:03:28 2002 From: drich at employees.org (Dan Rich) Date: Tue, 20 Aug 2002 10:03:28 -0700 (PDT) Subject: Nagios/netsaint and snort Message-ID: Has anyone looked into connecting Nagios with Snort? I've been looking at various packages for monitoring snort but haven't been happy with any of them (demarc is close, but not free). I figure since I already monitor everything with Nagios, it's the perfect candidate. But if someone else is already working on it I don't want to spend the time and effort building something from scratch. -- 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: 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 Tue Aug 20 19:20:06 2002 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 20 Aug 2002 13:20:06 -0400 Subject: Escalation Bug maybe? Message-ID: <3D627A46.9030602@quadrix.com> I am currently running Nagios 1.0b3. I have one escalation set up to cover all services and hosts (everything has the same basic scheme, 1st notification to operations, 2nd to the admins, and 3rd and up to everyone). For the 3rd escalation and beyond, I set the last_notification setting to be 0, so that notifications would not stop until the problem went away (or was acknowledged, etc.) However, instead of the notification continuing, the 3rd notification was the last one I received. There was no 4th notification, 5th, etc. Here is the entry in my config file: define serviceescalation{ host_name * service_description * first_notification 3 last_notification 0 contact_groups dutygroup } Has anyone else had this problem? Has this been fixed in the more recent version of Nagios? Any feedback would be helpful. Thanks. -Russell Scibetti -- 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 todd.jones at weirslurry.com Tue Aug 20 22:44:18 2002 From: todd.jones at weirslurry.com (todd.jones at weirslurry.com) Date: Tue, 20 Aug 2002 15:44:18 -0500 Subject: mail notifications Message-ID: I am running nagios 1.05b on Redhat7.3. I am having some issues getting nagios to send Email messages to an outside Email account. I've been working on the problem for some time and it has to do with the from field. The from field shows up as nagios at localhost, and my isp's smtp server rejects this. I've been working with Sendmail's masquerading feature to try to get it to work, but nothing seems to make it change. I do have a valid Email account of nagios with my isp. Any experiences or help with this issue would be appreciated. Regards, Todd Jones Network Administrator Weir Slurry 608.221.5805 phone ------------------------------------------------------- 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 Nolan.Martin at co.travis.tx.us Tue Aug 20 23:24:20 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Tue, 20 Aug 2002 16:24:20 -0500 Subject: Unexpected service alerts based on plugin timed out - Bug, WAD, or Administrator error? Message-ID: I've seen this issue pop up several times in the archives, but without any apparent resolution... Perhaps someone can shed some light this time. I receive on-going (unexpected and undesired) service alerts due to timed out plugins. This occurs for pretty much any service, including the check_ping, the check_http and check_nwstat (for abends, etc.). The problem is that the plugin timed out alerts do not seem to follow the max_check_attempts for the service. So, even if the previous ping was okay, if the next ping check generates a time out, it immediately generates a service alert (despite the fact that max_check_attempts is set to 5. Can someone tell me if this is working as designed, a bug, or (always unlikely) administrator error? I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. Thanks. Nolan ------------------------------------------------------- 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 nathan at sysadminsith.org Tue Aug 20 23:35:06 2002 From: nathan at sysadminsith.org (nathan) Date: Tue, 20 Aug 2002 14:35:06 -0700 Subject: Unexpected service alerts based on plugin timed out - Bug, WAD, or Administrator error? In-Reply-To: ; from Nolan.Martin@co.travis.tx.us on Tue, Aug 20, 2002 at 04:24:20PM -0500 References: Message-ID: <20020820143505.C6993@sysadminsith.org> To stop the spam of alerts I recompiled my plugins so that timeouts were warnings and not critical then setup my contacts to not get alerted on service warnings. On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > I've seen this issue pop up several times in the archives, but without > any apparent resolution... Perhaps someone can shed some light this > time. > > I receive on-going (unexpected and undesired) service alerts due to > timed out plugins. This occurs for pretty much any service, including > the check_ping, the check_http and check_nwstat (for abends, etc.). > > The problem is that the plugin timed out alerts do not seem to follow > the max_check_attempts for the service. So, even if the previous ping > was okay, if the next ping check generates a time out, it immediately > generates a service alert (despite the fact that max_check_attempts is > set to 5. > > Can someone tell me if this is working as designed, a bug, or (always > unlikely) administrator error? > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > Thanks. > > Nolan > > > > > ------------------------------------------------------- > 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 -- Nathan ------------------------------------------------------- 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 Kaufmanm at gtc.edu Wed Aug 21 01:44:30 2002 From: Kaufmanm at gtc.edu (Kaufman, Michael) Date: Tue, 20 Aug 2002 18:44:30 -0500 Subject: SNMP.pm Solution/problem Message-ID: <08673E1A16E1D5118ECB009027C23BB307B4@gtc.edu> OK. I still am confused. I am trying to get SNMP.pm, I am not a linux person overall, so I am looking for a rpm that I can install and get it to work on redhat 7.3. anyone have any ideas. I'm just about out of hair to pull. I need it for the check_ifstatus and check_snmp. thanks -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Saturday, August 10, 2002 9:07 AM To: chris.whipple at hq.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SNMP.pm Solution On Fri, 9 Aug 2002 chris.whipple at hq.com wrote: > > Hi All, > > Just thought I'd dispense some advice that I had to find out the hard way. > > The net-snmp-5.0.3 package - that includes snmpd - comes with SNMP.pm > v4.2.0. This combination doesn't seem to work with the SNMP-based > nagios-plugins(v1.3b1). > > As suggested off-list by Subhendu Ghosh, I went to CPAN and grabbed > Net::SNMP v4.0.2 and that seemed to do the trick. > > This might be old news to some, but it threw me for a loop. > > Thanks for your help, Subhendu! > > -chris. > Just to clarify at little more: net-snmp used to be known as ucd-snmp and the perl interface to that package is SNMP. This is a perl interface to the C package. Net::SNMP by David Town is a all perl module that does not support MIB parsing. check_snmp uses snmpget binary that is a part of net-snmp package because it needs the ability to do MIB parsing. (Allows you to specify oids by name) check_ifstatus and check_ifoperstatus use the Net::SNMP module as they don't need to do any MIB parsing and avoind the overhead of calling an external program. -sg -- ------------------------------------------------------- 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: 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 spimenta at masterlink.com.br Wed Aug 21 02:30:35 2002 From: spimenta at masterlink.com.br (sergio pimenta) Date: Tue, 20 Aug 2002 21:30:35 -0300 Subject: (no subject) Message-ID: <3D62DF2B.B94D742@masterlink.com.br> ------------------------------------------------------- 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 Wed Aug 21 02:24:36 2002 From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com) Date: 20 Aug 2002 20:24:36 -0400 Subject: Unexpected service alerts based on plugin timed out - Bug, WAD, or Administrator error? Message-ID: <646937937.1029889563679.JavaMail.root@monkey> Just a thought... but do you have is_volatile set to 0, or is it set to 1? Nolan Martin wrote: > I receive on-going (unexpected and undesired) service alerts due to > timed out plugins. This occurs for pretty much any service, including > the check_ping, the check_http and check_nwstat (for abends, etc.). > > The problem is that the plugin timed out alerts do not seem to follow > the max_check_attempts for the service. So, even if the previous ping > was okay, if the next ping check generates a time out, it immediately > generates a service alert (despite the fact that max_check_attempts is > set to 5. > > Can someone tell me if this is working as designed, a bug, or (always > unlikely) administrator error? ----------------------------------------------------- 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 dmourati at cm.math.uiuc.edu Wed Aug 21 02:28:44 2002 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 20 Aug 2002 19:28:44 -0500 (CDT) Subject: mail notifications In-Reply-To: References: Message-ID: <20020820192539.X94779-100000@cm.math.uiuc.edu> What's the hostname on your Nagios box? Is it in DNS? Do you have a smarthost setup or are you trying to send internet mail directly from your Nagios box? I have a setup like this: Nagios box Private IP In Internal DNS Smarhosts to corporate mail relay Corporate mail relay in external DNS public IP Works just fine. On Tue, 20 Aug 2002 todd.jones at weirslurry.com wrote: > I am running nagios 1.05b on Redhat7.3. I am having some issues getting > nagios to send Email messages to an outside Email account. > > I've been working on the problem for some time and it has to do with the > from field. The from field shows up as nagios at localhost, and my isp's smtp > server rejects this. I've been working with Sendmail's masquerading > feature to try to get it to work, but nothing seems to make it change. > > I do have a valid Email account of nagios with my isp. Any experiences or > help with this issue would be appreciated. > > Regards, > > Todd Jones > Network Administrator > Weir Slurry > 608.221.5805 phone > > > > ------------------------------------------------------- > 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 > --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.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 greg.lamb at uts.edu.au Wed Aug 21 03:24:38 2002 From: greg.lamb at uts.edu.au (Greg Lamb) Date: Wed, 21 Aug 2002 11:24:38 +1000 Subject: Mac OS X port Message-ID: Has anybody tried or can someone try to port Nagios to install under Mac OS X. I'm pretty much a newbie where Unix is concerned and not sure where to start with recompiling. Regards Greg ----------------------------------------------------------------- My toys!! My Toys!! I can't do this job without my toys!! ----------------------------------------------------------------- Greg Lamb Ph: 02 95142222 Customer Service Engineer - Labs Fax: 02 95142002 B2.412 University of Technology, Sydney PO Box 123 Broadway NSW 2007 UTS CRICOS Provider Code: 00099F DISCLAIMER ======================================================================== This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. ======================================================================== ------------------------------------------------------- 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 Wed Aug 21 03:31:21 2002 From: galimore at mac.com (Terry Simons) Date: Tue, 20 Aug 2002 19:31:21 -0600 Subject: mail notifications In-Reply-To: <20020820192539.X94779-100000@cm.math.uiuc.edu> References: <20020820192539.X94779-100000@cm.math.uiuc.edu> Message-ID: Uh... Try forcing your SMTP to send as "nagios at address" Where address is your server's *real* IP address, or your server's DNS. nagios at localhost is probably not a good idea. localhost means "this computer" so maybe your ISP's mail server is thinking "This didn't come from me!!" and throwing it away. Just an idea. - Terry On Tuesday, August 20, 2002, at 06:28 PM, Demetri Mouratis wrote: > What's the hostname on your Nagios box? Is it in DNS? Do you have a > smarthost setup or are you trying to send internet mail directly from > your > Nagios box? > > I have a setup like this: > > Nagios box > Private IP > In Internal DNS > Smarhosts to corporate mail relay > > Corporate mail relay in external DNS > public IP > > Works just fine. > > On Tue, 20 Aug 2002 todd.jones at weirslurry.com wrote: > >> I am running nagios 1.05b on Redhat7.3. I am having some issues >> getting >> nagios to send Email messages to an outside Email account. >> >> I've been working on the problem for some time and it has to do with >> the >> from field. The from field shows up as nagios at localhost, and my >> isp's smtp >> server rejects this. I've been working with Sendmail's masquerading >> feature to try to get it to work, but nothing seems to make it change. >> >> I do have a valid Email account of nagios with my isp. Any >> experiences or >> help with this issue would be appreciated. >> >> Regards, >> >> Todd Jones >> Network Administrator >> Weir Slurry >> 608.221.5805 phone >> >> >> >> ------------------------------------------------------- >> 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 >> > > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.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 galimore at mac.com Wed Aug 21 03:36:06 2002 From: galimore at mac.com (Terry Simons) Date: Tue, 20 Aug 2002 19:36:06 -0600 Subject: Mac OS X port In-Reply-To: References: Message-ID: <5C4D7686-B4A6-11D6-8053-00306570AEC8@mac.com> Yeah, I've had some success. It is possible, but I haven't done much testing. Try following the instructions in the INSTALLING file... I don't know if there are any new gotchas since I last fiddled with it. The one problem I did have was with "make install" but I think that's fixed now... (The INSTALL file was getting in the way, but it's been renamed to INSTALLING) If you have any problems I can probably help. - Terry On Tuesday, August 20, 2002, at 07:24 PM, Greg Lamb wrote: > Has anybody tried or can someone try to port Nagios to install under > Mac > OS X. I'm pretty much a newbie where Unix is concerned and not sure > where to start with recompiling. > > Regards > Greg > > ----------------------------------------------------------------- > My toys!! My Toys!! I can't do this job without my toys!! > ----------------------------------------------------------------- > Greg Lamb Ph: 02 > 95142222 > Customer Service Engineer - Labs Fax: 02 95142002 > B2.412 > University of Technology, Sydney > PO Box 123 > Broadway NSW 2007 > > > > UTS CRICOS Provider Code: 00099F > > DISCLAIMER > ======================================================================= > = > This email message and any accompanying attachments may contain > confidential information. If you are not the intended recipient, do > not > read, use, disseminate, distribute or copy this message or attachments. > If you have received this message in error, please notify the sender > immediately and delete this message. Any views expressed in this > message > are those of the individual sender, except where the sender expressly, > and with authority, states them to be the views the University of > Technology Sydney. Before opening any attachments, please check them > for > viruses and defects. > ======================================================================= > = > > > > > ------------------------------------------------------- > 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 Wed Aug 21 03:40:42 2002 From: galimore at mac.com (Terry Simons) Date: Tue, 20 Aug 2002 19:40:42 -0600 Subject: Compling 1.0b5 doesn't make statusmap.cgi??? In-Reply-To: <000101c247a5$bf9b7f10$2c0072d8@flyingcow> References: <000101c247a5$bf9b7f10$2c0072d8@flyingcow> Message-ID: <00F0216A-B4A7-11D6-8053-00306570AEC8@mac.com> The output of your ./configure would probably be more helpful in this case. Chances are you either don't have the gd/png/jpeg libraries, or Nagios can't find them. I had to force nagios to find my gd libs with --with-gd-inc and --with-gd-lib Double check ./configure's output and make sure it found your libraries. - Terry On Monday, August 19, 2002, at 11:27 AM, David J. Meier wrote: > I have installed 1.0b5 and noticed that it doesn't seem to build > statusmap.cgi. > > How can I get it to build? > > Here's an output of my make: > > statrat:/usr/development/nagios-1.0b5# make cgis > cd ./cgi; make ; cd .. > make[1]: Entering directory `/usr/development/nagios-1.0b5/cgi' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o auth.o auth.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o popen.o popen.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI avail.c getcgi.o cgiutils.o auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c -o avail.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI cmd.c getcgi.o cgiutils.o auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c > ../xdata/xcddefault.c ../common/downtime.c ../xdata/xdddefault.c -o > cmd.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI config.c getcgi.o cgiutils.o > auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c -o config.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o edata.o edata.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI extinfo.c getcgi.o cgiutils.o > auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c > ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c > ../common/downtime.c ../xdata/xdddefault.c -o extinfo.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o lifo.o lifo.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI history.c getcgi.o cgiutils.o > auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o history.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI notifications.c getcgi.o cgiutils.o > auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o > notifications.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI outages.c getcgi.o cgiutils.o > auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c > ../xdata/xcddefault.c -o outages.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI showlog.c getcgi.o cgiutils.o > auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o showlog.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI status.c getcgi.o cgiutils.o auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c > ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c -o status.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statuswml.c getcgi.o cgiutils.o > auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c -o statuswml.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI summary.c getcgi.o cgiutils.o > auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c -o summary.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI tac.c getcgi.o cgiutils.o auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c > ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c -o tac.cgi > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statuswrl.c getcgi.o cgiutils.o > auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c -lm edata.o > ../xdata/xedtemplate.c -o statuswrl.cgi > make[1]: Leaving directory `/usr/development/nagios-1.0b5/cgi' > statrat:/usr/development/nagios-1.0b5# cd > /usr/development/nagios-1.0b5/cgi/ > statrat:/usr/development/nagios-1.0b5/cgi# ls > Makefile avail.cgi cmd.cgi extinfo.c history.c > notifications.cgi showlog.c statuswml.cgi tac.cgi > Makefile.in cgiutils.c config.c extinfo.cgi history.cgi > outages.c showlog.cgi statuswrl.c trends.c > auth.c cgiutils.h config.cgi getcgi.c lifo.c > outages.cgi status.c statuswrl.cgi > auth.h cgiutils.h.in edata.c getcgi.h lifo.h > popen.c status.cgi summary.c > auth.o cgiutils.o edata.h getcgi.o lifo.o > popen.h statusmap.c summary.cgi > avail.c cmd.c edata.o histogram.c notifications.c > popen.o statuswml.c tac.c > > > > ------------------------------------------------------- > 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 Wed Aug 21 04:07:40 2002 From: galimore at mac.com (Terry Simons) Date: Tue, 20 Aug 2002 20:07:40 -0600 Subject: HELP : Probleme with time-periode and Notification_periode In-Reply-To: <200208200936.S5G4@cmb.fr> References: <200208200936.S5G4@cmb.fr> Message-ID: My suggestion would be to upgrade to Nagios 1.0b5 and see if that fixes the problem. A *ton* of things have been fixed since 1.0a7. I don't recall seeing any problems quite like this in the time I've been on the list, but most people are using stuff newer than 1.0a7. You should be able to upgrade with a minimum of fuss. It shouldn't wipe out your configurations, but I know that sometimes it's difficult to do upgrades, especially if you're production. I hope that helps. - Terry On Tuesday, August 20, 2002, at 03:36 AM, CHAPALAIN JEAN-PAUL wrote: > --- Re?u de CMB.CHAPAJP 0298002873 20-08-02 > 11.36 > > Jean-Paul wrote, > Few weeks ago, I've posted a precedent message in the list without > reply > > http://sourceforge.net/mailarchive/ > forum.php?thread_id=960538&forum_id=1873 > > Anybody can say me if it's a mistake in my config, a bug with Nagios > Version 1.0a7 or anything else ? > > Thanks in advance. > > * Jean-Paul Chapalain - Reseaux et Systemes Distribues * > * Groupement Informatique Credit Mutuel * > * Tel : +33 298002873 Fax : +33 298284005 * > * mailto : jean-paul.chapalain at cmb.fr * > > ---- 20-08-02 11.36 ---- Envoy? ? > ------------------------------------ > -> NAGIOS-USERS(a)LISTS.SOURCEFORGE.NET > > > ------------------------------------------------------- > 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 atul at mindsw.com Wed Aug 21 07:14:11 2002 From: atul at mindsw.com (Atul Gosain) Date: Wed, 21 Aug 2002 10:44:11 +0530 (IST) Subject: Return code of 127 Message-ID: <1104.202.88.151.191.1029906851.squirrel@www.webyarn.com> hi nagios users I have some services running on a remote host like disk checks,load checks for which i have installed the nrpe there. The checks are working fine when i check them from command line from the nagios host to remote host.like check_nrpe myhost.com -c checjk_load. This command is running fine from the command line and its giving right output, but in the status.cgi, it shows this message in the service check:- (Return code of 127 is out of bounds - plugin may be missing) I cant figure out whats preventing nagios from showing right output in cgi. Please help me figuring out this problem. Thanks -- Atul Gosain Mindsw Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- 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 d.pavani at cineca.it Wed Aug 21 11:58:22 2002 From: d.pavani at cineca.it (Denis Pavani) Date: Wed, 21 Aug 2002 11:58:22 +0200 Subject: Return code of 127 References: <1104.202.88.151.191.1029906851.squirrel@www.webyarn.com> Message-ID: <3D63643E.40003@cineca.it> Perhaps a permission problem or a wrong invocation of the plugin? Atul Gosain wrote: > hi nagios users > > I have some services running on a remote host like disk checks,load checks > for which i have installed the nrpe there. The checks are working fine > when i check them from command line from the nagios host to remote > host.like check_nrpe myhost.com -c checjk_load. > This command is running fine from the command line and its giving right > output, but in the status.cgi, it shows this message in the service > check:- > (Return code of 127 is out of bounds - plugin may be missing) > I cant figure out whats preventing nagios from showing right output in cgi. > Please help me figuring out this problem. > > Thanks > > -- ************************************************************************ Denis Pavani CINECA - Comunicazioni e Sistemi Distribuiti phone:+39 0516171411 / fax:+39 0516132198 http://www.cineca.it ************************************************************************ "Siamo pagati per adattarci, improvvisare e raggiungere lo scopo" -- Gunny Highway ------------------------------------------------------- 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 mailing at xy-z.com Wed Aug 21 12:26:07 2002 From: mailing at xy-z.com (Emeric) Date: Wed, 21 Aug 2002 12:26:07 +0200 Subject: check_cluster References: <20020820192539.X94779-100000@cm.math.uiuc.edu> Message-ID: <011b01c248fd$29a266f0$c202010a@atl.net> Hi, I would try to compile check_cluster.c but i don't succeed :( I don't know, how compile this plugin. Can you help me ? Or can you send-me by mail this compiled plugins ? Regards, Emeric Loiseau ------------------------------------------------------- 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 vmartine at unicen.edu.ar Wed Aug 21 08:39:14 2002 From: vmartine at unicen.edu.ar (Victor Dario Martinez) Date: Wed, 21 Aug 2002 09:39:14 +0300 Subject: how to relogin in web interface? Message-ID: <3D633592.20004@unicen.edu.ar> i am logged as nagioasadmin and want change to another user. Is possible make this from web interface? ------------------------------------------------------- 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 Nolan.Martin at co.travis.tx.us Wed Aug 21 14:50:33 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Wed, 21 Aug 2002 07:50:33 -0500 Subject: Unexpected service alerts based on plugin timed out - Bug, WAD, or Administrator Message-ID: Is_volatile is set to 0 for all of monitored services. Nolan >>> <8lb4fmllhm001 at sneakemail.com> 08/20/02 07:24PM >>> Just a thought... but do you have is_volatile set to 0, or is it set to 1? Nolan Martin wrote: > I receive on-going (unexpected and undesired) service alerts due to > timed out plugins. This occurs for pretty much any service, including > the check_ping, the check_http and check_nwstat (for abends, etc.). > > The problem is that the plugin timed out alerts do not seem to follow > the max_check_attempts for the service. So, even if the previous ping > was okay, if the next ping check generates a time out, it immediately > generates a service alert (despite the fact that max_check_attempts is > set to 5. > > Can someone tell me if this is working as designed, a bug, or (always > unlikely) administrator error? ----------------------------------------------------- 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 sghosh at sghosh.org Wed Aug 21 15:42:46 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 21 Aug 2002 09:42:46 -0400 (EDT) Subject: Return code of 127 In-Reply-To: <1104.202.88.151.191.1029906851.squirrel@www.webyarn.com> References: <1104.202.88.151.191.1029906851.squirrel@www.webyarn.com> Message-ID: Make sure your check_nrpe is in the correct location and right pemissions for Nagios -sg On Wed, 21 Aug 2002, Atul Gosain wrote: > > hi nagios users > > I have some services running on a remote host like disk checks,load checks > for which i have installed the nrpe there. The checks are working fine > when i check them from command line from the nagios host to remote > host.like check_nrpe myhost.com -c checjk_load. > This command is running fine from the command line and its giving right > output, but in the status.cgi, it shows this message in the service > check:- > (Return code of 127 is out of bounds - plugin may be missing) > I cant figure out whats preventing nagios from showing right output in cgi. > Please help me figuring out this problem. > > Thanks > > -- ------------------------------------------------------- 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 Wed Aug 21 15:50:14 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 21 Aug 2002 09:50:14 -0400 (EDT) Subject: SNMP.pm Solution/problem In-Reply-To: <08673E1A16E1D5118ECB009027C23BB307B4@gtc.edu> References: <08673E1A16E1D5118ECB009027C23BB307B4@gtc.edu> Message-ID: Sorry - perl modules rarely come as an rpm. download Net::SNMP modules from CPAN http://www.perl.com/CPAN/modules/by-authors/id/D/DT/DTOWN/ gunzip, untar follow the INSTALL instructions. Or as root on your system, run the following.. perl -MCPAN -e "install Net::SNMP" Note: current version of Net::SNMP (v4.0.x) requires Perl 5.6. If you are using a older Perl, you can use Net::SNMP v3.65. -sg On Tue, 20 Aug 2002, Kaufman, Michael wrote: > OK. I still am confused. I am trying to get SNMP.pm, I am not a linux > person overall, so I am looking for a rpm that I can install and get it to > work on redhat 7.3. anyone have any ideas. I'm just about out of hair to > pull. I need it for the check_ifstatus and check_snmp. > > thanks > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Saturday, August 10, 2002 9:07 AM > To: chris.whipple at hq.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] SNMP.pm Solution > > On Fri, 9 Aug 2002 chris.whipple at hq.com wrote: > > > > > Hi All, > > > > Just thought I'd dispense some advice that I had to find out the hard way. > > > > The net-snmp-5.0.3 package - that includes snmpd - comes with SNMP.pm > > v4.2.0. This combination doesn't seem to work with the SNMP-based > > nagios-plugins(v1.3b1). > > > > As suggested off-list by Subhendu Ghosh, I went to CPAN and grabbed > > Net::SNMP v4.0.2 and that seemed to do the trick. > > > > This might be old news to some, but it threw me for a loop. > > > > Thanks for your help, Subhendu! > > > > -chris. > > > > Just to clarify at little more: > > net-snmp used to be known as ucd-snmp and the perl interface to that > package is SNMP. This is a perl interface to the C package. > > Net::SNMP by David Town is a all perl module that does not support MIB > parsing. > > check_snmp uses snmpget binary that is a part of net-snmp package because > it needs the ability to do MIB parsing. (Allows you to specify oids by > name) > > check_ifstatus and check_ifoperstatus use the Net::SNMP module as they > don't need to do any MIB parsing and avoind the overhead of calling an > external program. > > > -sg > > > -- ------------------------------------------------------- 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 Daniel.Rusch at GlobalCrossing.com Wed Aug 21 16:06:03 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Wed, 21 Aug 2002 10:06:03 -0400 Subject: SNMP.pm Solution/problem Message-ID: <0DA06E553C3BD511823500508BB8965A0201204D@exnadetmbx3.ams.gblxint.com> get it from cpan (cpan.org) the easiest way is to use the interactive tool. If you are running RH 7.3 (depending on what you installed, the cpan shell should have been installed with the OS) Try: perl -MCPAN -e shell you should get: cpan> then type: cpan> install Net::SNMP.pm sit back and let it install it for you HTH Dan -----Original Message----- From: Kaufman, Michael [mailto:Kaufmanm at gtc.edu] Sent: Tuesday, August 20, 2002 6:45 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SNMP.pm Solution/problem OK. I still am confused. I am trying to get SNMP.pm, I am not a linux person overall, so I am looking for a rpm that I can install and get it to work on redhat 7.3. anyone have any ideas. I'm just about out of hair to pull. I need it for the check_ifstatus and check_snmp. thanks -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Saturday, August 10, 2002 9:07 AM To: chris.whipple at hq.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SNMP.pm Solution On Fri, 9 Aug 2002 chris.whipple at hq.com wrote: > > Hi All, > > Just thought I'd dispense some advice that I had to find out the hard way. > > The net-snmp-5.0.3 package - that includes snmpd - comes with SNMP.pm > v4.2.0. This combination doesn't seem to work with the SNMP-based > nagios-plugins(v1.3b1). > > As suggested off-list by Subhendu Ghosh, I went to CPAN and grabbed > Net::SNMP v4.0.2 and that seemed to do the trick. > > This might be old news to some, but it threw me for a loop. > > Thanks for your help, Subhendu! > > -chris. > Just to clarify at little more: net-snmp used to be known as ucd-snmp and the perl interface to that package is SNMP. This is a perl interface to the C package. Net::SNMP by David Town is a all perl module that does not support MIB parsing. check_snmp uses snmpget binary that is a part of net-snmp package because it needs the ability to do MIB parsing. (Allows you to specify oids by name) check_ifstatus and check_ifoperstatus use the Net::SNMP module as they don't need to do any MIB parsing and avoind the overhead of calling an external program. -sg -- ------------------------------------------------------- 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: 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 dominique at espacecourbe.com Wed Aug 21 16:40:17 2002 From: dominique at espacecourbe.com (dominique) Date: Wed, 21 Aug 2002 10:40:17 -0400 Subject: problem with nrpe deamon Message-ID: <3D63A651.4040004@espacecourbe.com> Hi, i have a problem with a client ? /usr/local/nagios/libexec/check_nrpe client CHECK_NRPE: Error receiving data from host. someone can tell me the source of this problem? -- Dominique Arpin___________________________[ espace gestionnaire r?seau courbe ] http://www.espacecourbe.com/ t?l?phone 514.933.9861 t?l?copieur 514.933.9546 ------------------------------------------------------- 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 Wed Aug 21 17:02:54 2002 From: galimore at mac.com (Terry Simons) Date: Wed, 21 Aug 2002 08:02:54 -0700 (PDT) Subject: how to relogin in web interface? Message-ID: <3339824.1029942174712.JavaMail.galimore@mac.com> The only way I've been able to do it is to close the browser and re-launch it. The authentication is handled by Apache and your web browser. In order to "change" your login, you have to make your and/or apache "forget" that you're logged in. I haven't bothered messing with it because it seems like such a pain. There may be an easier way, but I find that closing my browswer and opening it up again isn't too much of a pain. I rarely need to login as different users, and people in or organization that monitor things should never need to switch. Does anyone know of an easier way? - Terry On Wednesday, Aug 21, 2002, at 00:39AM, Victor Dario Martinez wrote: >i am logged as nagioasadmin and want change to another user. Is >possible make this from web interface? > > > > >------------------------------------------------------- >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 nate.lists at tbh.info Wed Aug 21 17:11:15 2002 From: nate.lists at tbh.info (Nate) Date: Wed, 21 Aug 2002 11:11:15 -0400 Subject: Problem installing plugins Message-ID: <200208211111.15545.nate.lists@tbh.info> I'm running Redhat 7.3 (2.4.18-5) and trying to install the Nagios plugins. The Nagios core installed fine, but I get the following error when trying to run "make all" for the plugins: [root at orion nagiosplug-1.3-beta1]# make all cd . && /bin/sh: -c: line2: syntax error: unexpected end of file make: *** [aclocal.m4] Error 2 Anyone have any idea where I should be looking to correct this? I took a look at aclocal.m4, but I'm not qute sure what I'm looking for. Any help would be much appreciated. Thanks, Nate D. ------------------------------------------------------- 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 Wed Aug 21 17:10:36 2002 From: russell at quadrix.com (Russell Scibetti) Date: Wed, 21 Aug 2002 11:10:36 -0400 Subject: Escalations Issue - Please help Message-ID: <3D63AD6C.1060200@quadrix.com> I have escalations defined for all the services I am monitoring (using *). I want the first notification to go to the contactgroup for that service (ops), then the 2nd notification to go to ops and admins, and finally the 3rd and up (no upper limit) to go to dutygroup (everyone). I have the following in my escalation config: (the default contactgroup for all services is ops) define serviceescalation{ host_name * service_description * first_notification 2 last_notification 3 contact_groups ops,admins } define serviceescalation{ host_name * service_description * first_notification 3 last_notification 0 contact_groups dutygroup } Now, the behavior I'm getting is this. The first notification does get sent to ops and the second gets sent to ops and admin. However, then Nagios stop notifying. I never get an more notifications sent out, to anyone! (I also tried setting last_notification for ops and admins to 2, and got the same behavior. It never started the next escalation). I am running Nagios 1.0b3. Can someone please help me out? Are the configs wrong? Is this a known bug? Any advice is appreciated. Thanks. -Russell -- 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 8lb4fmllhm001 at sneakemail.com Wed Aug 21 17:23:10 2002 From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com) Date: 21 Aug 2002 11:23:10 -0400 Subject: Problem installing plugins Message-ID: <1328151889.1029943500946.JavaMail.root@monkey> This was answered recently on the list. Do the following: $ touch aclocal.m4 $ sleep 1 $ touch Makefile.in $ sleep 1 $ touch configure then just run 'make' as usual. Nate wrote: > I'm running Redhat 7.3 (2.4.18-5) and trying to install the > Nagios plugins. > The Nagios core installed fine, but I get the following error > when trying to > run "make all" for the plugins: > > [root at orion nagiosplug-1.3-beta1]# make all > cd . && > /bin/sh: -c: line2: syntax error: unexpected end of file > make: *** [aclocal.m4] Error 2 > > Anyone have any idea where I should be looking to correct > this? I took a look > at aclocal.m4, but I'm not qute sure what I'm looking for. ----------------------------------------------------- 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 Daniel.Rusch at GlobalCrossing.com Wed Aug 21 17:31:40 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Wed, 21 Aug 2002 11:31:40 -0400 Subject: NSCA Error Message-ID: <0DA06E553C3BD511823500508BB8965A0201204E@exnadetmbx3.ams.gblxint.com> All, When I run send_ncsa on my remote machine (RH 7.3) I get the following error: Error: Server closed connection before init packet was received Error: Could not read init packet from server I start nsca on the host: ./nsca -d -c nsca.cfg (I checked and it is running) I have reconfirmed that the send_nsca.cfg and nsca.cfg files contain the same passwords, encryption type etc. I searched the archive and saw another person with the same problem but no reply Any thoughts? Thanks, Dan ------------------------------------------------------- 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 max at clarksys.com Wed Aug 21 18:20:09 2002 From: max at clarksys.com (Max Clark) Date: Wed, 21 Aug 2002 09:20:09 -0700 Subject: http service checks Message-ID: <00f001c2492e$9eed4bb0$6445a8c0@princess> Hi, I am a brand new nagios user and so far have been able to configure and use the program without too much difficulty. I am trying to configure http service checks for a series of virtual hosts on my web servers. What is the best way to do this? >From my understanding I need to create a host, customize the check_http in check commands like (create check_http_vhost1 - check_http -H www.host1.com, check_http_vhost2 - check_http -H www.host2.com, etc...), and define services where I correlate the service to the host. Is there a better way to do this? Thanks in advance, Max ------------------------------------------------------- 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 Wed Aug 21 18:46:41 2002 From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com) Date: 21 Aug 2002 12:46:41 -0400 Subject: http service checks Message-ID: <666418513.1029948492464.JavaMail.root@monkey> Max, you're making it unnecessarily hard on yourself. What you need to do is tweak the checkcommands.cfg to allow you to poke at different http ports. You tweak services.cfg to leverage these new definitions. Take a look at what I'm doing, as a baseline. In my checkcommands.cfg: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } # 'check_http_8000' command definition define command{ command_name check_http_8000 command_line $USER1$/check_http -H $HOSTADDRESS$ -p 8000 } # 'check_http_8080' command definition define command{ command_name check_http_8080 command_line $USER1$/check_http -H $HOSTADDRESS$ -p 8080 } And in my services.cfg: define service{ name icmp use generic-service service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 60 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% register 0 } define service{ name http use icmp service_description HTTP notification_options w,u,c,r check_command check_http register 0 } define service{ name http_8000 use http service_description HTTP_8000 notification_options w,u,c,r check_command check_http_8000 register 0 } define service{ name http_8080 use http service_description HTTP_8080 notification_options w,u,c,r check_command check_http_8080 register 0 } And further down in services.cfg: define service{ host_name host1,host7 use http contact_groups unix-admins } define service{ host_name host2,host8,host9 use http_8000 contact_groups linux-admins } define service{ host_name host3,host10 use http_8080 contact_groups unix-admins } (Hostnames changed, just cuz.) Does this help? This should save you *lots* of clutter. Bonus: If you use hostgroups, you can save more keystrokes by specifying "hostgroup_name" and the name(s) of the hostgroup(s) instead of using "host_name" with a long list of hosts. (You'll need to have that defined in hostgroups.cfg first.) Max Clark wrote: > I am a brand new nagios user and so far have been able to > configure and > use the program without too much difficulty. I am trying to configure > http service checks for a series of virtual hosts on my web servers. > What is the best way to do this? > > From my understanding I need to create a host, customize the > check_http > in check commands like (create check_http_vhost1 - check_http -H > www.host1.com, check_http_vhost2 - check_http -H > www.host2.com, etc...), > and define services where I correlate the service to the host. > > Is there a better way to do 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 russell at quadrix.com Wed Aug 21 19:09:27 2002 From: russell at quadrix.com (Russell Scibetti) Date: Wed, 21 Aug 2002 13:09:27 -0400 Subject: http service checks References: <666418513.1029948492464.JavaMail.root@monkey> Message-ID: <3D63C947.9050804@quadrix.com> Save yourself more clutter: define command { command_name check_http_port command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ } then in your service definitions, the check_command line can be: check_command check_http_port!80 or check_command check_http_port!8000 or whatever port you want to check. Now you only have one entry in the checkcommands.cfg and the same number of entries you would have in the services.cfg. -Russell 8lb4fmllhm001 at sneakemail.com wrote: >Max, you're making it unnecessarily hard on yourself. > >What you need to do is tweak the checkcommands.cfg to allow you to poke at different http ports. You tweak services.cfg to leverage these new definitions. Take a look at what I'm doing, as a baseline. > >In my checkcommands.cfg: > ># 'check_http' command definition >define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ > } > ># 'check_http_8000' command definition >define command{ > command_name check_http_8000 > command_line $USER1$/check_http -H $HOSTADDRESS$ -p 8000 > } > ># 'check_http_8080' command definition >define command{ > command_name check_http_8080 > command_line $USER1$/check_http -H $HOSTADDRESS$ -p 8080 > } > >And in my services.cfg: > >define service{ > name icmp > use generic-service > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 60 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > register 0 > } > >define service{ > name http > use icmp > service_description HTTP > notification_options w,u,c,r > check_command check_http > register 0 > } > >define service{ > name http_8000 > use http > service_description HTTP_8000 > notification_options w,u,c,r > check_command check_http_8000 > register 0 > } > >define service{ > name http_8080 > use http > service_description HTTP_8080 > notification_options w,u,c,r > check_command check_http_8080 > register 0 > } > >And further down in services.cfg: > >define service{ > host_name host1,host7 > use http > contact_groups unix-admins > } > >define service{ > host_name host2,host8,host9 > use http_8000 > contact_groups linux-admins > } > >define service{ > host_name host3,host10 > use http_8080 > contact_groups unix-admins > } > >(Hostnames changed, just cuz.) > >Does this help? This should save you *lots* of clutter. > >Bonus: If you use hostgroups, you can save more keystrokes by specifying "hostgroup_name" and the name(s) of the hostgroup(s) instead of using "host_name" with a long list of hosts. (You'll need to have that defined in hostgroups.cfg first.) > > >Max Clark wrote: > >>I am a brand new nagios user and so far have been able to >>configure and >>use the program without too much difficulty. I am trying to configure >>http service checks for a series of virtual hosts on my web servers. >>What is the best way to do this? >> >>From my understanding I need to create a host, customize the >>check_http >>in check commands like (create check_http_vhost1 - check_http -H >>www.host1.com, check_http_vhost2 - check_http -H >>www.host2.com, etc...), >>and define services where I correlate the service to the host. >> >>Is there a better way to do 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 >_______________________________________________ >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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From drich at employees.org Wed Aug 21 19:10:46 2002 From: drich at employees.org (Dan Rich) Date: Wed, 21 Aug 2002 10:10:46 -0700 (PDT) Subject: how to relogin in web interface? In-Reply-To: <3D633592.20004@unicen.edu.ar> References: <3D633592.20004@unicen.edu.ar> Message-ID: On Wed, 21 Aug 2002, Victor Dario Martinez wrote: > i am logged as nagioasadmin and want change to another user. Is > possible make this from web interface? Depending on your web browser, you may be able to go to: http://username at www.whatever.com/nagios/ (obviously replacing the host and path above with your server information). It works with some browsers, not with others so your milage may vary. -- 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: 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 CStamper at pivot.com Wed Aug 21 19:10:46 2002 From: CStamper at pivot.com (Casey Stamper) Date: Wed, 21 Aug 2002 13:10:46 -0400 Subject: check_nt and output Message-ID: When I use the following command in services.cfg: # Service definition define service{ use generic-service ; Name of service template to use host_name ohpiv1tigq04 service_description ntdiskc is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!c!80!90 } taken from the commands.cfg line: command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ I get the following output in the web interface and at the command line: c:\ - total: 3.96 Gb - used: 3.19 Gb (81%) - free 0.77 Gb (19%) but when using this command in miscommands.cfg: # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$\n$SERVICEDESC$\n$HOSTALIAS$\n$SERVICESTATE$\n$SHORTDATET IME$\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$- $HOSTALIAS$/$SERVICEDESC$ $SERVICESTATE$ **" $CONTACTEMAIL$ } my notification email looks like this: PROBLEM ntdiskc ohpiv1tigaq04 WARNING 08-21-2002 09:52:23 c: As you can see, all test after the "\" character is cut off. I know that's because the "\" character needs a delimiter but I've tried putting the delimiter in the notify-by-email command definition in several different places but it didn't work. Anybody? Casey Stamper A+, MCP+I, MCSE Senior Network Engineer Pivot/Info-One 400 Lazelle Rd, Suite 16 Columbus, OH 43240 614.825.5831 614.825.5844 Fax Note: This transmission may not be protected by encryption software, though the information contained herein may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are receiving this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you for your cooperation. ------------------------------------------------------- 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 stevelml1 at scee.sony.co.uk Wed Aug 21 19:12:05 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Wed, 21 Aug 2002 18:12:05 +0100 Subject: http service checks References: <00f001c2492e$9eed4bb0$6445a8c0@princess> Message-ID: <001d01c24935$dfbfab90$ccfe10ac@niw2k> Checking http on virtual hosts (i.e. multiple `sites` but on the same IP and port) is easy to do, and a lot less long winded than the way you are doing it. You set up a single hostname, but call a seperate check_vhttp command, which you can pass the virtual hostname to... so all the checks connect to the same ip, but check the virtual hosts (watch the line wrap on some of these entries) ===================== hosts.cfg: define host{ use generic-host ; Name of host template to use host_name webhost alias webhost - with multiple virtual web sites on it address 1.2.3.4 check_command check-host-alive max_check_attempts 3 notification_interval 60 notification_period 24x7 notification_options d,u,r } ===================== checkcommands.cfg: # 'check_vhttp' command definition define command{ command_name check_vhttp command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ } ===================== services.cfg: #webhost- vhttp define service{ use generic-service ; Name of service template to use host_name webhost service_description VHTTP-vhost1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 60 notification_period 24x7 notification_options c,r check_command check_vhttp!vhost1.whatever.com } #vhost1- vhttp define service{ use generic-service ; Name of service template to use host_name webhost service_description VHTTP-vhost2 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 60 notification_period 24x7 notification_options c,r check_command check_vhttp!vhost2.whatever.com } ===================== Steve ------------------------------------------------------- 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 Wed Aug 21 19:57:20 2002 From: 8lb4fmllhm001 at sneakemail.com (8lb4fmllhm001 at sneakemail.com) Date: 21 Aug 2002 13:57:20 -0400 Subject: http service checks Message-ID: <28327249.1029952722925.JavaMail.root@monkey> Touch?. :) You may still wish to use service templates as follows, so that you know at a glance which port is down. Depends on whether you want simpler config files, or more meaningful notifications: define service{ name http use icmp service_description HTTP notification_options w,u,c,r check_command check_http!80 register 0 } define service{ name http_8000 use http service_description HTTP_8000 notification_options w,u,c,r check_command check_http!8000 register 0 } Sidebar: It's great to see some dialogue (with examples) regarding how to finesse the config files. I remember when I first looked at Nagios, I was dreading the horrors of creating H x S entries in the services.cfg file (where H is the total number of hosts, and S is the total number of services -- worst case scneario, of course). Once I realized how templates worked, and once I looked at the "Time-Saving Tricks For Template-Based Object Definitions" (http://yournagiosservername/nagios/docs/templatetricks.html) I was able to trim *lots* of fat from my config. Russell Scibetti wrote: > Save yourself more clutter: > > define command { > command_name check_http_port > command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ > } > > then in your service definitions, the check_command line can be: > check_command check_http_port!80 > or > check_command check_http_port!8000 > > or whatever port you want to check. Now you only have one entry in the checkcommands.cfg > and the same number of entries you would have in the services.cfg. ----------------------------------------------------- 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 Nolan.Martin at co.travis.tx.us Wed Aug 21 20:12:18 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Wed, 21 Aug 2002 13:12:18 -0500 Subject: Unexpected service alerts based on plugin timed out - Bug, WAD, or Administrator Message-ID: Thanks for your response. This would address the alerts not being transmitted to the contacts (by page or e-mail), but they would still show up within the web interface. Granted, they would now be warnings, but it is still very annoying to have to wade through and disregard them... It really seems (to me at least) that the soft/hard state methodology should apply to the time out as well. Has anyone else dealt with this problem? Nolan >>> nathan 08/20/02 04:35PM >>> To stop the spam of alerts I recompiled my plugins so that timeouts were warnings and not critical then setup my contacts to not get alerted on service warnings. On Tue, Aug 20, 2002 at 04:24:20PM -0500, Nolan Martin wrote: > I've seen this issue pop up several times in the archives, but without > any apparent resolution... Perhaps someone can shed some light this > time. > > I receive on-going (unexpected and undesired) service alerts due to > timed out plugins. This occurs for pretty much any service, including > the check_ping, the check_http and check_nwstat (for abends, etc.). > > The problem is that the plugin timed out alerts do not seem to follow > the max_check_attempts for the service. So, even if the previous ping > was okay, if the next ping check generates a time out, it immediately > generates a service alert (despite the fact that max_check_attempts is > set to 5. > > Can someone tell me if this is working as designed, a bug, or (always > unlikely) administrator error? > > I am currently running Nagios 1.0b3 on Red Hat Linux 7.3. > > Thanks. > > Nolan > > > > > ------------------------------------------------------- > 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 -- Nathan ------------------------------------------------------- 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 max at clarksys.com Wed Aug 21 20:22:49 2002 From: max at clarksys.com (Max Clark) Date: Wed, 21 Aug 2002 11:22:49 -0700 Subject: http service checks In-Reply-To: <001d01c24935$dfbfab90$ccfe10ac@niw2k> References: <001d01c24935$dfbfab90$ccfe10ac@niw2k> Message-ID: <00f801c2493f$c1e25c80$6445a8c0@princess> Thanks everyone for the help! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Loughran Sent: Wednesday, August 21, 2002 10:12 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] http service checks Checking http on virtual hosts (i.e. multiple `sites` but on the same IP and port) is easy to do, and a lot less long winded than the way you are doing it. You set up a single hostname, but call a seperate check_vhttp command, which you can pass the virtual hostname to... so all the checks connect to the same ip, but check the virtual hosts (watch the line wrap on some of these entries) ===================== hosts.cfg: define host{ use generic-host ; Name of host template to use host_name webhost alias webhost - with multiple virtual web sites on it address 1.2.3.4 check_command check-host-alive max_check_attempts 3 notification_interval 60 notification_period 24x7 notification_options d,u,r } ===================== checkcommands.cfg: # 'check_vhttp' command definition define command{ command_name check_vhttp command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ } ===================== services.cfg: #webhost- vhttp define service{ use generic-service ; Name of service template to use host_name webhost service_description VHTTP-vhost1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 60 notification_period 24x7 notification_options c,r check_command check_vhttp!vhost1.whatever.com } #vhost1- vhttp define service{ use generic-service ; Name of service template to use host_name webhost service_description VHTTP-vhost2 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 60 notification_period 24x7 notification_options c,r check_command check_vhttp!vhost2.whatever.com } ===================== Steve ------------------------------------------------------- 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 Darren.Gamble at sjrb.ca Wed Aug 21 20:25:02 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Wed, 21 Aug 2002 12:25:02 -0600 Subject: Unexpected service alerts based on plugin time d out - Bug, WAD, or Administrator Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB4BE@shawmail02> Good day, > > I receive on-going (unexpected and undesired) service alerts due to > > timed out plugins. This occurs for pretty much any service, > including > > the check_ping, the check_http and check_nwstat (for abends, etc.). > > > > The problem is that the plugin timed out alerts do not seem to > follow > > the max_check_attempts for the service. So, even if the previous > ping > > was okay, if the next ping check generates a time out, it > immediately > > generates a service alert (despite the fact that max_check_attempts > is > > set to 5. This is not working as designed. I often see plugins time out (for whatever reason) but the plugin just returns a Critical status and are treated properly as such. Nagios can not tell why the result was generated; only that the plugin returned "Critical". When this happens, what does the "Attempt" column say? (what out of what)? Also, are you sure you're not confusing a host alert with a service alert? If the host check fails (which will be checked as a result of even one failure on a service), you will get a HOST alert for the device, NOT a service alert. The host alerts use a different set of configuration parameters. ============================ 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 max at clarksys.com Wed Aug 21 20:34:32 2002 From: max at clarksys.com (Max Clark) Date: Wed, 21 Aug 2002 11:34:32 -0700 Subject: http service checks In-Reply-To: <001d01c24935$dfbfab90$ccfe10ac@niw2k> References: <001d01c24935$dfbfab90$ccfe10ac@niw2k> Message-ID: <00f901c24941$653a59e0$6445a8c0@princess> If my webserver is behind a firewall and I cannot ping do I just change the "check_command" inside of hosts.cfg to be blank, or can I replace it with a http check? If I want to check the url path and additional options then can I put check_command check_vhttp!www.vhost1.com!/product.cgi into the services.cfg and command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ into the checkcommands.cfg? Thanks again, Max -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Loughran Sent: Wednesday, August 21, 2002 10:12 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] http service checks Checking http on virtual hosts (i.e. multiple `sites` but on the same IP and port) is easy to do, and a lot less long winded than the way you are doing it. You set up a single hostname, but call a seperate check_vhttp command, which you can pass the virtual hostname to... so all the checks connect to the same ip, but check the virtual hosts (watch the line wrap on some of these entries) ===================== hosts.cfg: define host{ use generic-host ; Name of host template to use host_name webhost alias webhost - with multiple virtual web sites on it address 1.2.3.4 check_command check-host-alive max_check_attempts 3 notification_interval 60 notification_period 24x7 notification_options d,u,r } ===================== checkcommands.cfg: # 'check_vhttp' command definition define command{ command_name check_vhttp command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ } ===================== services.cfg: #webhost- vhttp define service{ use generic-service ; Name of service template to use host_name webhost service_description VHTTP-vhost1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 60 notification_period 24x7 notification_options c,r check_command check_vhttp!vhost1.whatever.com } #vhost1- vhttp define service{ use generic-service ; Name of service template to use host_name webhost service_description VHTTP-vhost2 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 60 notification_period 24x7 notification_options c,r check_command check_vhttp!vhost2.whatever.com } ===================== Steve ------------------------------------------------------- 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 Nolan.Martin at co.travis.tx.us Wed Aug 21 20:36:58 2002 From: Nolan.Martin at co.travis.tx.us (Nolan Martin) Date: Wed, 21 Aug 2002 13:36:58 -0500 Subject: Unexpected service alerts based on plugin time dout - Bug, WAD, or Administrator Message-ID: The attempt column will show that it is 1 of 5, etc. In other words, it is not 5 of 5. I am certain that it a service alert. I am seeing these alerts on the "Service Status Details For All Host Groups" screen. If you click on Status Overview, then click on the "All Problem" link near the top of the page. Likewise, these alerts do not show under the respective Host Status totals page. As part of troubleshooting this issue, I have clicked on the service and viewed that page as well as the Alert History. The history shows that the alerts are in a soft state and for an attempt that is less than the maximum check attempt. Thoughts or suggestions? I would be happy to post any pertinent cfg files (or portions of), if it sounds as if my Nagios system behavior is not what others are seeing... >>> Darren Gamble 08/21/02 01:25PM >>> Good day, > > I receive on-going (unexpected and undesired) service alerts due to > > timed out plugins. This occurs for pretty much any service, > including > > the check_ping, the check_http and check_nwstat (for abends, etc.). > > > > The problem is that the plugin timed out alerts do not seem to > follow > > the max_check_attempts for the service. So, even if the previous > ping > > was okay, if the next ping check generates a time out, it > immediately > > generates a service alert (despite the fact that max_check_attempts > is > > set to 5. This is not working as designed. I often see plugins time out (for whatever reason) but the plugin just returns a Critical status and are treated properly as such. Nagios can not tell why the result was generated; only that the plugin returned "Critical". When this happens, what does the "Attempt" column say? (what out of what)? Also, are you sure you're not confusing a host alert with a service alert? If the host check fails (which will be checked as a result of even one failure on a service), you will get a HOST alert for the device, NOT a service alert. The host alerts use a different set of configuration parameters. ============================ 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 Darren.Gamble at sjrb.ca Wed Aug 21 21:52:50 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Wed, 21 Aug 2002 13:52:50 -0600 Subject: Unexpected service alerts Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB4BF@shawmail02> Good day, > The attempt column will show that it is 1 of 5, etc. In > other words, it > is not 5 of 5. > I am certain that it a service alert. I am seeing these alerts on the > "Service Status Details For All Host Groups" screen. That's just a soft alert. You won't get a hard alert (i.e. a page) until it hits 5/5. > As part of troubleshooting this issue, I have clicked on the service > and viewed that page as well as the Alert History. The history shows > that the alerts are in a soft state and for an attempt that > is less than > the maximum check attempt. That's definately a soft alert, yes. > Thoughts or suggestions? I would be happy to post any pertinent cfg > files (or portions of), if it sounds as if my Nagios system > behavior is > not what others are seeing... It's performing exactly as it should. Soft alerts are shown on the .cgi . I am not sure if this is configurable or if they can be filtered out. Check the status.cgi's source for HTTP parameters that it accepts. A hard alert is required to generate a page, however. ============================ 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 Wed Aug 21 21:58:55 2002 From: galimore at mac.com (Terry Simons) Date: Wed, 21 Aug 2002 13:58:55 -0600 Subject: http service checks In-Reply-To: <3D63C947.9050804@quadrix.com> References: <3D63C947.9050804@quadrix.com> Message-ID: <6C9874E5-B540-11D6-AD3E-0003938FDD5C@mac.com> This is exactly how I do it too. You don't need to re-define a service for every port you need to check. The ARG variables come in very handy here. I'd strongly recommend checking out the macro page: http://nagios.sourceforge.net/docs/1_0/macros.html It talks about all of the available macros, and which ones you can use where. Very nice, and a handy reference. - Terry On Wednesday, August 21, 2002, at 11:09 AM, Russell Scibetti wrote: > Save yourself more clutter: > > define command { > ??? command_name??? check_http_port > ??? command_line??? ? ?$USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ > } > > then in your service definitions, the check_command line can be: > ??? check_command??? check_http_port!80 > or > ??? check_command??? check_http_port!8000 > > or whatever port you want to check. ?Now you only have one entry in the > checkcommands.cfg and the same number of entries you would have in the > services.cfg. > > -Russell > > 8lb4fmllhm001 at sneakemail.com wrote: > > Max, you're making it unnecessarily hard on yourself. > > What you need to do is tweak the checkcommands.cfg to allow you to poke > at different http ports. You tweak services.cfg to leverage these new > definitions. Take a look at what I'm doing, as a baseline. > > In my checkcommands.cfg: > > # 'check_http' command definition > define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ > } > > # 'check_http_8000' command definition > define command{ > command_name check_http_8000 > command_line $USER1$/check_http -H $HOSTADDRESS$ -p 8000 > } > > # 'check_http_8080' command definition > define command{ > command_name check_http_8080 > command_line $USER1$/check_http -H $HOSTADDRESS$ -p 8080 > } > > And in my services.cfg: > > define service{ > name icmp > use > generic-service > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 60 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > register 0 > } > > define service{ > name http > use icmp > service_description HTTP > notification_options w,u,c,r > check_command check_http > register 0 > } > > define service{ > name http_ > 8000 > use http > service_description HTTP_8000 > notification_options w,u,c,r > check_command check_http_8000 > register 0 > } > > define service{ > name http_8080 > use http > service_description HTTP_8080 > notification_options w,u,c,r > check_command check_http_8080 > register 0 > } > > And further down in services.cfg: > > define service{ > host_name host1,host7 > use http > contact_groups unix-admins > } > > define service{ > host_name host2,host8,host9 > use http_8000 > > contact_groups linux-admins > } > > define service{ > host_name host3,host10 > use http_8080 > contact_groups unix-admins > } > > (Hostnames changed, just cuz.) > > Does this help? This should save you *lots* of clutter. > > Bonus: If you use hostgroups, you can save more keystrokes by > specifying "hostgroup_name" and the name(s) of the hostgroup(s) instead > of using "host_name" with a long list of hosts. (You'll need to have > that defined in hostgroups.cfg first.) > > > Max Clark wrote: > > I am a brand new nagios user and so far have been able to > configure and > use the program without too much difficulty. I am trying to configure > http service checks for a series of virtual hosts on my web servers. > What is the best way to do this? > > From my understanding I need to create a host, customize the > check_http > in check commands like (create check_http_vhost1 - check_http -H > www.host1.com, check_http_vhost2 - check_http -H > www.host2.com, etc...), > and define services where I correlate the service to the host. > > Is there a better way to do 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 > _______________________________________________ > 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 einb at walledlake.k12.mi.us Wed Aug 21 22:23:22 2002 From: einb at walledlake.k12.mi.us (Ein Bielaczyc) Date: Wed, 21 Aug 2002 16:23:22 -0400 Subject: Nagios Status and MySQL Message-ID: I successfully compiled Nagios with MySQL support on RedHat 7.2. Created the database and used the scripts from the contrib dir to create the database tables. For this initial test I have it monitoring 40 devices. Everything seems to be functioning properly with the following exceptions. For each monitoring option I see, under the Current Status bubble upper left corner, that the "Monitoring process my not be running!" I click the "Click here for more info." Process info bubble looks good, it gives me the correct Start Time, Total Running Time, PID, etc.. But Process Commands says "It appears as though Nagios is not running, so commands are temporarily unavailable..." and Process Status Information says: Process Status - Critical, Check Command Output: Error: Cannot open status log for reading!" It appears to me that the external commands are disabled due to my using the database to store status information as opposed to the standard status.log file. I tried a different check_nagios perl script I found in the mailing list archives but I was unsuccessful in executing it. Any help would be appreciated. Ein B:-) ------------------------------------------------------- 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 Daniel.Rusch at GlobalCrossing.com Wed Aug 21 22:50:54 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Wed, 21 Aug 2002 16:50:54 -0400 Subject: send_nsca Message-ID: <0DA06E553C3BD511823500508BB8965A02012051@exnadetmbx3.ams.gblxint.com> all, When I run send_nsca from the command line I get: Error: Service description is NULL! Any ideas as to what that means? I run send_nsca like: ./send_nsca 10.24.7.176 -to 60 -c send_nsca.cfg when it returns, I type: hal9000 remote_report 0 kewl Thanks, Dan ------------------------------------------------------- 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 Daniel.Rusch at GlobalCrossing.com Wed Aug 21 22:53:47 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Wed, 21 Aug 2002 16:53:47 -0400 Subject: nsca passive service Message-ID: <0DA06E553C3BD511823500508BB8965A02012052@exnadetmbx3.ams.gblxint.com> To use nsca I understand that I have to have a service defined? What do you put for the check_command? Thanks, Dan ------------------------------------------------------- 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 Wed Aug 21 23:32:54 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 21 Aug 2002 17:32:54 -0400 (EDT) Subject: http service checks In-Reply-To: <00f901c24941$653a59e0$6445a8c0@princess> References: <00f901c24941$653a59e0$6445a8c0@princess> Message-ID: You can use any plugin you want for the host-check. You should NOT leave it blank. -sg On Wed, 21 Aug 2002, Max Clark wrote: > If my webserver is behind a firewall and I cannot ping do I just change > the "check_command" inside of hosts.cfg to be blank, or can I replace it > with a http check? > > If I want to check the url path and additional options then can I put > check_command check_vhttp!www.vhost1.com!/product.cgi > into the services.cfg and > command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ > into the checkcommands.cfg? > > Thanks again, > Max > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve > Loughran > Sent: Wednesday, August 21, 2002 10:12 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] http service checks > > Checking http on virtual hosts (i.e. multiple `sites` but on the same IP > and > port) is easy to do, and a lot less long winded than the way you are > doing > it. > > You set up a single hostname, but call a seperate check_vhttp command, > which > you can pass the virtual hostname to... so all the checks connect to the > same ip, but check the virtual hosts > > > (watch the line wrap on some of these entries) > ===================== > hosts.cfg: > > define host{ > use generic-host ; Name of host > template to use > > host_name webhost > alias webhost - with multiple virtual web > sites on > it > address 1.2.3.4 > check_command check-host-alive > max_check_attempts 3 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > ===================== > checkcommands.cfg: > > # 'check_vhttp' command definition > define command{ > command_name check_vhttp > command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ > } > > ===================== > > services.cfg: > > #webhost- vhttp > define service{ > use generic-service ; Name of service template > to > use > > host_name webhost > service_description VHTTP-vhost1 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 60 > notification_period 24x7 > notification_options c,r > check_command check_vhttp!vhost1.whatever.com > } > > #vhost1- vhttp > define service{ > use generic-service ; Name of service template > to > use > > host_name webhost > service_description VHTTP-vhost2 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 60 > notification_period 24x7 > notification_options c,r > check_command check_vhttp!vhost2.whatever.com > } > > > ===================== > > > Steve > > > > > ------------------------------------------------------- > 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 randy.omeara at lmco.com Wed Aug 21 23:54:16 2002 From: randy.omeara at lmco.com (OMeara, Randy) Date: Wed, 21 Aug 2002 14:54:16 -0700 Subject: Nagios Status and MySQL Message-ID: There are two ways to fix this problem: 1) comment the nagios_check_command in the cgi.cfg file 2) search (in contrib maybe?) for a DB-enabled check_command The problem is that Nagios is checking its flat files for status and you are using a DB to store this information. Randy -----Original Message----- From: Ein Bielaczyc [mailto:einb at walledlake.k12.mi.us] Sent: Wednesday, August 21, 2002 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Status and MySQL ... It appears to me that the external commands are disabled due to my using the database to store status information as opposed to the standard status.log file. I tried a different check_nagios perl script I found in the mailing list archives but I was unsuccessful in executing it. ... ------------------------------------------------------- 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 drich at employees.org Thu Aug 22 00:42:37 2002 From: drich at employees.org (Dan Rich) Date: Wed, 21 Aug 2002 15:42:37 -0700 (PDT) Subject: Nagios Status and MySQL In-Reply-To: References: Message-ID: On Wed, 21 Aug 2002, Ein Bielaczyc wrote: > I successfully compiled Nagios with MySQL support on RedHat 7.2. Created the database and used the scripts from the contrib dir to create the database tables. For this initial test I have it monitoring 40 devices. Everything seems to be functioning properly with the following exceptions. For each monitoring option I see, under the Current Status bubble upper left corner, that the "Monitoring process my not be running!" I click the "Click here for more info." Process info bubble looks good, it gives me the correct Start Time, Total Running Time, PID, etc.. But Process Commands says "It appears as though Nagios is not running, so commands are temporarily unavailable..." and Process Status Information says: Process Status - Critical, Check Command Output: Error: Cannot open status log for reading!" > > It appears to me that the external commands are disabled due to my using the database to store status information as opposed to the standard status.log file. I tried a different check_nagios perl script I found in the mailing list archives but I was unsuccessful in executing it. Check the list archives. Someone just posted a new version of the check script for this very issue a week or two ago. -- 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: 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 22 00:42:35 2002 From: nagios at troutpocket.org (Scott) Date: Wed, 21 Aug 2002 15:42:35 -0700 (PDT) Subject: creating mysql databases Message-ID: <1766.12.235.182.135.1029969755.squirrel@www.troutpocket.org> I have modified the db references resources.cfg similar to the following fashion: # DB COMMENT DATA xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios_comment xcddb_username=nagios xcddb_password=redlense xcddb_optimize_data=1 # DB DOWNTIME DATA xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios_downtime xdddb_username=nagios xdddb_password=redlense xdddb_optimize_data=1 etc... Will these database names work after importing the create_mysql file? What is the mysql command to import the file? I did this for postnuke a couple version ago, before they had the nice php install frontend. I remember it was a single command that created the database and imported the tables, but I can't find the command which I ran anywhere. Any help much appreciated. -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 andrew_kemp at pacific.net.au Thu Aug 22 07:01:11 2002 From: andrew_kemp at pacific.net.au (Andrew Kemp) Date: Thu, 22 Aug 2002 15:01:11 +1000 Subject: Integration of nagios monitoring hosts and distributed monitoring Message-ID: <005701c24998$ef259730$758317d2@LTKEMP> Greetings, We currently have 3 x Nagios monitoring systems and 1 x Netsaint monitoring system. Two of the Nagios monitoring systems are set up in a distributed environment, with the other a stand alone monitoring system. We are looking to consolidate our monitoring systems into a fully distributed system (ie: 1 x central and 3 x distributed). However, I need to retain the status information from the other monitoring hosts after the migration for availability reporting, etc. Is this possible ? Can anyone advise on a course of action that would guarantee the retaining of this information ? Thanks. Regards, Andrew ------------------------------------------------------- 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 Thu Aug 22 08:07:17 2002 From: atul at mindsw.com (Atul Gosain) Date: Thu, 22 Aug 2002 11:37:17 +0530 (IST) Subject: Service dependencies problem Message-ID: <1240.202.88.151.196.1029996437.squirrel@www.webyarn.com> hi nagios users I solved the problem that was coming before of return code of 127. Actually, i had given wrong path for the command on the checkcommands.cfg. Thanks for ur help. Now i have some more problems 1. while checking service dependencies, when some host is down, even then the services are checked. Allthough i have put the dependencies for all the services for that host on the Ping service of that host, but that doesnt work and all the services are shown in critical state due to timeout. 2. What are host dependencies for. I dont see any use of them . All the work has been done through service dependencies only. -- Atul Gosain Mindsw Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- 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 warreno at fraseralexander.co.za Thu Aug 22 09:45:50 2002 From: warreno at fraseralexander.co.za (Warren Oliver) Date: Thu, 22 Aug 2002 09:45:50 +0200 Subject: Trying to install Nagios-1.0b5 Message-ID: <42A7705B6E8BD611AD3A000347A571B5156A2A@fa_mail.fraseralexander.co.za> Hi I am trying install Nagios everything 'seems' to install OK but when I connect to the server through my browser from a remote PC I get the following error: Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! I think I have checked all the paths etc and I am unable to find an error. Obviously there is a problem here. Appreciate any pointers you can give me. regards Warren -------------- next part -------------- An HTML attachment was scrubbed... URL: From jan.johansson at viking-telecom.com Thu Aug 22 10:22:34 2002 From: jan.johansson at viking-telecom.com (Jan Johansson) Date: Thu, 22 Aug 2002 10:22:34 +0200 Subject: Trying to install Nagios-1.0b5 Message-ID: >Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! Have you actually _created_ the file? ------------------------------------------------------- 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 g.vickers at qut.edu.au Thu Aug 22 10:37:24 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 22 Aug 2002 18:37:24 +1000 Subject: Trying to get Nagios going! In-Reply-To: <42A7705B6E8BD611AD3A000347A571B5156A2A@fa_mail.fraseralexa nder.co.za> References: <42A7705B6E8BD611AD3A000347A571B5156A2A@fa_mail.fraseralexa nder.co.za> Message-ID: <5.1.0.14.2.20020822181614.00aaacf0@pop.qut.edu.au> Arrgh! This is similar the error I'm getting! I'll reiterate Warren's request :) Nagios completes it's pre-flight checks (-v) all OK, then I start it manually and it opens the log file fine, I can browse the main web page and the documentation, then when I try to access any monitoring page I get this: Error: Could not read host and service status information! Under the reporting menu, I get the same message up to the Alert History link, when viola! I can see the history of what nagios has been trying to do (with my dummy alert monitors etc) Through the web interface I can view all the configuration objects that i've put in, so I know that is working. I've checked all the config information and can't find any errors. And ideas about the above? Thanks, At 17:45 22/08/2002, you wrote: >Hi > >I am trying install Nagios everything 'seems' to install OK but when I >connect to the server through my browser from a remote PC I get the >following error: > >Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for >reading! > >I think I have checked all the paths etc and I am unable to find an error. >Obviously there is a problem here. Appreciate any pointers you can give me. > >regards > >Warren ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tof at sitadelle.com Thu Aug 22 11:13:19 2002 From: tof at sitadelle.com (CAILLET Christophe) Date: Thu, 22 Aug 2002 11:13:19 +0200 Subject: Trying to get Nagios going! References: <5.1.0.14.2.20020822181614.00aaacf0@pop.qut.edu.au> Message-ID: <3D64AB2F.2040800@sitadelle.com> Hi Have you checked the rights on the different files in your log dir e.g. /usr/local/nagios/log. Regards Greg Vickers wrote: > Arrgh! This is similar the error I'm getting! I'll reiterate Warren's > request :) > > Nagios completes it's pre-flight checks (-v) all OK, then I start it > manually and it opens the log file fine, I can browse the main web > page and the documentation, then when I try to access any monitoring > page I get this: > > *Error: Could not read host and service status information! > > *Under the reporting menu, I get the same message up to the Alert > History link, when viola! I can see the history of what nagios has > been trying to do (with my dummy alert monitors etc) Through the web > interface I can view all the configuration objects that i've put in, > so I know that is working. > > I've checked all the config information and can't find any errors. And > ideas about the above? > > Thanks, > > At 17:45 22/08/2002, you wrote: > >> Hi >> >> I am trying install Nagios everything 'seems' to install OK but when >> I connect to the server through my browser from a remote PC I get the >> following error: >> >> *Error: Could not open CGI config file >> '/usr/local/nagios/etc/cgi.cfg' for reading! >> * >> I think I have checked all the paths etc and I am unable to find an >> error. Obviously there is a problem here. Appreciate any pointers you >> can give me. >> >> regards >> >> Warren > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems > Teaching and Learning Support Systems, QUT > g.vickers at qut.edu.au > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: 6147 > ------------------------------------------------------- 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 Volker.Aust at premiere.de Thu Aug 22 13:21:36 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Thu, 22 Aug 2002 13:21:36 +0200 Subject: nsca passive service Message-ID: Hi Dan, you can put any check you like in the check_command of passive_checks (I have check_host_alive). This check is never executed when you set 'check_period none' or disable active checks with 'active_checks_enabled 0'. Hope this helps. -vol > -----Original Message----- > From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] > Sent: Wednesday, August 21, 2002 10:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nsca passive service > > > To use nsca I understand that I have to have a service > defined? What do you > put for the check_command? > > > Thanks, > > Dan > > > ------------------------------------------------------- > 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 Volker.Aust at premiere.de Thu Aug 22 13:34:01 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Thu, 22 Aug 2002 13:34:01 +0200 Subject: send_nsca Message-ID: Hi Dan, send_nsca is reading the message from stdin. You have to execute something like: echo -e "hal9000\tremote_report\t0\tkewl" | ./send_nsca 10.24.7.176 -to 60 -c send_nsca.cfg Or you write a short shell script like: #!/bin/sh # HOST=$1; shift SERVICE=$1; shift STATUS=$1; shift # # abschicken /bin/echo -e "${HOST}\t${SERVICE}\t${STATUS}\t$*" | /path-to/send_nsca 10.24.7.176 -to 60 -c /path-to/send_nsca.cfg This script you can call with: send_nsca.sh hal9000 remote_report 0 kwel Hope this helps. -vol > -----Original Message----- > From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] > Sent: Wednesday, August 21, 2002 10:51 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] send_nsca > > > all, > > When I run send_nsca from the command line I get: > > Error: Service description is NULL! > > Any ideas as to what that means? > > > I run send_nsca like: > > ./send_nsca 10.24.7.176 -to 60 -c send_nsca.cfg > > when it returns, I type: > > hal9000 remote_report 0 kewl > > > > Thanks, > > Dan > > > > > ------------------------------------------------------- > 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 Kaufmanm at gtc.edu Thu Aug 22 13:55:20 2002 From: Kaufmanm at gtc.edu (Kaufman, Michael) Date: Thu, 22 Aug 2002 06:55:20 -0500 Subject: Help with NET::SNMP Message-ID: <08673E1A16E1D5118ECB009027C23BB307B7@gtc.edu> I loaded net-snmp-5.0.1 and i keep getting this error. Can't locate object method "session" via package "Net::SNMP"(perhaps you forgot to load "net::SNMP"?) at /usr/local/nagios/libexec/check_ifstatus line 128. i was reading some of the other NetSNMP messages from earlier and i still don't get it. any help would be great. I lost a T1 last night and did not know it, ohhh, my boss is mad...... thanks mike ------------------------------------------------------- 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 tdeblend at gcc.dhl.com Thu Aug 22 14:03:46 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 22 Aug 2002 14:03:46 +0200 Subject: Help with NET::SNMP References: <08673E1A16E1D5118ECB009027C23BB307B7@gtc.edu> Message-ID: <3D64D322.3EE39D60@gcc.dhl.com> An HTML attachment was scrubbed... URL: From ejl at man.fwltech.com Thu Aug 22 14:23:50 2002 From: ejl at man.fwltech.com (Ewan Leith) Date: Thu, 22 Aug 2002 13:23:50 +0100 Subject: Help with NET::SNMP Message-ID: <1012BD903945D411915500105A48FF57F061F8@nt.man.fwltech.com> As well as net-snmp the binary packages, I believe you also have to install net::snmp the perl modules, i dont think they come together. http://search.cpan.org/author/DTOWN/Net-SNMP-4.0.2/ Ewan > -----Original Message----- > From: Kaufman, Michael [mailto:Kaufmanm at gtc.edu] > Sent: 22 August 2002 12:55 > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Help with NET::SNMP > > > I loaded net-snmp-5.0.1 and i keep getting this error. > > Can't locate object method "session" via package > "Net::SNMP"(perhaps you > forgot to load "net::SNMP"?) at > /usr/local/nagios/libexec/check_ifstatus > line 128. > > > i was reading some of the other NetSNMP messages from earlier > and i still > don't get it. > > any help would be great. I lost a T1 last night and did not > know it, ohhh, > my boss is mad...... > > > > thanks > > mike > > > ------------------------------------------------------- > 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 w.moser at conova.com Thu Aug 22 15:39:37 2002 From: w.moser at conova.com (Wolfgang Moser) Date: Thu, 22 Aug 2002 15:39:37 +0200 Subject: Icons in Statusmap.cgi should link to what???? Message-ID: <3D64E999.3080809@conova.com> Hallo!! I am running Nagios 1.04b and it works fine, except the Link the Hosticon should point to. I am using template based configfiles. define hostextinfo{ notes_url http://localhost/nagios/cgi-bin/perltest.cgi host_name Blackbox icon_image nagios.gif gd2_image nagios.gd2 image_alt nagios.gif } The icons are displayed and the perltest.cgi works if I try it in the Browser by hand. Iam always getting an: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster at mowo and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. And the error.log says: [Thu Aug 22 15:36:42 2002] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi Is there a setting in the Apache wrong or what is the reason for this error. Please help me!!!!!!! Wolfgang ------------------------------------------------------- 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 Daniel.Rusch at GlobalCrossing.com Thu Aug 22 15:50:37 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Thu, 22 Aug 2002 09:50:37 -0400 Subject: send_nsca Message-ID: <0DA06E553C3BD511823500508BB8965A02012056@exnadetmbx3.ams.gblxint.com> Thanks billions, I had tried that but I didn't use the -e on the echo command (I wasn't aware that echo doesn't interpret backslashed escape characters) That did the trick Thanks, Dan -----Original Message----- From: Volker.Aust at premiere.de [mailto:Volker.Aust at premiere.de] Sent: Thursday, August 22, 2002 6:34 AM To: nagios-users at lists.sourceforge.net Cc: Rusch, Daniel Subject: RE: [Nagios-users] send_nsca Hi Dan, send_nsca is reading the message from stdin. You have to execute something like: echo -e "hal9000\tremote_report\t0\tkewl" | ./send_nsca 10.24.7.176 -to 60 -c send_nsca.cfg Or you write a short shell script like: #!/bin/sh # HOST=$1; shift SERVICE=$1; shift STATUS=$1; shift # # abschicken /bin/echo -e "${HOST}\t${SERVICE}\t${STATUS}\t$*" | /path-to/send_nsca 10.24.7.176 -to 60 -c /path-to/send_nsca.cfg This script you can call with: send_nsca.sh hal9000 remote_report 0 kwel Hope this helps. -vol > -----Original Message----- > From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] > Sent: Wednesday, August 21, 2002 10:51 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] send_nsca > > > all, > > When I run send_nsca from the command line I get: > > Error: Service description is NULL! > > Any ideas as to what that means? > > > I run send_nsca like: > > ./send_nsca 10.24.7.176 -to 60 -c send_nsca.cfg > > when it returns, I type: > > hal9000 remote_report 0 kewl > > > > Thanks, > > Dan > > > > > ------------------------------------------------------- > 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 aril at potaulait.be Thu Aug 22 15:52:21 2002 From: aril at potaulait.be (Pierre Donis) Date: Thu, 22 Aug 2002 15:52:21 +0200 Subject: Help with nsclient on NT4 running Lotus notes server Message-ID: <00ed01c249e3$23ec7ca0$14660d0a@aril> Hi, I'm using nsclient on more than 10 NT4 sp6a servers in my company . Everything works fine except when the server is running Lotus Notes server . I got an error message about js32.dll missing . If I copy a js32.dll file into nsclient directory it complains about another one and so on and so on ... After clicking the error message everything runs fine . Have you got any clue about it ? Regards . Pierre . ------------------------------------------------------- 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 wilson at unity.ncsu.edu Thu Aug 22 16:22:16 2002 From: wilson at unity.ncsu.edu (Brian Wilson) Date: Thu, 22 Aug 2002 09:22:16 -0500 (CDT) Subject: Issues with 1.0b5 Message-ID: First off, I've been a longtime user of netsaint and my current network status system is based off of a combination of netsaint and hp openview. After learning about the nagios/netsaint spinoff, I decided to look into it because of some critical features that were missing from netsaint: First being the fact that nagios would retain host downtime on program restarts. This is critical and I got around this in netsaint with a series of AT jobs. I also like the config file changes.. I have scripts that do all configuration file generation, and having this change was well needed ( There is, however, a limitation as to how many devices you can add to a group.. try adding 2,000 hosts to a group and see what happens.. group members should really be 1 per line instead of comma separated member switch1 member switch2 member switch3 etc.. ). I've been convinced to do a re-write of our current system and decided to try nagios instead of netsaint, mainly because of downtime retention. To test downtime retention, I setup a test device with a dummy host-alive check and 2 service checks, one being a ping: define service{ use generic-service; host_name cisco-temp; is_volatile 0; check_period 24x7; contact_groups dummy-group; notification_period 24x7; notification_interval 180; notification_options c,r; service_description PING; max_check_attempts 5; normal_check_interval 8; retry_check_interval 2; event_handler switch-down-event-handler; check_command check_ping; } I setup a dummy-group to send email to ( because I don't want notifications of a host/service down being sent directly to an email address.. imagine if 100 hosts suddenly went down.. 100 emails ).. instead, I always call an event handler to perform some action ( ie. allow host notifications to queue up and send them in bulk every 15 minutes or so. ) 1st problem: I then add a host downtime entry for this device, unhook it from the network so the ping service check will fail, and I continue to get notifications from the event handler for that service. (so, am I correct in assuming that just because you set a host downtime entry for a device that the service checks will keep sending notifications? Why is this? If a host is down, then services will be down) 2nd problem: I then add a service downtime entry for this device, unhook it from the network again so that the ping service check will fail, and I still continue to get notifications from the event handler for that service. (so, am I correct in assuming that downtime for a service only affects email notifications and not event handler notifications?) 3rd problem: One problem with netsaint, which I still see in nagios, is the lack of a tool to bulk manage a number of devices. (ie, if I know a building is going to loose power from 08:00 to 14:00, then I want to schedule downtime for all devices in that building. With the current process of setting downtime, this is rather tedius. I'll probably get around it by writing my own interface to do this (as I did with netsaint), but this would be a great feature to add to your wishlist. Question: assuming downtime scheduling works correctly, would it be possible to put downtime data into mysql and point 2 different nagios servers at the database (the servers would be monitoring the same devices, so, essentially, they would have the same downtime schedules. Thanks for listening.. I think nagios is a step in the right direction as far as network/host monitoring goes. Brian -- Brian Wilson Network Analyst Communication Technologies, ATD W: 919.513.3472 North Carolina State University www.ncstate.net ------------------------------------------------------- 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 todd.jones at weirslurry.com Thu Aug 22 16:40:34 2002 From: todd.jones at weirslurry.com (todd.jones at weirslurry.com) Date: Thu, 22 Aug 2002 09:40:34 -0500 Subject: mail notifications Message-ID: The nagios box has an internal private IP. Our corporate Email server does not allow relaying, even from internal hosts. So, there is no smarthost. My end goal is to send Email directly to my isp's smtp server with the from field saying 'nagios at tds.net' (tds is my isp). I have verified this Email setup works by using a client to be able to send and receive Email using this IP address. My only problem is trying to find out how to configure sendmail to make this happen. The DNS is a non-issue as I know. DNS queries outside our local network are forwarded to the dns servers at my isp. The end goal is to send the email to an account I have with my cell phone company to page me via my cell phone. Regards, Todd Jones Network Administrator Weir Slurry 608.221.5805 phone ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 09:36 AM ----- Memo From: Demetri Mouratis From cm.math.uiuc.edu cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] mail notifications Sent: 08/20/2002 07:28 PM What's the hostname on your Nagios box? Is it in DNS? Do you have a smarthost setup or are you trying to send internet mail directly from your Nagios box? I have a setup like this: Nagios box Private IP In Internal DNS Smarhosts to corporate mail relay Corporate mail relay in external DNS public IP Works just fine. On Tue, 20 Aug 2002 todd.jones at weirslurry.com wrote: > I am running nagios 1.05b on Redhat7.3. I am having some issues getting > nagios to send Email messages to an outside Email account. > > I've been working on the problem for some time and it has to do with the > from field. The from field shows up as nagios at localhost, and my isp's smtp > server rejects this. I've been working with Sendmail's masquerading > feature to try to get it to work, but nothing seems to make it change. > > I do have a valid Email account of nagios with my isp. Any experiences or > help with this issue would be appreciated. > > Regards, > > Todd Jones > Network Administrator > Weir Slurry > 608.221.5805 phone > > > > ------------------------------------------------------- > 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 > --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.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 todd.jones at weirslurry.com Thu Aug 22 16:44:40 2002 From: todd.jones at weirslurry.com (todd.jones at weirslurry.com) Date: Thu, 22 Aug 2002 09:44:40 -0500 Subject: mail notifications Message-ID: This is not really a possibility due to my scenario. The nagios box is not on the Internet, and therefore, does not have an Internet DNS MX record. I cannot relay off my corporate Email. This is also not desirable, as I would like to be able to monitor the corporate Email server and cannot receive notifications via my cell phone Email account to which I am sending if the Email server would be down. What I can do is send an Email from a client on the nagios box to my isp's smtp server as nagios at tds.net (my isp is tds). This Email is properly routed to my cell phone Email address. I'm not sure of a better way to handle this at this point. Regards, Todd Jones Network Administrator Weir Slurry 608.221.5805 phone ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 09:41 AM ----- Memo From: Terry Simons From mac.com com> cc: todd.jones at weirslurry.com, nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] mail notifications Sent: 08/20/2002 08:31 PM Uh... Try forcing your SMTP to send as "nagios at address" Where address is your server's *real* IP address, or your server's DNS. nagios at localhost is probably not a good idea. localhost means "this computer" so maybe your ISP's mail server is thinking "This didn't come from me!!" and throwing it away. Just an idea. - Terry On Tuesday, August 20, 2002, at 06:28 PM, Demetri Mouratis wrote: > What's the hostname on your Nagios box? Is it in DNS? Do you have a > smarthost setup or are you trying to send internet mail directly from > your > Nagios box? > > I have a setup like this: > > Nagios box > Private IP > In Internal DNS > Smarhosts to corporate mail relay > > Corporate mail relay in external DNS > public IP > > Works just fine. > > On Tue, 20 Aug 2002 todd.jones at weirslurry.com wrote: > >> I am running nagios 1.05b on Redhat7.3. I am having some issues >> getting >> nagios to send Email messages to an outside Email account. >> >> I've been working on the problem for some time and it has to do with >> the >> from field. The from field shows up as nagios at localhost, and my >> isp's smtp >> server rejects this. I've been working with Sendmail's masquerading >> feature to try to get it to work, but nothing seems to make it change. >> >> I do have a valid Email account of nagios with my isp. Any >> experiences or >> help with this issue would be appreciated. >> >> Regards, >> >> Todd Jones >> Network Administrator >> Weir Slurry >> 608.221.5805 phone >> >> >> >> ------------------------------------------------------- >> 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 >> > > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.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 Daniel.Rusch at GlobalCrossing.com Thu Aug 22 17:09:41 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Thu, 22 Aug 2002 11:09:41 -0400 Subject: Issues with 1.0b5 Message-ID: <0DA06E553C3BD511823500508BB8965A02012059@exnadetmbx3.ams.gblxint.com> Brian, As to "bulk managing" groups of hosts I understand your point that it would be nice if this was do able out of the box. Have you checked out the external commands, you can write a simple script to do what you want. -----Original Message----- From: Brian Wilson [mailto:wilson at unity.ncsu.edu] Sent: Thursday, August 22, 2002 9:22 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issues with 1.0b5 First off, I've been a longtime user of netsaint and my current network status system is based off of a combination of netsaint and hp openview. After learning about the nagios/netsaint spinoff, I decided to look into it because of some critical features that were missing from netsaint: First being the fact that nagios would retain host downtime on program restarts. This is critical and I got around this in netsaint with a series of AT jobs. I also like the config file changes.. I have scripts that do all configuration file generation, and having this change was well needed ( There is, however, a limitation as to how many devices you can add to a group.. try adding 2,000 hosts to a group and see what happens.. group members should really be 1 per line instead of comma separated member switch1 member switch2 member switch3 etc.. ). I've been convinced to do a re-write of our current system and decided to try nagios instead of netsaint, mainly because of downtime retention. To test downtime retention, I setup a test device with a dummy host-alive check and 2 service checks, one being a ping: define service{ use generic-service; host_name cisco-temp; is_volatile 0; check_period 24x7; contact_groups dummy-group; notification_period 24x7; notification_interval 180; notification_options c,r; service_description PING; max_check_attempts 5; normal_check_interval 8; retry_check_interval 2; event_handler switch-down-event-handler; check_command check_ping; } I setup a dummy-group to send email to ( because I don't want notifications of a host/service down being sent directly to an email address.. imagine if 100 hosts suddenly went down.. 100 emails ).. instead, I always call an event handler to perform some action ( ie. allow host notifications to queue up and send them in bulk every 15 minutes or so. ) 1st problem: I then add a host downtime entry for this device, unhook it from the network so the ping service check will fail, and I continue to get notifications from the event handler for that service. (so, am I correct in assuming that just because you set a host downtime entry for a device that the service checks will keep sending notifications? Why is this? If a host is down, then services will be down) 2nd problem: I then add a service downtime entry for this device, unhook it from the network again so that the ping service check will fail, and I still continue to get notifications from the event handler for that service. (so, am I correct in assuming that downtime for a service only affects email notifications and not event handler notifications?) 3rd problem: One problem with netsaint, which I still see in nagios, is the lack of a tool to bulk manage a number of devices. (ie, if I know a building is going to loose power from 08:00 to 14:00, then I want to schedule downtime for all devices in that building. With the current process of setting downtime, this is rather tedius. I'll probably get around it by writing my own interface to do this (as I did with netsaint), but this would be a great feature to add to your wishlist. Question: assuming downtime scheduling works correctly, would it be possible to put downtime data into mysql and point 2 different nagios servers at the database (the servers would be monitoring the same devices, so, essentially, they would have the same downtime schedules. Thanks for listening.. I think nagios is a step in the right direction as far as network/host monitoring goes. Brian -- Brian Wilson Network Analyst Communication Technologies, ATD W: 919.513.3472 North Carolina State University www.ncstate.net ------------------------------------------------------- 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 Gary.Every at ingramentertainment.com Thu Aug 22 19:39:25 2002 From: Gary.Every at ingramentertainment.com (Gary.Every at ingramentertainment.com) Date: Thu, 22 Aug 2002 12:39:25 -0500 Subject: Nagios is running, but . . . Message-ID: <309419457839D4119E0D00508B6DFE0B0828DF4A@iei-lavergne.mdf.lvrgn.nexus> I've recently installed this awesome product, and it seems to be monitoring my networks very well. I've got 110 hosts and about 150 services being monitored across 4 different subnets, an external, an internal, a dmz as well as a private network. Here's my issue: The monitoring is going well, but when I look at "Process Info" it tells me that: It appears as though Nagios is not running, so commands are temporarily unavailable. Nagios IS running! It's doing a fine job. In my nagios.cfg, I've got check_external_commands=1 command_check_interval=1 command_file=/usr/local/nagios/var/rw/nagios.cmd Where else should I look? Thanks in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: From gary at baribault.net Thu Aug 22 19:57:07 2002 From: gary at baribault.net (Gary Baribault) Date: Thu, 22 Aug 2002 13:57:07 -0400 Subject: Radius plug in Message-ID: <5.1.0.14.2.20020822135129.00b0c6f8@smtp.baribault.net> Hello folks, I have Nagios working on a RH 7.3 box and a having a riot configuring it .. Awesome software folks, thanks Now to the .. there's always one right? I am trying to get the status of my Radius Application on another Linux box and the status is showing up as If I execute the check_radius .. it complains that the library 'libradiusclient.so.0' is missing .. I did a locate and find on this lib and it is really missing .. I then downloaded the latest plugins from sourceforge and compiled/installed them only to find that Radius is not in the bag of tricks .. There must be comething missing here .. my buddy who did the freebie install for me says that he installed from RPMs .. anyone have a clue what I'm talking about and can help me with this ?? I'm quite willing to RTFM .. and have .. but I'm still stumped here.. Thanks Gary B Gary Baribault gary at baribault.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 wilson at ncsu.edu Thu Aug 22 20:15:31 2002 From: wilson at ncsu.edu (Brian Wilson) Date: Thu, 22 Aug 2002 13:15:31 -0500 (CDT) Subject: Issues with 1.0b5 In-Reply-To: <0DA06E553C3BD511823500508BB8965A02012059@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A02012059@exnadetmbx3.ams.gblxint.com> Message-ID: Yes, that's what I'm currently doing with netsaint.. and inserting and removing commands from the external commands file.. I just thought that this might have been someones wishlist for awhile and was hoping to see it in nagios.. On Thu, 22 Aug 2002, Rusch, Daniel wrote: > Brian, > > As to "bulk managing" groups of hosts I understand your point that it would > be nice if this was do able out of the box. Have you checked out the > external commands, you can write a simple script to do what you want. > > -----Original Message----- > From: Brian Wilson [mailto:wilson at unity.ncsu.edu] > Sent: Thursday, August 22, 2002 9:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Issues with 1.0b5 > > > > First off, I've been a longtime user of netsaint and my current network > status system is based off of a combination of netsaint and hp openview. > After learning about the nagios/netsaint spinoff, I decided to look into > it because of some critical features that were missing from netsaint: > > First being the fact that nagios would retain host downtime on program > restarts. This is critical and I got around this in netsaint with a > series of AT jobs. I also like the config file changes.. I have scripts > that do all configuration file generation, and having this change was well > needed ( There is, however, a limitation as to how many devices you can > add to a group.. try adding 2,000 hosts to a group and see what happens.. > group members should really be 1 per line instead of comma separated > member switch1 > member switch2 > member switch3 > etc.. > ). > > I've been convinced to do a re-write of our current system and decided to > try nagios instead of netsaint, mainly because of downtime retention. To > test downtime retention, I setup a test device with a dummy host-alive > check and 2 service checks, one being a ping: > > define service{ > use generic-service; > host_name cisco-temp; > is_volatile 0; > check_period 24x7; > contact_groups dummy-group; > notification_period 24x7; > notification_interval 180; > notification_options c,r; > service_description PING; > max_check_attempts 5; > normal_check_interval 8; > retry_check_interval 2; > event_handler switch-down-event-handler; > check_command check_ping; > } > > I setup a dummy-group to send email to ( because I don't want > notifications of a host/service down being sent directly to an email > address.. imagine if 100 hosts suddenly went down.. 100 emails ).. > instead, I always call an event handler to perform some action ( ie. allow > host notifications to queue up and send them in bulk every 15 minutes or > so. ) > > 1st problem: I then add a host downtime entry for this device, unhook it > from the network so the ping service check will fail, and I continue to > get notifications from the event handler for that service. (so, am I > correct in assuming that just because you set a host downtime entry for a > device that the service checks will keep sending notifications? Why is > this? If a host is down, then services will be down) > > 2nd problem: I then add a service downtime entry for this device, unhook > it from the network again so that the ping service check will fail, and I > still continue to get notifications from the event handler for that > service. (so, am I correct in assuming that downtime for a service only > affects email notifications and not event handler notifications?) > > 3rd problem: One problem with netsaint, which I still see in nagios, is > the lack of a tool to bulk manage a number of devices. (ie, if I know a > building is going to loose power from 08:00 to 14:00, then I want to > schedule downtime for all devices in that building. With the current > process of setting downtime, this is rather tedius. I'll probably get > around it by writing my own interface to do this (as I did with netsaint), > but this would be a great feature to add to your wishlist. > > Question: assuming downtime scheduling works correctly, would it be > possible to put downtime data into mysql and point 2 different nagios > servers at the database (the servers would be monitoring the same devices, > so, essentially, they would have the same downtime schedules. > > Thanks for listening.. I think nagios is a step in the right direction as > far as network/host monitoring goes. > > Brian > > -- > Brian Wilson Network Analyst > Communication Technologies, ATD W: 919.513.3472 > North Carolina State University www.ncstate.net > > > > ------------------------------------------------------- > 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 > -- Brian Wilson Network Analyst Communication Technologies, ATD W: 919.513.3472 North Carolina State University www.ncstate.net ------------------------------------------------------- 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 todd.jones at weirslurry.com Thu Aug 22 20:19:56 2002 From: todd.jones at weirslurry.com (todd.jones at weirslurry.com) Date: Thu, 22 Aug 2002 13:19:56 -0500 Subject: mail notifications Message-ID: I'm not sure I understand how sending my Email to my Internet gateway would be of any help. My Internet gateway is not a device which can relay mail to the Internet. Please let me know if I have misunderstood. My plan is to use the nagios box as an smtp server. If this box was on the Internet, I believe this would be moot. However, it is not and cannot be on the Internet. I'm trying to have the Email notifications going from the nagios box go out as being from 'nagios at tds.net'. I know this will work out fine, if I can figure out how to do it as I've sent Email from an smtp client in this manner successfully. Regards, Todd Jones Network Administrator Weir Slurry 608.221.5805 phone ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 01:14 PM ----- Memo From: Aleksey From loehmanns.com Domorad To: "'todd.jones at weirslurry.com'" Subject: RE: [Nagios-users] mail notifications Sent: 08/22/2002 01:01 PM Does your corporate network has a Firewall or similar gateway to the internet. If you do have a FireWall then just route your Email to that Firewall and use your Nagios box as SMTP server This is what I do at my place -----Original Message----- From: todd.jones at weirslurry.com [mailto:todd.jones at weirslurry.com] Sent: Thursday, August 22, 2002 10:45 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] mail notifications This is not really a possibility due to my scenario. The nagios box is not on the Internet, and therefore, does not have an Internet DNS MX record. I cannot relay off my corporate Email. This is also not desirable, as I would like to be able to monitor the corporate Email server and cannot receive notifications via my cell phone Email account to which I am sending if the Email server would be down. What I can do is send an Email from a client on the nagios box to my isp's smtp server as nagios at tds.net (my isp is tds). This Email is properly routed to my cell phone Email address. I'm not sure of a better way to handle this at this point. Regards, Todd Jones Network Administrator Weir Slurry 608.221.5805 phone ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 09:41 AM ----- Memo From: Terry Simons From mac.com com> cc: todd.jones at weirslurry.com, nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] mail notifications Sent: 08/20/2002 08:31 PM Uh... Try forcing your SMTP to send as "nagios at address" Where address is your server's *real* IP address, or your server's DNS. nagios at localhost is probably not a good idea. localhost means "this computer" so maybe your ISP's mail server is thinking "This didn't come from me!!" and throwing it away. Just an idea. - Terry On Tuesday, August 20, 2002, at 06:28 PM, Demetri Mouratis wrote: > What's the hostname on your Nagios box? Is it in DNS? Do you have a > smarthost setup or are you trying to send internet mail directly from > your Nagios box? > > I have a setup like this: > > Nagios box > Private IP > In Internal DNS > Smarhosts to corporate mail relay > > Corporate mail relay in external DNS > public IP > > Works just fine. > > On Tue, 20 Aug 2002 todd.jones at weirslurry.com wrote: > >> I am running nagios 1.05b on Redhat7.3. I am having some issues >> getting nagios to send Email messages to an outside Email account. >> >> I've been working on the problem for some time and it has to do with >> the from field. The from field shows up as nagios at localhost, and my >> isp's smtp >> server rejects this. I've been working with Sendmail's masquerading >> feature to try to get it to work, but nothing seems to make it change. >> >> I do have a valid Email account of nagios with my isp. Any >> experiences or help with this issue would be appreciated. >> >> Regards, >> >> Todd Jones >> Network Administrator >> Weir Slurry >> 608.221.5805 phone >> >> >> >> ------------------------------------------------------- >> 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 >> > > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.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 _______________________________________________ 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 brian.whitehead at digitalevergreen.com Thu Aug 22 21:10:39 2002 From: brian.whitehead at digitalevergreen.com (Brian Whitehead) Date: 22 Aug 2002 14:10:39 -0500 Subject: Tomcat / MySQL Message-ID: <1030043439.10604.29.camel@linuxrulz.digitalevergreen.com> Just wondering if anyone has written a plug-in to monitor Tomcat or MySQL. We've been using BB for a while and we have a simple .jsp that just makes a connection to the MySQL db. and returns a simple status message in the form of an html page. (Status green or red) This kills two birds with one stone. It gives a status on the MySQL connection and then the BB server is the one making the request to the .jsp, so it finds out if Tomcat is working. We have several java apps running on different servers with MySQL backends. I really need this piece of the puzzle to completely migrate to Nagios. -- Brian Whitehead - A+, LCP, RHCE Systems Administrator Direct: 816.512.9417 Mobile: 816.215.1598 mailto:brian.whitehead at digitalevergreen.com Digital Evergreen 423 West 8th Street Suite 410 Kansas City, MO 64105 Phone: 816.512.9399 http://www.digitalevergreen.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 kenneth.ray at travelersla.com Thu Aug 22 21:28:03 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Thu, 22 Aug 2002 15:28:03 -0400 Subject: mail notifications. Message-ID: <3D653B43.7DA8774E@travelersla.com> I would suggest you do have a real issue. the reason your email comes over as nagios at localhost. is without the proper setup and or a relay your address is done this way. Im not a sendmail expert but since the other suggestions dont work for you how bout i make another useless one. how bout making the nagios server, its own relay host, in effect , faking the system into thinking that there is a relay host.. if that doesnt work, how bout using the switch "-f " in some fashion... snippet from `man sendmail` .... -F fullname Set the full name of the sender. ...... Message: 7 Subject: RE: [Nagios-users] mail notifications To: nagios-users at lists.sourceforge.net From: todd.jones at weirslurry.com Date: Thu, 22 Aug 2002 13:19:56 -0500 I'm not sure I understand how sending my Email to my Internet gateway would be of any help. My Internet gateway is not a device which can relay mail to the Internet. Please let me know if I have misunderstood. My plan is to use the nagios box as an smtp server. If this box was on the Internet, I believe this would be moot. However, it is not and cannot be on the Internet. I'm trying to have the Email notifications going from the nagios box go out as being from 'nagios at tds.net'. I know this will work out fine, if I can figure out how to do it as I've sent Email from an smtp client in this manner successfully. Regards, Todd Jones Network Administrator Weir Slurry 608.221.5805 phone ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 01:14 PM ----- Memo From: Aleksey From loehmanns.com Domorad To: "'todd.jones at weirslurry.com'" Subject: RE: [Nagios-users] mail notifications Sent: 08/22/2002 01:01 PM Does your corporate network has a Firewall or similar gateway to the internet. If you do have a FireWall then just route your Email to that Firewall and use your Nagios box as SMTP server This is what I do at my place -----Original Message----- From: todd.jones at weirslurry.com [mailto:todd.jones at weirslurry.com] Sent: Thursday, August 22, 2002 10:45 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] mail notifications This is not really a possibility due to my scenario. The nagios box is not on the Internet, and therefore, does not have an Internet DNS MX record. I cannot relay off my corporate Email. This is also not desirable, as I would like to be able to monitor the corporate Email server and cannot receive notifications via my cell phone Email account to which I am sending if the Email server would be down. What I can do is send an Email from a client on the nagios box to my isp's smtp server as nagios at tds.net (my isp is tds). This Email is properly routed to my cell phone Email address. I'm not sure of a better way to handle this at this point. ------------------------------------------------------- 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 kenneth.ray at travelersla.com Thu Aug 22 21:42:32 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Thu, 22 Aug 2002 15:42:32 -0400 Subject: Trying to get Nagios going! Message-ID: <3D653EA8.7EC431CE@travelersla.com> ok, here is what you need to check.. check your webserver logs, it should have the access times of when you looked at the page.. that might tell you what is happening to you.. two. how are you starting Nagios? are you using daemon mode? if you are, try it just by opening a window, i found that if the /var/rw/nagios.lock file exists. the system has a hard time of starting, and will actually appear as if it is running till you get to the page where you attempt to display any data from the monitored hosts.. instead of typing nagios -d ../etc/nagios.cfg try " nagios ../etc/nagios.cfg" this assumes you are in the bin directory of the location you installed nagios into, by default this is /usr/local/nagios/bin and also assumes that your nagios.cfg file is in the etc directory of the same main directory.. after checking the logs and provided you do not get the error. saying it cannot create or write to nagios.lck.... when you start nagios, and do a ps what do you get.. these are the things i have run accross in my working with Nagios so far.. From: Greg Vickers To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Trying to get Nagios going! --=====================_9226234==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Arrgh! This is similar the error I'm getting! I'll reiterate Warren's request :) Nagios completes it's pre-flight checks (-v) all OK, then I start it manually and it opens the log file fine, I can browse the main web page and the documentation, then when I try to access any monitoring page I get this: Error: Could not read host and service status information! Under the reporting menu, I get the same message up to the Alert History link, when viola! I can see the history of what nagios has been trying to do (with my dummy alert monitors etc) Through the web interface I can view all the configuration objects that i've put in, so I know that is working. I've checked all the config information and can't find any errors. And ideas about the above? Thanks, At 17:45 22/08/2002, you wrote: >Hi > >I am trying install Nagios everything 'seems' to install OK but when I >connect to the server through my browser from a remote PC I get the >following error: > >Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for >reading! > >I think I have checked all the paths etc and I am unable to find an error. >Obviously there is a problem here. Appreciate any pointers you can give me. > >regards > >Warren ------------------------------------------------------- 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 tprendergast at reserveamerica.com Thu Aug 22 21:50:59 2002 From: tprendergast at reserveamerica.com (Tim Prendergast) Date: Thu, 22 Aug 2002 12:50:59 -0700 Subject: Nagios trend graphs Message-ID: <009301c24a15$3d176ff0$851e1e0a@WEBADMIN> All, I monitor status of tcp ports for certain in-house applications (if the port is live, it returns ok, if the port doesn't respond, then the service is down).. It appears to work, but when I try to graph the availability for this service, it shows the entire known time to be Undetermined. However, this feature works for things that are checked via http that return status codes. Anyone know why this isn't working, or has configured it differently so it works? We really need to find a way to report on availability using Nagios. Regards, Tim Prendergast Manager, Web Administration ReserveAmerica, Inc http://www.ReserveAmerica.com 916-414-8400 x 3536 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Aug 22 22:00:39 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 22 Aug 2002 16:00:39 -0400 (EDT) Subject: Tomcat / MySQL In-Reply-To: <1030043439.10604.29.camel@linuxrulz.digitalevergreen.com> References: <1030043439.10604.29.camel@linuxrulz.digitalevergreen.com> Message-ID: If the .jsp returns parseable text in addition to red/green, then use check_http's -s option to look for string value in content. -sg On 22 Aug 2002, Brian Whitehead wrote: > Just wondering if anyone has written a plug-in to monitor Tomcat or > MySQL. We've been using BB for a while and we have a simple .jsp that > just makes a connection to the MySQL db. and returns a simple status > message in the form of an html page. (Status green or red) This kills > two birds with one stone. It gives a status on the MySQL connection and > then the BB server is the one making the request to the .jsp, so it > finds out if Tomcat is working. We have several java apps running on > different servers with MySQL backends. I really need this piece of the > puzzle to completely migrate to Nagios. > > > -- ------------------------------------------------------- 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 stevelml1 at scee.sony.co.uk Thu Aug 22 22:09:39 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Thu, 22 Aug 2002 21:09:39 +0100 Subject: mail notifications References: Message-ID: <00a101c24a17$d8c5f370$ccfe10ac@niw2k> you either have to set the hostname of the host to a fully qualified and `real` externally visible hostname (or at least a hostname that has a valid MX record for it), or you can cheat and tell sendmail what host it should think it is by editing /etc/sendmail, find the line that looks like: #Dj$w.Foo.COM and then uncomment and change it to: Djmyreal.hostname.com the hostname **MUST** be a name that has either a real name to IP lookup in the outside world, or **MUST** have a valid MX record tied to that hostname (or most anti-spoofing rules in mail servers will deny it) Steve ----- Original Message ----- From: To: Sent: Thursday, August 22, 2002 7:19 PM Subject: RE: [Nagios-users] mail notifications > I'm not sure I understand how sending my Email to my Internet gateway would > be of any help. My Internet gateway is not a device which can relay mail > to the Internet. Please let me know if I have misunderstood. > > My plan is to use the nagios box as an smtp server. If this box was on the > Internet, I believe this would be moot. However, it is not and cannot be > on the Internet. > > I'm trying to have the Email notifications going from the nagios box go out > as being from 'nagios at tds.net'. I know this will work out fine, if I can > figure out how to do it as I've sent Email from an smtp client in this > manner successfully. > > Regards, > > Todd Jones > Network Administrator > Weir Slurry > 608.221.5805 phone > ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 01:14 PM ----- > > Memo From: > Aleksey From loehmanns.com > Domorad To: "'todd.jones at weirslurry.com'" > anns.com> Subject: RE: [Nagios-users] mail notifications > > Sent: > 08/22/2002 > 01:01 PM > > > > > > > Does your corporate network has a Firewall or similar gateway to the > internet. If you do have a FireWall then just route your Email to that > Firewall and use your Nagios box as SMTP server > > This is what I do at my place > > -----Original Message----- > From: todd.jones at weirslurry.com [mailto:todd.jones at weirslurry.com] > Sent: Thursday, August 22, 2002 10:45 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] mail notifications > > > This is not really a possibility due to my scenario. The nagios box is not > on the Internet, and therefore, does not have an Internet DNS MX record. I > cannot relay off my corporate Email. This is also not desirable, as I > would > like to be able to monitor the corporate Email server and cannot receive > notifications via my cell phone Email account to which I am sending if the > Email server would be down. > > What I can do is send an Email from a client on the nagios box to my isp's > smtp server as nagios at tds.net (my isp is tds). This Email is properly > routed to my cell phone Email address. I'm not sure of a better way to > handle this at this point. > > Regards, > > Todd Jones > Network Administrator > Weir Slurry > 608.221.5805 phone > ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 09:41 AM ----- > > > Memo From: > > Terry Simons From mac.com > > > com> cc: todd.jones at weirslurry.com, > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] > mail notifications > Sent: > > 08/20/2002 > > 08:31 PM > > > > > > > > > > Uh... > > Try forcing your SMTP to send as "nagios at address" Where address is your > server's *real* IP address, or your server's DNS. > > nagios at localhost is probably not a good idea. > > localhost means "this computer" so maybe your ISP's mail server is thinking > "This didn't come from me!!" and throwing it away. > > Just an idea. > > - Terry > > On Tuesday, August 20, 2002, at 06:28 PM, Demetri Mouratis wrote: > > > What's the hostname on your Nagios box? Is it in DNS? Do you have a > > smarthost setup or are you trying to send internet mail directly from > > your Nagios box? > > > > I have a setup like this: > > > > Nagios box > > Private IP > > In Internal DNS > > Smarhosts to corporate mail relay > > > > Corporate mail relay in external DNS > > public IP > > > > Works just fine. > > > > On Tue, 20 Aug 2002 todd.jones at weirslurry.com wrote: > > > >> I am running nagios 1.05b on Redhat7.3. I am having some issues > >> getting nagios to send Email messages to an outside Email account. > >> > >> I've been working on the problem for some time and it has to do with > >> the from field. The from field shows up as nagios at localhost, and my > >> isp's smtp > >> server rejects this. I've been working with Sendmail's masquerading > >> feature to try to get it to work, but nothing seems to make it change. > >> > >> I do have a valid Email account of nagios with my isp. Any > >> experiences or help with this issue would be appreciated. > >> > >> Regards, > >> > >> Todd Jones > >> Network Administrator > >> Weir Slurry > >> 608.221.5805 phone > >> > >> > >> > >> ------------------------------------------------------- > >> 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 > >> > > > > --------------------------------------------------------------------- > > Demetri Mouratis > > dmourati at linfactory.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 > _______________________________________________ > 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 Daniel.Rusch at GlobalCrossing.com Fri Aug 23 00:05:37 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Thu, 22 Aug 2002 18:05:37 -0400 Subject: nrpe Message-ID: <0DA06E553C3BD511823500508BB8965A0201205F@exnadetmbx3.ams.gblxint.com> All, First thanks for the help on the previous posts I am trying to get nrpe to work. I have the nrpe daemon running on a linux server (10.24.2.59) On the box that is running nagios, as the usr nagios I can run: ./check_nrpe 10.24.2.59 -p 5666 -c check_users it reports back correctly. but nagios reports the service as pending (Service check is scheduled) What did I miss? Dan config files: # 'check_nrpe' command definition define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ -p 5666 -c $ARG1$ } # Service definition define service{ use generic-service ; Name of service template to use host_name hal9000 service_description remote nrpe is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups testbert notification_interval 30 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_users -----Original Message----- From: Steve Loughran [mailto:stevelml1 at scee.sony.co.uk] Sent: Thursday, August 22, 2002 3:10 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] mail notifications you either have to set the hostname of the host to a fully qualified and `real` externally visible hostname (or at least a hostname that has a valid MX record for it), or you can cheat and tell sendmail what host it should think it is by editing /etc/sendmail, find the line that looks like: #Dj$w.Foo.COM and then uncomment and change it to: Djmyreal.hostname.com the hostname **MUST** be a name that has either a real name to IP lookup in the outside world, or **MUST** have a valid MX record tied to that hostname (or most anti-spoofing rules in mail servers will deny it) Steve ----- Original Message ----- From: To: Sent: Thursday, August 22, 2002 7:19 PM Subject: RE: [Nagios-users] mail notifications > I'm not sure I understand how sending my Email to my Internet gateway would > be of any help. My Internet gateway is not a device which can relay mail > to the Internet. Please let me know if I have misunderstood. > > My plan is to use the nagios box as an smtp server. If this box was on the > Internet, I believe this would be moot. However, it is not and cannot be > on the Internet. > > I'm trying to have the Email notifications going from the nagios box go out > as being from 'nagios at tds.net'. I know this will work out fine, if I can > figure out how to do it as I've sent Email from an smtp client in this > manner successfully. > > Regards, > > Todd Jones > Network Administrator > Weir Slurry > 608.221.5805 phone > ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 01:14 PM ----- > > Memo From: > Aleksey From loehmanns.com > Domorad To: "'todd.jones at weirslurry.com'" > anns.com> Subject: RE: [Nagios-users] mail notifications > > Sent: > 08/22/2002 > 01:01 PM > > > > > > > Does your corporate network has a Firewall or similar gateway to the > internet. If you do have a FireWall then just route your Email to that > Firewall and use your Nagios box as SMTP server > > This is what I do at my place > > -----Original Message----- > From: todd.jones at weirslurry.com [mailto:todd.jones at weirslurry.com] > Sent: Thursday, August 22, 2002 10:45 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] mail notifications > > > This is not really a possibility due to my scenario. The nagios box is not > on the Internet, and therefore, does not have an Internet DNS MX record. I > cannot relay off my corporate Email. This is also not desirable, as I > would > like to be able to monitor the corporate Email server and cannot receive > notifications via my cell phone Email account to which I am sending if the > Email server would be down. > > What I can do is send an Email from a client on the nagios box to my isp's > smtp server as nagios at tds.net (my isp is tds). This Email is properly > routed to my cell phone Email address. I'm not sure of a better way to > handle this at this point. > > Regards, > > Todd Jones > Network Administrator > Weir Slurry > 608.221.5805 phone > ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 09:41 AM ----- > > > Memo From: > > Terry Simons From mac.com > > > com> cc: todd.jones at weirslurry.com, > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] > mail notifications > Sent: > > 08/20/2002 > > 08:31 PM > > > > > > > > > > Uh... > > Try forcing your SMTP to send as "nagios at address" Where address is your > server's *real* IP address, or your server's DNS. > > nagios at localhost is probably not a good idea. > > localhost means "this computer" so maybe your ISP's mail server is thinking > "This didn't come from me!!" and throwing it away. > > Just an idea. > > - Terry > > On Tuesday, August 20, 2002, at 06:28 PM, Demetri Mouratis wrote: > > > What's the hostname on your Nagios box? Is it in DNS? Do you have a > > smarthost setup or are you trying to send internet mail directly from > > your Nagios box? > > > > I have a setup like this: > > > > Nagios box > > Private IP > > In Internal DNS > > Smarhosts to corporate mail relay > > > > Corporate mail relay in external DNS > > public IP > > > > Works just fine. > > > > On Tue, 20 Aug 2002 todd.jones at weirslurry.com wrote: > > > >> I am running nagios 1.05b on Redhat7.3. I am having some issues > >> getting nagios to send Email messages to an outside Email account. > >> > >> I've been working on the problem for some time and it has to do with > >> the from field. The from field shows up as nagios at localhost, and my > >> isp's smtp > >> server rejects this. I've been working with Sendmail's masquerading > >> feature to try to get it to work, but nothing seems to make it change. > >> > >> I do have a valid Email account of nagios with my isp. Any > >> experiences or help with this issue would be appreciated. > >> > >> Regards, > >> > >> Todd Jones > >> Network Administrator > >> Weir Slurry > >> 608.221.5805 phone > >> > >> > >> > >> ------------------------------------------------------- > >> 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 > >> > > > > --------------------------------------------------------------------- > > Demetri Mouratis > > dmourati at linfactory.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 > _______________________________________________ > 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 _______________________________________________ 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 23 05:59:52 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 22 Aug 2002 23:59:52 -0400 (EDT) Subject: possible Service-Bug In-Reply-To: References: Message-ID: On Thu, 15 Aug 2002, Zietzling, Uwe wrote: > > 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 > Is perl involved and are you running an embedded perl nagios in 1.0b5 ? -- -sg ------------------------------------------------------- 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 23 06:07:46 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 23 Aug 2002 00:07:46 -0400 (EDT) Subject: mail notifications In-Reply-To: References: Message-ID: Write a perl script that talks directly to your ISP's smtp server rather than relying on the local MTA/MUA interface. Should be simple with Net::SMTP module. See the sample app in pod. -sg On Thu, 22 Aug 2002 todd.jones at weirslurry.com wrote: > I'm not sure I understand how sending my Email to my Internet gateway would > be of any help. My Internet gateway is not a device which can relay mail > to the Internet. Please let me know if I have misunderstood. > > My plan is to use the nagios box as an smtp server. If this box was on the > Internet, I believe this would be moot. However, it is not and cannot be > on the Internet. > > I'm trying to have the Email notifications going from the nagios box go out > as being from 'nagios at tds.net'. I know this will work out fine, if I can > figure out how to do it as I've sent Email from an smtp client in this > manner successfully. > > Regards, > > Todd Jones > Network Administrator > Weir Slurry > 608.221.5805 phone > ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 01:14 PM ----- > > Memo From: > Aleksey From loehmanns.com > Domorad To: "'todd.jones at weirslurry.com'" > anns.com> Subject: RE: [Nagios-users] mail notifications > > Sent: > 08/22/2002 > 01:01 PM > > > > > > > Does your corporate network has a Firewall or similar gateway to the > internet. If you do have a FireWall then just route your Email to that > Firewall and use your Nagios box as SMTP server > > This is what I do at my place > > -----Original Message----- > From: todd.jones at weirslurry.com [mailto:todd.jones at weirslurry.com] > Sent: Thursday, August 22, 2002 10:45 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] mail notifications > > > This is not really a possibility due to my scenario. The nagios box is not > on the Internet, and therefore, does not have an Internet DNS MX record. I > cannot relay off my corporate Email. This is also not desirable, as I > would > like to be able to monitor the corporate Email server and cannot receive > notifications via my cell phone Email account to which I am sending if the > Email server would be down. > > What I can do is send an Email from a client on the nagios box to my isp's > smtp server as nagios at tds.net (my isp is tds). This Email is properly > routed to my cell phone Email address. I'm not sure of a better way to > handle this at this point. > > Regards, > > Todd Jones > Network Administrator > Weir Slurry > 608.221.5805 phone > ----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 09:41 AM ----- > > > Memo From: > > Terry Simons From mac.com > > > com> cc: todd.jones at weirslurry.com, > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] > mail notifications > Sent: > > 08/20/2002 > > 08:31 PM > > > > > > > > > > Uh... > > Try forcing your SMTP to send as "nagios at address" Where address is your > server's *real* IP address, or your server's DNS. > > nagios at localhost is probably not a good idea. > > localhost means "this computer" so maybe your ISP's mail server is thinking > "This didn't come from me!!" and throwing it away. > > Just an idea. > > - Terry > > On Tuesday, August 20, 2002, at 06:28 PM, Demetri Mouratis wrote: > > > What's the hostname on your Nagios box? Is it in DNS? Do you have a > > smarthost setup or are you trying to send internet mail directly from > > your Nagios box? > > > > I have a setup like this: > > > > Nagios box > > Private IP > > In Internal DNS > > Smarhosts to corporate mail relay > > > > Corporate mail relay in external DNS > > public IP > > > > Works just fine. > > > > On Tue, 20 Aug 2002 todd.jones at weirslurry.com wrote: > > > >> I am running nagios 1.05b on Redhat7.3. I am having some issues > >> getting nagios to send Email messages to an outside Email account. > >> > >> I've been working on the problem for some time and it has to do with > >> the from field. The from field shows up as nagios at localhost, and my > >> isp's smtp > >> server rejects this. I've been working with Sendmail's masquerading > >> feature to try to get it to work, but nothing seems to make it change. > >> > >> I do have a valid Email account of nagios with my isp. Any > >> experiences or help with this issue would be appreciated. > >> > >> Regards, > >> > >> Todd Jones > >> Network Administrator > >> Weir Slurry > >> 608.221.5805 phone > >> > >> > >> > >> ------------------------------------------------------- > >> 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 > >> > > > > --------------------------------------------------------------------- > > Demetri Mouratis > > dmourati at linfactory.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 > _______________________________________________ > 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 23 06:15:26 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 23 Aug 2002 00:15:26 -0400 (EDT) Subject: Nagios is running, but . . . In-Reply-To: <309419457839D4119E0D00508B6DFE0B0828DF4A@iei-lavergne.mdf.lvrgn.nexus> References: <309419457839D4119E0D00508B6DFE0B0828DF4A@iei-lavergne.mdf.lvrgn.nexus> Message-ID: In cgi.cfg.... # 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 -F /usr/local/nagios/var/status.log -e5 -C nagios On Thu, 22 Aug 2002 Gary.Every at ingramentertainment.com wrote: > I've recently installed this awesome product, and it seems to be monitoring > my networks very well. I've got 110 hosts and about 150 services being > monitored across 4 different subnets, an external, an internal, a dmz as > well as a private network. Here's my issue: > > The monitoring is going well, but when I look at "Process Info" it tells me > that: > > It appears as though Nagios is not running, so commands are temporarily > unavailable. > > Nagios IS running! It's doing a fine job. > In my nagios.cfg, I've got > check_external_commands=1 > command_check_interval=1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > > > Where else should I look? > > > Thanks in advance! > -- ------------------------------------------------------- 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 tdeblend at gcc.dhl.com Fri Aug 23 08:50:27 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Fri, 23 Aug 2002 08:50:27 +0200 Subject: mail notifications References: Message-ID: <3D65DB33.A839834C@gcc.dhl.com> An HTML attachment was scrubbed... URL: From felix_schattschneider at ccmconsult.de Fri Aug 23 12:03:49 2002 From: felix_schattschneider at ccmconsult.de (felix schattschneider) Date: Fri, 23 Aug 2002 12:03:49 +0200 Subject: AW: Radius plug in Message-ID: <759458843C03DF4EA76CCD67DC524D0A02CD07@uhura.ccmconsult.de> > Von: Gary Baribault [mailto:gary at baribault.net] > Gesendet: Donnerstag, 22. August 2002 19:57 > If I execute the check_radius .. it complains that the library > 'libradiusclient.so.0' is missing .. I did a locate and find > on this lib > and it is really missing .. Well, why don't you do something about that? Read the REQUIREMENTS file in the plugins-source directory, it's all in there... Felix ------------------------------------------------------- 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 paul at tortc.tuht.scot.nhs.uk Fri Aug 23 12:33:12 2002 From: paul at tortc.tuht.scot.nhs.uk (Paul Cochrane) Date: Fri, 23 Aug 2002 11:33:12 +0100 Subject: Settings for checking a SAMBA server Message-ID: <3D6619F8.32359.12FC2FBF@localhost> Hi folks. I thought I'd pass on the setup I am using to check wether a samba server is running on a host: in checkcommands.cfg: ------------------------------------------------------------ define command { command_name check_samba command_line $USER1$/check_samba $ARG1$ $HOSTADDRESS$ } ------------------------------------------------------------ The check_samba script is as such: ------------------------------------------------------------ #!/bin/sh # /usr/local/samba/bin/smbclient -W $1 -L $2 -N >/dev/null if test $? -eq 0 then echo "$1\\$2 answered SAMBA request" exit 0 else echo "$1\\$2 not responding to SAMBA requests" exit 1 fi ------------------------------------------------------------ ------------------------------------- Paul Cochrane | Tayside Orthopaedic & | | Rehabilitation Technology Centre | ============= |-------------------------------------| | Ninewells Hospital & Med. School | | Dundee, Scotland, UK. | | DD1 9SY. | | Phone: +44 1382 496284 | | Fax: +44 1382 496322 | | E-Mail: paul at tortc.tuht.scot.nhs.uk | ------------------------------------- ------------------------------------------------------- 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 paul at tortc.tuht.scot.nhs.uk Fri Aug 23 12:38:14 2002 From: paul at tortc.tuht.scot.nhs.uk (Paul Cochrane) Date: Fri, 23 Aug 2002 11:38:14 +0100 Subject: Why do I get 2 notification messages for every problem? Message-ID: <3D661B26.27264.1300CA0B@localhost> Anyone any idea why I get 2 messages for every failure? It sends out both a Host up alert and a problem.recovery alert. I only need one message to tell me when something is wrong!! example host.cfg: --------------------------------------------------------- define host { host_name RouterA alias RouterA address 192.168.1.4 max_check_attempts 10 notification_interval 480 notification_period 24x7 notification_options d,r check_command check-host-alive parents Linux_Servers } --------------------------------------------------------- example service: --------------------------------------------------------- define service { host_name RouterA,RouterB,TORTserver,SQLserver,Retis,Maryfi eld_WWW_Server,Uni_WWW_Server,Retis_WWW_Server service_description WWW Server Check check_command check_http max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period workhours notification_options c,r contact_groups Network-Admins } --------------------------------------------------------- Sorry if this is a FAQ!!!! ------------------------------------- Paul Cochrane | Tayside Orthopaedic & | | Rehabilitation Technology Centre | ============= |-------------------------------------| | Ninewells Hospital & Med. School | | Dundee, Scotland, UK. | | DD1 9SY. | | Phone: +44 1382 496284 | | Fax: +44 1382 496322 | | E-Mail: paul at tortc.tuht.scot.nhs.uk | ------------------------------------- ------------------------------------------------------- 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 stevelml1 at scee.sony.co.uk Fri Aug 23 12:39:31 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Fri, 23 Aug 2002 11:39:31 +0100 Subject: Why do I get 2 notification messages for every problem? References: <3D661B26.27264.1300CA0B@localhost> Message-ID: <00c901c24a91$5d6ec8d0$f5c8dfc2@niw2k> FAQ :) Host: > notification_options d,r notify on host down and host recovery Service: > notification_options c,r notify on service critical and service recovery Steve ------------------------------------------------------- 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 23 12:49:15 2002 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Fri, 23 Aug 2002 11:49:15 +0100 Subject: Why do I get 2 notification messages for every problem? In-Reply-To: <00c901c24a91$5d6ec8d0$f5c8dfc2@niw2k> References: <00c901c24a91$5d6ec8d0$f5c8dfc2@niw2k> Message-ID: Steve, I dont know if this would help but check that you do not have multiple nagios processes running. Matt --------------------------------------------------------------------------------------------------- Matthew Quinney CLS,CLP Network Manager Holland & Holland Ltd 31-33 Bruton ST London Tel - 0207 4994411 email - matthew.quinney at hollandandholland.com "Steve Loughran" Sent by: nagios-users-admin at lists.sourceforge.net 23/08/2002 11:39 To cc Subject Re: [Nagios-users] Why do I get 2 notification messages for every problem? FAQ :) Host: > notification_options d,r notify on host down and host recovery Service: > notification_options c,r notify on service critical and service recovery Steve ------------------------------------------------------- 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 atul at mindsw.com Fri Aug 23 13:34:29 2002 From: atul at mindsw.com (Atul Gosain) Date: Fri, 23 Aug 2002 17:04:29 +0530 (IST) Subject: service dependency problems Message-ID: <1613.202.88.151.196.1030102469.squirrel@www.webyarn.com> Sir I have been trying to setup service dependencies but unable to do that. Suppose for my host term2, i have created the dependency of Http service on ping service of term2. term2 is being monitored by the nagios host.When term2 is down, even then the nagios checks the Http service , when it should not do that. Similarly i had defined many more services dependent on ping but they are checked even then. Does it matter that if the other dependencies are defined for services of other hosts above the service dependencies of term2, then may be dependencies of term2 are not checked.I mean that does the order in whgich service dependencies are defined in dependencies.cfg matter?? Please help solve my problem. Thanks Atul. -- Atul Gosain Mindsw Software and Services Pvt. Ltd. A-50, Sector-39 Noida(UP). ph no: 4500369,4575991 ------------------------------------------------------- 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 kenneth.ray at travelersla.com Fri Aug 23 14:52:08 2002 From: kenneth.ray at travelersla.com (Kenneth.ray) Date: Fri, 23 Aug 2002 08:52:08 -0400 Subject: deprication of echo Message-ID: <3D662FF8.B1A4DD1B@travelersla.com> This has been bugging me for quite sometime can someone please explain it like im a 3-year old.. I agree echo -e is not portable but why use the e switch in the first place. if you surround the message in qoutes, echo works nicely, I tested it on AIX redhat, and Solaris. Can anyone show me a instance where the output would not work? I have a couple of custom scripts and I use echo extensively throughout my configs and within my homegrown scripts. This just bugs me to no end becuase Echo was designed to be just like a parrot, what you see is what you get. it even works in NT (though with NT the qoutes are displayed. IE:echo "this is a message" comes out as "this is a message") also if your using the -e switch, dont, -e is not available in all forms of echo, enclose it in qoutes and like me, it should work fine.. feel free to educate this misguided individual(me) into the advantages of using printf over echo since it appears that Echo is actually more portable than printf (printf dont work in NT, not that this matters but if we are talking portability...) and since its simple, why not keep it simple.) just my three cents on the echo versus printf subject.. Message: 10 Subject: Re: [netsaint] Notification message truncated From: Karl DeBisschop To: Stanley.G.Martin at mail.sprint.com Cc: netsaint-users at lists.sourceforge.net Date: 22 Aug 2002 10:23:53 -0400 On Thu, 2002-08-22 at 10:04, Stanley.G.Martin at mail.sprint.com wrote: > I found my answer. Found a README in the source that mentioned using > 'echo -e' instead of 'printf' and that worked. It may work, but it is not portable. That's why it was deprecated in the distribution in favour of printf which is portable. -- Karl ------------------------------------------------------- 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 Daniel.Rusch at GlobalCrossing.com Fri Aug 23 15:00:12 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 23 Aug 2002 09:00:12 -0400 Subject: Dumb Question Message-ID: <0DA06E553C3BD511823500508BB8965A02012060@exnadetmbx3.ams.gblxint.com> Is there a way to see exactly what command is that nagios is attempting to execute For example, I have the following check_nrpe command defined and a service defined that uses the check_nrpe command: # 'check_nrpe' command definition define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ -p 5666 -c $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ } # Service definition define service{ use generic-service ; Name of service template to use host_name hal9000 service_description remote nrpe is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups testbert notification_interval 30 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_users!-w!10!-c!20 } I ASSUME that nagios is executing /usr/local/nagios/libexec/check_nrpe hal9000 -p 5666 -c check_users -w 10 -c 20 But is there a way to confirm that that is what it is actually executing?? Thanks ------------------------------------------------------- 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 Daniel.Rusch at GlobalCrossing.com Fri Aug 23 15:22:48 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 23 Aug 2002 09:22:48 -0400 Subject: deprecation of echo Message-ID: <0DA06E553C3BD511823500508BB8965A02012061@exnadetmbx3.ams.gblxint.com> echo "hostaddress\tservice name\treturn code\tplugin output\n" and echo -e "hostaddress\tservice name\treturn code\tplugin output\n" are two different things the -e interprets the backslashed escape character '\t' without it echo won't interpret it as a tab. At tleast it didn't for me on RH 7.3 DR -----Original Message----- From: Kenneth.ray [mailto:kenneth.ray at travelersla.com] Sent: Friday, August 23, 2002 7:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] deprication of echo This has been bugging me for quite sometime can someone please explain it like im a 3-year old.. I agree echo -e is not portable but why use the e switch in the first place. if you surround the message in qoutes, echo works nicely, I tested it on AIX redhat, and Solaris. Can anyone show me a instance where the output would not work? I have a couple of custom scripts and I use echo extensively throughout my configs and within my homegrown scripts. This just bugs me to no end becuase Echo was designed to be just like a parrot, what you see is what you get. it even works in NT (though with NT the qoutes are displayed. IE:echo "this is a message" comes out as "this is a message") also if your using the -e switch, dont, -e is not available in all forms of echo, enclose it in qoutes and like me, it should work fine.. feel free to educate this misguided individual(me) into the advantages of using printf over echo since it appears that Echo is actually more portable than printf (printf dont work in NT, not that this matters but if we are talking portability...) and since its simple, why not keep it simple.) just my three cents on the echo versus printf subject.. Message: 10 Subject: Re: [netsaint] Notification message truncated From: Karl DeBisschop To: Stanley.G.Martin at mail.sprint.com Cc: netsaint-users at lists.sourceforge.net Date: 22 Aug 2002 10:23:53 -0400 On Thu, 2002-08-22 at 10:04, Stanley.G.Martin at mail.sprint.com wrote: > I found my answer. Found a README in the source that mentioned using > 'echo -e' instead of 'printf' and that worked. It may work, but it is not portable. That's why it was deprecated in the distribution in favour of printf which is portable. -- Karl ------------------------------------------------------- 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 joblow7777 at yahoo.com Fri Aug 23 16:17:32 2002 From: joblow7777 at yahoo.com (jo smith) Date: Fri, 23 Aug 2002 07:17:32 -0700 (PDT) Subject: A couple of questions Message-ID: <20020823141732.94054.qmail@web13008.mail.yahoo.com> Hi. Has anyone used nagios and mrtg together? Also what ghings are people typically monitoring? Is anyone monitoring databases like informix or oracle? If your monitoring databases, how do you monitor to see if the database is live? Thanks everyone. Jo --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd.jones at weirslurry.com Fri Aug 23 16:41:49 2002 From: todd.jones at weirslurry.com (todd.jones at weirslurry.com) Date: Fri, 23 Aug 2002 09:41:49 -0500 Subject: solved - mail notification problem Message-ID: I would like to thank everybody who made an attempt to help me with my main notification issue. I would especially like to thank Jim Carroll who gave assistance and helped with editing my sendmail.cf file. Problem: How to have a nagios box on a private network, send Email notifications out which come from nagios at tds.net, where tds.net is my isp. This is necessary as everything else will bounce. I could not relay off my corporate smtp as it is not allowed by policy and I want to receive notifications if that service goes down. The only thing I could get working was having the Email go out as nagios at localhost. Solution: Edit the sendmail.cf file in the following section. # my official domain name # ... define this only if sendmail cannot automatically determine your domain #Dj$w.Foo.COM #Dj$w.tds.net Djtds.net This entry forces sendmail to use tds.net as the domain. Regards, Todd Jones Network Administrator Weir Slurry 608.221.5805 phone ------------------------------------------------------- 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 Fri Aug 23 16:59:39 2002 From: albert.tobey at priority-health.com (Al Tobey) Date: 23 Aug 2002 10:59:39 -0400 Subject: SWIG and perl Message-ID: <1030114779.21079.164.camel@linuxws1> Has anybody looked at using SWIG (www.swig.org) on the Nagios xdata routines to generate perl (or python or [yourlanguagehere]) modules? This might be really cool for parsing logfiles and configs for various user scripts. Just a thought, -Al Tobey ******************************************************************** 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: 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 23 17:08:54 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 23 Aug 2002 11:08:54 -0400 (EDT) Subject: Dumb Question In-Reply-To: <0DA06E553C3BD511823500508BB8965A02012060@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A02012060@exnadetmbx3.ams.gblxint.com> Message-ID: On Fri, 23 Aug 2002, Rusch, Daniel wrote: > Is there a way to see exactly what command is that nagios is attempting to > execute > > For example, I have the following check_nrpe command defined and a service > defined that uses the check_nrpe command: > > # 'check_nrpe' command definition > define command{ > command_name check_nrpe > command_line /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ > -p 5666 -c $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to > use > > host_name hal9000 > service_description remote nrpe > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups testbert > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_users!-w!10!-c!20 > } > > I ASSUME that nagios is executing /usr/local/nagios/libexec/check_nrpe > hal9000 -p 5666 -c check_users -w 10 -c 20 > > But is there a way to confirm that that is what it is actually executing?? > > strace/truss :) or run the daemon in debug mode. In the above example... ARG1 = check_users ARG2 = -w ARG3 = 10 ARG4 = -c ARG5 = 20 but... all args to the remote plugins must be encapsulated with quotes or they are assumbed to be for the local plugin (specially check_by_ssh) but with NRPE, check_nrpe uses the command name to match a definition in nrpe.cfg - so you cannot pass args to remote plugins with nrpe -- -sg ------------------------------------------------------- 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 Daniel.Rusch at GlobalCrossing.com Fri Aug 23 17:38:47 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Fri, 23 Aug 2002 11:38:47 -0400 Subject: Dumb Question Message-ID: <0DA06E553C3BD511823500508BB8965A02012066@exnadetmbx3.ams.gblxint.com> >but... >all args to the remote plugins must be encapsulated with quotes or they >are assumbed to be for the local plugin (specially check_by_ssh) >but with NRPE, check_nrpe uses the command name to match a definition in >nrpe.cfg - so you cannot pass args to remote plugins with nrpe Thanks, It dawned on me that check_npre didn't take extra args and that I needed to add the args on the remote machine two seconds after I posted my question. I didn't retract the question because although my example had errors in it, I still wanted to know how to see the actual command for other commands..... Once again thanks Dan -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, August 23, 2002 10:09 AM To: Nagios-User (E-mail) Subject: Re: [Nagios-users] Dumb Question On Fri, 23 Aug 2002, Rusch, Daniel wrote: > Is there a way to see exactly what command is that nagios is attempting to > execute > > For example, I have the following check_nrpe command defined and a service > defined that uses the check_nrpe command: > > # 'check_nrpe' command definition > define command{ > command_name check_nrpe > command_line /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ > -p 5666 -c $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to > use > > host_name hal9000 > service_description remote nrpe > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups testbert > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_users!-w!10!-c!20 > } > > I ASSUME that nagios is executing /usr/local/nagios/libexec/check_nrpe > hal9000 -p 5666 -c check_users -w 10 -c 20 > > But is there a way to confirm that that is what it is actually executing?? > > strace/truss :) or run the daemon in debug mode. In the above example... ARG1 = check_users ARG2 = -w ARG3 = 10 ARG4 = -c ARG5 = 20 but... all args to the remote plugins must be encapsulated with quotes or they are assumbed to be for the local plugin (specially check_by_ssh) but with NRPE, check_nrpe uses the command name to match a definition in nrpe.cfg - so you cannot pass args to remote plugins with nrpe -- -sg ------------------------------------------------------- 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 darren at bcgroup.net Fri Aug 23 19:29:10 2002 From: darren at bcgroup.net (Darren) Date: 23 Aug 2002 10:29:10 -0700 Subject: check_ping Message-ID: <1030123750.9149.18.camel@chief.pgweb.com> Hi, We are monitoring a wireless customer and noticing some strange results from just this one customer. From the Nagios box I can run: [root at chief libexec]# ping 204.xxx.xxx.67: PING 204.xxx.xxx.67 (204.xxx.xxx.67) from 204.xxx.xxx.3 : 56(84) bytes of data. 64 bytes from 204.xxx.xxx.67: icmp_seq=1 ttl=254 time=8.668 msec 64 bytes from 204.xxx.xxx.67: icmp_seq=2 ttl=254 time=9.026 msec 64 bytes from 204.xxx.xxx.67: icmp_seq=3 ttl=254 time=8.088 msec 64 bytes from 204.xxx.xxx.67: icmp_seq=4 ttl=254 time=35.096 msec 64 bytes from 204.xxx.xxx.67: icmp_seq=5 ttl=254 time=12.498 msec Works like a charm. Now I'm going to run CHECK_PING: [root at chief libexec]# ./check_ping -H 204.xxx.xxx.67 -w 3000,80% -c 5000,100% -p 1 CRITICAL - Plugin timed out after 10 seconds Hmm, this happens EVERY single time I run it...now I'm going to change it to 5 pings. [root at chief libexec]# ./check_ping -H 204.244.160.67 -w 3000,80% -c 5000,100% -p 5 PING OK - Packet loss = 20%, RTA = 20.32 ms These results cause the host to always be down, yet the ping service to show it as up. Does CHECK_PING use a large packet size? I don't have a clue what is causing this. Does anyone have any ideas? I'm running the newest version of Nagios(1.0b5) and Plugins (1.3beta1). Thanks in advance, - Darren ------------------------------------------------------- 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 Fri Aug 23 19:42:34 2002 From: amurrey at sauriantech.com (Andrew Murrey) Date: Fri, 23 Aug 2002 12:42:34 -0500 Subject: check_ping In-Reply-To: <1030123750.9149.18.camel@chief.pgweb.com> References: <1030123750.9149.18.camel@chief.pgweb.com> Message-ID: Which version of linux are you running this on? Redhat 7.3? I was having a similar issue, when I replaced the net tools with the 7.2 stuff it worked again. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Darren Sent: Friday, August 23, 2002 12:29 PM To: nagios-users at lists.sourceforge.net Cc: nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] check_ping Hi, We are monitoring a wireless customer and noticing some strange results from just this one customer. From the Nagios box I can run: [root at chief libexec]# ping 204.xxx.xxx.67: PING 204.xxx.xxx.67 (204.xxx.xxx.67) from 204.xxx.xxx.3 : 56(84) bytes of data. 64 bytes from 204.xxx.xxx.67: icmp_seq=1 ttl=254 time=8.668 msec 64 bytes from 204.xxx.xxx.67: icmp_seq=2 ttl=254 time=9.026 msec 64 bytes from 204.xxx.xxx.67: icmp_seq=3 ttl=254 time=8.088 msec 64 bytes from 204.xxx.xxx.67: icmp_seq=4 ttl=254 time=35.096 msec 64 bytes from 204.xxx.xxx.67: icmp_seq=5 ttl=254 time=12.498 msec Works like a charm. Now I'm going to run CHECK_PING: [root at chief libexec]# ./check_ping -H 204.xxx.xxx.67 -w 3000,80% -c 5000,100% -p 1 CRITICAL - Plugin timed out after 10 seconds Hmm, this happens EVERY single time I run it...now I'm going to change it to 5 pings. [root at chief libexec]# ./check_ping -H 204.244.160.67 -w 3000,80% -c 5000,100% -p 5 PING OK - Packet loss = 20%, RTA = 20.32 ms These results cause the host to always be down, yet the ping service to show it as up. Does CHECK_PING use a large packet size? I don't have a clue what is causing this. Does anyone have any ideas? I'm running the newest version of Nagios(1.0b5) and Plugins (1.3beta1). Thanks in advance, - Darren ------------------------------------------------------- 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 jpathak at taxcut.com Fri Aug 23 21:20:41 2002 From: jpathak at taxcut.com (Jignesh Pathak) Date: Fri, 23 Aug 2002 15:20:41 -0400 Subject: Check_local_disk problem Message-ID: <003701c24ada$2bb93840$61222404@taxcut.com> Hello: I am having weired problem for which I am looking for some help. I am trying to find out free disk space on all file systems on Unix Solaris 8 box. I am able to get it check_local_disk command for some file systems but not for others for the same box. The file system is mounted on the box. My configurations are same and I have checked all partition details correct and eventhough it is not working. Following are some configuration FYI: Df -k output on system: bash-2.03# df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 963869 56484 849553 7% / /dev/dsk/c0t0d0s6 3012601 685725 226662424% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd mnttab 0 0 0 0% /etc/mnttab /dev/dsk/c0t0d0s1 1241294 74525 1104705 7% /var swap 2328504 16 2328488 1% /var/run swap 2328704 216 2328488 1% /tmp /dev/dsk/c0t0d0s7 1365319 960393 350314 74% /home /dev/dsk/c0t1d0s0 8705501 5698529 2919917 67% /home1 services.cfg configuration: define service{ use generic-service ; Name of service template to use host_name BATHSHEBA service_description /home1 Partition Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups unix-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_local_disk!20%!10%!/dev/dsk/c0t1d0s0 } Output error for above configuration: Host Service Status Status Information Bathsheba /home1 Partition Warning Disk 'dev'dsk'c0t1d0s0' not mounted or nonexistant Free Space Can you please help me in resolving this issue? Thanks in advance, Jignesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: application/octet-stream Size: 891 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: application/octet-stream Size: 900 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: application/octet-stream Size: 891 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: application/octet-stream Size: 900 bytes Desc: not available URL: From AHKAPLAN at PARTNERS.ORG Fri Aug 23 23:28:30 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 23 Aug 2002 17:28:30 -0400 Subject: Pre-Flight Check Results Message-ID: <5593DA408212D511B0910002A513501F01D28710@phsexch20.mgh.harvard.edu> Hi there, I have saved the pre-flight check results to file and have read the results. I am not sure what configuration changes are necessary so I am submitting it to the group for perusal. Feedback would be appreciated. Thanks. <> -------------- next part -------------- A non-text attachment was scrubbed... Name: Pre-Flight Check.rtf Type: application/rtf Size: 3503 bytes Desc: not available URL: From fim32 at yahoo.com Fri Aug 23 23:39:32 2002 From: fim32 at yahoo.com (Fred Im) Date: Fri, 23 Aug 2002 14:39:32 -0700 (PDT) Subject: Check_local_disk problem Message-ID: <20020823213932.9888.qmail@web10411.mail.yahoo.com> in your check_command: check_command check_local_disk!20%!10%!/dev/dsk/c0t1d0s0 /dev/dsk/c0t1d0s0 is NOT mounted, it is the actual device. try: check_command check_local_disk!20%!10%!/home1 fred "Jignesh Pathak" writes: >Hello: > > > > >I am having weired problem for which I am looking for some help. I am >trying to find out free disk space on all file systems on Unix Solaris 8 >box. I am able to get it check_local_disk command for some file systems >but not for others for the same box. The file system is mounted on the >box. My configurations are same and I have checked all partition details >correct and eventhough it is not working. Following are some >configuration FYI: __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.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 robin at primus.ca Sat Aug 24 04:19:29 2002 From: robin at primus.ca (Robin Mordasiewicz) Date: Fri, 23 Aug 2002 22:19:29 -0400 (EDT) Subject: samba please resend In-Reply-To: <20020823213932.9888.qmail@web10411.mail.yahoo.com> References: <20020823213932.9888.qmail@web10411.mail.yahoo.com> Message-ID: someon posted something about setting up a samba monitor, I accidentally deleted the email, can you resend it to me please. ------------------------------------------------------- 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 joblow7777 at yahoo.com Sat Aug 24 05:39:37 2002 From: joblow7777 at yahoo.com (jo smith) Date: Fri, 23 Aug 2002 20:39:37 -0700 (PDT) Subject: nagios installation Message-ID: <20020824033937.905.qmail@web13002.mail.yahoo.com> I need some help. I got nagios to compile without errors. However, when I cd to /usr/local/nagios, there is not etc directory. Any ideas? Here's the output of the various parts of make: host:# make all cd ./base; make ; cd .. make[1]: Entering directory `/u/software/nag/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddefault.c ../common/comments.c ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddefault.c -lm -o nagios make[1]: Leaving directory `/u/software/nag/base' cd ./cgi; make ; cd .. make[1]: Entering directory `/u/software/nag/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o auth.o auth.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o popen.o popen.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI avail.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o avail.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI cmd.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c ../common/downtime.c ../xdata/xdddefault.c -o cmd.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI config.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o config.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o edata.o edata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI extinfo.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c ../common/downtime.c ../xdata/xdddefault.c -o extinfo.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o lifo.o lifo.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI history.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o history.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI notifications.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o notifications.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI outages.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c -o outages.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI showlog.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o showlog.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI status.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c -o status.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statuswml.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o statuswml.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI summary.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o summary.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI tac.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c -o tac.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statuswrl.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -lm edata.o ../xdata/xedtemplate.c -o statuswrl.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng edata.o ../xdata/xedtemplate.c -o statusmap.cgi Undefined first referenced symbol in file jpeg_simple_progression /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_set_quality /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_write_scanlines /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_destroy_decompress /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_destroy /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_start_compress /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_write_marker /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_read_scanlines /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_finish_decompress /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_start_decompress /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_destroy_compress /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_resync_to_restart /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_std_error /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_CreateDecompress /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_set_defaults /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_CreateCompress /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_read_header /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) jpeg_finish_compress /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../libgd.a(gd_jpeg.o) ld: fatal: Symbol referencing errors. No output written to statusmap.cgi collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/u/software/nag/cgi' cd ./html; make ; cd .. make[1]: Entering directory `/u/software/nag/html' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/u/software/nag/html' *** Compile finished *** If the main program and CGIs compiled without any errors, you can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install - This installs the main program, CGIs, and HTML files make install-init - This installs the init script in /etc/init.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs *SAMPLE* config files in /usr/local/nagios/etc You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! host:# make install cd ./base; make install ; cd .. make[1]: Entering directory `/u/software/nag/base' .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin .././install-sh -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin /usr/local/sparc-sun-solaris2.8/bin/strip /usr/local/nagios/bin/nagios BFD: /usr/local/nagios/bin/stoFaque: warning: allocated section `.interp' not in segment make[1]: Leaving directory `/u/software/nag/base' cd ./cgi; make install ; cd .. make[1]: Entering directory `/u/software/nag/cgi' .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin for file in *.cgi; do \ .././install-sh -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; \ /usr/local/sparc-sun-solaris2.8/bin/strip /usr/local/nagios/sbin/$file; \ done BFD: /usr/local/nagios/sbin/staMaaye: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/stFQaqAe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/stlVaGCe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/stc0aWEe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/st04aaHe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/stn9aqJe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/stNbaGLe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/stagaWNe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/stMkaaQe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/stEpaqSe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/stjuaGUe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/stCyaWWe: warning: allocated section `.interp' not in segment BFD: /usr/local/nagios/sbin/st8CaaZe: warning: allocated section `.interp' not in segment make[1]: Leaving directory `/u/software/nag/cgi' cd ./html; make install ; cd .. make[1]: Entering directory `/u/software/nag/html' .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/stylesheets .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contexthelp .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs/images .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images/logos .././install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/ssi .././install-sh -c -m 664 -o nagios -g nagios robots.txt /usr/local/nagios/share .././install-sh -c -m 664 -o nagios -g nagios docs/robots.txt /usr/local/nagios/share/docs for file in *.html; \ do .././install-sh -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share; done for file in media/*.wav; \ do .././install-sh -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/media; done for file in stylesheets/*.css; \ do .././install-sh -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/stylesheets; done for file in contexthelp/*.html; \ do .././install-sh -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/contexthelp; done for file in docs/*.html; \ do .././install-sh -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/docs; done for file in docs/images/*.*; \ do .././install-sh -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/docs/images; done for file in images/*.gif; \ do .././install-sh -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.jpg; \ do .././install-sh -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.png; \ do .././install-sh -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/logos/*.*; \ do .././install-sh -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done make[1]: Leaving directory `/u/software/nag/html' ./install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var ./install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var/archives if [ no = yes ]; then \ ./install-sh -c -m 664 -o nagios -g nagios p1.pl /usr/local/nagios/bin; \ fi; host:# make install-init ./install-sh -c -m 755 -d -o root -g root /etc/init.d ./install-sh -c -m 774 -o root -g root daemon-init /etc/init.d/nagios host:# cd /usr/local/nagios host:# ls bin sbin share var host:# --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -------------- next part -------------- An HTML attachment was scrubbed... URL: From stevelml1 at scee.sony.co.uk Sat Aug 24 09:15:31 2002 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Sat, 24 Aug 2002 08:15:31 +0100 Subject: nagios installation References: <20020824033937.905.qmail@web13002.mail.yahoo.com> Message-ID: <037701c24b3e$083c4ba0$ccfe10ac@niw2k> Take a look in the INSTALL file in the root dir of your nagios source directory: make all make install make install-config make install-init then go grab and install the plugins. ----- Original Message ----- From: "jo smith" To: Sent: Saturday, August 24, 2002 4:39 AM Subject: [Nagios-users] nagios installation > > I need some help. I got nagios to compile without errors. However, when I cd to /usr/local/nagios, there is not etc directory. Any ideas? Here's the output of the various parts of make: ------------------------------------------------------- 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 pmal at space.gr Sat Aug 24 10:01:18 2002 From: pmal at space.gr (Panagiotis Malakoudis) Date: Sat, 24 Aug 2002 11:01:18 +0300 Subject: samba please resend References: Message-ID: <3D673D4E.2020207@space.gr> You can check the archives at http://www.geocrawler.com/lists/3/SourceForge/12011/0/ Robin Mordasiewicz wrote: >someon posted something about setting up a samba monitor, I accidentally >deleted the email, can you resend it to me please. > > > >------------------------------------------------------- >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 joblow7777 at yahoo.com Sat Aug 24 16:12:48 2002 From: joblow7777 at yahoo.com (jo smith) Date: Sat, 24 Aug 2002 07:12:48 -0700 (PDT) Subject: nagios installation In-Reply-To: <037701c24b3e$083c4ba0$ccfe10ac@niw2k> References: <037701c24b3e$083c4ba0$ccfe10ac@niw2k> Message-ID: <20020824141248.26209.qmail@web13007.mail.yahoo.com> Many thanks, Steve. Worked like a charm. I now have an etc directory. Now I"ll be working on the plugins. Steve Loughran wrote:Take a look in the INSTALL file in the root dir of your nagios source directory: make all make install make install-config make install-init then go grab and install the plugins. ----- Original Message ----- From: "jo smith" To: Sent: Saturday, August 24, 2002 4:39 AM Subject: [Nagios-users] nagios installation > > I need some help. I got nagios to compile without errors. However, when I cd to /usr/local/nagios, there is not etc directory. Any ideas? Here's the output of the various parts of make: ------------------------------------------------------- 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 --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -------------- next part -------------- An HTML attachment was scrubbed... URL: From electro at subpar.net Sat Aug 24 19:56:37 2002 From: electro at subpar.net (electro) Date: Sat, 24 Aug 2002 12:56:37 -0500 Subject: check_ifoperstatus problems Message-ID: <016001c24b97$97fb7820$0301010a@decode.is> Hello list, I'm trying to use "check_ifoperstatus" to check the serial interfaces on my router as well as some switches here. I checked all the plugins in the "/usr/local/nagios/libexec/" dir and everything is owned by nagios. I was even able to log in as the nagios user and execute the plugins. However, in the services.cfg file I have it hardcoded just to test as follows: define command{ command_name check_ifoperstatus_int1 command_line $USER1$/check_ifoperstatus -k 2 -H xx.xx.xx.xx -C blah } But, for some reason I keep checking the website and under the service problems I keep receiving "(Return code of 127 is out of bounds - plugin may be missing)". If I am able to run the command as the "nagios" user, why would the running daemon have a problem executing this command? Any insight would be very much appreciated. Thanks! - Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From joblow7777 at yahoo.com Sat Aug 24 21:26:57 2002 From: joblow7777 at yahoo.com (jo smith) Date: Sat, 24 Aug 2002 12:26:57 -0700 (PDT) Subject: nagios installation In-Reply-To: <037701c24b3e$083c4ba0$ccfe10ac@niw2k> References: <037701c24b3e$083c4ba0$ccfe10ac@niw2k> Message-ID: <20020824192657.56662.qmail@web13002.mail.yahoo.com> I'm in another quandry. I run nagios from /usr/local/nagios/bin/ and I get this error: host:# /usr/local/nagios/bin/nagios nagios: Cannot find ELF Killed But if I look in the nagios-1.0b5/base subdirectory and run nagios from there, it comes back with: base/nagios -n base/nagios: illegal option -- n Nagios 1.0b5 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 08-12-2002 License: GPL Usage: base/nagios [option] Options: -v Reads all data in the configuration files and performs a basic verification/sanity check. Always make sure you verify your config data before (re)starting Nagios. -s Shows projected/recommended service check scheduling information based on the current data in the configuration files. -c When used in conjunction with the -s option, this option will cause the status data to be updated with scheduling information. It is not recommended that you use this option while Nagios is running, as the information in the status log will be temporarily overwritten. Provided as an aid to help you understand initial check scheduling. -d Starts Nagios in daemon mode (instead of as a foreground process). This is the recommended way of starting Nagios for normal operation. Visit the Nagios website at http://www.nagios.org for information on known bugs, new releases, online documentation, and information on subscribing to the mailing lists. host:# This looks like it compiled without a problem, but for some reason the make install didn't install the correct file? Doing a file on the bad one gives this: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped But on the base/nagios file gives this; ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped So obviouslly there's a problem. Any help again is appreciate. --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -------------- next part -------------- An HTML attachment was scrubbed... URL: From drich at employees.org Sun Aug 25 02:20:23 2002 From: drich at employees.org (Dan Rich) Date: Sat, 24 Aug 2002 17:20:23 -0700 (PDT) Subject: Watchdogs Message-ID: Has anyone developed a plugin to monitor a watchdog process? I have a process that sends me a message every 30 seconds and I need to generate an alarm if the watchdog doesn't show up (i.e. the process died). I'd like to leverage existing code before I figure out some bizarre way to do this on my own. Any suggestions? Thanks! -- 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: 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 Sun Aug 25 14:31:12 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 25 Aug 2002 08:31:12 -0400 (EDT) Subject: check_ifoperstatus problems In-Reply-To: <016001c24b97$97fb7820$0301010a@decode.is> References: <016001c24b97$97fb7820$0301010a@decode.is> Message-ID: Assuming $USER1$ is specified correctly, does the plugin have a .pl extension? (It shouldn't) did you login as user nagios or su to nagios (different environments)? -sg On Sat, 24 Aug 2002, electro wrote: > Hello list, > > I'm trying to use "check_ifoperstatus" to check the serial > interfaces on my router as well as some switches here. I checked all > the plugins in the "/usr/local/nagios/libexec/" dir and everything is > owned by nagios. I was even able to log in as the nagios user and > execute the plugins. However, in the services.cfg file I have it > hardcoded just to test as follows: > > define command{ > command_name check_ifoperstatus_int1 > command_line $USER1$/check_ifoperstatus -k 2 -H xx.xx.xx.xx -C blah > } > > But, for some reason I keep checking the website and under the service > problems I keep receiving "(Return code of 127 is out of bounds - plugin > may be missing)". If I am able to run the command as the "nagios" user, > why would the running daemon have a problem executing this command? > Any insight would be very much appreciated. Thanks! > > - Jeff > > > -- ------------------------------------------------------- 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 Dustin.McClung at SonyMusic.com.au Sun Aug 25 17:01:48 2002 From: Dustin.McClung at SonyMusic.com.au (Dustin McClung) Date: Mon, 26 Aug 2002 01:01:48 +1000 Subject: Dustin McClung is out of the office. Message-ID: I will be out of the office starting 24/08/2002 and will not return until 24/09/2002. If you have an enquiries please call/email Allison Gibb on +61 (2) 9383 6368 or Amy Kwong on +61 (2) 9383 6301. ------------------------------------------------------- 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 electro at subpar.net Sun Aug 25 23:18:48 2002 From: electro at subpar.net (electro) Date: Sun, 25 Aug 2002 16:18:48 -0500 Subject: check_ifoperstatus problems References: Message-ID: <01e401c24c7d$00b72220$0301010a@decode.is> #Assuming $USER1$ is specified correctly, does the plugin have a .pl #extension? (It shouldn't) # #did you login as user nagios or su to nagios (different environments)? #-sg $USER1$ should be specificed correctly because I am using that variable in other service checks as well that do not seem to have any problem at all. I logged in as the "nagios" user and tested the plugin from the CLI and everything seemed to work fine. Nagios is running a daemon with the user "nagios" which is why I happened to have tried it that way to see if perhaps some permissions were incorrect. It works great from the CLI, just not running through the daemon and presenting the information on the web page. Anything else that would appear to be making this not function correctly? Thanks very much for your insight thus far though. I really appreciate the help! - Jeff ------------------------------------------------------- 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 timo.koskela at datavahti.fi Mon Aug 26 07:59:08 2002 From: timo.koskela at datavahti.fi (Timo Koskela) Date: Mon, 26 Aug 2002 08:59:08 +0300 Subject: Nagios is running multiple daemons Message-ID: <001e01c24cc5$b1938aa0$b50fa8c0@fi.poltto> Hi all, Has somebody had same problem as I with Nagios. If there is something wrong in our LAN where nagios is running, or in firewall, example line is cut to outer world Nagios start to run multiple daemons. Like couple days ago when i checked there was about 20 copies of Nagios, and it didin't work so well then, but when i killed the main pid, they all died. Please let me know if you know the reason... Timo Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From galimore at mac.com Mon Aug 26 14:13:05 2002 From: galimore at mac.com (Terry Simons) Date: Mon, 26 Aug 2002 06:13:05 -0600 Subject: Nagios is running multiple daemons In-Reply-To: <001e01c24cc5$b1938aa0$b50fa8c0@fi.poltto> References: <001e01c24cc5$b1938aa0$b50fa8c0@fi.poltto> Message-ID: <2D352F4B-B8ED-11D6-8904-00306570AEC8@mac.com> I don't know the reason, but I have seen multiple copies of Nagios running. I haven't seen more than two, but it wasn't a parent/child relationship... there were actually two copies of Nagios running... I thought that maybe it had something to do with the way that Nagios parallelizes checks, but maybe not... Ethan? - Terry On Sunday, August 25, 2002, at 11:59 PM, Timo Koskela wrote: > Hi all, > ? > Has somebody had same problem as I with Nagios. If there is something > wrong in our LAN where nagios is running, or in firewall, example line > is cut to outer world Nagios start to run multiple daemons. Like couple > days ago when i checked there was about 20 copies of Nagios, and it > didin't work so well then, but when i killed the main pid, they all > died. Please let me know if you know the reason... > ? > Timo > Finland > Missing every moment and preparing for the next. ------------------------------------------------------- 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 jpathak at taxcut.com Mon Aug 26 14:39:52 2002 From: jpathak at taxcut.com (Jignesh Pathak) Date: Mon, 26 Aug 2002 08:39:52 -0400 Subject: Check_local_disk problem In-Reply-To: <20020823213932.9888.qmail@web10411.mail.yahoo.com> References: <20020823213932.9888.qmail@web10411.mail.yahoo.com> Message-ID: <001101c24cfd$aca7cc30$61222404@taxcut.com> This didn't work either. What could be the problem? Any other solution? Thanks, Jignesh -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Fred Im Sent: Friday, August 23, 2002 5:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: Check_local_disk problem in your check_command: check_command check_local_disk!20%!10%!/dev/dsk/c0t1d0s0 /dev/dsk/c0t1d0s0 is NOT mounted, it is the actual device. try: check_command check_local_disk!20%!10%!/home1 fred "Jignesh Pathak" writes: >Hello: > > > > >I am having weired problem for which I am looking for some help. I am >trying to find out free disk space on all file systems on Unix Solaris 8 >box. I am able to get it check_local_disk command for some file systems >but not for others for the same box. The file system is mounted on the >box. My configurations are same and I have checked all partition details >correct and eventhough it is not working. Following are some >configuration FYI: __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.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 Robert.Wagner at wausaubenefits.com Mon Aug 26 14:35:19 2002 From: Robert.Wagner at wausaubenefits.com (Robert Wagner) Date: Mon, 26 Aug 2002 07:35:19 -0500 Subject: NTray .90d - Beta release Message-ID: Heya folks, just wanted to share something with you all. I've offered up a piece of utility software called NTray for use with Nagios. NTray is a small Win32 application that sits on your systray that changes color as the status.cgi page changes on your Nagios web server. It's written in Perl (taking advantage of the Win32::GUI module) and compiled up with the Perl2Exe compiler. Also, it's licensed under the GPL and comes with source code. If you're a better programmer than I (I'm pretty poor at it), or if you have some good ideas, feel free to contribute some code or ideas. Right now, NTray is not very sophisticated.. it cannot even tell the difference between outages inside or outside scheduled downtime... but I am working on that! :) What it does now: -Sits on your systray and looks cute -Turns red/yellow/green or orange based on Nagios service and host status. (Orange, with an exclamation point, means a problem reaching Nagios) -Has a little .XML file for user configuration (There will be a graphical configuration later) -Supports user logon/password to access the Nagios CGIs (if they are protected) -Supports plug-in sound files on status changes (pcm .WAV files) -Allows turning on and off a very simple popup window. (which will show more information later) I would offer it up for anybody to try, but beware! It is definitely beta software. It's never crashed my workstation or anything (I've been running it for several weeks solid), but I won't offer any claims of stability. You can find it on the download page at the Nagios.org website. Have a great time; hope it makes somebody's life easier :) Rob Wagner ------------------------------------------------------- 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 daniel-l at 34SP.com Thu Aug 22 03:34:46 2002 From: daniel-l at 34SP.com (Daniel Foster) Date: Thu, 22 Aug 2002 02:34:46 +0100 Subject: Scheduled downtime In-Reply-To: <948141393.1029854450922.JavaMail.root@monkey> References: <948141393.1029854450922.JavaMail.root@monkey> Message-ID: <200208261251.g7QCpD0h002080@wintermute.34sp.com> > > If I schedule some downtime for a switch on our network, I > > assume alerts will be suppressed for hosts/services behind (dependencies > > of) that switch. > I'm somewhat new to Nagios, but that's my take on it. No, doesn't seem to have happened. Nagios has noticed that the switch is in scheduled downtime, but even though the host dependencies are all defined okay, I've been woken up by a flood of alerts for all the hosts that depend on that switch being down. :-( -- Daniel Foster Technical Director - 34SP.com daniel at 34SP.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 Daniel.Rusch at GlobalCrossing.com Mon Aug 26 15:34:24 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Mon, 26 Aug 2002 09:34:24 -0400 Subject: Nagios is running multiple daemons Message-ID: <0DA06E553C3BD511823500508BB8965A0201206B@exnadetmbx3.ams.gblxint.com> I posted a similar message a week or so ago and didn't get any response. On my system the number of processes running that are owned by nagios varies from a half dozen to over 100. I assume that nagios is running multithreaded and spawning of sub-processes. I have noticed that nagios will burry the box it is running on and then of course the number of processes owned by nagios increases dramatically as they pile up. Check to see if nagios is over loading your system. I logged uptime and ps -few | grep nagios | wc -l every five minutes. I posted my message to see what a "normal" number of processes should be, but received no replies. Dan -----Original Message----- From: Terry Simons [mailto:galimore at mac.com] Sent: Monday, August 26, 2002 7:13 AM To: Timo Koskela Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios is running multiple daemons I don't know the reason, but I have seen multiple copies of Nagios running. I haven't seen more than two, but it wasn't a parent/child relationship... there were actually two copies of Nagios running... I thought that maybe it had something to do with the way that Nagios parallelizes checks, but maybe not... Ethan? - Terry On Sunday, August 25, 2002, at 11:59 PM, Timo Koskela wrote: > Hi all, > ? > Has somebody had same problem as I with Nagios. If there is something > wrong in our LAN where nagios is running, or in firewall, example line > is cut to outer world Nagios start to run multiple daemons. Like couple > days ago when i checked there was about 20 copies of Nagios, and it > didin't work so well then, but when i killed the main pid, they all > died. Please let me know if you know the reason... > ? > Timo > Finland > Missing every moment and preparing for the next. ------------------------------------------------------- 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 pcrossma at wildfire.com Mon Aug 26 15:37:33 2002 From: pcrossma at wildfire.com (Paul Crossman) Date: 26 Aug 2002 09:37:33 -0400 Subject: Help with disk space plugin Message-ID: <1030369053.1001.18.camel@sandman.wildfire.com> Hi, I've been working on getting nagios .0.0.7 installed on my desktop UNIX box as a proof of concept for my group so that we can do monitoring and replace our current product. I have an issue regarding the services display that involves the check_disk plugin. I can't seem to get stats from remote systems. I can't find anything in the docs, and there's no FAQ. I'm getting two different results currently. >From a SCO UnixWare system ---> Disk "/dev/root" not mounted or nonexistant >From a Linux system ---> Unable to read output: I know I must not be doing something right. Can someone shed some light on this for me? Thanks, Paul C. -- Paul Crossman @ Wildfire Communications, Inc. Senior Unix Systems Administrator Phone & Fax: 781-778-3517 Email: pcrossma at wildfire.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 pcrossma at wildfire.com Mon Aug 26 16:02:38 2002 From: pcrossma at wildfire.com (Paul Crossman) Date: 26 Aug 2002 10:02:38 -0400 Subject: Help with disk space plugin References: Message-ID: <1030370558.1001.22.camel@sandman.wildfire.com> On Mon, 2002-08-26 at 09:48, Jan Johansson wrote: > > I can't seem to get stats from remote systems. I can't find > > anything in > > the docs, and there's no FAQ. > > If you read the config, you will see that check_disk handles _locally mounted_ filesystems only. Ok, well that's all well and good. Thanks for the clarification. Now, can anyone tell me how I can do remote disk space checking with nagios? Thanks, Paul C. > support:/usr/local# nagios/libexec/check_disk -h > check_disk (nagios-plugins 1.3.0-alpha1) 1.2 > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > copies of the plugins under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING. > Copyright (c) 2000 Ethan Galstad/Karl DeBisschop > > This plugin will check the percent of used disk space on a mounted > file system and generate an alert if percentage is above one of the > threshold values. > > Usage: check_disk -w limit -c limit [-p path] [-t timeout] [-m] [--verbose] > check_disk (-h|--help) > check_disk (-V|--version) > [rest of output snipped] -- Paul Crossman @ Wildfire Communications, Inc. Senior Unix Systems Administrator Phone & Fax: 781-778-3517 Email: pcrossma at wildfire.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 czwecker at sysctl.de Mon Aug 26 16:08:43 2002 From: czwecker at sysctl.de (Christophe Zwecker) Date: 26 Aug 2002 16:08:43 +0200 Subject: No Download available Message-ID: <1030370979.2892.31.camel@fry.sysctl.de> Hi, im trying to dl recent beta, but cant get it. Is the server down or just crowded ? thx Christophe -- Christophe Zwecker :Sysctl Susannenstr. 26-28 20357 Hamburg phon/fax: +49 40 43099296/7 mail: czwecker at sysctl.de ------------------------------------------------------- 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 jose-louis.marcos at cnes.fr Mon Aug 26 16:22:15 2002 From: jose-louis.marcos at cnes.fr (Jose L. Marcos) Date: Mon, 26 Aug 2002 16:22:15 +0200 Subject: Passive check strange behaviour Message-ID: <200208261423.g7QENBB03227@cnes.fr> Hi folks, I've defined a passive check to monitor EMS (HP-UX) Hardware notification messages. Basically, I've defined a PERL Handle on each HPUX clients that make a send_nsca on a passive check service. Here is the relevant configuration : ----8<------------ define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define service{ use generic-service host_name s123bdtn service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins-sol notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } define service{ host_name hp-host service_description EMS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 60 retry_check_interval 1 contact_groups admins-sol notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping active_checks_enabled 0 passive_checks_enabled 1 } ---8<-------------- On the service display for hp-host, i get the EMS service line with a 'P' (meaning passive, I guess ;-) ). The problem I face is this : Let's suppose I've a condition set for this check (I "send_nsca" a warning status). Everything is perfectly traped by Nagios, and my service goes "Yellow" (warning). But : when a PING check (I've also defined a PING service, using check_ping command) is issued (at a scheduled time, or forced by me), the EMS service is affected : I lose the previous status, the new status is the result off the check_ping command. As far as I understand the service definition for a passive check, I must define a check_command for that service to work properly (even if the command is never issued by nagios)... But my config must have something wrong : nagios should not update output on the passive check service ! Any clue ? -- Jose Luis ---------------------------------------------------------------------------- Y no llegaste a quererme, y eran mis cinco sentidos Y no llegaste a quererme, y que desgraciaito he sido Y que ha tenido que aborrecerte tanto como te ha querido (Camaron) ---------------------------------------------------------------------------- ------------------------------------------------------- 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 brian.whitehead at digitalevergreen.com Mon Aug 26 16:21:50 2002 From: brian.whitehead at digitalevergreen.com (Brian Whitehead) Date: 26 Aug 2002 09:21:50 -0500 Subject: Help with disk space plugin In-Reply-To: <1030370558.1001.22.camel@sandman.wildfire.com> Message-ID: <1030371710.26955.4.camel@spasm.whiteheadconsulting.com> I use the nrpe daemon. It will run the check locally and then send the status to the Nagios monitoring server. On Mon, 2002-08-26 at 09:02, Paul Crossman wrote: > On Mon, 2002-08-26 at 09:48, Jan Johansson wrote: > > > I can't seem to get stats from remote systems. I can't find > > > anything in > > > the docs, and there's no FAQ. > > > > If you read the config, you will see that check_disk handles _locally mounted_ filesystems only. > > Ok, well that's all well and good. Thanks for the clarification. > > Now, can anyone tell me how I can do remote disk space checking with > nagios? > > Thanks, > Paul C. > > > support:/usr/local# nagios/libexec/check_disk -h > > check_disk (nagios-plugins 1.3.0-alpha1) 1.2 > > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > > copies of the plugins under the terms of the GNU General Public License. > > For more information about these matters, see the file named COPYING. > > Copyright (c) 2000 Ethan Galstad/Karl DeBisschop > > > > This plugin will check the percent of used disk space on a mounted > > file system and generate an alert if percentage is above one of the > > threshold values. > > > > Usage: check_disk -w limit -c limit [-p path] [-t timeout] [-m] [--verbose] > > check_disk (-h|--help) > > check_disk (-V|--version) > > [rest of output snipped] > -- > Paul Crossman @ Wildfire Communications, Inc. > Senior Unix Systems Administrator > Phone & Fax: 781-778-3517 > Email: pcrossma at wildfire.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 -- Brian Whitehead - A+, LCP, RHCE Systems Administrator Direct: 816.512.9417 Mobile: 816.215.1598 mailto:brian.whitehead at digitalevergreen.com Digital Evergreen 423 West 8th Street Suite 410 Kansas City, MO 64105 Phone: 816.512.9399 http://www.digitalevergreen.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 glowe1957 at yahoo.com Mon Aug 26 17:24:20 2002 From: glowe1957 at yahoo.com (grant lowe) Date: Mon, 26 Aug 2002 08:24:20 -0700 (PDT) Subject: Displaying nagios output with apache Message-ID: <20020826152420.99164.qmail@web20510.mail.yahoo.com> Hi all. I've got nagios configured and now I have one question: how do I get the nagios output to display with apache. Apache works fine and I can login to the nagios main page, but clicking on the services in the left column under the Nagios header displays nothing. What am I missing? Thanks! Grant __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.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 jose-louis.marcos at cnes.fr Mon Aug 26 18:52:18 2002 From: jose-louis.marcos at cnes.fr (Jose L. Marcos) Date: Mon, 26 Aug 2002 18:52:18 +0200 Subject: Passive check strange behaviour References: <3D6A3997.2070700@cnes.fr> Message-ID: <200208261652.g7QGqKs07634@cnes.fr> Jose L. Marcos wrote: > Hi folks, > > I've defined a passive check to monitor EMS (HP-UX) Hardware > notification messages. Basically, I've defined a PERL Handle on each > HPUX clients that make a send_nsca on a passive check service. > My mistake I guess : the behaviour pictured in my first message was due to me ! :-( I clicked on 'Enable Checks Of All Services On This Host' instead of clicking on 'Schedule An Immediate Check Of All Services On This Host'... I've one real (well... I hope so) question : when defining a 'passive check' (actually i've 2 defined for one host) shouldn't they appear in the 'Passive Checks' box on the 'Tactical Overview' display ? I've mine in the 'Active Checks' box : showed in red as '2 Services Disabled'... Sorry for my first message, and thanx in advance for any pointer to this one... -- Jose Luis ---------------------------------------------------------------------------- Y no llegaste a quererme, y eran mis cinco sentidos Y no llegaste a quererme, y que desgraciaito he sido Y que ha tenido que aborrecerte tanto como te ha querido (Camaron) ---------------------------------------------------------------------------- ------------------------------------------------------- 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 daris.drake at eassist.com Mon Aug 26 19:07:04 2002 From: daris.drake at eassist.com (Daris Drake) Date: Mon, 26 Aug 2002 10:07:04 -0700 Subject: Escalations not sent for second tier issue (followup, originally from Russel Scibetti 8/21) Message-ID: <963930AB33EAD511B17C00508BC97FDA0EDD89@mail2.eassist.com> Help on this issue would be greatly appreciated: We are using Nagios 1.0b4 and use an escalation configuration much like what Russel had described in a list posting last week, as such: define serviceescalation{ hostgroup_name linux-servers,nt-servers service_description * first_notification 2 last_notification 0 notigification_interval 5 contact_groups primary } This is the way Russel had/has his configured: define serviceescalation{ host_name * service_description * first_notification 2 last_notification 3 contact_groups ops,admins } Russel was seeing that the first notification was sent for the first escalation definition but not the next. I am seeing that no notifications are sent for the second escalation definition also. In our testing we did not see that this behavior occurred if an escalation definition was set for each service, but for obvious reasons this configuration is not manageable (we have approximately 200 services :-) ). If this is a configuration oversight or some other simple issue, or if anyone else has encountered this issue, I would desperately like to know. If this is a bug (I would assume if so it is with the wildcard) I would like to know if I can help in any way defining the exact nature of the issue to speed a fix release. Thanks. Daris Drake (daris.drake at eassist.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 mikael.olsson at roxtec.se Mon Aug 26 19:32:59 2002 From: mikael.olsson at roxtec.se (Mikael Olsson) Date: Mon, 26 Aug 2002 19:32:59 +0200 Subject: Displaying nagios output with apache References: <20020826152420.99164.qmail@web20510.mail.yahoo.com> Message-ID: <3D6A664B.3050101@roxtec.se> Have you checked the cgi.conf file. It look's like you dont have enough rights. /Olsson grant lowe wrote: > Hi all. > > I've got nagios configured and now I have one > question: how do I get the nagios output to display > with apache. Apache works fine and I can login to the > nagios main page, but clicking on the services in the > left column under the Nagios header displays nothing. > What am I missing? Thanks! > > Grant > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.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 -- ------------------------------------- Mikael Olsson IT-technician Roxtec International AB mikael.olsson at roxtec.se Mobile phone +46(0)733 313047 Phone direct +46(0)455 366747 Box 540 SE-371 23 Karlskrona SWEDEN ------------------------------------------------------- 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 wilson at unity.ncsu.edu Mon Aug 26 20:25:42 2002 From: wilson at unity.ncsu.edu (Brian Wilson) Date: Mon, 26 Aug 2002 13:25:42 -0500 (CDT) Subject: per service event handlers Message-ID: Why when I schedule downtime for a service does the service event handler for that service still continue to get called? Is it supposed to work this way? If so, why? Thanks, Brian -- Brian Wilson Network Analyst Communication Technologies, ATD W: 919.513.3472 North Carolina State University www.ncstate.net ------------------------------------------------------- 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 JSkains at deltad.com Mon Aug 26 20:28:44 2002 From: JSkains at deltad.com (Josh Skains) Date: Mon, 26 Aug 2002 11:28:44 -0700 Subject: Some help is appreciated! :) Message-ID: I am trying to compile nrpe and the plugins on a solaris machine. Any help is appreciated.. With the plugins I get: Making all in plugins mksh: Fatal error in reader: = missing from replacement macro reference Current working directory /mhome/jskains/work/mon/nagiosplug-1.3-beta1/plugins *** Error code 1 make: Fatal error: Command failed for target `all-recursive' With nrpe, I get: cd ./src/; make ; cd .. gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/time.h:90, from /usr/include/sys/time.h:405, from /usr/include/sys/select.h:17, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/types.h:28 1, from /usr/include/strings.h:11, from ../common/config.h:49, from nrpe.c:22: /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t' /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:76: parse error before `}' In file included from ../common/config.h:120, from nrpe.c:22: /usr/include/sys/socket.h:47: parse error before `sa_family_t' /usr/include/sys/socket.h:47: warning: data definition has no type or storage class /usr/include/sys/socket.h:56: parse error before `socklen_t' /usr/include/sys/socket.h:56: warning: data definition has no type or storage class /usr/include/sys/socket.h:187: parse error before `sa_family_t' /usr/include/sys/socket.h:187: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:189: parse error before `}' /usr/include/sys/socket.h:234: parse error before `socklen_t' /usr/include/sys/socket.h:234: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:246: parse error before `}' /usr/include/sys/socket.h:312: parse error before `socklen_t' /usr/include/sys/socket.h:312: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:315: parse error before `}' /usr/include/sys/socket.h:385: parse error before `socklen_t' /usr/include/sys/socket.h:386: parse error before `socklen_t' /usr/include/sys/socket.h:399: parse error before `socklen_t' /usr/include/sys/socket.h:400: parse error before `socklen_t' In file included from nrpe.c:24: netutils.h:37: warning: `struct in_addr' declared inside parameter list netutils.h:37: warning: its scope is only this definition or declaration, netutils.h:37: warning: which is probably not what you want. nrpe.c: In function `wait_for_connections': nrpe.c:327: storage size of `myname' isn't known nrpe.c:329: storage size of `addr' isn't known nrpe.c:358: `INADDR_ANY' undeclared (first use this function) nrpe.c:358: (Each undeclared identifier is reported only once nrpe.c:358: for each function it appears in.) nrpe.c:443: dereferencing pointer to incomplete type nrpe.c:443: dereferencing pointer to incomplete type nrpe.c:446: dereferencing pointer to incomplete type In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/time.h:90, from /usr/include/sys/time.h:405, from /usr/include/sys/select.h:17, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/types.h:28 1, from /usr/include/strings.h:11, from ../common/config.h:49, from netutils.h:32, from netutils.c:33: /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t' /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:76: parse error before `}' In file included from ../common/config.h:120, from netutils.h:32, from netutils.c:33: /usr/include/sys/socket.h:47: parse error before `sa_family_t' /usr/include/sys/socket.h:47: warning: data definition has no type or storage class /usr/include/sys/socket.h:56: parse error before `socklen_t' /usr/include/sys/socket.h:56: warning: data definition has no type or storage class /usr/include/sys/socket.h:187: parse error before `sa_family_t' /usr/include/sys/socket.h:187: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:189: parse error before `}' /usr/include/sys/socket.h:234: parse error before `socklen_t' /usr/include/sys/socket.h:234: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:246: parse error before `}' /usr/include/sys/socket.h:312: parse error before `socklen_t' /usr/include/sys/socket.h:312: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:315: parse error before `}' /usr/include/sys/socket.h:385: parse error before `socklen_t' /usr/include/sys/socket.h:386: parse error before `socklen_t' /usr/include/sys/socket.h:399: parse error before `socklen_t' /usr/include/sys/socket.h:400: parse error before `socklen_t' In file included from netutils.c:33: netutils.h:37: warning: `struct in_addr' declared inside parameter list netutils.h:37: warning: its scope is only this definition or declaration, netutils.h:37: warning: which is probably not what you want. netutils.c: In function `my_connect': netutils.c:48: storage size of `servaddr' isn't known netutils.c:61: warning: assignment makes pointer from integer without a cast netutils.c:67: dereferencing pointer to incomplete type netutils.c:67: dereferencing pointer to incomplete type netutils.c:71: warning: assignment makes pointer from integer without a cast netutils.c:77: dereferencing pointer to incomplete type netutils.c: At top level: netutils.c:110: warning: `struct in_addr' declared inside parameter list netutils.c:110: conflicting types for `my_inet_aton' netutils.h:37: previous declaration of `my_inet_aton' netutils.c: In function `my_inet_aton': netutils.c:203: dereferencing pointer to incomplete type *** Error code 1 make: Fatal error: Command failed for target `nrpe' Current working directory /mhome/jskains/work/mon/nrpe-1.5/src *** Error code 1 make: Fatal error: Command failed for target `all' -------------- next part -------------- An HTML attachment was scrubbed... URL: From glowe1957 at yahoo.com Mon Aug 26 21:08:56 2002 From: glowe1957 at yahoo.com (grant lowe) Date: Mon, 26 Aug 2002 12:08:56 -0700 (PDT) Subject: cgi-bin Message-ID: <20020826190856.83127.qmail@web20502.mail.yahoo.com> Hi all. Made a little progress. Some of the hyperlinks below the Nagios column come up with this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Others come up with this error: HTTP 404 - File not found I did notice that the /usr/local/nagios/cgi-bin directory is empty. Shouldn't the nagios install put some files into this directory? Is this the cause of my problems? I've RTFM and it didn't help. Thanks. grant __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.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 Daniel.Rusch at GlobalCrossing.com Mon Aug 26 21:27:12 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Mon, 26 Aug 2002 15:27:12 -0400 Subject: Some help is appreciated! :) Message-ID: <0DA06E553C3BD511823500508BB8965A0201206D@exnadetmbx3.ams.gblxint.com> use gnu's make (make), usually in /usr/local/bin. If it is there modify your path. If not download it from www.sunfreeware.com Try to re compile, don't forget to rm the config.* files before running ./configure you may need to download and install the packages autoconf and automake also use pkgadd -d ./autoconf.......... HTH Dan -----Original Message----- From: Josh Skains [mailto:JSkains at deltad.com] Sent: Monday, August 26, 2002 1:29 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Some help is appreciated! :) I am trying to compile nrpe and the plugins on a solaris machine. Any help is appreciated.. With the plugins I get: Making all in plugins mksh: Fatal error in reader: = missing from replacement macro reference Current working directory /mhome/jskains/work/mon/nagiosplug-1.3-beta1/plugins *** Error code 1 make: Fatal error: Command failed for target `all-recursive' With nrpe, I get: cd ./src/; make ; cd .. gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/time.h:90, from /usr/include/sys/time.h:405, from /usr/include/sys/select.h:17, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/types.h:28 1, from /usr/include/strings.h:11, from ../common/config.h:49, from nrpe.c:22: /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t' /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:76: parse error before `}' In file included from ../common/config.h:120, from nrpe.c:22: /usr/include/sys/socket.h:47: parse error before `sa_family_t' /usr/include/sys/socket.h:47: warning: data definition has no type or storage class /usr/include/sys/socket.h:56: parse error before `socklen_t' /usr/include/sys/socket.h:56: warning: data definition has no type or storage class /usr/include/sys/socket.h:187: parse error before `sa_family_t' /usr/include/sys/socket.h:187: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:189: parse error before `}' /usr/include/sys/socket.h:234: parse error before `socklen_t' /usr/include/sys/socket.h:234: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:246: parse error before `}' /usr/include/sys/socket.h:312: parse error before `socklen_t' /usr/include/sys/socket.h:312: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:315: parse error before `}' /usr/include/sys/socket.h:385: parse error before `socklen_t' /usr/include/sys/socket.h:386: parse error before `socklen_t' /usr/include/sys/socket.h:399: parse error before `socklen_t' /usr/include/sys/socket.h:400: parse error before `socklen_t' In file included from nrpe.c:24: netutils.h:37: warning: `struct in_addr' declared inside parameter list netutils.h:37: warning: its scope is only this definition or declaration, netutils.h:37: warning: which is probably not what you want. nrpe.c: In function `wait_for_connections': nrpe.c:327: storage size of `myname' isn't known nrpe.c:329: storage size of `addr' isn't known nrpe.c:358: `INADDR_ANY' undeclared (first use this function) nrpe.c:358: (Each undeclared identifier is reported only once nrpe.c:358: for each function it appears in.) nrpe.c:443: dereferencing pointer to incomplete type nrpe.c:443: dereferencing pointer to incomplete type nrpe.c:446: dereferencing pointer to incomplete type In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/time.h:90, from /usr/include/sys/time.h:405, from /usr/include/sys/select.h:17, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/types.h:28 1, from /usr/include/strings.h:11, from ../common/config.h:49, from netutils.h:32, from netutils.c:33: /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t' /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:76: parse error before `}' In file included from ../common/config.h:120, from netutils.h:32, from netutils.c:33: /usr/include/sys/socket.h:47: parse error before `sa_family_t' /usr/include/sys/socket.h:47: warning: data definition has no type or storage class /usr/include/sys/socket.h:56: parse error before `socklen_t' /usr/include/sys/socket.h:56: warning: data definition has no type or storage class /usr/include/sys/socket.h:187: parse error before `sa_family_t' /usr/include/sys/socket.h:187: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:189: parse error before `}' /usr/include/sys/socket.h:234: parse error before `socklen_t' /usr/include/sys/socket.h:234: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:246: parse error before `}' /usr/include/sys/socket.h:312: parse error before `socklen_t' /usr/include/sys/socket.h:312: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:315: parse error before `}' /usr/include/sys/socket.h:385: parse error before `socklen_t' /usr/include/sys/socket.h:386: parse error before `socklen_t' /usr/include/sys/socket.h:399: parse error before `socklen_t' /usr/include/sys/socket.h:400: parse error before `socklen_t' In file included from netutils.c:33: netutils.h:37: warning: `struct in_addr' declared inside parameter list netutils.h:37: warning: its scope is only this definition or declaration, netutils.h:37: warning: which is probably not what you want. netutils.c: In function `my_connect': netutils.c:48: storage size of `servaddr' isn't known netutils.c:61: warning: assignment makes pointer from integer without a cast netutils.c:67: dereferencing pointer to incomplete type netutils.c:67: dereferencing pointer to incomplete type netutils.c:71: warning: assignment makes pointer from integer without a cast netutils.c:77: dereferencing pointer to incomplete type netutils.c: At top level: netutils.c:110: warning: `struct in_addr' declared inside parameter list netutils.c:110: conflicting types for `my_inet_aton' netutils.h:37: previous declaration of `my_inet_aton' netutils.c: In function `my_inet_aton': netutils.c:203: dereferencing pointer to incomplete type *** Error code 1 make: Fatal error: Command failed for target `nrpe' Current working directory /mhome/jskains/work/mon/nrpe-1.5/src *** Error code 1 make: Fatal error: Command failed for target `all' -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at smarterliving.com Mon Aug 26 21:44:36 2002 From: brian at smarterliving.com (Brian M. Weir) Date: Mon, 26 Aug 2002 15:44:36 -0400 Subject: about to rack my brain with a mySQL install Message-ID: Any help? In advance...I SAY THANK YOU! :-) Heres the deal: I am trying to compile nagios1.0b5 with mySQL support. I am going to give as much detail as I can, becuase I think I am horribly forgetting something. heres the way the machine is set up: mysql install : /usr/local/mysql nagios install :/home/myhomedir/nagios-source-dir heres what I have done: 1. Issued a configure with: ./configure --prefix=/usr/local/nagios --sysconfdir=/usr/local/etc/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-mail=/usr/lib/sendmail --with-mysql-xdata --with-mysql-lib=/usr/local/mysql/lib --with-mysql-inc=/usr/local/mysql/include --enable-embedded-perl 2. Config went okay with no errors 3. Did a make all, and got: gcc -g -O2 -I/usr/local/mysql/include -fno-strict-aliasing -I/usr/lib/perl5/5.6.0/i386-linux/CORE -DHAVE_CONFIG_H -DNSCORE -L/usr/local/mysql/lib -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -rdynamic -L/usr/local/lib /usr/lib/perl5/5.6.0/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.6.0/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lm -o nagios ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory ../xdata/xcddb.c:49:25: mysql/mysql.h: No such file or directory ../xdata/xcddb.c:50:26: mysql/errmsg.h: No such file or directory ../xdata/xsddb.c:46:25: mysql/mysql.h: No such file or directory ../xdata/xsddb.c:47:26: mysql/errmsg.h: No such file or directory ../xdata/xdddb.c:49:25: mysql/mysql.h: No such file or directory ../xdata/xdddb.c:50:26: mysql/errmsg.h: No such file or directory make[1]: *** [nagios] Error 1 4. So I went to the xdata/ directory and changed the mysql/insertheadernamehere.h to just include for each of the .c files in xdata. 5. I ran a make clean, and issued the same configure statement. 6. Then I get this after running a make all: /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/cco0NcAT.o: In function `xrddb_connect': /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:254: undefined reference to `mysql_close' /tmp/cco0NcAT.o: In function `xrddb_disconnect': /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:299: undefined reference to `mysql_close' /tmp/cco0NcAT.o: In function `xrddb_query': /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:329: undefined reference to `mysql_query' /tmp/cco0NcAT.o: In function `xrddb_read_program_information': /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:850: undefined reference to `mysql_store_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:854: undefined reference to `mysql_fetch_row' /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:867: undefined reference to `mysql_free_result' /tmp/cco0NcAT.o: In function `xrddb_read_host_information': /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:951: undefined reference to `mysql_store_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:1001: undefined reference to `mysql_fetch_row' /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:1004: undefined reference to `mysql_free_result' /tmp/cco0NcAT.o: In function `xrddb_read_service_information': /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:1129: undefined reference to `mysql_store_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:1192: undefined reference to `mysql_fetch_row' /home/brian/nagios/nagios-1.0b5/base/../xdata/xrddb.c:1195: undefined reference to `mysql_free_result' /tmp/cc0UYAO8.o: In function `xcddb_initialize': /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:234: undefined reference to `mysql_init' /tmp/cc0UYAO8.o: In function `xcddb_connect': /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:259: undefined reference to `mysql_real_connect' /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:261: undefined reference to `mysql_close' /tmp/cc0UYAO8.o: In function `xcddb_disconnect': /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:303: undefined reference to `mysql_close' /tmp/cc0UYAO8.o: In function `xcddb_query': /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:329: undefined reference to `mysql_query' /tmp/cc0UYAO8.o: In function `xcddb_validate_host_comments': /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:477: undefined reference to `mysql_store_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:489: undefined reference to `mysql_fetch_row' /tmp/cc0UYAO8.o: In function `xcddb_validate_service_comments': /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:566: undefined reference to `mysql_store_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:578: undefined reference to `mysql_fetch_row' /tmp/cc0UYAO8.o: In function `xcddb_save_host_comment': /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:748: undefined reference to `mysql_insert_id' /tmp/cc0UYAO8.o: In function `xcddb_save_service_comment': /home/brian/nagios/nagios-1.0b5/base/../xdata/xcddb.c:847: undefined reference to `mysql_insert_id' /tmp/ccMBLgaS.o: In function `xsddb_initialize': /home/brian/nagios/nagios-1.0b5/base/../xdata/xsddb.c:253: undefined reference to `mysql_init' /tmp/ccMBLgaS.o: In function `xsddb_connect': /home/brian/nagios/nagios-1.0b5/base/../xdata/xsddb.c:286: undefined reference to `mysql_real_connect' /home/brian/nagios/nagios-1.0b5/base/../xdata/xsddb.c:288: undefined reference to `mysql_close' /tmp/ccMBLgaS.o: In function `xsddb_disconnect': /home/brian/nagios/nagios-1.0b5/base/../xdata/xsddb.c:335: undefined reference to `mysql_close' /tmp/ccMBLgaS.o: In function `xsddb_check_connection': /home/brian/nagios/nagios-1.0b5/base/../xdata/xsddb.c:363: undefined reference to `mysql_errno' /home/brian/nagios/nagios-1.0b5/base/../xdata/xsddb.c:369: undefined reference to `mysql_close' /tmp/ccMBLgaS.o: In function `xsddb_query': /home/brian/nagios/nagios-1.0b5/base/../xdata/xsddb.c:463: undefined reference to `mysql_query' /tmp/ccJSkzk7.o: In function `xdddb_initialize': /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:234: undefined reference to `mysql_init' /tmp/ccJSkzk7.o: In function `xdddb_connect': /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:259: undefined reference to `mysql_real_connect' /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:261: undefined reference to `mysql_close' /tmp/ccJSkzk7.o: In function `xdddb_disconnect': /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:303: undefined reference to `mysql_close' /tmp/ccJSkzk7.o: In function `xdddb_query': /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:329: undefined reference to `mysql_query' /tmp/ccJSkzk7.o: In function `xdddb_validate_host_downtime': /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:473: undefined reference to `mysql_store_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:494: undefined reference to `mysql_fetch_row' /tmp/ccJSkzk7.o: In function `xdddb_validate_service_downtime': /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:587: undefined reference to `mysql_store_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:608: undefined reference to `mysql_fetch_row' /tmp/ccJSkzk7.o: In function `xdddb_save_host_downtime': /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:788: undefined reference to `mysql_insert_id' /tmp/ccJSkzk7.o: In function `xdddb_save_service_downtime': /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:887: undefined reference to `mysql_insert_id' /tmp/ccJSkzk7.o: In function `xdddb_read_host_downtime': /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:1107: undefined reference to `mysql_store_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:1116: undefined reference to `mysql_free_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:1146: undefined reference to `mysql_fetch_row' /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:1149: undefined reference to `mysql_free_result' /tmp/ccJSkzk7.o: In function `xdddb_read_service_downtime': /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:1277: undefined reference to `mysql_fetch_row' /home/brian/nagios/nagios-1.0b5/base/../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 I am completely lost. Any suggestions would be greatly appeciated. Thank you! Brian ------------------------------------------------------- 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 bosse at klykken.com Mon Aug 26 21:41:52 2002 From: bosse at klykken.com (Bosse Klykken) Date: Mon, 26 Aug 2002 21:41:52 +0200 Subject: NT/2000 Event logs and remote DHCP dumps Message-ID: <20020826214152.C2364@klykken.com> Hi. I have established a monitoring system combined with a sysadmin and helpdesk resource center based on Nagios and other open source software, and must really say that I find the system to be both excellent and flexible. I do have some issues to adress regarding the documentation, but I will research this into more detail when I have more time, in order to give the Nagios maintainers my comments and opinions for suggested changes to improve the documentation, as is expected of anyone in an open souce project. But that's later. What I do miss now, is a good way for the system to fetch and/or process NT Event Log entries. I realise that this is a task for the plugins, but I would really appreciate any suggestions for solutions from other Nagios implementors on this list. I have a two-sided agenda here, first of all, I'd like a central resource to process all eventlog entries from satellite locations, as well as alerting staff if backups on satellite locations has problems, unexpected shutdowns on servers and so forth. One last question, not so much related to Nagios, but to remote administration in general; are there any ways of retreiving a list of user's IP-adresses on a remote network? My intention is to make it a lot easier for the helpdesk staff to access the users desktops via a one-click access with VNC, perhaps with a link to a script-provided vnc-file in the inventory or helpdesk system. I was thinking about a DHCP dump of some sort, periodically reporting IP allocations to a central server, or something in that fashion. I would appreciate any suggestions, and at the same time thank Nagios developers and the Nagios community in general for the collaboration they put into this important project. Thanks, .../Bosse -- Systems Administrator Oslo, Norway ------------------------------------------------------- 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 mak at rtsnet.ru Mon Aug 26 22:09:45 2002 From: mak at rtsnet.ru (Maxim Berlin) Date: Tue, 27 Aug 2002 00:09:45 +0400 Subject: about to rack my brain with a mySQL install In-Reply-To: References: Message-ID: <15615563619.20020827000945@rtsnet.ru> Hello Brian, Monday, August 26, 2002, Brian M. Weir wrote: BMW> Any help? In advance...I SAY THANK YOU! :-) BMW> Heres the deal: BMW> I am trying to compile nagios1.0b5 with mySQL support. I am going to give BMW> as much detail as I can, becuase I think I am horribly forgetting something. BMW> heres the way the machine is set up: BMW> mysql install : /usr/local/mysql BMW> nagios install :/home/myhomedir/nagios-source-dir BMW> heres what I have done: BMW> 1. Issued a configure with: BMW> ./configure --prefix=/usr/local/nagios --sysconfdir=/usr/local/etc/nagios BMW> --with-nagios-user=nagios --with-nagios-grp=nagios BMW> --with-mail=/usr/lib/sendmail --with-mysql-xdata BMW> --with-mysql-lib=/usr/local/mysql/lib different from linux to linux, but may be '/usr/local/lib/mysql' ? BMW> --with-mysql-inc=/usr/local/mysql/include --enable-embedded-perl BMW> 2. Config went okay with no errors please show me output of grep -i mysql config.log Best wishes, Maxim mailto:mak at rtsnet.ru ------------------------------------------------------- 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 whiatt at upstanding.com Mon Aug 26 23:03:32 2002 From: whiatt at upstanding.com (Hiatt, William) Date: Mon, 26 Aug 2002 14:03:32 -0700 Subject: NSClientEVL Message-ID: Does anybody know when this will be available? If not, is there something else that somebody is doing to get EventLog's from Windows 2000 into Nagios? Thanks william ------------------------------------------------------- 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 pcrossma at wildfire.com Mon Aug 26 23:22:14 2002 From: pcrossma at wildfire.com (Paul Crossman) Date: 26 Aug 2002 17:22:14 -0400 Subject: I'm sure that no one has done this...but.... Message-ID: <1030396934.1002.112.camel@sandman.wildfire.com> Has anyone successfully built the plugins for SCO UnixWare 7.1.1? Paul C. -- Paul Crossman @ Wildfire Communications, Inc. Senior Unix Systems Administrator Phone & Fax: 781-778-3517 Email: pcrossma at wildfire.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 mak at rtsnet.ru Mon Aug 26 23:29:44 2002 From: mak at rtsnet.ru (Maxim Berlin) Date: Tue, 27 Aug 2002 01:29:44 +0400 Subject: NT/2000 Event logs and remote DHCP dumps In-Reply-To: <20020826214152.C2364@klykken.com> References: <20020826214152.C2364@klykken.com> Message-ID: <11820362960.20020827012944@rtsnet.ru> Hello Bosse, Monday, August 26, 2002, Bosse Klykken wrote: [] BK> But that's later. What I do miss now, is a good way for the system to BK> fetch and/or process NT Event Log entries. I realise that this is a task BK> for the plugins, but I would really appreciate any suggestions for BK> solutions from other Nagios implementors on this list. I have a two-sided BK> agenda here, first of all, I'd like a central resource to process all BK> eventlog entries from satellite locations, as well as alerting staff BK> if backups on satellite locations has problems, unexpected shutdowns BK> on servers and so forth. take a look at BackLog*, http://www.intersectalliance.com/projects/index.html: BackLog is a Windows NT service that facilitates the real time central collection and processing of Windows NT Event Log information. All three event logs (Application, System and Security) are monitored, and event information is converted to comma delimited text format, then delivered over UDP to a remote server. BackLog is currently configured to deliver audit information to a SYSLOG server running on a remote (or local) machine. A configuration utility allows you to set the appropriate syslog categories, as well as the target server that should receive the audit information. BK> One last question, not so much related to Nagios, but to remote BK> administration in general; are there any ways of retreiving a list of BK> user's IP-adresses on a remote network? My intention is to make it a BK> lot easier for the helpdesk staff to access the users desktops via a BK> one-click access with VNC, perhaps with a link to a script-provided BK> vnc-file in the inventory or helpdesk system. I was thinking about a BK> DHCP dump of some sort, periodically reporting IP allocations to a BK> central server, or something in that fashion. hmmmm.... if you have ISC DHCP installed, take a look at http://sourceforge.net/projects/dhcpstatus/ , you may find this one useful. Best wishes, Maxim mailto:mak at rtsnet.ru ------------------------------------------------------- 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 mak at rtsnet.ru Mon Aug 26 23:34:40 2002 From: mak at rtsnet.ru (Maxim Berlin) Date: Tue, 27 Aug 2002 01:34:40 +0400 Subject: NSClientEVL In-Reply-To: References: Message-ID: <3120659056.20020827013440@rtsnet.ru> Hello William, Tuesday, August 27, 2002, Hiatt, William wrote: HW> Does anybody know when this will be available? If not, is there HW> something else that somebody is doing to get EventLog's from Windows HW> 2000 into Nagios? i'm not absolutelly sure, what do you mean by 'get EventLog's from Windows 2000 into Nagios', but you can see my previos post about BackLog, BackLog for IIS (http://www.intersectalliance.com/projects/index.html). editing /etc/syslog.conf and, may be, simple perl script for analyze syslogd data? Best wishes, Maxim mailto:mak at rtsnet.ru ------------------------------------------------------- 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 andy at droidmcse.com Mon Aug 26 16:54:07 2002 From: andy at droidmcse.com (Andy Stein) Date: Mon, 26 Aug 2002 10:54:07 -0400 Subject: SPAM - RE: Nagios is running multiple daemons In-Reply-To: <0DA06E553C3BD511823500508BB8965A0201206B@exnadetmbx3.ams.gblxint.com> References: <0DA06E553C3BD511823500508BB8965A0201206B@exnadetmbx3.ams.gblxint.com> Message-ID: <000001c24d10$70819070$0a01a8c0@asus> Daniel, Terry & Timo, I was in the same boat as you with watching the number of processes. I am currently watching about 300 hosts with approaching 600 service checks. I am also running router stats and hosting a few very small databases on my Linux server. There are some performance tuning options that you can apply. This helped my memory out greatly. I'm not 100% sure of the ramifications, but I haven't seen any ill effects from the first one. Apache defaults to 8 daemons running. I changed this to 2 at work and 1 at home and gained a large amount of memory back. You can also scale nagios to only run X number of checks at a time. Depending on your configuration and how often the checks occur, you can have nagios only perform 50 checks at a time for example. http://nagios.sourceforge.net/docs/1_0/tuning.html Check #3 on the list for info on deciding how to scale your checks back. Hope this helps.... Andy -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rusch, Daniel Sent: Monday, August 26, 2002 9:34 AM To: 'Terry Simons'; Timo Koskela Cc: nagios-users at lists.sourceforge.net Subject: SPAM - RE: [Nagios-users] Nagios is running multiple daemons I posted a similar message a week or so ago and didn't get any response. On my system the number of processes running that are owned by nagios varies from a half dozen to over 100. I assume that nagios is running multithreaded and spawning of sub-processes. I have noticed that nagios will burry the box it is running on and then of course the number of processes owned by nagios increases dramatically as they pile up. Check to see if nagios is over loading your system. I logged uptime and ps -few | grep nagios | wc -l every five minutes. I posted my message to see what a "normal" number of processes should be, but received no replies. Dan -----Original Message----- From: Terry Simons [mailto:galimore at mac.com] Sent: Monday, August 26, 2002 7:13 AM To: Timo Koskela Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios is running multiple daemons I don't know the reason, but I have seen multiple copies of Nagios running. I haven't seen more than two, but it wasn't a parent/child relationship... there were actually two copies of Nagios running... I thought that maybe it had something to do with the way that Nagios parallelizes checks, but maybe not... Ethan? - Terry On Sunday, August 25, 2002, at 11:59 PM, Timo Koskela wrote: > Hi all, > ? > Has somebody had same problem as I with Nagios. If there is something > wrong in our LAN where nagios is running, or in firewall, example line > is cut to outer world Nagios start to run multiple daemons. Like couple > days ago when i checked there was about 20 copies of Nagios, and it > didin't work so well then, but when i killed the main pid, they all > died. Please let me know if you know the reason... > ? > Timo > Finland > Missing every moment and preparing for the next. ------------------------------------------------------- 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=urceforge1&refcode1=3390 _______________________________________________ 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 russell at quadrix.com Tue Aug 27 00:21:11 2002 From: russell at quadrix.com (Russell Scibetti) Date: Mon, 26 Aug 2002 18:21:11 -0400 Subject: Nagios is running multiple daemons References: <001e01c24cc5$b1938aa0$b50fa8c0@fi.poltto> Message-ID: <3D6AA9D7.2010205@quadrix.com> Those processes aren't instances of Nagios. They are all the plugins that the Nagios instance forks off. That's why when you kill the main pid, they all die off. The more services you are checking (and assuming you are allowing concurrent, parallel checks), the more of these instances you will see. -Russell Timo Koskela wrote: > Hi all, > > > > Has somebody had same problem as I with Nagios. If there is something > wrong in our LAN where nagios is running, or in firewall, example line > is cut to outer world Nagios start to run multiple daemons. Like > couple days ago when i checked there was about 20 copies of Nagios, > and it didin't work so well then, but when i killed the main pid, they > all died. Please let me know if you know the reason... > > > > Timo > Finland > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pspa at gp.novis.pt Tue Aug 27 00:41:50 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: Mon, 26 Aug 2002 23:41:50 +0100 Subject: Converting from Netsaint flat-file to Nagios Template-based config files Message-ID: <20020826234150.A5455@gp.novis.pt> Hi all. Here goes a small perl script to convert Netsaint flat-file config files to Nagios template-based ones. It's not perfect, but it did help me on an 'urgent' migration (I needed some config tweaks only 'available' on the new style configs). P.S. - improvements are welcome :) P.S.2 - japh at ip.pt it's my 'personal' email ... I'm the same guy :-p P.S.3 - I'm NOT a programmer ... the code is really dirty ... keep the flames to yerself, willya ? :-) Hugz to all. -- Paulo Pinto Novis GSP pspa at gp.novis.pt -------------- next part -------------- #!/usr/bin/perl #^^^^^^^^^^^^^^ <<--- You may need to change this to reflect the correct location of your perl interpreter # TRANSLATOR - "Netsaint style" to "Nagios style" config file converter. # Not Copyrighted - 2002/Paulo Pinto (japh at ip.pt) # This file ONLY "translates" hosts.cfg AND commands.cfg. Any other config file is out of scope. # WARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNING # WARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNING # WARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNINGWARNING # * THIS "SOFTWARE" IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED # * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE # * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, # * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, # * STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # * POSSIBILITY OF SUCH DAMAGE. # YOU HAVE BEEN WARNED !! # ================================================================================================================================== # NOTE: I'm not a programmer ... this may have programming errors that can make any SERIOUS perl programmer rip his hair off ... :-) # ================================================================================================================================== # This "software" is provided without any guarantee that it will ever work, and if it does, that the results will be the ones that you expect. # It was developed for my personal use but I guess that other people may have use for it. # You are free to modify, erase, add ... i.e., do whatever you want with this file. ANYWAY, I'd be grateful if you provide me any changes # you may make to it. # The usage is quite simple: # - Create a new directory (we'll use /tmp/nagios for this example) # - Copy your hosts.cfg to /tmp/nagios/hosts.old # - Copy your commands.cfg to /tmp/nagios/commands.old # - IMPORTANT ! -> MAKE SURE that both files have the ".old" extension before proceeding (FAILURE TO DO SO MAY CAUSE IMPREDICTABLE RESULTS !! ) # - Copy this file to /tmp/nagios # - Execute this file (you may have to chmod +x it ). # You'll get (hopefully...) 9 output files with .cfg extension, in the 'template' Nagios format. # Remember that they NEED to be manually verified and, if needed, tweaked before going into production ! # The main cause is that I "assume" that some variables are the same for all hosts or services... THIS MAY NOT BE YOUR CASE ! # Again, you've been warned :-) # Hopefully, this is where you stop reading and proceed to do something useful :-) open(SOURCE1, "<"."hosts.old"); @source1 = ; close(SOURCE1); open(SOURCE2, "<"."commands.old"); @source2 = ; close(SOURCE2); open(DEST1, ">"."hosts.cfg"); open(DEST2, ">"."services.cfg"); open(DEST3, ">"."timeperiods.cfg"); open(DEST4, ">"."contacts.cfg"); open(DEST5, ">"."misccommands.cfg"); open(DEST6, ">"."contactgroups.cfg"); open(DEST7, ">"."hostgroups.cfg"); open(DEST8, ">"."escalations.cfg"); open(DEST9, ">"."checkcommands.cfg"); # "Needed" header stuff # hosts.cfg stuff print(DEST1 "define host{"."\n"); print(DEST1 "\t"."name"."\t"."\t"."\t"."\t"."generic-host"."\n"); print(DEST1 "\t"."notifications_enabled"."\t"."\t"."0 ; Host notifications are NOT enabled"."\n"); print(DEST1 "\t"."event_handler_enabled"."\t"."\t"."1 ; Host event handler is enabled"."\n"); print(DEST1 "\t"."flap_detection_enabled"."\t"."\t"."1 ; Flap detection is enabled"."\n"); print(DEST1 "\t"."process_perf_data"."\t"."\t"."0 ; Do NOT Process performance data"."\n"); print(DEST1 "\t"."retain_status_information"."\t"."1 ; Retain status information across program restarts"."\n"); print(DEST1 "\t"."retain_nonstatus_information"."\t"."1 ; Retain non-status information across program restarts"."\n"); print(DEST1 "\t"."register"."\t"."\t"."\t"."0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!"."\n"); print(DEST1 "\t"."}"); print(DEST1 "\n\n"); #services.cfg stuff print(DEST2 "define service{"."\n"); print(DEST2 "\t"."name"."\t"."\t"."\t"."\t"."generic-service"."\n"); print(DEST2 "\t"."active_checks_enabled"."\t"."\t"."1 ; Active service checks are enabled"."\n"); print(DEST2 "\t"."passive_checks_enabled"."\t"."\t"."0 ; Passive service checks are enabled/accepted"."\n"); print(DEST2 "\t"."parallelize_check"."\t"."\t"."1 ; Active service checks should be parallelized (disabling this can lead to major performance problems)"."\n"); print(DEST2 "\t"."obsess_over_service"."\t"."\t"."1 ; We should obsess over this service (if necessary)"."\n"); print(DEST2 "\t"."check_freshness"."\t"."\t"."\t"."0 ; Default is to NOT check service 'freshness'"."\n"); print(DEST2 "\t"."notifications_enabled"."\t"."\t"."0 ; Service notifications are NOT enabled"."\n"); print(DEST2 "\t"."event_handler_enabled"."\t"."\t"."1 ; Service event handler is enabled"."\n"); print(DEST2 "\t"."flap_detection_enabled"."\t"."\t"."1 ; Flap detection is enabled"."\n"); print(DEST2 "\t"."process_perf_data"."\t"."\t"."0 ; Do NOT Process performance data"."\n"); print(DEST2 "\t"."retain_status_information"."\t"."1 ; Retain status information across program restarts"."\n"); print(DEST2 "\t"."retain_nonstatus_information"."\t"."1 ; Retain non-status information across program restarts"."\n"); print(DEST2 "\t"."register"."\t"."\t"."\t"."0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!"."\n"); print(DEST2 "\t"."}"); print(DEST2 "\n\n"); # Rock and Roll ... foreach $linha (@source1) { chomp; chomp($linha); ($a,$b)= split(/\]=/,$linha); ($b1,$b2)=split(/\[/,$a); ($a1,$a2,$a3,$a4,$a5,$a6,$a7,$a8,$a9,$a10,$a11,$a12,$a13,$a14,$a15)= split(/;/,$b); if (substr($a,0,11) eq "timeperiod["){ print(DEST3 "define timeperiod{"."\n"); print(DEST3 "\t"."timeperiod_name ".$b2."\n"); if (!($a1 eq "" )){print(DEST3 "\t"."alias ".$a1."\n")}; if (!($a2 eq "" )){print(DEST3 "\t"."sunday ".$a2."\n")}; if (!($a3 eq "" )){print(DEST3 "\t"."monday ".$a3."\n")}; if (!($a4 eq "" )){print(DEST3 "\t"."tuesday ".$a4."\n")}; if (!($a5 eq "" )){print(DEST3 "\t"."wednesday ".$a5."\n")}; if (!($a6 eq "" )){print(DEST3 "\t"."thursday ".$a6."\n")}; if (!($a7 eq "" )){print(DEST3 "\t"."friday ".$a7."\n")}; if (!($a8 eq "" )){print(DEST3 "\t"."saturday ".$a8."\n")}; print(DEST3 "\t"."}"); print(DEST3 "\n\n"); } if (substr($a,0,8) eq "command["){ print(DEST5 "define command{"."\n"); print(DEST5 "\t"."command_name"."\t".$b2."\n"); print(DEST5 "\t"."command_line"."\t".$b."\n"); print(DEST5 "\t"."}"); print(DEST5 "\n\n"); } if (substr($a,0,8) eq "contact["){ if ($a4 eq "1") {$t1 ="r,"}; if ($a5 eq "1") {$t2 ="c,"}; if ($a6 eq "1") {$t3 ="w,"}; if ($a7 eq "1") {$t4 ="r,"}; if ($a8 eq "1") {$t5 ="d,"}; if ($a9 eq "1") {$t6 ="u,"} ; $temp1 = $t1.$t2.$t3; $temp2 = $t4.$t5.$t6; chomp($temp1); chomp($temp2); if ((substr($temp1,-1,1)) eq ",") { chop($temp1) }; if ((substr($temp2,-1,1)) eq ",") { chop($temp2) }; print(DEST4 "define contact{"."\n"); print(DEST4 "\t"."contact_name"."\t"."\t"."\t".$b2."\n"); print(DEST4 "\t"."alias"."\t"."\t"."\t"."\t".$a1."\n"); print(DEST4 "\t"."service_notification_period"."\t".$a2."\n"); print(DEST4 "\t"."host_notification_period"."\t".$a3."\n"); print(DEST4 "\t"."service_notification_options"."\t".$temp1."\n"); print(DEST4 "\t"."host_notification_options"."\t".$temp2."\n"); print(DEST4 "\t"."service_notification_commands"."\t".$a10."\n"); print(DEST4 "\t"."host_notification_commands"."\t".$a11."\n"); if (!($a12 eq "")){print(DEST4 "\t"."email"."\t"."\t"."\t"."\t".$a12."\n")}; if (!($a13 eq "")){print(DEST4 "\t"."pager"."\t"."\t"."\t"."\t".$a13."\n")}; print(DEST4 "\t"."}"); print(DEST4 "\n\n"); } if (substr($a,0,8) eq "contactg"){ print(DEST6 "define contactgroup{"."\n"); print(DEST6 "\t"."contactgroup_name"."\t".$b2."\n"); print(DEST6 "\t"."alias"."\t"."\t"."\t".$a1."\n"); print(DEST6 "\t"."members"."\t"."\t"."\t".$a2."\n"); print(DEST6 "\t"."}"); print(DEST6 "\n\n"); } if (substr($a,0,5) eq "host["){ if ($a8 eq "1") {$t1 ="r,"}; if ($a9 eq "1") {$t2 ="d,"}; if ($a10 eq "1") {$t3 ="u,"}; $temp1 = $t1.$t2.$t3; chomp($temp1); if ((substr($temp1,-1,1)) eq ",") { chop($temp1) }; print(DEST1 "define host{"."\n"); print(DEST1 "\t"."use"."\t"."\t"."\t"."generic-host"."\n"); print(DEST1 "\t"."host_name"."\t"."\t".$b2."\n"); print(DEST1 "\t"."alias"."\t"."\t"."\t".$a1."\n"); print(DEST1 "\t"."address"."\t"."\t"."\t".$a2."\n"); if (!($a3 eq "" )){print(DEST1 "\t"."parents"."\t"."\t"."\t".$a3."\n")}; print(DEST1 "\t"."check_command"."\t"."\t".$a4."\n"); print(DEST1 "\t"."max_check_attempts"."\t".$a5."\n"); print(DEST1 "\t"."notification_interval"."\t".$a6."\n"); print(DEST1 "\t"."notification_period"."\t".$a7."\n"); print(DEST1 "\t"."notification_options"."\t".$temp1."\n"); print(DEST1 "\t"."}"); print(DEST1 "\n\n"); } if (substr($a,0,10) eq "hostgroup["){ print(DEST7 "define hostgroup{"."\n"); print(DEST7 "\t"."hostgroup_name"."\t"."\t".$b2."\n"); print(DEST7 "\t"."alias"."\t"."\t"."\t".$a1."\n"); print(DEST7 "\t"."contact_groups"."\t"."\t".$a2."\n"); print(DEST7 "\t"."members"."\t"."\t"."\t".$a3."\n"); print(DEST7 "\t"."}"); print(DEST7 "\n\n"); } if (substr($a,0,8) eq "service["){ if ($a10 eq "1") {$t1 ="r,"}; if ($a11 eq "1") {$t2 ="c,"}; if ($a12 eq "1") {$t3 ="w,"}; $temp1 = $t1.$t2.$t3; chomp($temp1); if ((substr($temp1,-1,1)) eq ",") { chop($temp1) }; print(DEST2 "define service{"."\n"); print(DEST2 "\t"."use"."\t"."\t"."\t"."generic-service"."\n"); print(DEST2 "\t"."host_name"."\t"."\t".$b2."\n"); print(DEST2 "\t"."service_description"."\t".$a1."\n"); print(DEST2 "\t"."is_volatile"."\t"."\t".$a2."\n"); print(DEST2 "\t"."check_period"."\t"."\t".$a3."\n"); print(DEST2 "\t"."max_check_attempts"."\t".$a4."\n"); print(DEST2 "\t"."normal_check_interval"."\t".$a5."\n"); print(DEST2 "\t"."retry_check_interval"."\t".$a6."\n"); print(DEST2 "\t"."contact_groups"."\t"."\t".$a7."\n"); print(DEST2 "\t"."notification_interval"."\t".$a8."\n"); print(DEST2 "\t"."notification_period"."\t".$a9."\n"); print(DEST2 "\t"."notification_options"."\t".$temp1."\n"); print(DEST2 "\t"."check_command"."\t"."\t".$a14."\n"); print(DEST2 "\t"."}"); print(DEST2 "\n\n"); } if (substr($a,0,18) eq "serviceescalation["){ ($c1,$c2)=split(/;/,$b2); ($d1,$d2)= split(/-/,$a1); print(DEST8 "define serviceescalation{"."\n"); print(DEST8 "\t"."host_name"."\t"."\t".$c1."\n"); print(DEST8 "\t"."service_description"."\t".$c2."\n"); print(DEST8 "\t"."first_notification"."\t".$d1."\n"); print(DEST8 "\t"."last_notification"."\t".$d2."\n"); print(DEST8 "\t"."contact_groups"."\t"."\t".$a2."\n"); print(DEST8 "\t"."notification_interval"."\t".$a3."\n"); print(DEST8 "\t"."}"); print(DEST8 "\n\n"); } if (substr($a,0,20) eq "hostgroupescalation["){ ($d1,$d2)= split(/-/,$a1); print(DEST8 "define hostgroupescalation{"."\n"); print(DEST8 "\t"."hostgroup_name"."\t"."\t".$b2."\n"); print(DEST8 "\t"."first_notification"."\t".$d1."\n"); print(DEST8 "\t"."last_notification"."\t".$d2."\n"); print(DEST8 "\t"."contact_groups"."\t"."\t".$a2."\n"); print(DEST8 "\t"."notification_interval"."\t".$a3."\n"); print(DEST8 "\t"."}"); print(DEST8 "\n\n"); } } foreach $linha (@source2) { chomp; ($a,$b)= split(/\]=/,$linha); ($b1,$b2)=split(/\[/,$a); ($a1,$a2,$a3,$a4,$a5,$a6,$a7,$a8,$a9,$a10,$a11,$a12,$a13,$a14,$a15)= split(/;/,$b); if (substr($a,0,8) eq "command["){ print(DEST9 "define command{"."\n"); print(DEST9 "\t"."command_name"."\t".$b2."\n"); print(DEST9 "\t"."command_line"."\t".$b."\n"); print(DEST9 "\t"."}"); print(DEST9 "\n\n"); } } close(DEST1); close(DEST2); close(DEST3); close(DEST4); close(DEST5); close(DEST6); close(DEST7); close(DEST8); close(DEST9); From szayac at applicada.com Tue Aug 27 03:02:18 2002 From: szayac at applicada.com (Shawn Zayac) Date: Mon, 26 Aug 2002 20:02:18 -0500 Subject: redhat 7.3 Message-ID: Has anybody installed nagios on RedHat 7.3? I'm having problems compiling it. I'm getting segmentation errors while compiling the core in math.h, but it still finished. However I'm missing the etc directory from the nagios directory. Now the plugins will not compile at all. Is it not compatible with 7.3? Shawn ------------------------------------------------------- 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 g.vickers at qut.edu.au Tue Aug 27 04:38:13 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 27 Aug 2002 12:38:13 +1000 Subject: Processors required for Nagios In-Reply-To: <000001c24d10$70819070$0a01a8c0@asus> Message-ID: <5.1.0.14.2.20020827121855.00ae9068@pop.qut.edu.au> Hey all, I included the below to ask the correspondents: What kind of processor are you running this system on and how do you find the processor utilization on this server? I ask because I am in the middle of sourcing a server for our section and are looking at a single processor P3 1.4 GHz with 512Mb ram (and RAID5 3*18Gb 10k rpm + hot swap etc etc *G*). We will be monitoring up to 1000 hosts and a bucket load (I guess 1500-2000) of services. (I actually hadn't thought about how many hosts/services we would be monitoring!) So for that kind of load, is a second processor warranted? Thanks all, Greg p.s. just read through the tuning doc > am currently watching about 300 hosts with approaching 600 service >There are some performance tuning options that you can apply. This >helped my memory out greatly. I'm not 100% sure of the ramifications, >but I haven't seen any ill effects from the first one. > >Apache defaults to 8 daemons running. I changed this to 2 at work and 1 >at home and gained a large amount of memory back. > >You can also scale nagios to only run X number of checks at a time. >Depending on your configuration and how often the checks occur, you can >have nagios only perform 50 checks at a time for example. > >http://nagios.sourceforge.net/docs/1_0/tuning.html >Check #3 on the list for info on deciding how to scale your checks back. > >Hope this helps.... > >Andy > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rusch, >Daniel >Sent: Monday, August 26, 2002 9:34 AM >To: 'Terry Simons'; Timo Koskela >Cc: nagios-users at lists.sourceforge.net >Subject: SPAM - RE: [Nagios-users] Nagios is running multiple daemons > >I posted a similar message a week or so ago and didn't get any response. >On >my system the number of processes running that are owned by nagios >varies >from a half dozen to over 100. I assume that nagios is running >multithreaded and spawning of sub-processes. I have noticed that nagios >will burry the box it is running on and then of course the number of >processes owned by nagios increases dramatically as they pile up. Check >to >see if nagios is over loading your system. I logged uptime and ps -few >| >grep nagios | wc -l every five minutes. > >I posted my message to see what a "normal" number of processes should >be, >but received no replies. > >Dan > >-----Original Message----- >From: Terry Simons [mailto:galimore at mac.com] >Sent: Monday, August 26, 2002 7:13 AM >To: Timo Koskela >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Nagios is running multiple daemons > > >I don't know the reason, but I have seen multiple copies of Nagios >running. > >I haven't seen more than two, but it wasn't a parent/child >relationship... there were actually two copies of Nagios running... > >I thought that maybe it had something to do with the way that Nagios >parallelizes checks, but maybe not... > >Ethan? > >- Terry > > >On Sunday, August 25, 2002, at 11:59 PM, Timo Koskela wrote: > > > Hi all, > > > > Has somebody had same problem as I with Nagios. If there is something > > wrong in our LAN where nagios is running, or in firewall, example line > > > is cut to outer world Nagios start to run multiple daemons. Like >couple > > days ago when i checked there was about 20 copies of Nagios, and it > > didin't work so well then, but when i killed the main pid, they all > > died. Please let me know if you know the reason... > > > > Timo > > Finland > > >Missing every moment and preparing for the next. > > > >------------------------------------------------------- >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=urceforge1&refcode1=3390 >_______________________________________________ >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_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- 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 todd.jones at weirslurry.com Tue Aug 27 05:20:47 2002 From: todd.jones at weirslurry.com (todd.jones at weirslurry.com) Date: Mon, 26 Aug 2002 22:20:47 -0500 Subject: notification_period and hosts.cfg Message-ID: I would like to run this by the group and see if I understand notification periods correctly. I have a host with a notification period of 24x7 and checking two services, both with a notification period of 9-5, but different contact groups. I understand that if a service goes down from 9-5, then everybody in the contact group is notified for that particular service. I also understand that if a service goes down and it does not fall into the time period for that service, no contacts are sent out. I do not understand the notification_period parameter in hosts.cfg. If the host goes down, who receives notification, since it isn't defined anywhere? Do both groups defined at the service level receive notification even if it is outside of 9-5? Also, if the service is 24x7, but the host is 9-5, does the host take precedence over the service and would the contact group still receive notification if the time was outside of 9-5? Regards, Todd Jones Network Administrator Weir Slurry 608-221-5805 phone 608-221-5807 fax ------------------------------------------------------- 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 brian at whiteheadconsulting.com Tue Aug 27 05:21:36 2002 From: brian at whiteheadconsulting.com (Brian Whitehead) Date: 26 Aug 2002 22:21:36 -0500 Subject: Processors required for Nagios In-Reply-To: <5.1.0.14.2.20020827121855.00ae9068@pop.qut.edu.au> References: <" <0DA06E553C3BD511823500508BB8965A0201206B"@exnadetmbx3.ams.gblxint.com> <5.1.0.14.2.20020827121855.00ae9068@pop.qut.edu.au> Message-ID: <1030418496.30124.7.camel@spasm.whiteheadconsulting.com> If you are going to be monitoring 1000 hosts you are probably looking more like 5-10,000+ services. If you monitor load, ssh, ftp, http, zombie process, disk space, that would be 6 services times 1,000 hosts. (6,000). At that rate I would opt for the second processor or a Xeon, which emulates two processors in one. I would also opt for a lot more RAM. RAM is very inexpensive and the more you can keep in memory the faster it's going to run and the less drive I/O you'll have. Just my opinion. On Mon, 2002-08-26 at 21:38, Greg Vickers wrote: > Hey all, I included the below to ask the correspondents: > > What kind of processor are you running this system on and how do you find > the processor utilization on this server? I ask because I am in the middle > of sourcing a server for our section and are looking at a single processor > P3 1.4 GHz with 512Mb ram (and RAID5 3*18Gb 10k rpm + hot swap etc etc *G*). > > We will be monitoring up to 1000 hosts and a bucket load (I guess > 1500-2000) of services. (I actually hadn't thought about how many > hosts/services we would be monitoring!) So for that kind of load, is a > second processor warranted? > > Thanks all, > Greg > > p.s. just read through the tuning doc > > > am currently watching about 300 hosts with approaching 600 service > >There are some performance tuning options that you can apply. This > >helped my memory out greatly. I'm not 100% sure of the ramifications, > >but I haven't seen any ill effects from the first one. > > > >Apache defaults to 8 daemons running. I changed this to 2 at work and 1 > >at home and gained a large amount of memory back. > > > >You can also scale nagios to only run X number of checks at a time. > >Depending on your configuration and how often the checks occur, you can > >have nagios only perform 50 checks at a time for example. > > > >http://nagios.sourceforge.net/docs/1_0/tuning.html > >Check #3 on the list for info on deciding how to scale your checks back. > > > >Hope this helps.... > > > >Andy > > > >-----Original Message----- > >From: nagios-users-admin at lists.sourceforge.net > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rusch, > >Daniel > >Sent: Monday, August 26, 2002 9:34 AM > >To: 'Terry Simons'; Timo Koskela > >Cc: nagios-users at lists.sourceforge.net > >Subject: SPAM - RE: [Nagios-users] Nagios is running multiple daemons > > > >I posted a similar message a week or so ago and didn't get any response. > >On > >my system the number of processes running that are owned by nagios > >varies > >from a half dozen to over 100. I assume that nagios is running > >multithreaded and spawning of sub-processes. I have noticed that nagios > >will burry the box it is running on and then of course the number of > >processes owned by nagios increases dramatically as they pile up. Check > >to > >see if nagios is over loading your system. I logged uptime and ps -few > >| > >grep nagios | wc -l every five minutes. > > > >I posted my message to see what a "normal" number of processes should > >be, > >but received no replies. > > > >Dan > > > >-----Original Message----- > >From: Terry Simons [mailto:galimore at mac.com] > >Sent: Monday, August 26, 2002 7:13 AM > >To: Timo Koskela > >Cc: nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] Nagios is running multiple daemons > > > > > >I don't know the reason, but I have seen multiple copies of Nagios > >running. > > > >I haven't seen more than two, but it wasn't a parent/child > >relationship... there were actually two copies of Nagios running... > > > >I thought that maybe it had something to do with the way that Nagios > >parallelizes checks, but maybe not... > > > >Ethan? > > > >- Terry > > > > > >On Sunday, August 25, 2002, at 11:59 PM, Timo Koskela wrote: > > > > > Hi all, > > > > > > Has somebody had same problem as I with Nagios. If there is something > > > wrong in our LAN where nagios is running, or in firewall, example line > > > > > is cut to outer world Nagios start to run multiple daemons. Like > >couple > > > days ago when i checked there was about 20 copies of Nagios, and it > > > didin't work so well then, but when i killed the main pid, they all > > > died. Please let me know if you know the reason... > > > > > > Timo > > > Finland > > > > >Missing every moment and preparing for the next. > > > > > > > >------------------------------------------------------- > >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=urceforge1&refcode1=3390 > >_______________________________________________ > >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_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems > Teaching and Learning Support Systems, QUT > g.vickers at qut.edu.au > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: 6147 > > > > ------------------------------------------------------- > 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 -- Brian Whitehead - A+, LCP, RHCE Systems Administrator - Linux Consultant Direct: 816.512.9417 Mobile: 816.215.1598 mailto:brian at whiteheadconsulting.com Whitehead Consulting Group 1505 Bradford Drive Greenwood, MO 64034 Phone: 816.537.7170 http://www.whiteheadconsulting.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 paul_kenn at yahoo.com Tue Aug 27 05:55:32 2002 From: paul_kenn at yahoo.com (Paul Kenniston) Date: Mon, 26 Aug 2002 20:55:32 -0700 (PDT) Subject: redhat 7.3 In-Reply-To: References: Message-ID: <20020827035532.43091.qmail@web13507.mail.yahoo.com> Shawn, I have installed on a couple 7.3 boxes in the past couple of weeks, but it was admittedly using the RPM's vs. compiling. The only RPM that didn't install was the plugin-addons and that was simply because I was lacking a couple library dependancies. Paul --- Shawn Zayac wrote: > > > Has anybody installed nagios on RedHat 7.3? I'm > having problems > compiling it. I'm getting segmentation errors while > compiling the core in > math.h, but it still finished. However I'm missing > the etc directory from > the nagios directory. Now the plugins will not > compile at all. Is it not > compatible with 7.3? > > > > Shawn > > > ------------------------------------------------------- > 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 __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.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 brian at whiteheadconsulting.com Tue Aug 27 05:59:55 2002 From: brian at whiteheadconsulting.com (Brian Whitehead) Date: 26 Aug 2002 22:59:55 -0500 Subject: redhat 7.3 In-Reply-To: References: Message-ID: <1030420795.30124.11.camel@spasm.whiteheadconsulting.com> I'm running it on 7.3 without a problem. You might be missing a necessary library or need to make sure that you installed all errata. For the etc directory you need to make install-config On Mon, 2002-08-26 at 20:02, Shawn Zayac wrote: > > > Has anybody installed nagios on RedHat 7.3? I'm having problems > compiling it. I'm getting segmentation errors while compiling the core in > math.h, but it still finished. However I'm missing the etc directory from > the nagios directory. Now the plugins will not compile at all. Is it not > compatible with 7.3? > > > > Shawn > > > ------------------------------------------------------- > 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 -- Brian Whitehead - A+, LCP, RHCE Systems Administrator - Linux Consultant Direct: 816.512.9417 Mobile: 816.215.1598 mailto:brian at whiteheadconsulting.com Whitehead Consulting Group 1505 Bradford Drive Greenwood, MO 64034 Phone: 816.537.7170 http://www.whiteheadconsulting.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 g.vickers at qut.edu.au Tue Aug 27 06:28:20 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 27 Aug 2002 14:28:20 +1000 Subject: Processors required for Nagios In-Reply-To: <1030418496.30124.7.camel@spasm.whiteheadconsulting.com> References: <5.1.0.14.2.20020827121855.00ae9068@pop.qut.edu.au> <" <0DA06E553C3BD511823500508BB8965A0201206B"@exnadetmbx3.ams.gblxint.com> <5.1.0.14.2.20020827121855.00ae9068@pop.qut.edu.au> Message-ID: <5.1.0.14.2.20020827142420.0330f410@pop.qut.edu.au> Thanks Brian - actually 900 of these hosts will only have one service check running on them - they are Lab PCs that we will be running a check on them to see if anyone is logged on or not (they are Win2K pcs). We will have 20-30 servers that we will be running 10-15 services checks on so we wind up with only 1200 to 1300 service checks. In your opinion, will a single processor with 512Mb ram be enough? We won't be expanding the number of service checks in the foreseeable future. Greg At 13:21 27/08/2002, Brian Whitehead wrote: >If you are going to be monitoring 1000 hosts you are probably looking >more like 5-10,000+ services. If you monitor load, ssh, ftp, http, >zombie process, disk space, that would be 6 services times 1,000 hosts. >(6,000). At that rate I would opt for the second processor or a Xeon, >which emulates two processors in one. I would also opt for a lot more >RAM. RAM is very inexpensive and the more you can keep in memory the >faster it's going to run and the less drive I/O you'll have. Just my >opinion. > > >On Mon, 2002-08-26 at 21:38, Greg Vickers wrote: > > Hey all, I included the below to ask the correspondents: > > > > What kind of processor are you running this system on and how do you find > > the processor utilization on this server? I ask because I am in the middle > > of sourcing a server for our section and are looking at a single processor > > P3 1.4 GHz with 512Mb ram (and RAID5 3*18Gb 10k rpm + hot swap etc etc > *G*). > > > > We will be monitoring up to 1000 hosts and a bucket load (I guess > > 1500-2000) of services. (I actually hadn't thought about how many > > hosts/services we would be monitoring!) So for that kind of load, is a > > second processor warranted? > > > > Thanks all, > > Greg > > > > p.s. just read through the tuning doc > > > > > am currently watching about 300 hosts with approaching 600 service > > >There are some performance tuning options that you can apply. This > > >helped my memory out greatly. I'm not 100% sure of the ramifications, > > >but I haven't seen any ill effects from the first one. > > > > > >Apache defaults to 8 daemons running. I changed this to 2 at work and 1 > > >at home and gained a large amount of memory back. > > > > > >You can also scale nagios to only run X number of checks at a time. > > >Depending on your configuration and how often the checks occur, you can > > >have nagios only perform 50 checks at a time for example. > > > > > >http://nagios.sourceforge.net/docs/1_0/tuning.html > > >Check #3 on the list for info on deciding how to scale your checks back. > > > > > >Hope this helps.... > > > > > >Andy > > > > > >-----Original Message----- > > >From: nagios-users-admin at lists.sourceforge.net > > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rusch, > > >Daniel > > >Sent: Monday, August 26, 2002 9:34 AM > > >To: 'Terry Simons'; Timo Koskela > > >Cc: nagios-users at lists.sourceforge.net > > >Subject: SPAM - RE: [Nagios-users] Nagios is running multiple daemons > > > > > >I posted a similar message a week or so ago and didn't get any response. > > >On > > >my system the number of processes running that are owned by nagios > > >varies > > >from a half dozen to over 100. I assume that nagios is running > > >multithreaded and spawning of sub-processes. I have noticed that nagios > > >will burry the box it is running on and then of course the number of > > >processes owned by nagios increases dramatically as they pile up. Check > > >to > > >see if nagios is over loading your system. I logged uptime and ps -few > > >| > > >grep nagios | wc -l every five minutes. > > > > > >I posted my message to see what a "normal" number of processes should > > >be, > > >but received no replies. > > > > > >Dan > > > > > >-----Original Message----- > > >From: Terry Simons [mailto:galimore at mac.com] > > >Sent: Monday, August 26, 2002 7:13 AM > > >To: Timo Koskela > > >Cc: nagios-users at lists.sourceforge.net > > >Subject: Re: [Nagios-users] Nagios is running multiple daemons > > > > > > > > >I don't know the reason, but I have seen multiple copies of Nagios > > >running. > > > > > >I haven't seen more than two, but it wasn't a parent/child > > >relationship... there were actually two copies of Nagios running... > > > > > >I thought that maybe it had something to do with the way that Nagios > > >parallelizes checks, but maybe not... > > > > > >Ethan? > > > > > >- Terry > > > > > > > > >On Sunday, August 25, 2002, at 11:59 PM, Timo Koskela wrote: > > > > > > > Hi all, > > > > > > > > Has somebody had same problem as I with Nagios. If there is something > > > > wrong in our LAN where nagios is running, or in firewall, example line > > > > > > > is cut to outer world Nagios start to run multiple daemons. Like > > >couple > > > > days ago when i checked there was about 20 copies of Nagios, and it > > > > didin't work so well then, but when i killed the main pid, they all > > > > died. Please let me know if you know the reason... > > > > > > > > Timo > > > > Finland > > > > > > >Missing every moment and preparing for the next. > > > > > > > > > > > >------------------------------------------------------- > > >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=urceforge1&refcode1=3390 > > >_______________________________________________ > > >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_______________________________________ > ________ > > >Nagios-users mailing list > > >Nagios-users at lists.sourceforge.net > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ================================= > > Greg Vickers > > Computer Systems Officer > > Student Support and Systems > > Teaching and Learning Support Systems, QUT > > g.vickers at qut.edu.au > > Ph: 07 3864 8276 Fax: 07 3864 5425 > > Mob: 0416 001 674 SD: 6147 > > > > > > > > ------------------------------------------------------- > > 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 >-- >Brian Whitehead - A+, LCP, RHCE >Systems Administrator - Linux Consultant >Direct: 816.512.9417 >Mobile: 816.215.1598 >mailto:brian at whiteheadconsulting.com > >Whitehead Consulting Group >1505 Bradford Drive >Greenwood, MO 64034 >Phone: 816.537.7170 >http://www.whiteheadconsulting.com ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- 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 tdeblend at gcc.dhl.com Tue Aug 27 09:15:05 2002 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Tue, 27 Aug 2002 09:15:05 +0200 Subject: Processors required for Nagios References: <5.1.0.14.2.20020827121855.00ae9068@pop.qut.edu.au> <" <0DA06E553C3BD511823500508BB8965A0201206B"@exnadetmbx3.ams.gblxint.com> <5.1.0.14.2.20020827121855.00ae9068@pop.qut.edu.au> <5.1.0.14.2.20020827142420.0330f410@pop.qut.edu.au> Message-ID: <3D6B26F9.17FF674B@gcc.dhl.com> An HTML attachment was scrubbed... URL: From dean.bishop at tcdsb.org Tue Aug 27 13:56:48 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 27 Aug 2002 07:56:48 -0400 Subject: NSClientEVL Message-ID: i have successfully tested swatch to do this. Swatch is a log watcher. i set up the windows servers to use Backlog and dump events to my Nagios server. The syslog on my Nagios server was configured to dump all events from the windows boxes into a log file (seperate from syslog,etc). Swatch was then configured to watch the win-event.log file and when it saw an event which matched the regex i specified (you could do something really simple like watching for "Critical" or "Warning") it dumped the appropriate info into the nagios.cmd pipe. hope this gets you heading in the right direction, dean -----Original Message----- From: Maxim Berlin [mailto:mak at rtsnet.ru] Sent: Monday, August 26, 2002 5:35 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClientEVL Hello William, Tuesday, August 27, 2002, Hiatt, William wrote: HW> Does anybody know when this will be available? If not, is there HW> something else that somebody is doing to get EventLog's from Windows HW> 2000 into Nagios? i'm not absolutelly sure, what do you mean by 'get EventLog's from Windows 2000 into Nagios', but you can see my previos post about BackLog, BackLog for IIS (http://www.intersectalliance.com/projects/index.html). editing /etc/syslog.conf and, may be, simple perl script for analyze syslogd data? Best wishes, Maxim mailto:mak at rtsnet.ru ------------------------------------------------------- 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 dean.bishop at tcdsb.org Tue Aug 27 14:20:36 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Tue, 27 Aug 2002 08:20:36 -0400 Subject: Processors required for Nagios Message-ID: Good morning, i am currently setting up a nagios system and am monitoring 1150 hosts with 1 service per (just getting started). i am running this on a piece of crap p-II 350 with 384M. i am also running a very small instance of MRTG monitoring about 15-20 stats local and remote every 5 minutes. It appears that the MRTG is the real hog but i am definately maxing this box out. i have two problems. 1) server locks at 4:02a the day after alot of configuration work. i have been tracking this one down. i know it is related to crontab and further that it is caused by anacron. i have moved my daily cron jobs around so that they all run 20 minutes apart rather than the default which is for them all to run at the same time (4:02a) This alleviated most of the lockups (which were happening arbitrarily) but i just had another lockup on Monday so i am assuming that this was due to the weekly cronjobs (only one-anacron). this is as far as i have made it. 2) although i can successfully generate a basic circular status map, it pretty much kills my server for 2-3 minutes. Any other maps are out of the question. i am not doing any notification other than e-mail so i can't speak for the load of paging. i am quite impressed though. We are in the process of relocating our department and due to a lack of project management, i am left without my mainworkstation. i have therefore been working on my live nagios server instead and have not had any problems. hope this helps, dean -----Original Message----- From: Greg Vickers [mailto:g.vickers at qut.edu.au] Sent: Monday, August 26, 2002 10:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Processors required for Nagios Hey all, I included the below to ask the correspondents: What kind of processor are you running this system on and how do you find the processor utilization on this server? I ask because I am in the middle of sourcing a server for our section and are looking at a single processor P3 1.4 GHz with 512Mb ram (and RAID5 3*18Gb 10k rpm + hot swap etc etc *G*). We will be monitoring up to 1000 hosts and a bucket load (I guess 1500-2000) of services. (I actually hadn't thought about how many hosts/services we would be monitoring!) So for that kind of load, is a second processor warranted? Thanks all, Greg p.s. just read through the tuning doc > am currently watching about 300 hosts with approaching 600 service >There are some performance tuning options that you can apply. This >helped my memory out greatly. I'm not 100% sure of the ramifications, >but I haven't seen any ill effects from the first one. > >Apache defaults to 8 daemons running. I changed this to 2 at work and 1 >at home and gained a large amount of memory back. > >You can also scale nagios to only run X number of checks at a time. >Depending on your configuration and how often the checks occur, you can >have nagios only perform 50 checks at a time for example. > >http://nagios.sourceforge.net/docs/1_0/tuning.html >Check #3 on the list for info on deciding how to scale your checks back. > >Hope this helps.... > >Andy > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rusch, >Daniel >Sent: Monday, August 26, 2002 9:34 AM >To: 'Terry Simons'; Timo Koskela >Cc: nagios-users at lists.sourceforge.net >Subject: SPAM - RE: [Nagios-users] Nagios is running multiple daemons > >I posted a similar message a week or so ago and didn't get any response. >On >my system the number of processes running that are owned by nagios >varies >from a half dozen to over 100. I assume that nagios is running >multithreaded and spawning of sub-processes. I have noticed that nagios >will burry the box it is running on and then of course the number of >processes owned by nagios increases dramatically as they pile up. Check >to >see if nagios is over loading your system. I logged uptime and ps -few >| >grep nagios | wc -l every five minutes. > >I posted my message to see what a "normal" number of processes should >be, >but received no replies. > >Dan > >-----Original Message----- >From: Terry Simons [mailto:galimore at mac.com] >Sent: Monday, August 26, 2002 7:13 AM >To: Timo Koskela >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Nagios is running multiple daemons > > >I don't know the reason, but I have seen multiple copies of Nagios >running. > >I haven't seen more than two, but it wasn't a parent/child >relationship... there were actually two copies of Nagios running... > >I thought that maybe it had something to do with the way that Nagios >parallelizes checks, but maybe not... > >Ethan? > >- Terry > > >On Sunday, August 25, 2002, at 11:59 PM, Timo Koskela wrote: > > > Hi all, > > > > Has somebody had same problem as I with Nagios. If there is something > > wrong in our LAN where nagios is running, or in firewall, example line > > > is cut to outer world Nagios start to run multiple daemons. Like >couple > > days ago when i checked there was about 20 copies of Nagios, and it > > didin't work so well then, but when i killed the main pid, they all > > died. Please let me know if you know the reason... > > > > Timo > > Finland > > >Missing every moment and preparing for the next. > > > >------------------------------------------------------- >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=urceforge1&refcode1=3390 >_______________________________________________ >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___________________________________________ ____ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- 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 pcrossma at wildfire.com Tue Aug 27 16:04:21 2002 From: pcrossma at wildfire.com (Paul Crossman) Date: 27 Aug 2002 10:04:21 -0400 Subject: I'm sure that no one has done this...but.... In-Reply-To: <1012BD903945D411915500105A48FF57F06208@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF57F06208@nt.man.fwltech.com> Message-ID: <1030457061.4919.13.camel@sandman.wildfire.com> I've got gmake 3.76.1 and gcc 2.95.1. I'm specifying my own ping command, however when I run "make all" I get the following syntax error on plugins/Makefile. # make all UX:make: WARNING: No suffix list. Making all in plugins UX:make: ERROR: line 758: Syntax error. *** Error code 1 (bu21) UX:make: ERROR: fatal error. Thoughts and help from anyone is appreciated. Thanks, Paul C. On Tue, 2002-08-27 at 04:12, Ewan Leith wrote: > I've done it on AIX, which is fairly different from the norm, the only issue > was that it required gcc and gmake to compile, the aix toolset didn't cope. > > Ewan > > > -----Original Message----- > > From: Paul Crossman [mailto:pcrossma at wildfire.com] > > Sent: 26 August 2002 22:22 > > To: Nagios Users List > > Subject: [Nagios-users] I'm sure that no one has done this...but.... > > > > > > Has anyone successfully built the plugins for SCO UnixWare 7.1.1? > > > > Paul C. > > > > -- > > Paul Crossman @ Wildfire Communications, Inc. > > Senior Unix Systems Administrator > > Phone & Fax: 781-778-3517 > > Email: pcrossma at wildfire.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 > > -- Paul Crossman @ Wildfire Communications, Inc. Senior Unix Systems Administrator Phone & Fax: 781-778-3517 Email: pcrossma at wildfire.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 Daniel.Rusch at GlobalCrossing.com Tue Aug 27 16:11:56 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Tue, 27 Aug 2002 10:11:56 -0400 Subject: redhat 7.3 Message-ID: <0DA06E553C3BD511823500508BB8965A0201207A@exnadetmbx3.ams.gblxint.com> What error are you getting, I have nagios running on 7.3 just peachy -----Original Message----- From: Shawn Zayac [mailto:szayac at applicada.com] Sent: Monday, August 26, 2002 8:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] redhat 7.3 Has anybody installed nagios on RedHat 7.3? I'm having problems compiling it. I'm getting segmentation errors while compiling the core in math.h, but it still finished. However I'm missing the etc directory from the nagios directory. Now the plugins will not compile at all. Is it not compatible with 7.3? Shawn ------------------------------------------------------- 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 David at pobox.net.au Tue Aug 27 16:31:24 2002 From: David at pobox.net.au (David Deaves) Date: Wed, 28 Aug 2002 00:31:24 +1000 Subject: Processors required for Nagios In-Reply-To: Message from "Tom DE BLENDE" of "Tue, 27 Aug 2002 09:15:05 +0200." <3D6B26F9.17FF674B@gcc.dhl.com> References: Message-ID: <200208271431.AAA20851@rimmer.smeg.emu.id.au> > About your sizing: 512 Mb of RAM? Come on, I've just ordered a home PC > for myself with that amount of memory. I can only agree with Brian: given > the price of RAM, buy some more. Our Netsaint server has got 1 Gb, and is > pretty happy with it (read: using it): > Mem:? 1029852K av,? 897404K used,? 132448K free,?????? 0K shrd,? 107944K buff > Swap: 2096472K av,?? 32320K used, 2064152K free????????????????? 637028K cached Actually these figures suggest that 512Mb would be adequate. The 637Mb of "cached" is actually free memory being used as disk cache. Most modern OSes make use of free memory as extra cache space, it is a good use for it and can be easily allocated to more pressing requirements without pageing. Dave ! ------------------------------------------------------- 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 ejl at man.fwltech.com Tue Aug 27 16:31:25 2002 From: ejl at man.fwltech.com (Ewan Leith) Date: Tue, 27 Aug 2002 15:31:25 +0100 Subject: I'm sure that no one has done this...but.... Message-ID: <1012BD903945D411915500105A48FF57F06219@nt.man.fwltech.com> Hmm, odd. Line 758 is a bit of a nightmare if you look at it (it's the same one aix make fails on), but it works ok on in gnu make 3.79.1. Ewan > -----Original Message----- > From: Paul Crossman [mailto:pcrossma at wildfire.com] > Sent: 27 August 2002 15:04 > To: Ewan Leith > Cc: Nagios Users List > Subject: RE: [Nagios-users] I'm sure that no one has done > this...but.... > > > I've got gmake 3.76.1 and gcc 2.95.1. I'm specifying my own ping > command, however when I run "make all" I get the following > syntax error > on plugins/Makefile. > > # make all > UX:make: WARNING: No suffix list. > Making all in plugins > UX:make: ERROR: line 758: Syntax error. > *** Error code 1 (bu21) > UX:make: ERROR: fatal error. > > Thoughts and help from anyone is appreciated. > > Thanks, > Paul C. > > > On Tue, 2002-08-27 at 04:12, Ewan Leith wrote: > > I've done it on AIX, which is fairly different from the > norm, the only issue > > was that it required gcc and gmake to compile, the aix > toolset didn't cope. > > > > Ewan > > > > > -----Original Message----- > > > From: Paul Crossman [mailto:pcrossma at wildfire.com] > > > Sent: 26 August 2002 22:22 > > > To: Nagios Users List > > > Subject: [Nagios-users] I'm sure that no one has done > this...but.... > > > > > > > > > Has anyone successfully built the plugins for SCO UnixWare 7.1.1? > > > > > > Paul C. > > > > > > -- > > > Paul Crossman @ Wildfire Communications, Inc. > > > Senior Unix Systems Administrator > > > Phone & Fax: 781-778-3517 > > > Email: pcrossma at wildfire.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 > > > > -- > Paul Crossman @ Wildfire Communications, Inc. > Senior Unix Systems Administrator > Phone & Fax: 781-778-3517 > Email: pcrossma at wildfire.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 pcrossma at wildfire.com Tue Aug 27 16:41:48 2002 From: pcrossma at wildfire.com (Paul Crossman) Date: 27 Aug 2002 10:41:48 -0400 Subject: I'm sure that no one has done this...but.... In-Reply-To: <1012BD903945D411915500105A48FF57F06219@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF57F06219@nt.man.fwltech.com> Message-ID: <1030459308.4926.15.camel@sandman.wildfire.com> Ok, I'll try upgrading my gmake. Thanks, Paul C. On Tue, 2002-08-27 at 10:31, Ewan Leith wrote: > Hmm, odd. > > Line 758 is a bit of a nightmare if you look at it (it's the same one aix > make fails on), but it works ok on in gnu make 3.79.1. > > Ewan > > > -----Original Message----- > > From: Paul Crossman [mailto:pcrossma at wildfire.com] > > Sent: 27 August 2002 15:04 > > To: Ewan Leith > > Cc: Nagios Users List > > Subject: RE: [Nagios-users] I'm sure that no one has done > > this...but.... > > > > > > I've got gmake 3.76.1 and gcc 2.95.1. I'm specifying my own ping > > command, however when I run "make all" I get the following > > syntax error > > on plugins/Makefile. > > > > # make all > > UX:make: WARNING: No suffix list. > > Making all in plugins > > UX:make: ERROR: line 758: Syntax error. > > *** Error code 1 (bu21) > > UX:make: ERROR: fatal error. > > > > Thoughts and help from anyone is appreciated. > > > > Thanks, > > Paul C. > > > > > > On Tue, 2002-08-27 at 04:12, Ewan Leith wrote: > > > I've done it on AIX, which is fairly different from the > > norm, the only issue > > > was that it required gcc and gmake to compile, the aix > > toolset didn't cope. > > > > > > Ewan > > > > > > > -----Original Message----- > > > > From: Paul Crossman [mailto:pcrossma at wildfire.com] > > > > Sent: 26 August 2002 22:22 > > > > To: Nagios Users List > > > > Subject: [Nagios-users] I'm sure that no one has done > > this...but.... > > > > > > > > > > > > Has anyone successfully built the plugins for SCO UnixWare 7.1.1? > > > > > > > > Paul C. > > > > > > > > -- > > > > Paul Crossman @ Wildfire Communications, Inc. > > > > Senior Unix Systems Administrator > > > > Phone & Fax: 781-778-3517 > > > > Email: pcrossma at wildfire.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 > > > > > > -- > > Paul Crossman @ Wildfire Communications, Inc. > > Senior Unix Systems Administrator > > Phone & Fax: 781-778-3517 > > Email: pcrossma at wildfire.com > > -- Paul Crossman @ Wildfire Communications, Inc. Senior Unix Systems Administrator Phone & Fax: 781-778-3517 Email: pcrossma at wildfire.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 JSkains at deltad.com Tue Aug 27 16:47:59 2002 From: JSkains at deltad.com (Josh Skains) Date: Tue, 27 Aug 2002 07:47:59 -0700 Subject: Errors on Solaris 2.5 Message-ID: Ok.. I got my Solaris 7 nrpe installed.. Now I am fighting with 2.5. Thanks ahead of time for any help :) I have autoconf v2.53 I have automake v1.4 gcc v2.95.3 glib v1.2.10 I get the following: cd ./src/; make ; cd .. make[1]: Entering directory `/mhome/jskains/work/mon/nrpe-1.5/src' gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe Undefined first referenced symbol in file snprintf /var/tmp/cc88wkDn.o ld: fatal: Symbol referencing errors. No output written to nrpe collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/mhome/jskains/work/mon/nrpe-1.5/src' I get the following when I do a configure: creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) 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 how to run the C preprocessor... gcc -E 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 ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for netdb.h... yes checking for pwd.h... 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 arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for main in -lnsl... yes checking for socket in -lsocket... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating nrpe.cfg creating common/config.h *** Configuration summary for nrpe 1.5 06-03-2002 ***: General Options: ------------------------- NRPE user: nagios NRPE group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. -------------- next part -------------- An HTML attachment was scrubbed... URL: From joblow7777 at yahoo.com Tue Aug 27 16:58:48 2002 From: joblow7777 at yahoo.com (jo smith) Date: Tue, 27 Aug 2002 07:58:48 -0700 (PDT) Subject: Compliation errors Message-ID: <20020827145848.59752.qmail@web13005.mail.yahoo.com> I'm getting this error. Can someone please help me out? I need to get this running today. Thanks! 3.1/../../../libgd.a(gd_jpeg.o) ld: fatal: Symbol referencing errors. No output written to statusmap.cgi collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/opt/software/nag/cgi' cd ./html; make ; cd .. make[1]: Entering directory `/opt/software/nag/html' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/software/nag/html' --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -------------- next part -------------- An HTML attachment was scrubbed... URL: From JSkains at deltad.com Tue Aug 27 18:10:56 2002 From: JSkains at deltad.com (Josh Skains) Date: Tue, 27 Aug 2002 09:10:56 -0700 Subject: Errors on Solaris 2.5 Message-ID: Wow, I found a snprintf package from SunFreeware.... JMS -----Original Message----- From: Josh Skains [mailto:JSkains at deltad.com] Sent: Tuesday, August 27, 2002 7:48 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Errors on Solaris 2.5 Ok.. I got my Solaris 7 nrpe installed.. Now I am fighting with 2.5. Thanks ahead of time for any help :) I have autoconf v2.53 I have automake v1.4 gcc v2.95.3 glib v1.2.10 I get the following: cd ./src/; make ; cd .. make[1]: Entering directory `/mhome/jskains/work/mon/nrpe-1.5/src' gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe Undefined first referenced symbol in file snprintf /var/tmp/cc88wkDn.o ld: fatal: Symbol referencing errors. No output written to nrpe collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/mhome/jskains/work/mon/nrpe-1.5/src' I get the following when I do a configure: creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) 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 how to run the C preprocessor... gcc -E 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 ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for netdb.h... yes checking for pwd.h... 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 arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for main in -lnsl... yes checking for socket in -lsocket... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating nrpe.cfg creating common/config.h *** Configuration summary for nrpe 1.5 06-03-2002 ***: General Options: ------------------------- NRPE user: nagios NRPE group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JSkains at deltad.com Tue Aug 27 18:33:18 2002 From: JSkains at deltad.com (Josh Skains) Date: Tue, 27 Aug 2002 09:33:18 -0700 Subject: Ignoring snprintf library! Message-ID: Seems to be ignoring the snprintf library... :( Any thoughts??? JMS -----Original Message----- From: Josh Skains Sent: Tuesday, August 27, 2002 9:11 AM To: Josh Skains; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Errors on Solaris 2.5 Wow, I found a snprintf package from SunFreeware.... JMS -----Original Message----- From: Josh Skains [mailto:JSkains at deltad.com] Sent: Tuesday, August 27, 2002 7:48 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Errors on Solaris 2.5 Ok.. I got my Solaris 7 nrpe installed.. Now I am fighting with 2.5. Thanks ahead of time for any help :) I have autoconf v2.53 I have automake v1.4 gcc v2.95.3 glib v1.2.10 I get the following: cd ./src/; make ; cd .. make[1]: Entering directory `/mhome/jskains/work/mon/nrpe-1.5/src' gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe Undefined first referenced symbol in file snprintf /var/tmp/cc88wkDn.o ld: fatal: Symbol referencing errors. No output written to nrpe collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/mhome/jskains/work/mon/nrpe-1.5/src' I get the following when I do a configure: creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) 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 how to run the C preprocessor... gcc -E 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 ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for netdb.h... yes checking for pwd.h... 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 arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for main in -lnsl... yes checking for socket in -lsocket... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating nrpe.cfg creating common/config.h *** Configuration summary for nrpe 1.5 06-03-2002 ***: General Options: ------------------------- NRPE user: nagios NRPE group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pcrossma at wildfire.com Tue Aug 27 18:52:24 2002 From: pcrossma at wildfire.com (Paul Crossman) Date: 27 Aug 2002 12:52:24 -0400 Subject: I'm sure that no one has done this...but.... In-Reply-To: <1030459308.4926.15.camel@sandman.wildfire.com> References: <1012BD903945D411915500105A48FF57F06219@nt.man.fwltech.com> <1030459308.4926.15.camel@sandman.wildfire.com> Message-ID: <1030467144.13155.7.camel@sandman.wildfire.com> Ok, I updated gmake to 3.79.1 and now I get this when I run make: # /usr/local/bin/make all cd . && UX:sh (/bin/sh): ERROR: /bin/sh: Syntax error at line 1: `end of file' unexpected make: *** [aclocal.m4] Error 2 # Any additional thoughts? Paul C. On Tue, 2002-08-27 at 10:41, Paul Crossman wrote: > Ok, I'll try upgrading my gmake. > > Thanks, > Paul C. > > On Tue, 2002-08-27 at 10:31, Ewan Leith wrote: > > Hmm, odd. > > > > Line 758 is a bit of a nightmare if you look at it (it's the same one aix > > make fails on), but it works ok on in gnu make 3.79.1. > > > > Ewan > > > > > -----Original Message----- > > > From: Paul Crossman [mailto:pcrossma at wildfire.com] > > > Sent: 27 August 2002 15:04 > > > To: Ewan Leith > > > Cc: Nagios Users List > > > Subject: RE: [Nagios-users] I'm sure that no one has done > > > this...but.... > > > > > > > > > I've got gmake 3.76.1 and gcc 2.95.1. I'm specifying my own ping > > > command, however when I run "make all" I get the following > > > syntax error > > > on plugins/Makefile. > > > > > > # make all > > > UX:make: WARNING: No suffix list. > > > Making all in plugins > > > UX:make: ERROR: line 758: Syntax error. > > > *** Error code 1 (bu21) > > > UX:make: ERROR: fatal error. > > > > > > Thoughts and help from anyone is appreciated. > > > > > > Thanks, > > > Paul C. > > > > > > > > > On Tue, 2002-08-27 at 04:12, Ewan Leith wrote: > > > > I've done it on AIX, which is fairly different from the > > > norm, the only issue > > > > was that it required gcc and gmake to compile, the aix > > > toolset didn't cope. > > > > > > > > Ewan > > > > > > > > > -----Original Message----- > > > > > From: Paul Crossman [mailto:pcrossma at wildfire.com] > > > > > Sent: 26 August 2002 22:22 > > > > > To: Nagios Users List > > > > > Subject: [Nagios-users] I'm sure that no one has done > > > this...but.... > > > > > > > > > > > > > > > Has anyone successfully built the plugins for SCO UnixWare 7.1.1? > > > > > > > > > > Paul C. > > > > > > > > > > -- > > > > > Paul Crossman @ Wildfire Communications, Inc. > > > > > Senior Unix Systems Administrator > > > > > Phone & Fax: 781-778-3517 > > > > > Email: pcrossma at wildfire.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 > > > > > > > > -- > > > Paul Crossman @ Wildfire Communications, Inc. > > > Senior Unix Systems Administrator > > > Phone & Fax: 781-778-3517 > > > Email: pcrossma at wildfire.com > > > > -- > Paul Crossman @ Wildfire Communications, Inc. > Senior Unix Systems Administrator > Phone & Fax: 781-778-3517 > Email: pcrossma at wildfire.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 -- Paul Crossman @ Wildfire Communications, Inc. Senior Unix Systems Administrator Phone & Fax: 781-778-3517 Email: pcrossma at wildfire.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 russell at quadrix.com Tue Aug 27 19:03:54 2002 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 27 Aug 2002 13:03:54 -0400 Subject: Acknowledgement Comment Message-ID: <3D6BB0FA.4090103@quadrix.com> I'm having a problem with acknowledgements. A plugin that I wrote looks to see is a service problem is acknowledged by parsing the comment.log file. However, when a service that was in a non-OK state and acknowledged returns to an OK state, the little acknowledgement icon goes away, but the acknowledgement comment in the log is still there. Now if the service returns to a non-OK state, my plugin will still think this service is acknowledged, even though Nagios knows that its not. Personally, it seems logical to me that when an acknowledged problem returns to OK, the ackonwledgement comment should be removed. Is this a bug or has this logic just never been implemented? Is there any reason the comment should stay? Does nagios use something besides the log to determine is a service problem is acknowledged? Any help is appreciated. Thanks. -Russell Scibetti -- 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 pcrossma at wildfire.com Tue Aug 27 21:14:54 2002 From: pcrossma at wildfire.com (Paul Crossman) Date: 27 Aug 2002 15:14:54 -0400 Subject: I'm sure that no one has done this...but.... Message-ID: <1030475694.12588.86.camel@sandman.wildfire.com> Getting closer and closer.... The below text looks similar to a references from a message earlier today. # /usr/local/bin/make all Making all in plugins make[1]: Entering directory `/tmp/nagiosplug-1.3-beta1/plugins' gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -g -O2 -c snprintf.c -o snprintf.o snprintf.c:130: conflicting types for `vsnprintf' /usr/local/lib/gcc-lib/i686-UnixWare7.0.1-sysv5/2.95.1/include/stdio.h:351: previous declaration of `vsnprintf' make[1]: *** [snprintf.o] Error 1 make[1]: Leaving directory `/tmp/nagiosplug-1.3-beta1/plugins' make: *** [all-recursive] Error 1 # Should I update gcc, or is there a way to force the compile to use one vsnprinf? Thanks, Paul C. On Tue, 2002-08-27 at 14:13, Carroll, Jim P wrote: > touch aclocal.m4 > > You'll find you'll have to touch 2 other files (in order). Next touch > Makefile.in, wait a second, then touch configure, then run make. > > > -----Original Message----- > > From: Paul Crossman [mailto:pcrossma at wildfire.com] > > Sent: Tuesday, August 27, 2002 11:52 AM > > To: Paul Crossman > > Cc: Ewan Leith; Nagios Users List > > Subject: RE: [Nagios-users] I'm sure that no one has done > > this...but.... > > > > > > Ok, I updated gmake to 3.79.1 and now I get this when I run make: > > > > # /usr/local/bin/make all > > cd . && > > UX:sh (/bin/sh): ERROR: /bin/sh: Syntax error at line 1: `end of file' > > unexpected > > make: *** [aclocal.m4] Error 2 > > # > > > > Any additional thoughts? > > > > Paul C. > > > > > > On Tue, 2002-08-27 at 10:41, Paul Crossman wrote: > > > Ok, I'll try upgrading my gmake. > > > > > > Thanks, > > > Paul C. > > > > > > On Tue, 2002-08-27 at 10:31, Ewan Leith wrote: > > > > Hmm, odd. > > > > > > > > Line 758 is a bit of a nightmare if you look at it (it's > > the same one aix > > > > make fails on), but it works ok on in gnu make 3.79.1. > > > > > > > > Ewan > > > > > > > > > -----Original Message----- > > > > > From: Paul Crossman [mailto:pcrossma at wildfire.com] > > > > > Sent: 27 August 2002 15:04 > > > > > To: Ewan Leith > > > > > Cc: Nagios Users List > > > > > Subject: RE: [Nagios-users] I'm sure that no one has done > > > > > this...but.... > > > > > > > > > > > > > > > I've got gmake 3.76.1 and gcc 2.95.1. I'm specifying > > my own ping > > > > > command, however when I run "make all" I get the following > > > > > syntax error > > > > > on plugins/Makefile. > > > > > > > > > > # make all > > > > > UX:make: WARNING: No suffix list. > > > > > Making all in plugins > > > > > UX:make: ERROR: line 758: Syntax error. > > > > > *** Error code 1 (bu21) > > > > > UX:make: ERROR: fatal error. > > > > > > > > > > Thoughts and help from anyone is appreciated. > > > > > > > > > > Thanks, > > > > > Paul C. > > > > > > > > > > > > > > > On Tue, 2002-08-27 at 04:12, Ewan Leith wrote: > > > > > > I've done it on AIX, which is fairly different from the > > > > > norm, the only issue > > > > > > was that it required gcc and gmake to compile, the aix > > > > > toolset didn't cope. > > > > > > > > > > > > Ewan > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Paul Crossman [mailto:pcrossma at wildfire.com] > > > > > > > Sent: 26 August 2002 22:22 > > > > > > > To: Nagios Users List > > > > > > > Subject: [Nagios-users] I'm sure that no one has done > > > > > this...but.... > > > > > > > > > > > > > > > > > > > > > Has anyone successfully built the plugins for SCO > > UnixWare 7.1.1? > > > > > > > > > > > > > > Paul C. > > > > > > > > > > > > > > -- > > > > > > > Paul Crossman @ Wildfire Communications, Inc. > > > > > > > Senior Unix Systems Administrator > > > > > > > Phone & Fax: 781-778-3517 > > > > > > > Email: pcrossma at wildfire.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 > > > > > > > > > > -- > > > > Paul Crossman @ Wildfire Communications, Inc. > > > > Senior Unix Systems Administrator > > > > Phone & Fax: 781-778-3517 > > > > Email: pcrossma at wildfire.com > > > > > > -- > > Paul Crossman @ Wildfire Communications, Inc. > > Senior Unix Systems Administrator > > Phone & Fax: 781-778-3517 > > Email: pcrossma at wildfire.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 > -- > Paul Crossman @ Wildfire Communications, Inc. > Senior Unix Systems Administrator > Phone & Fax: 781-778-3517 > Email: pcrossma at wildfire.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 -- Paul Crossman @ Wildfire Communications, Inc. Senior Unix Systems Administrator Phone & Fax: 781-778-3517 Email: pcrossma at wildfire.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 greis at grinco.de Tue Aug 27 21:56:06 2002 From: greis at grinco.de (Olaf Greis) Date: Tue, 27 Aug 2002 21:56:06 +0200 Subject: Fwd: nsca on solaris Message-ID: <200208272156.06378@grinco.de> hi, the cvs seems to contain some fixes for nsca on solaris (u_int_32 bug), but unfortunately the fixes dont seem to be complete. when will there be "the whole thing"? -- brgds olaf ------------------------------------------------------- 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 Tom.Bertelson at gecapital.com Tue Aug 27 22:22:28 2002 From: Tom.Bertelson at gecapital.com (Bertelson, Tom (CAP, CARD)) Date: Tue, 27 Aug 2002 16:22:28 -0400 Subject: [Nagios-devel] Acknowledgement Comment Message-ID: <41BE560FEB5CD411AB0100D0B784C039046BF0F0@exc004gptccsge.cfs.capital.ge.com> This should really be parsed from the status file (let's see, it looks like the 14th ";"-separated field for services, the 6th field for hosts [I think]). I prefer to keep the acknowlegements around as a way to track the history of a problem. -- Tom Bertelson "Any sufficiently advanced technology GE Card Services is indistinguishable from magic." -- Arthur C. Clarke -----Original Message----- From: Russell Scibetti [mailto:russell at quadrix.com] I'm having a problem with acknowledgements. A plugin that I wrote looks to see is a service problem is acknowledged by parsing the comment.log file. However, when a service that was in a non-OK state and acknowledged returns to an OK state, the little acknowledgement icon goes away, but the acknowledgement comment in the log is still there. Now if the service returns to a non-OK state, my plugin will still think this service is acknowledged, even though Nagios knows that its not. Personally, it seems logical to me that when an acknowledged problem returns to OK, the ackonwledgement comment should be removed. Is this a bug or has this logic just never been implemented? Is there any reason the comment should stay? Does nagios use something besides the log to determine is a service problem is acknowledged? Any help is appreciated. Thanks. ------------------------------------------------------- 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 ffejes at sears.com Tue Aug 27 22:38:15 2002 From: ffejes at sears.com (ffejes at sears.com) Date: Tue, 27 Aug 2002 15:38:15 -0500 Subject: Processors required for Nagios Message-ID: For what it's worth, we are currently running our Nagios server on a 400MHz Intel Pentium II NetBSD 1.5.2 PC with 128MB RAM. We have > 250 hosts and > 350 services. The load average barely hovers between .1 and .2! Our backup/failover Nagios machine is a Sun Ultra 5 with a 290MHz cpu and 64MB RAM running Debian Linux. Both machines run other services such as HTTP (obviously), FTP, and /MySQL. --frank David Deaves @lists.sourceforge.net on 08/27/2002 09:31:24 AM Sent by: nagios-users-admin at lists.sourceforge.net To: nagios-users at lists.sourceforge.net, dave at rimmer.smeg.emu.id.au cc: Subject: Re: [Nagios-users] Processors required for Nagios > About your sizing: 512 Mb of RAM? Come on, I've just ordered a home PC > for myself with that amount of memory. I can only agree with Brian: given > the price of RAM, buy some more. Our Netsaint server has got 1 Gb, and is > pretty happy with it (read: using it): > Mem:? 1029852K av,? 897404K used,? 132448K free,?????? 0K shrd,? 107944K buff > Swap: 2096472K av,?? 32320K used, 2064152K free????????????????? 637028K cached Actually these figures suggest that 512Mb would be adequate. The 637Mb of "cached" is actually free memory being used as disk cache. Most modern OSes make use of free memory as extra cache space, it is a good use for it and can be easily allocated to more pressing requirements without pageing. Dave ! ------------------------------------------------------- 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?rsourceforge1&refcode1vs3390 _______________________________________________ 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: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From michael at ink.org Tue Aug 27 23:31:53 2002 From: michael at ink.org (Michael Cook) Date: 27 Aug 2002 16:31:53 -0500 Subject: Status map eye candy Message-ID: <1030483913.23371.21.camel@prometheus.ink.org> First of all - thanks for the great app! I'm getting the hang of the configs, but so far nagios is working well. I know this is an eye candy thing, but in regards to the status map, how do I tell the CGI which host the server resides on? It currrently floats out in the middle of the map. I tried setting up a dependency, but couldn't seem to get it right. -- Michael Cook michael at ink.org Director of Development 785.296.6517 Information Network of Kansas http://www.accesskansas.org/ Don't attribute to malice that which can be explained by pure idiocy. ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From russell at quadrix.com Tue Aug 27 23:34:24 2002 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 27 Aug 2002 17:34:24 -0400 Subject: [Nagios-devel] Acknowledgement Comment References: <41BE560FEB5CD411AB0100D0B784C039046BF0F0@exc004gptccsge.cfs.capital.ge.com> Message-ID: <3D6BF060.9020104@quadrix.com> Where can I find what all the different field in the status.log lines mean? -Russell Bertelson, Tom (CAP, CARD) wrote: >This should really be parsed from the status file (let's see, it looks like >the 14th ";"-separated field for services, the 6th field for hosts [I >think]). > >I prefer to keep the acknowlegements around as a way to track the history of >a problem. > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From JMatney at Post-Trib.com Wed Aug 28 00:02:29 2002 From: JMatney at Post-Trib.com (Matney, John) Date: Tue, 27 Aug 2002 17:02:29 -0500 Subject: Debian Packages. Message-ID: <7DA6E3FA4669D4118AF100508BD906AB53C86B@mail.post-trib.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I recently migrated my servers to Debian and was surprised not to see Nagios packages even in the unstable distribution. Is anybody working on these? John Matney Network/Systems Analyst Post-Tribune Publishing 1433 E 83rd Ave Merrillville IN 46410 (219) 648-3089 GPG Key: 0x88ee7695 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x88EE7695 Key fingerprint = DBD7 6AE2 E7BE 1572 B245 BF54 4913 C85A 88EE 7695 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.1.90-nr1 (Windows XP) iD8DBQE9a/ahSRPIWojudpURAlV4AJ0YhpmIsbgo4qae/jkvXOTbyRnHcgCeIcfo w+50KuhAQnm4j/lkKn/hQvM= =5Br6 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From g.vickers at qut.edu.au Wed Aug 28 00:43:21 2002 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 28 Aug 2002 08:43:21 +1000 Subject: Debian Packages. In-Reply-To: <7DA6E3FA4669D4118AF100508BD906AB53C86B@mail.post-trib.com> References: <7DA6E3FA4669D4118AF100508BD906AB53C86B@mail.post-trib.com> Message-ID: <5.1.0.14.2.20020828084001.00b1a890@pop.qut.edu.au> I don't know if anyone is working on them, but I'd be willing to lend a hand - i've got a development nagios server that doesn't run yet (nagios, not the server), and it's got Debian on it. I'm just in the middle of rewriting the init.d script so it's debianized. I'll make this script available when I'm finished. (I've been lumped with the stocktake as well, so don't hold your breath! Damn stocktake.) Greg At 08:02 AM 28/08/2002, you wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > > >I recently migrated my servers to Debian and was surprised not to see Nagios >packages even in the unstable distribution. Is anybody working on these? > >John Matney >Network/Systems Analyst >Post-Tribune Publishing >1433 E 83rd Ave >Merrillville IN 46410 >(219) 648-3089 > >GPG Key: 0x88ee7695 >http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x88EE7695 >Key fingerprint = DBD7 6AE2 E7BE 1572 B245 BF54 4913 C85A 88EE 7695 >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.1.90-nr1 (Windows XP) > >iD8DBQE9a/ahSRPIWojudpURAlV4AJ0YhpmIsbgo4qae/jkvXOTbyRnHcgCeIcfo >w+50KuhAQnm4j/lkKn/hQvM= >=5Br6 >-----END PGP SIGNATURE----- > > >------------------------------------------------------- >This sf.net email is sponsored by: Jabber - The world's fastest growing >real-time communications platform! Don't just IM. Build it in! >http://www.jabber.com/osdn/xim >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From rick at myriad.com Wed Aug 28 00:42:42 2002 From: rick at myriad.com (Rick Bartschi) Date: Tue, 27 Aug 2002 16:42:42 -0600 Subject: plugin compile problems Message-ID: <3D6C0062.93825166@myriad.com> I am having trouble compiling the plugins on Solaris 8. I have downloaded nagiosplug-1.3-beta1, run configure with the following options: sh ./configure --prefix=/opt/nagios --with-nagios-user=sysadmin --with-nagios-group=sysadmin configure seems to run ok, but when I try a 'make all', I get the following errors: smc:59:/opt/nagios/plugins/nagiosplug-1.3-beta1# make all Making all in plugins mksh: Fatal error in reader: = missing from replacement macro reference Current working directory /opt/nagios/plugins/nagiosplug-1.3-beta1/plugins *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Does anyone have any suggestions on how to get around this problem? Thanks in advance for your help, Rick -------------- next part -------------- An HTML attachment was scrubbed... URL: From crawford.rainwater at itec-co.com Wed Aug 28 01:11:49 2002 From: crawford.rainwater at itec-co.com (Crawford Rainwater) Date: Tue, 27 Aug 2002 17:11:49 -0600 Subject: Debian Packages. In-Reply-To: <7DA6E3FA4669D4118AF100508BD906AB53C86B@mail.post-trib.com> References: <7DA6E3FA4669D4118AF100508BD906AB53C86B@mail.post-trib.com> Message-ID: >From Turbo Fredriksson [turbo at bayour.com] who manages the Netsaint package with Debian: >Have a look at > >http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=149524&repeatmerged=yes > Seems it is in the works, just trying to bring the dependencies up to date as well. --- Crawford > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Matney, > John > Sent: Tuesday, August 27, 2002 4:02 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Debian Packages. > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I recently migrated my servers to Debian and was surprised not to > see Nagios > packages even in the unstable distribution. Is anybody working on these? > > John Matney > Network/Systems Analyst > Post-Tribune Publishing > 1433 E 83rd Ave > Merrillville IN 46410 > (219) 648-3089 > > GPG Key: 0x88ee7695 > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x88EE7695 > Key fingerprint = DBD7 6AE2 E7BE 1572 B245 BF54 4913 C85A 88EE 7695 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.1.90-nr1 (Windows XP) > > iD8DBQE9a/ahSRPIWojudpURAlV4AJ0YhpmIsbgo4qae/jkvXOTbyRnHcgCeIcfo > w+50KuhAQnm4j/lkKn/hQvM= > =5Br6 > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber - The world's fastest growing > real-time communications platform! Don't just IM. Build it in! > http://www.jabber.com/osdn/xim > _______________________________________________ > 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: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From andrew_kemp at pacific.net.au Wed Aug 28 01:47:45 2002 From: andrew_kemp at pacific.net.au (Andrew Kemp) Date: Wed, 28 Aug 2002 09:47:45 +1000 Subject: Availability reporting questions Message-ID: <006901c24e24$243816c0$758317d2@ozpacnet.office.pacific.net.au> Greetings Nagios users, I am using the Nagios availability cgi to report upon our systems and network availability for management - saving to a csv file and then using excel to calculate. However, management would now like me to report also upon trends over time - ie: are we improving etc. As such, I need to go back and post-process the logs files, which I have luckily kept so far. As with most of us, we have moved services around, decommissioned servers, added new servers etc. How can I gather the data for these legacy servers and services from the log files ? The availability cgi only provides stats on the hosts that are in the config files. Another question on availability reporting - we are in the process of integrating some other nagios/netsaint monitoring hosts into our distributed setup. Again, I need to retain the historical information in the logs for reporting purposes. Can I simply merge the corresponding netsaint.log files in the archives directory to retain the information ? Thanks. Andrew ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From David at kassemos.com Wed Aug 28 03:51:00 2002 From: David at kassemos.com (David Kassemos) Date: Tue, 27 Aug 2002 21:51:00 -0400 Subject: Compiled NRPE daemons Message-ID: <71EC6C7C34523146ABD30ED6AACD00F52361@W2KPROXY.kass.net> I've started using Nagios and have compiled and successfully ran NRPE on my Linux RH7.2 server. However I'm wanting to use the NRPE daemon on other servers which I'm responsible for monitoring but since the servers are owned and operated by various customers, I don't have the resources for compiling for other platforms. Does anyone have a compiled NRPE file for the listed platforms. HP 10.2 11.0 32 and 64 bit RISC 6000 AIX Sun Solaris 2.6 and up Any help is greatly appreciated David M. Kassemos david.kassemos at dbadirect.com david.kassemos at insightbb.com david at kassemos.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpark at parklabs.com Wed Aug 28 06:06:29 2002 From: mpark at parklabs.com (Michael Park) Date: Wed, 28 Aug 2002 00:06:29 -0400 (EDT) Subject: nagios_statd 3.02 Message-ID: <17260.66.108.122.111.1030507589.squirrel@www.parklabs.com> anyone else having trouble with nagios_statd 3.02? can't execute either the nagios_stat or nagios_statd on solaris. i thought it may be because i was using an older version of python, but even when i upgraded the version of python on my sun blade to 2.21 it gave me errors upon execution. on my redhat linux 7.3 box,. nagios_statd did execute and function, but couldn't get nagios_stat to work. very odd. hrm.. mp. ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From consult at uws.edu.au Wed Aug 28 08:25:45 2002 From: consult at uws.edu.au (Harsh Verma) Date: Wed, 28 Aug 2002 16:25:45 +1000 Subject: Moving Nagios from one server to another Message-ID: <3D6C6CE9.BB772B68@uws.edu.au> Hi, I have compiled & configured the Nagios on one unix server (solaris 2.6). This has been operational for last one month and works fine. I have to move this installation along wilth configuration and the databases from this server to another unix server (solaris 8 ). Please let me know if some one has already done this and if so then how to do it. Regards Harsh Verma -------------- next part -------------- A non-text attachment was scrubbed... Name: consult.vcf Type: text/x-vcard Size: 382 bytes Desc: Card for Harsh Verma URL: From Jens.Bergmann at nordCom.net Wed Aug 28 10:43:39 2002 From: Jens.Bergmann at nordCom.net (Jens.Bergmann at nordCom.net) Date: Wed, 28 Aug 2002 10:43:39 +0200 Subject: Status map eye candy Message-ID: <3B9B6F9AD30D3040AD5541A1D005D98710DD21@nc-mail2.in.nordcom.net> Hi Michael, > >I know this is an eye candy thing, but in regards to the >status map, how >do I tell the CGI which host the server resides on? It currrently >floats out in the middle of the map. I tried setting up a dependency, >but couldn't seem to get it right. > The position of a host on the statusmap is configured via the parent's of a host or via the coords in ext-hostinfo. Regards Jens ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From mloggie at internetsecuritysolutions.net Wed Aug 28 10:56:18 2002 From: mloggie at internetsecuritysolutions.net (Michael Loggie) Date: Wed, 28 Aug 2002 05:56:18 -0300 Subject: WAP Interface Message-ID: Hey all, anyone play around with the WAP interface at all for Nagios? I am having a bit of trouble figuring out where the screenshot of the WAP interface came from on www.nagios.org, I tried using my cell phone to go to my nagios site, but it looks just like any other normal webpage, not that nifty little WAP menu. Any suggestions on what I'm doing wrong? I cant find any information on it in the docs.. unless I missed something.. -- NuWave -------------- next part -------------- An HTML attachment was scrubbed... URL: From ejl at man.fwltech.com Wed Aug 28 11:16:20 2002 From: ejl at man.fwltech.com (Ewan Leith) Date: Wed, 28 Aug 2002 10:16:20 +0100 Subject: WAP Interface Message-ID: <1012BD903945D411915500105A48FF57F0621C@nt.man.fwltech.com> It's not very well documented, but I believe you need to point your wap browser to yoursite/nagios/cgi-bin/statuswml.cgi which gives you the wml interface. Ewan -----Original Message----- From: Michael Loggie [mailto:mloggie at internetsecuritysolutions.net] Sent: 28 August 2002 09:56 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] WAP Interface Hey all, anyone play around with the WAP interface at all for Nagios? I am having a bit of trouble figuring out where the screenshot of the WAP interface came from on www.nagios.org , I tried using my cell phone to go to my nagios site, but it looks just like any other normal webpage, not that nifty little WAP menu. Any suggestions on what I'm doing wrong? I cant find any information on it in the docs.. unless I missed something.. -- NuWave ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From tguthmann at cvf.fr Wed Aug 28 13:18:39 2002 From: tguthmann at cvf.fr (Thomas) Date: Wed, 28 Aug 2002 13:18:39 +0200 Subject: 2 questions about plugins : check_procs & check_log Message-ID: <3D6CB18F.7050208@cvf.fr> Hi, I'm running nagios 1.0b5/ nagiosplug1.3b1 on debian 3.0 (woody). Netsaint, oops, nagios works fine but I'm encountering problems with plugins usage and especially check_procs & check_log. *First check_procs: Forget nagios config, I just run check_procs on command line like this : ./check_procs -w 80 -c 95 System call sent warnings to stderr CRITICAL - 143 processes running So as you can see I received a warning message "System call sent warnings to stderr" and Nagios only intercept the warning and said this line in the web interface. I don't know where this message is coming from because when I do a 'ps aux' I received no more message except processus line ... any idea, I put a strace of the command below at the end of the mail. *Then, check_log: Here, I don't understand the usage on the command line, I tried : #./check_log -F /var/log/messages -O /tmp/bidon -q error Log check data initialized... It copies my var/log/message in the the file /tmp/bidon and if I retry my command or if I modify it I always received that: #./check_log -F /var/log/messages -O /tmp/bidon -q error ./check_log: line 200: unexpected EOF while looking for matching ``' ./check_log: line 215: syntax error: unexpected end of file So to do simple: how does this plugin works ? (the -h is not so useful) Hope a good samaritan could help me ;) Thx & A+ ---strace of check-procs --- execve("./check_procs", ["./check_procs", "80", "95"], [/* 15 vars */]) = 0 uname({sys="Linux", node="Goodspeed", ...}) = 0 brk(0) = 0x804c720 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=24592, ...}) = 0 old_mmap(NULL, 24592, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\230\327"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1170812, ...}) = 0 old_mmap(NULL, 1187616, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001d000 mprotect(0x40135000, 40736, PROT_NONE) = 0 old_mmap(0x40135000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x117000) = 0x40135000 old_mmap(0x4013b000, 16160, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013b000 close(3) = 0 munmap(0x40016000, 24592) = 0 brk(0) = 0x804c720 brk(0x804cb38) = 0x804cb38 brk(0x804d000) = 0x804d000 getrlimit(0x4, 0xbffff2f4) = 0 setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0 getrlimit(0x7, 0xbffff254) = 0 brk(0x8050000) = 0x8050000 brk(0x8053000) = 0x8053000 pipe([3, 4]) = 0 pipe([5, 6]) = 0 fork() = 25506 close(4) = 0 fcntl64(3, F_GETFL) = 0 (flags O_RDONLY) fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000 _llseek(3, 0, 0xbffff114, SEEK_CUR) = -1 ESPIPE (Illegal seek) close(6) = 0 fcntl64(5, F_GETFL) = 0 (flags O_RDONLY) fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 _llseek(5, 0, 0xbffff184, SEEK_CUR) = -1 ESPIPE (Illegal seek) read(3, "STAT UID PPID COMMAND "..., 4096) = 4096 read(3, " 2371 bash bash\nS "..., 4096) = 4096 read(3, "eck_procs 80 95\nR 0 25505"..., 4096) = 87 read(3, 0x40016000, 4096) = ? ERESTARTSYS (To be restarted) --- SIGCHLD (Child exited) --- read(3, "", 4096) = 0 read(5, "Bad syntax, perhaps a bogus \'-\'?"..., 4096) = 33 read(5, "", 4096) = 0 fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 5), ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 write(1, "System call sent warnings to std"..., 36System call sent warnings to stderr ) = 36 close(5) = 0 munmap(0x40017000, 4096) = 0 close(3) = 0 munmap(0x40016000, 4096) = 0 wait4(25506, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 25506 write(1, "CRITICAL - 144 processes running"..., 33CRITICAL - 144 processes running ) = 33 munmap(0x40018000, 4096) = 0 _exit(2) = ? -----end------ ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From dean.bishop at tcdsb.org Wed Aug 28 13:50:12 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Wed, 28 Aug 2002 07:50:12 -0400 Subject: Processors required for Nagios Message-ID: Good morning, My average CPU utilization was 26.44% over the last week. i am using MRTG to monitor this every 5 minutes and my nagios config is setup to check hosts/services every 15 minutes. i currently have about 20 systems down on my network and i am still doing a lot of work reconfiguring nagios (mainly hosts and service entries, ping sweeps, etc) but as i mentioned i am also using this as a workstation so you have to factor in rdesktop which i used to run excel to sort and build config files and create mass ping scripts (this is what caused all of the use on Friday). i also always have a citrix connection up and a few terminals and a bunch of kedits. i am getting my CPU utilization via: perl -e '$f="%.0f";$fmt="$f\n$f\n1\nCPU Utilization\n";@line=split " ", (qx(sar |tail -2));$total = ($line[2] + $line[3] + $line[4]);$o=sprintf $fmt,$total,"0";print $o' hope this helps, dean -----Original Message----- From: Greg Vickers [mailto:g.vickers at qut.edu.au] Sent: Tuesday, August 27, 2002 4:42 PM To: Bishop, Dean Subject: RE: [Nagios-users] Processors required for Nagios Heh, thanks for the info Dean :) I was wondering what kind of processor utilization you are seeing on your P2-350 for that many hosts/services? Thanks, Greg At 10:20 PM 27/08/2002, you wrote: >Good morning, > > i am currently setting up a nagios system and am monitoring 1150 hosts >with 1 service per (just getting started). i am running this on a piece of >crap p-II 350 with 384M. i am also running a very small instance of MRTG >monitoring about 15-20 stats local and remote every 5 minutes. It appears >that the MRTG is the real hog but i am definately maxing this box out. > > i have two problems. >1) server locks at 4:02a the day after alot of configuration work. i have >been tracking this one down. i know it is related to crontab and further >that it is caused by anacron. i have moved my daily cron jobs around so >that they all run 20 minutes apart rather than the default which is for them >all to run at the same time (4:02a) This alleviated most of the lockups >(which were happening arbitrarily) but i just had another lockup on Monday >so i am assuming that this was due to the weekly cronjobs (only >one-anacron). this is as far as i have made it. > >2) although i can successfully generate a basic circular status map, it >pretty much kills my server for 2-3 minutes. Any other maps are out of the >question. > > i am not doing any notification other than e-mail so i can't speak for the >load of paging. > >i am quite impressed though. We are in the process of relocating our >department and due to a lack of project management, i am left without my >mainworkstation. i have therefore been working on my live nagios server >instead and have not had any problems. > >hope this helps, >dean > >-----Original Message----- >From: Greg Vickers [mailto:g.vickers at qut.edu.au] >Sent: Monday, August 26, 2002 10:38 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Processors required for Nagios > > >Hey all, I included the below to ask the correspondents: > >What kind of processor are you running this system on and how do you find >the processor utilization on this server? I ask because I am in the middle >of sourcing a server for our section and are looking at a single processor >P3 1.4 GHz with 512Mb ram (and RAID5 3*18Gb 10k rpm + hot swap etc etc *G*). > >We will be monitoring up to 1000 hosts and a bucket load (I guess >1500-2000) of services. (I actually hadn't thought about how many >hosts/services we would be monitoring!) So for that kind of load, is a >second processor warranted? > >Thanks all, >Greg > >p.s. just read through the tuning doc > > > am currently watching about 300 hosts with approaching 600 service > >There are some performance tuning options that you can apply. This > >helped my memory out greatly. I'm not 100% sure of the ramifications, > >but I haven't seen any ill effects from the first one. > > > >Apache defaults to 8 daemons running. I changed this to 2 at work and 1 > >at home and gained a large amount of memory back. > > > >You can also scale nagios to only run X number of checks at a time. > >Depending on your configuration and how often the checks occur, you can > >have nagios only perform 50 checks at a time for example. > > > >http://nagios.sourceforge.net/docs/1_0/tuning.html > >Check #3 on the list for info on deciding how to scale your checks back. > > > >Hope this helps.... > > > >Andy > > > >-----Original Message----- > >From: nagios-users-admin at lists.sourceforge.net > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rusch, > >Daniel > >Sent: Monday, August 26, 2002 9:34 AM > >To: 'Terry Simons'; Timo Koskela > >Cc: nagios-users at lists.sourceforge.net > >Subject: SPAM - RE: [Nagios-users] Nagios is running multiple daemons > > > >I posted a similar message a week or so ago and didn't get any response. > >On > >my system the number of processes running that are owned by nagios > >varies > >from a half dozen to over 100. I assume that nagios is running > >multithreaded and spawning of sub-processes. I have noticed that nagios > >will burry the box it is running on and then of course the number of > >processes owned by nagios increases dramatically as they pile up. Check > >to > >see if nagios is over loading your system. I logged uptime and ps -few > >| > >grep nagios | wc -l every five minutes. > > > >I posted my message to see what a "normal" number of processes should > >be, > >but received no replies. > > > >Dan > > > >-----Original Message----- > >From: Terry Simons [mailto:galimore at mac.com] > >Sent: Monday, August 26, 2002 7:13 AM > >To: Timo Koskela > >Cc: nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] Nagios is running multiple daemons > > > > > >I don't know the reason, but I have seen multiple copies of Nagios > >running. > > > >I haven't seen more than two, but it wasn't a parent/child > >relationship... there were actually two copies of Nagios running... > > > >I thought that maybe it had something to do with the way that Nagios > >parallelizes checks, but maybe not... > > > >Ethan? > > > >- Terry > > > > > >On Sunday, August 25, 2002, at 11:59 PM, Timo Koskela wrote: > > > > > Hi all, > > > > > > Has somebody had same problem as I with Nagios. If there is something > > > wrong in our LAN where nagios is running, or in firewall, example line > > > > > is cut to outer world Nagios start to run multiple daemons. Like > >couple > > > days ago when i checked there was about 20 copies of Nagios, and it > > > didin't work so well then, but when i killed the main pid, they all > > > died. Please let me know if you know the reason... > > > > > > Timo > > > Finland > > > > >Missing every moment and preparing for the next. > > > > > > > >------------------------------------------------------- > >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=urceforge1&refcode1=3390 > >_______________________________________________ > >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___________________________________________ >____ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >================================= >Greg Vickers >Computer Systems Officer >Student Support and Systems >Teaching and Learning Support Systems, QUT >g.vickers at qut.edu.au >Ph: 07 3864 8276 Fax: 07 3864 5425 >Mob: 0416 001 674 SD: 6147 > > > >------------------------------------------------------- >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 ================================= Greg Vickers Computer Systems Officer Student Support and Systems Teaching and Learning Support Systems, QUT g.vickers at qut.edu.au Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: 6147 -------------- next part -------------- A non-text attachment was scrubbed... Name: linux-stats.cfg-cpu-w-n.png Type: application/octet-stream Size: 6999 bytes Desc: not available URL: From AHKAPLAN at PARTNERS.ORG Wed Aug 28 14:41:13 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 28 Aug 2002 08:41:13 -0400 Subject: Pre-Flight Check Results Message-ID: <5593DA408212D511B0910002A513501F01D28713@phsexch20.mgh.harvard.edu> > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Friday, August 23, 2002 5:29 PM > To: nagios-users at lists.sourceforge.net > Subject: Pre-Flight Check Results > > Hi there, > > I have saved the pre-flight check results to file and have read the > results. I am not sure what configuration changes are necessary so I am > submitting it to the group for perusal. Feedback would be appreciated. > Thanks. > > <> -------------- next part -------------- A non-text attachment was scrubbed... Name: Pre-Flight Check.rtf Type: application/rtf Size: 3503 bytes Desc: not available URL: From Tom.Bertelson at gecapital.com Wed Aug 28 14:44:07 2002 From: Tom.Bertelson at gecapital.com (Bertelson, Tom (CAP, CARD)) Date: Wed, 28 Aug 2002 08:44:07 -0400 Subject: [Nagios-devel] Acknowledgement Comment Message-ID: <41BE560FEB5CD411AB0100D0B784C039046BF0F7@exc004gptccsge.cfs.capital.ge.com> By wading through the source code :-( I have the beginnings of a perl module that can do this; if you feel adventurous I can forward a copy of it to you. -- Tom Bertelson "Any sufficiently advanced technology GE Card Services is indistinguishable from magic." -- Arthur C. Clarke -----Original Message----- From: Russell Scibetti [mailto:russell at quadrix.com] Where can I find what all the different field in the status.log lines mean? ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From ejl at man.fwltech.com Wed Aug 28 15:19:24 2002 From: ejl at man.fwltech.com (Ewan Leith) Date: Wed, 28 Aug 2002 14:19:24 +0100 Subject: Pre-Flight Check Results Message-ID: <1012BD903945D411915500105A48FF57F06222@nt.man.fwltech.com> Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)! You need to look at the host nt1 and service website #1 and look for lines like: parents nt1 Remove all the parents lines and see what happens. Ewan > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: 28 August 2002 13:41 > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Pre-Flight Check Results > > > > > > -----Original Message----- > > From: Kaplan, Andrew H. > > Sent: Friday, August 23, 2002 5:29 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Pre-Flight Check Results > > > > Hi there, > > > > I have saved the pre-flight check results to file and have read the > > results. I am not sure what configuration changes are > necessary so I am > > submitting it to the group for perusal. Feedback would be > appreciated. > > Thanks. > > > > <> > ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From Daniel.Rusch at GlobalCrossing.com Wed Aug 28 15:33:49 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Wed, 28 Aug 2002 09:33:49 -0400 Subject: plugin compile problems Message-ID: <0DA06E553C3BD511823500508BB8965A02012089@exnadetmbx3.ams.gblxint.com> run "which make" and check to see which version of make your system is running. If it's not gnu make change your path, if you have gnu make, to point at gnu make first. If you don't have gnu make. down load it. You will probably also need autoconf, automake and autoheader. Get them from sunfreeware.com. Lastly, before you re-run configure rm the config.* files and/or maybe run make distclean. DR -----Original Message----- From: Rick Bartschi [mailto:rick at myriad.com] Sent: Tuesday, August 27, 2002 5:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] plugin compile problems I am having trouble compiling the plugins on Solaris 8. I have downloaded nagiosplug-1.3-beta1, run configure with the following options: sh ./configure --prefix=/opt/nagios --with-nagios-user=sysadmin --with-nagios-group=sysadmin configure seems to run ok, but when I try a 'make all', I get the following errors: smc:59:/opt/nagios/plugins/nagiosplug-1.3-beta1# make all Making all in plugins mksh: Fatal error in reader: = missing from replacement macro reference Current working directory /opt/nagios/plugins/nagiosplug-1.3-beta1/plugins *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Does anyone have any suggestions on how to get around this problem? Thanks in advance for your help, Rick -------------- next part -------------- An HTML attachment was scrubbed... URL: From jnichols at pbp.net Wed Aug 28 18:46:18 2002 From: jnichols at pbp.net (Jonathan Nichols) Date: Wed, 28 Aug 2002 09:46:18 -0700 Subject: WAP Interface References: Message-ID: <006501c24eb2$6e4e0fb0$a52efea9@pbp.net> MessageIt'll be http://www.(yourdomain).com/nagios/cgi-bin/statuswml.cgi - works ok even if you use htpasswd to protect it. I've got an Ericsson T68.. not sure if other phones will display it differently... ----- Original Message ----- From: Michael Loggie To: nagios-users at lists.sourceforge.net Sent: Wednesday, August 28, 2002 1:56 AM Subject: [Nagios-users] WAP Interface Hey all, anyone play around with the WAP interface at all for Nagios? I am having a bit of trouble figuring out where the screenshot of the WAP interface came from on www.nagios.org, I tried using my cell phone to go to my nagios site, but it looks just like any other normal webpage, not that nifty little WAP menu. Any suggestions on what I'm doing wrong? I cant find any information on it in the docs.. unless I missed something.. -- NuWave ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From JSkains at deltad.com Wed Aug 28 18:49:50 2002 From: JSkains at deltad.com (Josh Skains) Date: Wed, 28 Aug 2002 09:49:50 -0700 Subject: Solaris 2.5 nrpe binaries Message-ID: Does anyone have a copy of nrpe compiled for solaris I could just get from you? I would very much appreciate it. Thanks, JMS -------------- next part -------------- An HTML attachment was scrubbed... URL: From joblow7777 at yahoo.com Wed Aug 28 20:46:44 2002 From: joblow7777 at yahoo.com (jo smith) Date: Wed, 28 Aug 2002 11:46:44 -0700 (PDT) Subject: nagios hyperlinks Message-ID: <20020828184644.96858.qmail@web13003.mail.yahoo.com> Hey all. I finally got nagios to work yesterday. The hyperlnks would display all the info just fine. Today when I click on the hyperlink, it prompts for downloading the file? What happened? --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -------------- next part -------------- An HTML attachment was scrubbed... URL: From Daniel.Rusch at GlobalCrossing.com Wed Aug 28 21:27:07 2002 From: Daniel.Rusch at GlobalCrossing.com (Rusch, Daniel) Date: Wed, 28 Aug 2002 15:27:07 -0400 Subject: Errors on Solaris 2.5 Message-ID: <0DA06E553C3BD511823500508BB8965A0201208F@exnadetmbx3.ams.gblxint.com> I apologize if you have done these already just trying to help Have you checked you autoheader version? How about your path? which make is it pointing at? Which version of make? -----Original Message----- From: Josh Skains [mailto:JSkains at deltad.com] Sent: Tuesday, August 27, 2002 9:48 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Errors on Solaris 2.5 Ok.. I got my Solaris 7 nrpe installed.. Now I am fighting with 2.5. Thanks ahead of time for any help :) I have autoconf v2.53 I have automake v1.4 gcc v2.95.3 glib v1.2.10 I get the following: cd ./src/; make ; cd .. make[1]: Entering directory `/mhome/jskains/work/mon/nrpe-1.5/src' gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe Undefined first referenced symbol in file snprintf /var/tmp/cc88wkDn.o ld: fatal: Symbol referencing errors. No output written to nrpe collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/mhome/jskains/work/mon/nrpe-1.5/src' I get the following when I do a configure: creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) 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 how to run the C preprocessor... gcc -E 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 ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for netdb.h... yes checking for pwd.h... 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 arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for main in -lnsl... yes checking for socket in -lsocket... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating nrpe.cfg creating common/config.h *** Configuration summary for nrpe 1.5 06-03-2002 ***: General Options: ------------------------- NRPE user: nagios NRPE group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JSkains at deltad.com Wed Aug 28 21:33:17 2002 From: JSkains at deltad.com (Josh Skains) Date: Wed, 28 Aug 2002 12:33:17 -0700 Subject: Errors on Solaris 2.5 Message-ID: autoheader is attached to the autoconf package, and both are 2.53 I've even done an LD_LIBRARY_PATH=/usr/local/bin with no additional luck. I've even moved libsnprintf.so and libsnprintf.a to the src directory with no additonal luck. I've installed a new version of binutils, and the error is just formatted differently now: root@:/mhome/jskains/work/mon/nrpe-1.5>make make: *** Warning: File `Makefile' has modification time in the future (2002-08-28 12:22:17 > 2002-08-28 12:21:58.280481 793) cd ./src/; make ; cd .. make[1]: Entering directory `/mhome/jskains/work/mon/nrpe-1.5/src' make[1]: *** Warning: File `Makefile' has modification time in the future (2002-08-28 12:22:17 > 2002-08-28 12:21:58.342 730602) gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe /var/tmp/cczIIrtk.o: In function `wait_for_connections': /mhome/jskains/work/mon/nrpe-1.5/src/nrpe.c:446: undefined reference to `snprintf' /var/tmp/cczIIrtk.o: In function `handle_connection': /mhome/jskains/work/mon/nrpe-1.5/src/nrpe.c:554: undefined reference to `snprintf' /mhome/jskains/work/mon/nrpe-1.5/src/nrpe.c:569: undefined reference to `snprintf' /mhome/jskains/work/mon/nrpe-1.5/src/nrpe.c:591: undefined reference to `snprintf' /mhome/jskains/work/mon/nrpe-1.5/src/nrpe.c:593: undefined reference to `snprintf' /var/tmp/cczIIrtk.o:/mhome/jskains/work/mon/nrpe-1.5/src/nrpe.c:725: more undefined references to `snprintf' follow collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/mhome/jskains/work/mon/nrpe-1.5/src' *** Compile finished *** -----Original Message----- From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com] Sent: Wednesday, August 28, 2002 12:27 PM To: 'Josh Skains'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Errors on Solaris 2.5 I apologize if you have done these already just trying to help Have you checked you autoheader version? How about your path? which make is it pointing at? Which version of make? -----Original Message----- From: Josh Skains [mailto:JSkains at deltad.com] Sent: Tuesday, August 27, 2002 9:48 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Errors on Solaris 2.5 Ok.. I got my Solaris 7 nrpe installed.. Now I am fighting with 2.5. Thanks ahead of time for any help :) I have autoconf v2.53 I have automake v1.4 gcc v2.95.3 glib v1.2.10 I get the following: cd ./src/; make ; cd .. make[1]: Entering directory `/mhome/jskains/work/mon/nrpe-1.5/src' gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe Undefined first referenced symbol in file snprintf /var/tmp/cc88wkDn.o ld: fatal: Symbol referencing errors. No output written to nrpe collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/mhome/jskains/work/mon/nrpe-1.5/src' I get the following when I do a configure: creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) 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 how to run the C preprocessor... gcc -E 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 ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for netdb.h... yes checking for pwd.h... 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 arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for main in -lnsl... yes checking for socket in -lsocket... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating nrpe.cfg creating common/config.h *** Configuration summary for nrpe 1.5 06-03-2002 ***: General Options: ------------------------- NRPE user: nagios NRPE group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd.jones at weirslurry.com Wed Aug 28 22:27:58 2002 From: todd.jones at weirslurry.com (todd.jones at weirslurry.com) Date: Wed, 28 Aug 2002 15:27:58 -0500 Subject: notification question Message-ID: I asked this question a few days ago without response, so, I'm trying again. I would like to run this by the group and see if I understand notification periods correctly. I have a host with a notification period of 24x7 and checking two services, both with a notification period of 9-5, but different contact groups. I understand that if a service goes down from 9-5, then everybody in the contact group is notified for that particular service. I also understand that if a service goes down and it does not fall into the time period for that service, no contacts are sent out. I do not understand the notification_period parameter in hosts.cfg. If the host goes down, who receives notification, since it isn't defined anywhere? Do both groups defined at the service level receive notification even if it is outside of 9-5? Also, if the service is 24x7, but the host is 9-5, does the host take precedence over the service and would the contact group still receive notification if the time was outside of 9-5? Regards, Todd Jones Network Administrator Weir Slurry 608-221-5805 phone 608-221-5807 fax ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From AHKAPLAN at PARTNERS.ORG Wed Aug 28 22:35:44 2002 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 28 Aug 2002 16:35:44 -0400 Subject: Where To Go From Here Message-ID: <5593DA408212D511B0910002A513501F01D2871B@phsexch20.mgh.harvard.edu> Well, I got Nagios up and running...now how do I go about adding hosts for nagios to monitor and also to have eye candy that can be seen via the web browser? Just a followup...when I went to the home page of Nagios on my machine, I tested the hyperlinks that appear on the left-hand column. Every one of them gave me an error 404. Is this due to the fact that I haven't defined anything yet? ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From shawnz at npgenvelope.com Wed Aug 28 22:45:01 2002 From: shawnz at npgenvelope.com (Shawn Zayac) Date: Wed, 28 Aug 2002 15:45:01 -0500 Subject: Where To Go From Here Message-ID: I just went through the same thing. I was missing most of the *.cgi's from the sbin directory. I recompiled and they appeared. Shawn > >Well, I got Nagios up and running...now how do I go about >adding hosts for >nagios to monitor and also to have eye candy that can be seen >via the web >browser? > >Just a followup...when I went to the home page of Nagios on my >machine, I tested >the hyperlinks that appear on the left-hand column. Every one >of them gave me an >error 404. Is this due to the fact that I haven't defined >anything yet? > > >------------------------------------------------------- >This sf.net email is sponsored by: Jabber - The world's >fastest growing >real-time communications platform! Don't just IM. Build it in! >http://www.jabber.com/osdn/xim >_______________________________________________ >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: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From mpark at parklabs.com Wed Aug 28 23:45:39 2002 From: mpark at parklabs.com (Michael Park) Date: Wed, 28 Aug 2002 17:45:39 -0400 (EDT) Subject: Where To Go From Here In-Reply-To: <5593DA408212D511B0910002A513501F01D2871B@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F01D2871B@phsexch20.mgh.harvard.edu> Message-ID: <4060.209.10.168.242.1030571139.squirrel@www.parklabs.com> andrew, no,. before you get to defining hostgroups, hosts, services, etc. did you complete the baseline configuration of nagios and the configuration requirements for apache? specifically, did you read: "Setting Up The Web Interface" http://nagios.sourceforge.net/docs/1_0/installweb.html follow all the instructions at that link. it sounds like your apache config is incomplete or incorrect. mp > Well, I got Nagios up and running...now how do I go about adding hosts > for nagios to monitor and also to have eye candy that can be seen via > the web browser? > > Just a followup...when I went to the home page of Nagios on my machine, > I tested the hyperlinks that appear on the left-hand column. Every one > of them gave me an error 404. Is this due to the fact that I haven't > defined anything yet? > > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber - The world's fastest growing > real-time communications platform! Don't just IM. Build it in! > http://www.jabber.com/osdn/xim > _______________________________________________ > 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: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim From felix_schattschneider at ccmconsult.de Thu Aug 29 09:31:07 2002 From: felix_schattschneider at ccmconsult.de (felix schattschneider) Date: Thu, 29 Aug 2002 09:31:07 +0200 Subject: AW: nagios hyperlinks Message-ID: <759458843C03DF4EA76CCD67DC524D0A05994C@uhura.ccmconsult.de> > Von: jo smith [mailto:joblow7777 at yahoo.com] > Gesendet: Mittwoch, 28. August 2002 20:47 > I finally got nagios to work yesterday. The hyperlnks would display all the info just fine. Today when I click on the hyperlink, it > prompts for downloading the file? What happened? Would you mind giving us some more information? This is somewhat of a obscure description. I guess that you clicked th 3-D Status map, which returns a VRML-Script and cannot be displayed w/o a viewer. And please, could you stop sending your mail as html? I cannot speak for the others, but personally I think it is not very adequate for a mailing list. Thanks, Felix ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Thu Aug 29 10:42:50 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Thu, 29 Aug 2002 10:42:50 +0200 Subject: notification question Message-ID: Hi Todd, > -----Original Message----- > From: todd.jones at weirslurry.com [mailto:todd.jones at weirslurry.com] > Sent: Wednesday, August 28, 2002 10:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification question > > > I asked this question a few days ago without response, so, I'm trying > again. > > I would like to run this by the group and see if I understand > notification > periods correctly. > > I have a host with a notification period of 24x7 and checking > two services, > both with a notification period of 9-5, but different contact groups. > > I understand that if a service goes down from 9-5, then > everybody in the > contact group is notified for that particular service. I > also understand > that if a service goes down and it does not fall into the > time period for > that service, no contacts are sent out. > > I do not understand the notification_period parameter in > hosts.cfg. If the > host goes down, who receives notification, since it isn't > defined anywhere? > Do both groups defined at the service level receive > notification even if it > is outside of 9-5? The host is member of (minimum) one hostgroup and in a hostgroup you have to define one or more 'contact_groups'. The members of these contact_groups (of all hostgroups the host is member in) receives the notification if the host-check is fail. > Also, if the service is 24x7, but the host is 9-5, does the host take > precedence over the service and would the contact group still receive > notification if the time was outside of 9-5? IMHO the notification_periods of the host and the services defined for this host are complete separate. > > Regards, > > Todd Jones > Network Administrator > Weir Slurry > 608-221-5805 phone > 608-221-5807 fax Hope this helps. -vol ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Aleksey at loehmanns.com Thu Aug 29 14:20:20 2002 From: Aleksey at loehmanns.com (Aleksey Domorad) Date: Thu, 29 Aug 2002 08:20:20 -0400 Subject: nagios hyperlinks Message-ID: <87273DB23407D511B8900008C7FA9233553CAC@EXCHANGE> install this to view Nagios 3D status Map http://www.parallelgraphics.com/products/cortona/download/iexplore/ -----Original Message----- From: felix schattschneider [mailto:felix_schattschneider at ccmconsult.de] Sent: Thursday, August 29, 2002 3:31 AM To: Nagios-users at lists.sourceforge.net Subject: AW: [Nagios-users] nagios hyperlinks > Von: jo smith [mailto:joblow7777 at yahoo.com] > Gesendet: Mittwoch, 28. August 2002 20:47 > I finally got nagios to work yesterday. The hyperlnks would display > all the info just fine. Today when I click on the hyperlink, it > prompts for downloading the file? What happened? Would you mind giving us some more information? This is somewhat of a obscure description. I guess that you clicked th 3-D Status map, which returns a VRML-Script and cannot be displayed w/o a viewer. And please, could you stop sending your mail as html? I cannot speak for the others, but personally I think it is not very adequate for a mailing list. Thanks, Felix ------------------------------------------------------- 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 br at dmg.de Thu Aug 29 15:13:27 2002 From: br at dmg.de (Bernd Rauschert) Date: Thu, 29 Aug 2002 15:13:27 +0200 Subject: Where=?ISO-8859-1?B?tA==?=s my etc Message-ID: Hello, I have compiled nagois and installed it, after the install the etc folder was missing. I tried to install it 3-4 times but it is always the same problem. All the other folders and files where created after tiping the make-install order. Has anyone any ideas? Thank?s in advance, Bernd Rauschert br at dmg.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From freddy.frouin at fluxus.net Thu Aug 29 15:20:02 2002 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Thu, 29 Aug 2002 15:20:02 +0200 Subject: Where´s my etc In-Reply-To: References: Message-ID: <20020829152002.40227ea3.freddy.frouin@fluxus.net> yep, there is some misc feature with the makefile like: make-conf-sample-install... take a look in the Makefile... Freddy. On Thu, 29 Aug 2002 15:13:27 +0200 Bernd Rauschert
wrote: > Hello, > I have compiled nagois and installed it, after the install the etc folder > was missing. > > I tried to install it 3-4 times but it is always the same problem. > > All the other folders and files where created after tiping the make-install > order. > > Has anyone any ideas? > > Thank?s in advance, > Bernd Rauschert > > br at dmg.de > > > > ------------------------------------------------------- > 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 > -- Freddy Frouin Responsable Supervision Fluxus - British Telecom 30, rue du Ch?teau des Rentiers 75013 Paris T?l: +33 (0)1 44 97 70 00 Fax: +33 (0)1 44 97 70 07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From pspa at gp.novis.pt Thu Aug 29 15:42:39 2002 From: pspa at gp.novis.pt (Paulo Pinto) Date: Thu, 29 Aug 2002 14:42:39 +0100 Subject: =?iso-8859-1?Q?=5BNagios-users=5D_Where=B4s_my_etc?= In-Reply-To: ; from br@dmg.de on Thu, Aug 29, 2002 at 03:13:27PM +0200 References: Message-ID: <20020829144239.A18969@gp.novis.pt> >From the INSTALL file: Creating And Installing Sample Config Files ------------------------------------------- Sample main, resource and CGI configuration files are automatically created in your distribution distribution directory after you run the configure script. The files are named 'nagios.cfg', 'resource.cfg' and 'cgi.cfg' respectively. 1) If you want, you can install the sample config files into the {prefix}/etc directory with the following command: make install-config Hugz, On Thu, Aug 29, 2002 at 03:13:27PM +0200, Bernd Rauschert wrote: > Hello, > I have compiled nagois and installed it, after the install the etc folder > was missing. > > I tried to install it 3-4 times but it is always the same problem. > > All the other folders and files where created after tiping the make-install > order. > > Has anyone any ideas? > > Thank?s in advance, > Bernd Rauschert > > br at dmg.de > > > > ------------------------------------------------------- > 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 > -- Paulo Pinto Novis GSP pspa at gp.novis.pt ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From rpatl at gmx.at Thu Aug 29 15:44:47 2002 From: rpatl at gmx.at (rpatl at gmx.at) Date: Thu, 29 Aug 2002 15:44:47 +0200 (MEST) Subject: nmap2nagios Message-ID: <10921.1030628687@www51.gmx.net> Hi everyone Im using Nagios since last week and have solved the most problems i got with the help of the mailinglist. I have configured Nagios for a little testnetwork per editor and later per NAGAT. Now i would like to install the server in a greater Network, an there comes the possibly silly Question: Is there a program available for Nagios, like nmap2Netsaint for Netsaint? It could help me to save a lot of time! :-) I have read the whole mailinglist in the last hours but i have not found anything about it Thanks ---- Patrick -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From wilcoxc at troycorp.com Thu Aug 29 15:59:24 2002 From: wilcoxc at troycorp.com (Wilcox, Chris) Date: Thu, 29 Aug 2002 09:59:24 -0400 Subject: nmap2nagios Message-ID: <5F735AF7A501D411910600104B76901E01EA96BC@POSTAL> Are you kidding??!! And not make you type and re-type all of your cfg files again?? No way man....get typing.......... But seriously, I have not seen one yet, but someone else out here may know of a good nmap function to cfg file... Anyone?? Chris. -----Original Message----- From: rpatl at gmx.at [mailto:rpatl at gmx.at] Sent: Thursday, August 29, 2002 9:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nmap2nagios Hi everyone Im using Nagios since last week and have solved the most problems i got with the help of the mailinglist. I have configured Nagios for a little testnetwork per editor and later per NAGAT. Now i would like to install the server in a greater Network, an there comes the possibly silly Question: Is there a program available for Nagios, like nmap2Netsaint for Netsaint? It could help me to save a lot of time! :-) I have read the whole mailinglist in the last hours but i have not found anything about it Thanks ---- Patrick -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net ------------------------------------------------------- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Thu Aug 29 16:23:21 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 29 Aug 2002 09:23:21 -0500 Subject: =?iso-8859-1?Q?RE=3A_=5BNagios-users=5D_Re=3A_=5BNagios-users=5D_Wh?= =?iso-8859-1?Q?ere=B4s_my_etc?= Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F70F3F@mismail.ena.com> Additionally, [root at oscar nagios]# make Please supply a command line argument (i.e. 'make all'). Other targets are: nagios cgis contrib clean install install-html install-config install-init install-commandmode fullinstall -- Marc > -----Original Message----- > From: Paulo Pinto [mailto:pspa at gp.novis.pt] > Sent: Thursday, August 29, 2002 8:43 AM > To: Bernd Rauschert > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: [Nagios-users] Where?s my etc > > From the INSTALL file: > > Creating And Installing Sample Config Files > ------------------------------------------- > > Sample main, resource and CGI configuration files are automatically > created in your distribution distribution directory after you run the > configure script. The files are named 'nagios.cfg', 'resource.cfg' > and 'cgi.cfg' respectively. > > 1) If you want, you can install the sample config files into the > {prefix}/etc directory with the following command: > > make install-config > > Hugz, > > On Thu, Aug 29, 2002 at 03:13:27PM +0200, Bernd Rauschert wrote: > > Hello, > > I have compiled nagois and installed it, after the install the etc > folder > > was missing. > > > > I tried to install it 3-4 times but it is always the same problem. > > > > All the other folders and files where created after tiping the make- > install > > order. > > > > Has anyone any ideas? > > > > Thank?s in advance, > > Bernd Rauschert > > > > br at dmg.de > > > > > > > > ------------------------------------------------------- > > 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 > > > > -- > Paulo Pinto > Novis GSP > > pspa at gp.novis.pt > > > ------------------------------------------------------- > 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 sghosh at sghosh.org Thu Aug 29 16:54:24 2002 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 29 Aug 2002 10:54:24 -0400 (EDT) Subject: nmap2nagios In-Reply-To: <5F735AF7A501D411910600104B76901E01EA96BC@POSTAL> References: <5F735AF7A501D411910600104B76901E01EA96BC@POSTAL> Message-ID: Ummm... "namp2netsaint | convertcfg" :) On Thu, 29 Aug 2002, Wilcox, Chris wrote: > Are you kidding??!! And not make you type and re-type all of your cfg files > again?? No way man....get typing.......... > > But seriously, I have not seen one yet, but someone else out here may know > of a good nmap function to cfg file... > > Anyone?? > > Chris. > > -----Original Message----- > From: rpatl at gmx.at [mailto:rpatl at gmx.at] > Sent: Thursday, August 29, 2002 9:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nmap2nagios > > > Hi everyone > > Im using Nagios since last week and have solved the most problems i got with > the help of the mailinglist. I have configured Nagios for a little > testnetwork per editor and later per NAGAT. > > Now i would like to install the server in a greater Network, an there comes > the possibly silly Question: > > Is there a program available for Nagios, like nmap2Netsaint for Netsaint? > > It could help me to save a lot of time! :-) > > I have read the whole mailinglist in the last hours but i have not found > anything about it > > > Thanks > > ---- > Patrick > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mmiller at resortquest.com Thu Aug 29 17:29:29 2002 From: mmiller at resortquest.com (Mark Miller) Date: Thu, 29 Aug 2002 10:29:29 -0500 Subject: How to disable host checking Message-ID: <40E9E4B9BEE4D211B62200A0CC3E01B0015E1743@RQIEXCH> I am using Nagios 1.0b5. I monitor several hosts that are behind firewalls and therefore are un-pingable. Because of this Nagios reports that the hosts are down. In Netsaint configs you could simply not include the check_host_alive directive to skip ping check. According to the docs for Nagios, when using the new template based config for the hosts.cfg file I should be able to leave the check_command field blank to skip any host checking. This fails when starting the Nagios configuration check with the following error: Reading configuration data... Error: NULL variable value in object definition. Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 30. Not including the field at all results in Nagios never flagging the connection as good which leaves the hosts perpetually grey (unchecked). What's the best workaround for this with Nagios? I'd like the hosts to show up as good (green). :) Thanks, Mark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From JSkains at deltad.com Thu Aug 29 17:28:52 2002 From: JSkains at deltad.com (Josh Skains) Date: Thu, 29 Aug 2002 08:28:52 -0700 Subject: status map Message-ID: When I click on a host in the status map, I get the following: [Thu Aug 29 08:17:01 2002] [error] [client 172.16.1.99] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi Thoughts? Thanks, JMS -------------- next part -------------- An HTML attachment was scrubbed... URL: From JSkains at deltad.com Thu Aug 29 17:38:57 2002 From: JSkains at deltad.com (Josh Skains) Date: Thu, 29 Aug 2002 08:38:57 -0700 Subject: status map Message-ID: I just now noticed it only does it when you are using any "circular" maps. Anyone know why? JMS -----Original Message----- From: Josh Skains [mailto:JSkains at deltad.com] Sent: Thursday, August 29, 2002 8:29 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] status map When I click on a host in the status map, I get the following: [Thu Aug 29 08:17:01 2002] [error] [client 172.16.1.99] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi Thoughts? Thanks, JMS -------------- next part -------------- An HTML attachment was scrubbed... URL: From wilcoxc at troycorp.com Thu Aug 29 17:47:32 2002 From: wilcoxc at troycorp.com (Wilcox, Chris) Date: Thu, 29 Aug 2002 11:47:32 -0400 Subject: How to disable host checking Message-ID: <5F735AF7A501D411910600104B76901E01EA96BD@POSTAL> Just remove the entire check_command line from each host in the hosts.cfg file Reload and away you go. Chris. -----Original Message----- From: Mark Miller [mailto:mmiller at resortquest.com] Sent: Thursday, August 29, 2002 11:29 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to disable host checking I am using Nagios 1.0b5. I monitor several hosts that are behind firewalls and therefore are un-pingable. Because of this Nagios reports that the hosts are down. In Netsaint configs you could simply not include the check_host_alive directive to skip ping check. According to the docs for Nagios, when using the new template based config for the hosts.cfg file I should be able to leave the check_command field blank to skip any host checking. This fails when starting the Nagios configuration check with the following error: Reading configuration data... Error: NULL variable value in object definition. Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 30. Not including the field at all results in Nagios never flagging the connection as good which leaves the hosts perpetually grey (unchecked). What's the best workaround for this with Nagios? I'd like the hosts to show up as good (green). :) Thanks, Mark ------------------------------------------------------- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd.jones at weirslurry.com Thu Aug 29 17:57:10 2002 From: todd.jones at weirslurry.com (todd.jones at weirslurry.com) Date: Thu, 29 Aug 2002 10:57:10 -0500 Subject: system freezes Message-ID: I'm having a freezing problem with my nagios box and I do not know if it is related to nagios or not. My only tip that it could be nagios is that my last entry in /var/log/messages was a notification sent out by nagios. This has happened twice; once last Wednesday and once today. I'm wondering if anybody else has experienced similar issues. Here are my specs. Nagios v1.0b5 OS: RedHat Linux7.3 Other services: Tomcat, BIND, Samba, ssh, X Hardware: IBM Netfinity Dual 1.4Ghz PIII 2.25GB 133mhz ECC SDRam IBM ServRAID 4MX? (2 channel 4 series) (3) 36GB IBM 10K SCSI drives I'm going to call IBM and see if they have had any issues with my hardware. According to my logs, I've been running the CPU at an average of 5-10% and the memory usage is about 13% on average. Regards, Todd Jones Network Administrator Weir Slurry 608-221-5805 phone 608-221-5807 fax ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From paul at tortc.tuht.scot.nhs.uk Thu Aug 29 18:20:01 2002 From: paul at tortc.tuht.scot.nhs.uk (Paul Cochrane) Date: Thu, 29 Aug 2002 17:20:01 +0100 Subject: Opening Page Message-ID: <3D6E5379.5753.331CF145@localhost> Anyone know a quick way to automatically open nagios on the Tactical Overview or Service Problems Page? I'm looking for if I type in http:/host.com/nagios/ it'll open with the left hand frame visible with the above pages visible. Cheers ------------------------------------- Paul Cochrane | Tayside Orthopaedic & | | Rehabilitation Technology Centre | ============= |-------------------------------------| | Ninewells Hospital & Med. School | | Dundee, Scotland, UK. | | DD1 9SY. | | Phone: +44 1382 496284 | | Fax: +44 1382 496322 | | E-Mail: paul at tortc.tuht.scot.nhs.uk | ------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Darren.Gamble at sjrb.ca Thu Aug 29 18:06:12 2002 From: Darren.Gamble at sjrb.ca (Darren Gamble) Date: Thu, 29 Aug 2002 10:06:12 -0600 Subject: How to disable host checking Message-ID: <078EC26E265CD411BD9100508BDFFC861BCBB4F3@shawmail02> Good day, > I am using Nagios 1.0b5. I monitor several hosts that are > behind firewalls > and therefore are un-pingable. Because of this Nagios > reports that the > hosts are down. In Netsaint configs you could simply not include the > check_host_alive directive to skip ping check. According to > the docs for > Nagios, when using the new template based config for the > hosts.cfg file I > should be able to leave the check_command field blank to skip any host > checking. This fails when starting the Nagios configuration > check with the > following error: > > Reading configuration data... > > Error: NULL variable value in object definition. > Error: Could not add object property in file > '/usr/local/nagios/etc/hosts.cfg' on line 30. > > Not including the field at all results in Nagios never flagging the > connection as good which leaves the hosts perpetually grey > (unchecked). > What's the best workaround for this with Nagios? I'd like > the hosts to show > up as good (green). :) > > Thanks, > Mark If you have at least one service OK for a host, Nagios will (should) assume that the host is up and mark it as green if it was "pending" before. Note that you should have at least one service for every host (I presume that you do, but just in case...). Note that you can not leave the command blank, but according to the docco you can leave out the entire check_command. I've never completely omitted the check_command entry from a host. Ideally, you should have SOME sort of way to check if the host is down. You don't have to use the default host check command to do it- you could use a script that connects to a particular port on your firewall that forwards to that host, for example. Or, write a script that talks to the firewall in some manner and gets the status of the server that way. ============================ 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dean.bishop at tcdsb.org Thu Aug 29 18:15:07 2002 From: dean.bishop at tcdsb.org (Bishop, Dean) Date: Thu, 29 Aug 2002 12:15:07 -0400 Subject: system freezes Message-ID: i have a sandbox pII-450 with 384M nagios 1.03b and rh7.3. Mine locks up frequently at 4:02a (when the cron jobs are run). i am still trying to track it down. This morning the only thing in my crontab at 4:02 was slocate and i locked up. Doesn't happen all the time though. very sporatic. anyone?? later, dean -----Original Message----- From: todd.jones at weirslurry.com [mailto:todd.jones at weirslurry.com] Sent: Thursday, August 29, 2002 11:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] system freezes I'm having a freezing problem with my nagios box and I do not know if it is related to nagios or not. My only tip that it could be nagios is that my last entry in /var/log/messages was a notification sent out by nagios. This has happened twice; once last Wednesday and once today. I'm wondering if anybody else has experienced similar issues. Here are my specs. Nagios v1.0b5 OS: RedHat Linux7.3 Other services: Tomcat, BIND, Samba, ssh, X Hardware: IBM Netfinity Dual 1.4Ghz PIII 2.25GB 133mhz ECC SDRam IBM ServRAID 4MX? (2 channel 4 series) (3) 36GB IBM 10K SCSI drives I'm going to call IBM and see if they have had any issues with my hardware. According to my logs, I've been running the CPU at an average of 5-10% and the memory usage is about 13% on average. Regards, Todd Jones Network Administrator Weir Slurry 608-221-5805 phone 608-221-5807 fax ------------------------------------------------------- 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 mpowell at ena.com Thu Aug 29 18:14:29 2002 From: mpowell at ena.com (Marc Powell) Date: Thu, 29 Aug 2002 11:14:29 -0500 Subject: Opening Page Message-ID: <5DB017510818EC468B05BD7BD9EACF8301F70F48@mismail.ena.com> Edit /usr/local/share/index.html and modify the frameset. For example, to hope with the Service Problems page, you would have something like the following: > -----Original Message----- > From: Paul Cochrane [mailto:paul at tortc.tuht.scot.nhs.uk] > Sent: Thursday, August 29, 2002 11:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Opening Page > > Anyone know a quick way to automatically open nagios on the > Tactical Overview or Service Problems Page? > > I'm looking for if I type in http:/host.com/nagios/ it'll open with the > left > hand frame visible with the above pages visible. > > Cheers > ------------------------------------- > Paul Cochrane | Tayside Orthopaedic & | > | Rehabilitation Technology Centre | > ============= |-------------------------------------| > | Ninewells Hospital & Med. School | > | Dundee, Scotland, UK. | > | DD1 9SY. | > | Phone: +44 1382 496284 | > | Fax: +44 1382 496322 | > | E-Mail: paul at tortc.tuht.scot.nhs.uk | > ------------------------------------- > > > > ------------------------------------------------------- > 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 russell at quadrix.com Thu Aug 29 18:18:22 2002 From: russell at quadrix.com (Russell Scibetti) Date: Thu, 29 Aug 2002 12:18:22 -0400 Subject: Opening Page References: <3D6E5379.5753.331CF145@localhost> Message-ID: <3D6E494E.8020605@quadrix.com> Edit the index.html page under the share directory. All it is is the frameset definition. Change the main frame to load the tac.cgi page (probably /nagios/cgi-bin/tac.cgi depending on your setup). That's what I do. In fact, I have the normal index.html showing a reduced menu on the left (I edited the side.html file), which is for daily operations to look at, and an admin.html page that shows the full menu (a new file adminside.html), and both open directly to the Tactical Overview in the right frame. -Russell Paul Cochrane wrote: >Anyone know a quick way to automatically open nagios on the >Tactical Overview or Service Problems Page? > >I'm looking for if I type in http:/host.com/nagios/ it'll open with the left >hand frame visible with the above pages visible. > >Cheers > ------------------------------------- >Paul Cochrane | Tayside Orthopaedic & | > | Rehabilitation Technology Centre | >============= |-------------------------------------| > | Ninewells Hospital & Med. School | > | Dundee, Scotland, UK. | > | DD1 9SY. | > | Phone: +44 1382 496284 | > | Fax: +44 1382 496322 | > | E-Mail: paul at tortc.tuht.scot.nhs.uk | > ------------------------------------- > > > >------------------------------------------------------- >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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From paul at tortc.tuht.scot.nhs.uk Thu Aug 29 18:38:31 2002 From: paul at tortc.tuht.scot.nhs.uk (Paul Cochrane) Date: Thu, 29 Aug 2002 17:38:31 +0100 Subject: Opening Page In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8301F70F48@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8301F70F48@mismail.ena.com> Message-ID: <3D6E57CE.5432.332DDCBC@localhost> On 29 Aug 2002 at 11:14, Marc Powell wrote: > Edit /usr/local/share/index.html and modify the frameset. For example, > to hope with the Service Problems page, you would have something like > the following: > > > > NAME="main"> > > I knew it was simple. I'm having a stupid day!!! I was thinking about recompiling the software.... Cheers for reassuring me that my brain just doesn't work anymore. Paul ------------------------------------- Paul Cochrane | Tayside Orthopaedic & | | Rehabilitation Technology Centre | ============= |-------------------------------------| | Ninewells Hospital & Med. School | | Dundee, Scotland, UK. | | DD1 9SY. | | Phone: +44 1382 496284 | | Fax: +44 1382 496322 | | E-Mail: paul at tortc.tuht.scot.nhs.uk | ------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From todd.jones at weirslurry.com Thu Aug 29 18:48:26 2002 From: todd.jones at weirslurry.com (todd.jones at weirslurry.com) Date: Thu, 29 Aug 2002 11:48:26 -0500 Subject: system freezes Message-ID: I would probably say that your problem is a separate issue. If I were you, I would try doing a search on dejanews as I've glanced at this subject being discussed before in the RedHat groups. Regards, Todd Jones Network Administrator Weir Slurry 608-221-5805 phone 608-221-5807 fax Memo From: "Bishop, Dean" From tcdsb.org , cdsb.org> nagios-users at lists.sourceforge.net cc: Sent: Subject: RE: [Nagios-users] system freezes 08/29/2002 11:15 AM i have a sandbox pII-450 with 384M nagios 1.03b and rh7.3. Mine locks up frequently at 4:02a (when the cron jobs are run). i am still trying to track it down. This morning the only thing in my crontab at 4:02 was slocate and i locked up. Doesn't happen all the time though. very sporatic. anyone?? later, dean -----Original Message----- From: todd.jones at weirslurry.com [mailto:todd.jones at weirslurry.com] Sent: Thursday, August 29, 2002 11:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] system freezes I'm having a freezing problem with my nagios box and I do not know if it is related to nagios or not. My only tip that it could be nagios is that my last entry in /var/log/messages was a notification sent out by nagios. This has happened twice; once last Wednesday and once today. I'm wondering if anybody else has experienced similar issues. Here are my specs. Nagios v1.0b5 OS: RedHat Linux7.3 Other services: Tomcat, BIND, Samba, ssh, X Hardware: IBM Netfinity Dual 1.4Ghz PIII 2.25GB 133mhz ECC SDRam IBM ServRAID 4MX? (2 channel 4 series) (3) 36GB IBM 10K SCSI drives I'm going to call IBM and see if they have had any issues with my hardware. According to my logs, I've been running the CPU at an average of 5-10% and the memory usage is about 13% on average. Regards, Todd Jones Network Administrator Weir Slurry 608-221-5805 phone 608-221-5807 fax ------------------------------------------------------- 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 shawnz at npgenvelope.com Thu Aug 29 23:03:13 2002 From: shawnz at npgenvelope.com (Shawn Zayac) Date: Thu, 29 Aug 2002 16:03:13 -0500 Subject: nrpe Message-ID: I'm having a problem getting the nrpe addon to work. I think it's set up correctly but I keep getting "CHECK_NRPE: error receiving data from host" when I run it from the command line on my nagios host machine. In the /var/log/messages file on the client machine I'm getting the following showing up: execv( /usr/local/nagios/bin ) failed: Permission denied (errno = 13) I'm using xinetd and trying to run the nrpe as the nagios user. I have changed owner ship and group to be nagios for all files. Any help appreciated. Shawn ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From joblow7777 at yahoo.com Thu Aug 29 18:11:03 2002 From: joblow7777 at yahoo.com (jo smith) Date: Thu, 29 Aug 2002 09:11:03 -0700 (PDT) Subject: New question Message-ID: <20020829161103.46664.qmail@web13005.mail.yahoo.com> Well, I finally got Nagios to work. Turns out that an apache error was causing me problems. Here are the lines: < --- > Notice the lack of a trailing slash. I don't know apache well enough to tell you why it works. My new question is when I try to click on the Status Map hyperlink, the apache error log complains with this message: [Thu Aug 29 08:53:40 2002] [error] [client 1.1.2.185] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi Nagios compiled without errors. My LD_LIBRARY_PATH looks like this: /usr/local/lib:/usr/local/include:/usr/include Anybody have any ideas? The other hyperlinks work? Thanks! __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From joblow7777 at yahoo.com Thu Aug 29 16:14:06 2002 From: joblow7777 at yahoo.com (jo smith) Date: Thu, 29 Aug 2002 07:14:06 -0700 (PDT) Subject: AW: nagios hyperlinks In-Reply-To: <759458843C03DF4EA76CCD67DC524D0A05994C@uhura.ccmconsult.de> References: <759458843C03DF4EA76CCD67DC524D0A05994C@uhura.ccmconsult.de> Message-ID: <20020829141406.56371.qmail@web13004.mail.yahoo.com> Hi Felix. Sorry about the weird graphics. That's what happens when I use yahoo I guess. Anyway, my problem is that if I click on any hyperlink that displays any nagios graphic (not just the 3-D Status Map link), it says that I'm downloading a file and prompts me for the file name. Does that help? Thanks for answering the email. --- felix schattschneider wrote: > > Von: jo smith [mailto:joblow7777 at yahoo.com] > > Gesendet: Mittwoch, 28. August 2002 20:47 > > I finally got nagios to work yesterday. The > hyperlnks would display all the info just fine. > Today when I click on the hyperlink, it > > prompts for downloading the file? What happened? > > Would you mind giving us some more information? This > is somewhat of a obscure description. > I guess that you clicked th 3-D Status map, which > returns a VRML-Script and cannot be displayed w/o a > viewer. > > And please, could you stop sending your mail as > html? > I cannot speak for the others, but personally I > think it is not very > adequate for a mailing list. > > Thanks, > Felix > > > ------------------------------------------------------- > 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 __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jasonm at kelman.com Fri Aug 30 00:24:11 2002 From: jasonm at kelman.com (Jason Marshall) Date: Thu, 29 Aug 2002 16:24:11 -0600 (MDT) Subject: Is this possible? Message-ID: I want to submit a host check passively. I don't think it's possible. I want to do this because I have many hosts dependend on one other host, and I monitor that depended-on machine with a tight loop in an external script. I'd like to feed the information from the script into nagios.cmd. Can this be done??? --- 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Eric.Fligel at cox.com Fri Aug 30 00:32:16 2002 From: Eric.Fligel at cox.com (Fligel, Eric (CCI-Las Vegas)) Date: Thu, 29 Aug 2002 18:32:16 -0400 Subject: Using Nagios only for notification Message-ID: <761694513EB19149BB476BADDDA702EB099213@clas0ms01.corp.cox.com> Is it possible to use Nagios to handle the notification grid and paging of another Monitoring system? Is there a way to invoke notification from a command line so that another program can call the script to page the appropriate people. I am not interested in any of the Nagios monitoring tools, but I like the way it handles the notification. Thanks, Eric ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Chris.Robertson at instill.com Fri Aug 30 02:03:00 2002 From: Chris.Robertson at instill.com (Chris Robertson) Date: Thu, 29 Aug 2002 17:03:00 -0700 Subject: Using Nagios only for notification Message-ID: Yes you can, look into passive services. You should be able to configure Nagios that way to handle your notifications. HTH, Chris > -----Original Message----- > From: Fligel, Eric (CCI-Las Vegas) [mailto:Eric.Fligel at cox.com] > Sent: Thursday, August 29, 2002 3:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Using Nagios only for notification > > > > > Is it possible to use Nagios to handle the notification grid > and paging of another Monitoring system? Is there a way to > invoke notification from a command line so that another > program can call the script to page the appropriate people. > I am not interested in any of the Nagios monitoring tools, > but I like the way it handles the notification. > > Thanks, > Eric > > > ------------------------------------------------------- > 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 consult at uws.edu.au Fri Aug 30 02:48:22 2002 From: consult at uws.edu.au (Harsh Verma) Date: Fri, 30 Aug 2002 10:48:22 +1000 Subject: [Fwd: Moving Nagios from one server to another] Message-ID: <3D6EC0D6.8E54831C@uws.edu.au> Hi I am reposting this as I could not see this request in the nagios-users list. Regards Harsh Verma -------------- next part -------------- An embedded message was scrubbed... From: Harsh Verma Subject: [Nagios-users] Moving Nagios from one server to another Date: Wed, 28 Aug 2002 16:25:45 +1000 Size: 3852 URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: consult.vcf Type: text/x-vcard Size: 382 bytes Desc: Card for Harsh Verma URL: From wilcoxc at troycorp.com Fri Aug 30 05:14:49 2002 From: wilcoxc at troycorp.com (Wilcox, Chris) Date: Thu, 29 Aug 2002 23:14:49 -0400 Subject: Packet Monitoring Message-ID: <5F735AF7A501D411910600104B76901E01EA96BE@POSTAL> I have a problem. Using MRTG and Nagios I have determined that some very large data transfers are happening after hours. How do I pin down exactly who and what is being transfered?? I could use a sniffer but don't know which one could run all night and capture all packets on the network. Anyone know of a tool to help with this?? Thanks in Advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at nagios.org Fri Aug 30 05:33:22 2002 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 29 Aug 2002 22:33:22 -0500 Subject: Packet Monitoring In-Reply-To: <5F735AF7A501D411910600104B76901E01EA96BE@POSTAL> References: <5F735AF7A501D411910600104B76901E01EA96BE@POSTAL> Message-ID: <3D6EA132.14966.1512FE6@localhost> One suggestion might be to setup an event handler for the service in Nagios that's generating alerts. Have the event handler run a script if bandwidth usage goes into a warning or critical state. The script should kick off a seperate process (i.e. tcpdump) that sniffs network traffic for the next 10 minutes or so. That way you can just take a quick look at 10 minutes worth or data rather than an entire night's worth. On 29 Aug 2002 at 23:14, Wilcox, Chris wrote: > > I have a problem. > Using MRTG and Nagios I have determined that some very large data > transfers are happening after hours. How do I pin down exactly who > and what is being transfered?? > I could use a sniffer but don't know which one could run all night > and capture all packets on the network. Anyone know of a tool to > help with this?? > Thanks in Advance. Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From wilson at ifndef.com Fri Aug 30 05:49:43 2002 From: wilson at ifndef.com (Brian Wilson) Date: Thu, 29 Aug 2002 22:49:43 -0500 (CDT) Subject: Packet Monitoring In-Reply-To: <5F735AF7A501D411910600104B76901E01EA96BE@POSTAL> References: <5F735AF7A501D411910600104B76901E01EA96BE@POSTAL> Message-ID: You could setup something like argus to monitor a spanned port that will have this traffic on it. You should be able to spot the flow fairly easily. You could also analyze netflow data from your router (if it supports this) to determine where the flows are coming from. Or you could take samples from tcpdump every so often and tell tcpdump to only output the minimal pieces of info needed to determine the culprit. http://www.qosient.com/argus/ http://www.canet3.net/stats/cflowd.html Hope I'm not to far out in left field, but the above tools seem to help us greatly. Brian -- Brian Wilson Network Analyst Communication Technologies, ATD W: 919.513.3472 North Carolina State University www.ncstate.net On Thu, 29 Aug 2002, Wilcox, Chris wrote: > I have a problem. > > Using MRTG and Nagios I have determined that some very large data transfers > are happening after hours. How do I pin down exactly who and what is being > transfered?? > > I could use a sniffer but don't know which one could run all night and > capture all packets on the network. Anyone know of a tool to help with > this?? > > Thanks in Advance. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Volker.Aust at premiere.de Fri Aug 30 08:56:10 2002 From: Volker.Aust at premiere.de (Volker.Aust at premiere.de) Date: Fri, 30 Aug 2002 08:56:10 +0200 Subject: Is this possible? Message-ID: