From teng at dataway.com Tue Jul 1 00:42:45 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 30 Jun 2003 15:42:45 -0700 Subject: Snort/ACID alerts for Nagios? References: <3F00A7EE.9060300@bellsouth.net> Message-ID: Snort alerts via SNMP Traps "Martin C. Walker" wrote in message news:3F00A7EE.9060300 at bellsouth.net... > I'm running Snort 2.0 with MySQL output plugin and ACID 0.9.6b23 on RH9 > and using Nagios 1.0 as a monitoring tool > > Has anyone written a nagios check or other mechanism for alerting in > Nagios based on a snort alert they would share? > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Snort-users mailing list > Snort-users at lists.sourceforge.net > Go to this URL to change user options or unsubscribe: > https://lists.sourceforge.net/lists/listinfo/snort-users > Snort-users list archive: > http://www.geocrawler.com/redir-sf.php3?list=snort-users > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duncan at ring-wraith.com Tue Jul 1 00:52:47 2003 From: duncan at ring-wraith.com (Duncan) Date: Tue, 01 Jul 2003 00:52:47 +0200 Subject: MySQL support Message-ID: <3F00BF3F.7030606@ring-wraith.com> Hi, I am looking for some more info about the MySQL support. The documentation was listing already some info, but is there a more detailed version available? I searched the net & mailinglist to no avail so far, so if anyone knows where I can find some more info on this matter, then please reply in here :) I am currently looking for answers to the following questions: - system ressource usage difference between database and flat file install? - flat file install has an installed logrotate function, is there s.th. similar with the MySQL install, or will all data get added to it and the table management has to be done manually? Thanks, Duncan ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aj.mckee at nmtbmedia.com Tue Jul 1 02:07:59 2003 From: aj.mckee at nmtbmedia.com (AJ McKee) Date: 01 Jul 2003 01:07:59 +0100 Subject: Nagios Double Checking with remote Nagios site for verification of errors Message-ID: <1057018078.3467.13.camel@laptop.nmtbmedia.dev> Hi all, Firstly sorry if this issues has been addressed before, the SF search is playing up so I cannot find any posts that may be relevant to this. Nagios is a very powerful monitoring application, however I am unsure as to if I can do the following with it so if anyone has any suggestions they would be more then welcome. I want to install two Nagios server. One in Network A the other in Network B, both of the to monitor Network C. If the monitor in Network A detects a problem on Network C, I would like it to verify that the problem exists with the monitor on Network B (And this should work vice versa) It the problem is confirmed on both Network a and B, then the notification and escalation events start to take place, otherwise a notification to the Nagios Admin be sent. Now I have though a bit about this and the only way I can seem to even try to do something like this is to write a plug-in that checks using NRPE or similar and returns a result, but this is a bit mess as if the result is positive, then the plug-in has to do the notifications. (Why, cause when say server-notify being run, instead of doing the notify I would want it to verify the error, once verified then the notifications are sent out). However it would be nice if the 2 servers could be aware of this and auto negotiate all these problems for me (Hey, I'm a lazy git :) Anyhow, has anyone tried anything like this with Nagios? Or is there any plans in future releases to include this functionality? Any help in answering these questions would be most welcomed. Thanks in advance. AJ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mooney at pnl.gov Tue Jul 1 03:49:28 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Mon, 30 Jun 2003 18:49:28 -0700 Subject: SEGV in cmd_process_service_check_result (base/commands.c) Message-ID: I'm seeing this in a nagios 1.0 deployment, but its still appears to be in the CVS version. Basically the problem happens when an external PROCESS_SERVICE_CHECK_RESULT comes in formatted like: [1056956399] PROCESS_SERVICE_CHECK_RESULT; Yes this is an error (one of my external check scripts barfs every so often). However it shouldn't crash nagios... The problem is that /* get the host name */ temp_ptr=my_strtok(args,";"); returns a null and then when you try to do the if(!strcmp(temp_ptr,temp_host->address)){ a few lines later bam strcmp((char *)0, something_else) == instant SEGV. The obvious solution is to put a test in for strlen of args, but looking around I see a couple other places where this could conceivably happen, so the question is - is it better to fix each of them individually in thier own functions, or just stuff some code in up higher that checks the args is mostly ok (or at least exists) for the vulnerable types (types that have args) (maybe in process_external_command() or check_for_external_commands()). Or maybe there is a better way to handle the problem altogether. From seth at Hollen.org Tue Jul 1 05:00:28 2003 From: seth at Hollen.org (Seth Hollen) Date: 30 Jun 2003 23:00:28 -0400 Subject: nagios, mysql, on debian Message-ID: <1057028428.4046.3.camel@daedalus> While i have gotten nagios working on redhat based systems before, this is my first time trying it on debian using apt-get. root at daedalus:/etc/nagios# nagios nagios.cfg Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Nagios 1.1 starting... (PID=4096) Error: Could not read program retention data from table programretention Error: Could not read host retention data from table hostretention Error: Could not read service retention data from table serviceretention Error: Could not lock status data tables in database '' Error: Could not lock status data tables in database '' root at daedalus:/etc/nagios# I can't find any documentation on using mysql and nagios. can anyone point me in the right direction? Thanks! Seth seth at hollen.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Jul 1 05:58:39 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 30 Jun 2003 20:58:39 -0700 Subject: Snort/ACID alerts for Nagios? References: <3F00A7EE.9060300@bellsouth.net> Message-ID: I found a site that I had originally used with lots of useful information about setting up snort and SNMP for use with a network management system. http://www.cysol.co.jp/contrib/snortsnmp/snortSnmpGuide.html "Tedman Eng" wrote in message news:bdqeca$btb$1 at main.gmane.org... > Snort alerts via SNMP Traps > > > "Martin C. Walker" wrote in message > news:3F00A7EE.9060300 at bellsouth.net... > > I'm running Snort 2.0 with MySQL output plugin and ACID 0.9.6b23 on RH9 > > and using Nagios 1.0 as a monitoring tool > > > > Has anyone written a nagios check or other mechanism for alerting in > > Nagios based on a snort alert they would share? > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Snort-users mailing list > > Snort-users at lists.sourceforge.net > > Go to this URL to change user options or unsubscribe: > > https://lists.sourceforge.net/lists/listinfo/snort-users > > Snort-users list archive: > > http://www.geocrawler.com/redir-sf.php3?list=snort-users > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Jul 1 06:09:43 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 30 Jun 2003 21:09:43 -0700 Subject: Nagios Double Checking with remote Nagios site for verification of errors References: <1057018078.3467.13.camel@laptop.nmtbmedia.dev> Message-ID: How about if both NagA and NagB perform active checks on C, and report via passive checks to each other. That way, you can see the status from itself and it's peer and make the determination that Network C has a problem. "AJ McKee" wrote in message news:1057018078.3467.13.camel at laptop.nmtbmedia.dev... > Hi all, > > Firstly sorry if this issues has been addressed before, the SF search is > playing up so I cannot find any posts that may be relevant to this. > > Nagios is a very powerful monitoring application, however I am unsure as > to if I can do the following with it so if anyone has any suggestions > they would be more then welcome. > > I want to install two Nagios server. One in Network A the other in > Network B, both of the to monitor Network C. If the monitor in Network A > detects a problem on Network C, I would like it to verify that the > problem exists with the monitor on Network B (And this should work vice > versa) It the problem is confirmed on both Network a and B, then the > notification and escalation events start to take place, otherwise a > notification to the Nagios Admin be sent. > > Now I have though a bit about this and the only way I can seem to even > try to do something like this is to write a plug-in that checks using > NRPE or similar and returns a result, but this is a bit mess as if the > result is positive, then the plug-in has to do the notifications. (Why, > cause when say server-notify being run, instead of doing the notify I > would want it to verify the error, once verified then the notifications > are sent out). However it would be nice if the 2 servers could be aware > of this and auto negotiate all these problems for me (Hey, I'm a lazy > git :) > > Anyhow, has anyone tried anything like this with Nagios? Or is there any > plans in future releases to include this functionality? > > Any help in answering these questions would be most welcomed. > > Thanks in advance. > > AJ > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at billyshouse.com Tue Jul 1 07:04:08 2003 From: nagios at billyshouse.com (Billy) Date: Tue, 1 Jul 2003 15:04:08 +1000 Subject: hostextinfo - What am I doing wrong!?!?! Message-ID: AAGGHHH!!! I'm tearing my hair out here guys. I just can't get this damn hostextinfo stuff working, no matter what I try. I've even resorted to using the sample configs (without changing them) and seeing if I can get it going. once again. with no luck. Observations: Even if the nagios processes aren't running, I can still click around the site fine, is this right? I'll make the changes to the configs, and expect to see them on the pages, but even without nagios running, I can still get status info on the hosts and services. What's been done: I've basically moved everything that was -sample to .cfg. The only lines I've changed have been the user access (authorized_for_configuration_information, authorized_for_system_commands, etc) so that nagiosadmin can see the pages. I also commented out dependencies.cfg. Everything else is generates from the 'make install-config'. I've added this line to cgi.cfg. hostextinfo[linux1]=/serverinfo/es-eds.html;nagios.gif;nagios.gif;novell40.g d2;IntranetWare 4.11;100,50;3.5,0.0,-1.5; Compile options: ./configure --prefix=/share/nagios-remote --with-nagios-user=nagios --with-nagios-group=nagios --with-template-extinfo --with-gd-lib=/share/lib --with-gd-inc=/share/include --with-cgiurl=/nagios-remote/cgi-bin --with-htmurl=/nagios-remote Tried using templates, no good. I've also tried ./configure --prefix=/share/nagios-remote --with-nagios-user=nagios --with-nagios-group=nagios --with-gd-lib=/share/lib --with-gd-inc=/share/include --with-cgiurl=/nagios-remote/cgi-bin --with-htmurl=/nagios-remote Can someone send me a *really* basic config so that I can test to see what's wrong? I've been trying to figure this *@$@ out for weeks now, and it's really frustrating. Anyone.. please!!! Billy ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Tue Jul 1 08:55:21 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Tue, 1 Jul 2003 18:55:21 +1200 Subject: hostextinfo - What am I doing wrong!?!?! In-Reply-To: References: Message-ID: <200307010650.h616oiI11566@spectre.freeparking.co.nz> Hi Billy, Here's what I do: in cgi.cfg add: xedtemplate_config_file=/etc/nagios/hostextinfo.cfg create a file /etc/nagios/hostextinfo.cfg inside that for each host: define hostextinfo { host_name foo.bar statusmap_image cisco7206.gd2 2d_coords 250, 100 } put in the appropriate entries i.e. notes_url url icon_image image_file icon_image_alt alt_string etc inside the { brackets } after that issue a: /etc/init.d/nagios reload and ease off on the coffee :-) jamie On Tue, 01 Jul 2003 17:04, Billy wrote: > AAGGHHH!!! > > I'm tearing my hair out here guys. I just can't get this damn hostextinfo > stuff working, no matter what I try. I've even resorted to using the sample > configs (without changing them) and seeing if I can get it going. once > again. with no luck. > > Observations: > Even if the nagios processes aren't running, I can still click around the > site fine, is this right? I'll make the changes to the configs, and expect > to see them on the pages, but even without nagios running, I can still get > status info on the hosts and services. > > What's been done: > I've basically moved everything that was -sample to .cfg. The only lines > I've changed have been the user access > (authorized_for_configuration_information, authorized_for_system_commands, > etc) so that nagiosadmin can see the pages. I also commented out > dependencies.cfg. Everything else is generates from the 'make > install-config'. I've added this line to cgi.cfg. > > hostextinfo[linux1]=/serverinfo/es-eds.html;nagios.gif;nagios.gif;novell40. >g d2;IntranetWare 4.11;100,50;3.5,0.0,-1.5; > > Compile options: > ./configure --prefix=/share/nagios-remote --with-nagios-user=nagios > --with-nagios-group=nagios --with-template-extinfo --with-gd-lib=/share/lib > --with-gd-inc=/share/include --with-cgiurl=/nagios-remote/cgi-bin > --with-htmurl=/nagios-remote > > Tried using templates, no good. > I've also tried > > ./configure --prefix=/share/nagios-remote --with-nagios-user=nagios > --with-nagios-group=nagios --with-gd-lib=/share/lib > --with-gd-inc=/share/include --with-cgiurl=/nagios-remote/cgi-bin > --with-htmurl=/nagios-remote > > Can someone send me a *really* basic config so that I can test to see > what's wrong? I've been trying to figure this *@$@ out for weeks now, and > it's really frustrating. > > Anyone.. please!!! > > Billy > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aj.mckee at nmtbmedia.com Tue Jul 1 09:53:53 2003 From: aj.mckee at nmtbmedia.com (AJ McKee) Date: 01 Jul 2003 08:53:53 +0100 Subject: Nagios Double Checking with remote Nagios site for verification of errors In-Reply-To: <1057018078.3467.13.camel@laptop.nmtbmedia.dev> References: <1057018078.3467.13.camel@laptop.nmtbmedia.dev> Message-ID: <1057046032.3608.35.camel@laptop.nmtbmedia.dev> Sorry after a bit more digging I have answered my own questions I think; http://nagios.sourceforge.net/docs/1_0/distributed.html Apologies to all on the list. Aj ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Tue Jul 1 10:23:51 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Tue, 1 Jul 2003 10:23:51 +0200 Subject: check_disk syntax question Message-ID: <5539FB0922D5E544B12A031DBD255E55DCB059@rijpat-s-346.europe.shell.com> Thanks, This patch has indeed fixed check_disk, and it now checks 3tb filesystems accuratly. Cheers Stuart -----Original Message----- From: Voon, Ton [mailto:Ton.Voon at egg.com] Sent: 18 June 2003 15:12 To: Webster, Stuart SITI-ITDIUR; Nagios Users Subject: RE: [Nagios-users] check_disk syntax question My guess is that the numbers returned by df -k are v high (> 2^31 signed). This means that the integer that holds the values overflow, hence your negative results. I've just been reading up large numbers and it seems that what may need to happen is that the data types for disk_used and total_used should be floats (to allow numbers up to 3.4E+38) and the subsequent printf formats altered to reflect. I think I've seen this problem on the CVS HEAD version of check_disk too. Try this patch for check_disk.c against r1.3.0. It works on my Sun 2.6 system, but I don't have huge disk to test against! <> Let us know how you get on. Ton > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Wednesday, June 18, 2003 12:49 PM > To: Nagios Users > Subject: RE: [Nagios-users] check_disk syntax question > > Regarding the below problem, i see that all the filesystems that give the > incorrect reading with check_disk are samfs file systems!!. I guess > check_disk just cant get an accurate reading of samfs, unless anyone knows > a way??? > > help appreciated. > > Stu > > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR > Sent: 18 June 2003 09:55 > To: Karl DeBisschop > Cc: Nagios Users > Subject: RE: [Nagios-users] check_disk syntax question > > > Thanks for reply... > the plugin is > ./check_disk -V > check_disk (nagios-plugins 1.3.0) 1.7 > > and nagios is version 1.0. > and both machines are solaris 8 > > I thought it was very wierd as well, but i thought my syntax might have > been wrong. > > cheers > > Stu > > -----Original Message----- > From: Karl DeBisschop [mailto:karl at debisschop.net] > Sent: 18 June 2003 05:43 > To: Webster, Stuart SITI-ITDIUR > Cc: Nagios Users > Subject: Re: [Nagios-users] check_disk syntax question > > > On Tue, 2003-06-17 at 11:04, Webster, Stuart SITI-ITDIUR wrote: > > Hello all > > > > I am using check_disk plugin to monitor some very large file systems. > > I was monitoring using percentages, but this is pointless, because > > when you ar 99% full, you still have lots of space. > > > > so I changed to a minimum killobytes check, now i get critical > > messages for every disk i check, probably something obviously wrong > > in what im doing. > > > > Here is one of my filesystems > > #df -k > > sw017 4164728832 858727296 3306001536 21% /sw017 > > > > and here is my nrpe command > > command[check_sw017]=/nagios/libexec/check_disk -c 1000000 -w 1500000 > > -m /sw017 > > > > im trying to set it to 1.5 gb warning, and 1gb crit. > > > > but i get this error every time. > > DISK CRITICAL [-988965760 kB (79%) free on /sw017] > > > > > > is my sytax wrong???? > > What plugin version on the remote machine? > > ISTM there must be a bug, unless you've figured out how to store more > bytes on a disk than its total capacity (which I take to be the meaning > of les than 0 bytes free). > > OOTH, if you have figured out a way to create this extra capacity, when > you take out the patent please be sure you do not mention 'Unix' in the > application, otherwise SCO may assert ownership ;-) > > -- > Karl > > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven-Oliver.Kraft at Sparkassen-Informatik.de Tue Jul 1 11:12:27 2003 From: Sven-Oliver.Kraft at Sparkassen-Informatik.de (Sven-Oliver.Kraft at Sparkassen-Informatik.de) Date: Tue, 1 Jul 2003 11:12:27 +0200 Subject: OT Nagios on large networks Message-ID: Hello, I?m just searching for nagios installations with: - monitoring more than 5.000 routers (no other devices ONLY routers) - doing this with distributed monitoring - and using for all of the nagios servers a redundant failover system Mit freundlichen Gr??en Sven Oliver Kraft Netzwerkmanagement Sparkassen Informatik GmbH & Co.KG ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Tue Jul 1 11:32:04 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 1 Jul 2003 10:32:04 +0100 Subject: check_disk syntax question Message-ID: <53104E20A25CD411B556009027E50636079A9CE5@pnnemp02.pn.egg.com> Thanks for confirming the fix. Now committed in r1_3_0 and HEAD. Ton > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Tuesday, July 01, 2003 9:24 AM > To: Voon, Ton; Nagios Users > Subject: RE: [Nagios-users] check_disk syntax question > > Thanks, > > This patch has indeed fixed check_disk, and it now checks 3tb filesystems > accuratly. > > Cheers > > Stuart > > -----Original Message----- > From: Voon, Ton [mailto:Ton.Voon at egg.com] > Sent: 18 June 2003 15:12 > To: Webster, Stuart SITI-ITDIUR; Nagios Users > Subject: RE: [Nagios-users] check_disk syntax question > > > My guess is that the numbers returned by df -k are v high (> 2^31 signed). > This means that the integer that holds the values overflow, hence your > negative results. > > I've just been reading up large numbers and it seems that what may need to > happen is that the data types for disk_used and total_used should be > floats > (to allow numbers up to 3.4E+38) and the subsequent printf formats altered > to reflect. I think I've seen this problem on the CVS HEAD version of > check_disk too. > > Try this patch for check_disk.c against r1.3.0. It works on my Sun 2.6 > system, but I don't have huge disk to test against! > <> > > Let us know how you get on. > > Ton > > > -----Original Message----- > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > Sent: Wednesday, June 18, 2003 12:49 PM > > To: Nagios Users > > Subject: RE: [Nagios-users] check_disk syntax question > > > > Regarding the below problem, i see that all the filesystems that give > the > > incorrect reading with check_disk are samfs file systems!!. I guess > > check_disk just cant get an accurate reading of samfs, unless anyone > knows > > a way??? > > > > help appreciated. > > > > Stu > > > > -----Original Message----- > > From: Webster, Stuart SITI-ITDIUR > > Sent: 18 June 2003 09:55 > > To: Karl DeBisschop > > Cc: Nagios Users > > Subject: RE: [Nagios-users] check_disk syntax question > > > > > > Thanks for reply... > > the plugin is > > ./check_disk -V > > check_disk (nagios-plugins 1.3.0) 1.7 > > > > and nagios is version 1.0. > > and both machines are solaris 8 > > > > I thought it was very wierd as well, but i thought my syntax might have > > been wrong. > > > > cheers > > > > Stu > > > > -----Original Message----- > > From: Karl DeBisschop [mailto:karl at debisschop.net] > > Sent: 18 June 2003 05:43 > > To: Webster, Stuart SITI-ITDIUR > > Cc: Nagios Users > > Subject: Re: [Nagios-users] check_disk syntax question > > > > > > On Tue, 2003-06-17 at 11:04, Webster, Stuart SITI-ITDIUR wrote: > > > Hello all > > > > > > I am using check_disk plugin to monitor some very large file systems. > > > I was monitoring using percentages, but this is pointless, because > > > when you ar 99% full, you still have lots of space. > > > > > > so I changed to a minimum killobytes check, now i get critical > > > messages for every disk i check, probably something obviously wrong > > > in what im doing. > > > > > > Here is one of my filesystems > > > #df -k > > > sw017 4164728832 858727296 3306001536 21% /sw017 > > > > > > and here is my nrpe command > > > command[check_sw017]=/nagios/libexec/check_disk -c 1000000 -w 1500000 > > > -m /sw017 > > > > > > im trying to set it to 1.5 gb warning, and 1gb crit. > > > > > > but i get this error every time. > > > DISK CRITICAL [-988965760 kB (79%) free on /sw017] > > > > > > > > > is my sytax wrong???? > > > > What plugin version on the remote machine? > > > > ISTM there must be a bug, unless you've figured out how to store more > > bytes on a disk than its total capacity (which I take to be the meaning > > of les than 0 bytes free). > > > > OOTH, if you have figured out a way to create this extra capacity, when > > you take out the patent please be sure you do not mention 'Unix' in the > > application, otherwise SCO may assert ownership ;-) > > > > -- > > Karl > > > > > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Tue Jul 1 12:32:22 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 1 Jul 2003 18:32:22 +0800 Subject: event-handler Message-ID: <200307011832.34141.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I want to be able to schedule downtime automatically between 9-7am everyday, as this particular host will go down during this time. I am wondering why my event-handler is not working. If anyone can point out where did I go wrong or improve on my scripts, it will be most helpful for me! In my nagios.log shows the following and that's it: [1057051481] HOST ALERT: hostABC;DOWN;SOFT;1;PING CRITICAL - Packet loss=100% [1057051481]HOSTEVENTHANDLER:hostABC;DOWN;SOFT;1;check-handle-host-downtime-event [1057051495] HOST ALERT: hostABC;DOWN;SOFT;2;PING CRITICAL - Packet loss =100% [1057051495]HOSTEVENTHANDLER:hostABC;DOWN;SOFT;2;check-handle-host-downtime-event [1057051509] HOST ALERT: hostABC;DOWN;HARD;3;PING CRITICAL - Packet loss =100% [1057051509] HOST NOTIFICATION: admin;hostABC;DOWN;host-notify-by-email;PING\ CRITICAL - Packet loss = 100% [1057051510]HOSTEVENTHANDLERhostABC;DOWN;HARD;3;check-handle-host-downtime-event When executing the script manually : /usr/nagios/libexec/handle-host-downtime-event DOWN HARD It will put this into nagios.log: [1057052632] Warning: Unrecognized external command -> EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME; hostABC;1057052631;105708863 1;600;36000;nagios;The modem and firewall are switched from 9-7 am everyday! These are the permissions of my scripts. # ls -l /usr/nagios/libexec/handle-host-downtime-event - -rwxr-xr-x 1 nagios nagios 296 Jul1 09:29 handle-host-downtime-event # handle-host-downtime-event #!/bin/sh # Location of the event handlers eventhandlerdir="/usr/nagios/libexec/eventhandlers" # Only take action on hard host states... case "$2" in HARD) case "$1" in DOWN) # The host has been scheduled downtime! `$eventhandlerdir/enable_downtime.sh` ;; esac ;; esac exit 0 # ls -l /usr/nagios/libexec/eventhandlers/enable_downtime.sh - -rwxr-xr-x 1 nagios nagios 721 Jul 1 09:31 eventhandlers/enable_downtime.sh #!/bin/sh echocmd="/bin/echo" CommandFile="/var/nagios/rw/nagios.cmd" # get the current date/time since UNIX epoch and add till the downtime ends #(seconds). currentsecs=`date +%s` secs=`date +%s` let "secs += 36000" # get the localtime current hour currenthour=`date +%s | perl -pe 's/(\d+)/localtime($1)/e' | cut -f 5 -d " "|\ cut -f 1 -d ":"` # create the command line to add to the downtime file cmdline="[$currentsecs] EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;\ hostABC;$currentsecs;$secs;600;36000;nagios;The modem and firewall are\ switched from 9-7 am everyday!" # grab the hour to check if it is 9pm and append the commandfile if [ "$currenthour" == 09 ]; then `$echocmd $cmdline >> $CommandFile`; fi My Nagios Configuration are as follows: commands.cfg: define command{ command_name check-handle-host-downtime-event command_line $USER1$/handle-host-downtime-event $HOSTSTATE$\ $STATETYPE$ } hosts.cfg: # 'HostABC' host definition define host{ host_name hostABC alias hostABC address xxx.xxx.xxx.xxx check_command check-host-alive max_check_attempts 3 event_handler check-handle-host-downtime-event event_handler_enabled 1 notification_interval 0 notification_period 24x7 notification_options d,u,r } Nagios.cfg: check_external_commands=1 command_check_interval=-1 command_file=/var/nagios/rw/nagios.cmd log_event_handlers=1 log_external_commands=1 log_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 Thanks Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/AWM/NgvTa7Hj2AURAu7WAJ9Dot7oAa58ULcXDtGlMpgMk73vvgCffUxU mvo+gTaBxC6M5B0OPcLye2w= =6uR5 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fabio_metta at hotmail.com Tue Jul 1 14:06:50 2003 From: fabio_metta at hotmail.com (Fabio Gimenes Metta) Date: Tue, 1 Jul 2003 09:06:50 -0300 Subject: Nagios on HP UX Message-ID: Hi, I want to install the nagios in HPUX server. It?s possible ? If yes, exists some particularitity? how to make ? thanks Fabio Metta -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Tue Jul 1 15:12:58 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 1 Jul 2003 14:12:58 +0100 Subject: NRPE reporting caution---Setup problem-NOT a b ug Message-ID: <53104E20A25CD411B556009027E50636079A9CEA@pnnemp02.pn.egg.com> Larry, Thanks for this report. I think it sounds very serious - I think nrpe should return CRITICAL if the plugin is not found. I've never been very fond of a UNKNOWN status - it should either be red, yellow or green. I've done a quick test with NRPE 1.8 and if I run check_nrpe -H xxx -c check_ton with check_ton defined on the remote end pointing to a plugin that does not exist, I get the output: "NRPE: Unable to read output" with a return code of 1 - WARNING. Can you provide a bit more detail of what was being run? What was the check_nrpe command? What is the nrpe.cfg on the target box. What was the output from NRPE? Was the SCSI disk failure causing an invocation of the plugin to hang? Which version of nrpe were you using (I don't know of a v1.2.5 - I'm using v1.8, and the latest is v2.0b3)? Ton > -----Original Message----- > From: Larry Bills [SMTP:larry.bills at mci.com] > Sent: Monday, June 30, 2003 7:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE reporting caution---Setup problem-NOT a > bug > > This was with version 1.2.5 of NRPE but would appear you can bite > yourself on all versions with this, as well as using NSCA for passive > checks. > > It involved an oversight on our part that bit us hard one afternoon. I > am presenting it here to hopefully not have this happen to others. > > We do not use the U or unknown feature of notifications for our > alerting. All notifies/pages are the result of Critical, Warning or > Recovery states. > > A monitored server started acting strange, but found applications > running ok. Checking Nagios, found that it was reporting UNKNOWN on all > NRPE monitored processes on that server, yet no critical or other states > of those not using NRPE, so no alarms were sent out. > > Logging onto the Solaris server, found one of the scsi cards had failed, > you got it, the one supporting NRPE plugins on the server, while the > other partitions were fine. > > Since NRPE loads its binary with configs into memory, it was running > fine, however the plugins were not accessable due to the failure of the > partition associated with them, hence the UNKNOWN reply. > > Since we use the UNKNOWN notification for other uses, it was not > possible to alert on it for the processes running on the server, and we > did not want numerous alerts going out one for each process, so for a > quick fix, instead of changing the NRPE code..which is not at fault > here, we run a check against a NRPE check_dummy plugin and alert the > server SA and the Nagios SA, if it returns UNKNOWN ...not great but > works for a quick fix. > > Larry Bills > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From igor at aguia.cbi.cnptia.embrapa.br Tue Jul 1 16:43:51 2003 From: igor at aguia.cbi.cnptia.embrapa.br (Igor Keiti Schmidhaussler Okimoto) Date: Tue, 1 Jul 2003 11:43:51 -0300 Subject: Problem with check_hpjd Message-ID: <20030701134249.M7235@aguia.cbi.cnptia.embrapa.br> Hi, I have problem for configuration check_hpjd plugin my Hp spooler 550x work with default ports 9100, 9101 and 9102. But this plugin (check_hpjd) work with this ports 9000, 9001 and 9002. ! what I do :??? Create alias? Please Help-me and send-me email with solution !! Tks Igor -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Tue Jul 1 15:56:18 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Tue, 01 Jul 2003 10:56:18 -0300 Subject: NagiosWeb experience Message-ID: <20030701135618.23232.qmail@linuxmail.org> Hy Jason, I don't have it installed. I'm using NagMin. It's very useful and simple, like WebMin. I'm prefering to use it because some people show me that it's the best way, and you may see the activity percentage in Sourceforge.net. Trying a search with 'nagios' expression in its site you'll see. For NagMin the activity is 91,65% and Nagios Web even don't have a percentage degree. But, if I discover something or some success case, I am going to tell you. I'm monitoring 55 hosts and I am having some troubles with the alert engineering. I receive alerts in a large amount about hosts and services state (critical, warning and recovery). Maybe it happens because the network is a little bit unstable, or maybe it happens because I have to do a fine tunning in my alert system related with the reality of my network. []'s Rivanor. PS: Sorry about my english! :( ----- Original Message ----- From: "Jason Payne" Date: Mon, 30 Jun 2003 16:17:48 -0500 To: "Rivanor P. Soares" Subject: RE: [Nagios-users] NagiosWeb experience > Hey Rivanor, > Have you installed this yet? > I'm monitoring 140 hosts and have some custom event handlers and check > scripts and am worried about it interfering with some of these. Any > experience you've had with it would be appreciated. If I find any info on > it i'll let you know. > -weezle > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rivanor P. > Soares > Sent: Monday, June 30, 2003 10:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NagiosWeb experience > > > Did anyone have some experience with NagiosWeb [1] ? > I search the list, but found just 3 messages not substantial. > It seems to be a good way to large configurations (services, hosts...). > > [1] - http://sourceforge.net/projects/nagiosweb > > Thanks in advance, > -- > Rivanor P. Soares [w3b_kn0ws] > LPIC-1, CCNA > Sao Paulo - SP > Brazil > > -- > ______________________________________________ > http://www.linuxmail.org/ > Now with e-mail forwarding for only US$5.95/yr > > Powered by Outblaze > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Jul 1 16:04:48 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 1 Jul 2003 10:04:48 -0400 (EDT) Subject: Problem with check_hpjd In-Reply-To: <20030701134249.M7235@aguia.cbi.cnptia.embrapa.br> References: <20030701134249.M7235@aguia.cbi.cnptia.embrapa.br> Message-ID: On Tue, 1 Jul 2003, Igor Keiti Schmidhaussler Okimoto wrote: > Hi, I have problem for configuration check_hpjd plugin my Hp spooler 550x work > with default ports 9100, 9101 and 9102. > > But this plugin (check_hpjd) work with this ports 9000, 9001 and 9002. ! what > I do :??? Create alias? > Please Help-me and send-me email with solution !! > check_hpjd uses snmp to talk to the JetDirect card to get a status. It does not check the functionality of the raw ports or spoolers. -- -sg ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Tue Jul 1 16:30:50 2003 From: jmartens at cityofevanston.org (Jason Martens) Date: 01 Jul 2003 09:30:50 -0500 Subject: Nagios on HP UX In-Reply-To: References: Message-ID: <1057069850.4268.1.camel@localhost.localdomain> > Hi, I want to install the nagios in HPUX server. It?s possible ? I don't see any reason that this isn't possible. However, I have had difficulty compiling utilities like nrpe on HP-UX, so you will probably have to work through some compiler issues before you can get it to work. Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From andreas.piesk at voeb-zvd.de Tue Jul 1 16:49:43 2003 From: andreas.piesk at voeb-zvd.de (Andreas Piesk) Date: 01 Jul 2003 16:49:43 +0200 Subject: problem with process_perf_data Message-ID: <1057070983.23919.89.camel@zvd_92.voeb-zvd.de> hiho, i cannot understand the way 'process_perf_data' works. i can set 'process_perf_data' in nagios.cfg, in host definitions and service definitions. in what order will the option be processed? supersedes the option in nagios.cgi the definition in hosts or overrides the definition in hosts the one in services? what i'm trying to do is: i only want the performance data of some services being processed, not the hosts, not all services. but it doesn't work. the process_perf_data in services- and host-configs are ignored. and the option in nagios.cfg switches the processing on and off, but for all hosts and all services. maybe what i'm trying isn't possible. can anyone shed some light? -ap -- Andreas Piesk Systemadministration E-/M-Commerce -------------------------------------------------------------- V?B-ZVD Bank f?r Zahlungsverkehrsdienstleistungen GmbH Godesberger Allee 88 53175 Bonn Tel.: +49 (0) 228 9377-535 Fax: +49 (0) 228 9377-596 E-Mail: andreas.piesk at voeb-zvd.de Internet: http://www.voeb-zvd.de ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dcollins at lc7.net Tue Jul 1 16:57:30 2003 From: dcollins at lc7.net (Dennis M. Collins) Date: Tue, 1 Jul 2003 10:57:30 -0400 Subject: Icons Message-ID: Greetings, I have read, reread and rereread the instructions. I have searched the newgroups and listserves. To no avail...I am unable to properly config the icons for NAGIOS. Hopefully, someone can enlighten me regarding the following: I gunzipped and untarred the imagepak-base.tar.gz and placed the images into /usr/local/nagios/share/images/logos. I placed the following line in the /usr/local/nagios/etc/cgi.cfg file : xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg I then created the /usr/local/nagios/etc/hostextinfo.cfg file and placed the following entry into it: define hostextinfo{ host_name SCORPIUS icon_image sunlogo.png } Restarting nagios /etc/init.d/nagios reload produces the following message: Error: Invalid object definition type 'hostextinfo' in file '/usr/local/nagios/etc/hostextinfo.cfg' on line 1. I'm stumped and the documentation is a bit thin here...Anybody? Thanks. Dennis Collins ------------------------------------------------------------ This email, and any included attachments, have been checked by Norton AntiVirus Corporate Edition (Version 8.0), AVG Server Edition 6.0, and Merak Email Server Integrated Antivirus (Alwil Software's aVast! engine) and is certified Virus Free. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Jul 1 18:03:31 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 1 Jul 2003 11:03:31 -0500 Subject: distributed monitoring - same named hosts? Message-ID: I found the RFC, in case anyone's interested: http://www.faqs.org/rfcs/rfc1178.html jc > -----Original Message----- > From: Carroll, Jim P [Contractor] > Sent: Monday, June 30, 2003 11:39 AM > To: Marc Powell; walk2137 at bellsouth.net; > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] distributed monitoring - same named hosts? > > > That's one way of doing it. Another way would be to set up > different DNS zones. Same hostname, different subdomain. > Although I must admit that naming a host based on a primary > function isn't always ideal. Better off with hostnames > which are more loosely coupled. Themes work well, like > Disney character names, or Star Trek character names, or > Simpsons character names... you get the idea. > > Somewhere there's an RFC which gives recommendations for > naming hosts. > > jc > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Sunday, June 29, 2003 1:47 PM > To: walk2137 at bellsouth.net; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] distributed monitoring - same named hosts? > > > I would suggest coming up with a standard naming convention > that incorporates location. > > Mail-bna, mail-sfo (airport codes) > Mail-nash, mail-sanf (first 4 of city) > > We mostly monitor routers in schools and use the following -- > > Mcgavock-hs.davidson.tn > > That can easily be enhacned by prepending with a device type > > Mail.mcgavock-hs.davidson.tn > > > -- > Marc > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > > -----Original Message----- > From: Martin C. Walker > To: nagios-users at lists.sourceforge.net > > Sent: Sun Jun 29 13:23:59 2003 > Subject: [Nagios-users] distributed monitoring - same named hosts? > > How do you deal with same named hosts in a distributed monitoring > environment? > > e.g. suppose I have a local nagios "sensor" at each of > several different > remote sales offices. they use nsca to send the data back to the > central server. Each office has a server called "mail". What are the > various methods y'all are using to manage this situation and avoid > confusion. > > Is there a $MACRO$ that identifies the nagios host the > service check was > executed FROM? > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 > 1203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 > 1203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Tue Jul 1 19:30:09 2003 From: rob at capband.net (Rob Nelson) Date: Tue, 01 Jul 2003 13:30:09 -0400 Subject: NagiosWeb experience In-Reply-To: <20030701135618.23232.qmail@linuxmail.org> References: <20030701135618.23232.qmail@linuxmail.org> Message-ID: <5.2.1.1.0.20030701132936.01d8ae08@mail.capband.net> At 10:56 AM 7/1/2003 -0300, Rivanor P. Soares wrote: >Hy Jason, > >I don't have it installed. I'm using NagMin. It's very useful and simple, >like WebMin. >I'm prefering to use it because some people show me that it's the best >way, and you may see the activity percentage in Sourceforge.net. Trying a >search with 'nagios' expression in its site you'll see. For NagMin the >activity is 91,65% and Nagios Web even don't have a percentage degree. I'm interested in NagMin, but as far as I know it requires MySQL. Anyone modified it to work with postgreSQL? Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From walk2137 at bellsouth.net Tue Jul 1 19:47:16 2003 From: walk2137 at bellsouth.net (Martin C. Walker) Date: Tue, 01 Jul 2003 13:47:16 -0400 Subject: Snort/ACID alerts for Nagios Message-ID: <3F01C924.2020401@bellsouth.net> Thanks Ted I was actually looking for something a little more complex that "yes I got an alert/no I didn't". What I was thinking of was a SQL query or script with a couple of queries that returns an OK, WARN, or CRIT based on some params like -alert classification -time since alert -number of alerts in last check period -"weighting" of sensor (e.g. an external sensor should never give a critical alert but a sensor on a DMZ or internal might be critical for same alert) What data is in the SNMP trap from Snort and how can I process it in Nagios? thanks > Snort alerts via SNMP Traps ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From walk2137 at bellsouth.net Tue Jul 1 19:38:22 2003 From: walk2137 at bellsouth.net (Martin C. Walker) Date: Tue, 01 Jul 2003 13:38:22 -0400 Subject: processing performance data - input, corrections solicited Message-ID: <3F01C70E.10209@bellsouth.net> Thanks Ted. Well perhaps I misunderstood the documentation. It looks like the performance processing stuff must be done on the machine that executes the checks. Is this NOT true? I did in fact try performance processing on the remote sensor machines (--with-default-perfdata) on the remote machines that actually do the tests. I had a few problems: - it appears that most plugins don't output performance data (this is referenced in the docs too) - even though my default template for services had process_perf_data set to 0 and only those services I wanted data for had it explicitly set to 1 I got an entry in the file for each check executed Given that I need to pull the data from the output rather than the performance data, and that I need to filter for only the lines I'm interested in, I see no value in using perfdata over the nagios.log. did I do something wrong? what am I missing? > Maybe I didn't understand some part, but why can't you run a Process > Performance Data command on the central server? > > The perfdata command (on the central server) would parse any information you > want (available via macros) and put them into the RRDs. Or, if you're using > the file-based method, you can run the rrd-update script from cron, which > parses the central server's perf-data-file every so often (again, use the > macros to pass any information you need to the command). > > > "Martin C. Walker" wrote in message > news:3EFF60D4.5070203 at bellsouth.net... > > I am trying to process performance data to generate rrd's which I can > > then use with APAN, Cacti and some other stuff. > > > > I am in a distributed monitoring environment. Remote nagios boxen > > execute service checks against their various local machines and send the > > results back to the central host via nsca over stunnel. central box > > cannot check remote hosts and services. it is passive only. > > > > Now I want to generate rrd's which have to live on the central host (not > > each individual machine). I do not want to execute each check more than > > once (ie NOT once for nagios and once for performance data) and I do not > > want to repetitively copy rrd's from the remote boxen to the central > > host. that means that the data used to create the rrd's comes from the > > service check output. > > > > it doesn't look like there is any benefit to using nagios > > process_perf_data as that only gives me a line of text data on the > > sensor box which I still have to parse and send to the central box for > > processing into rrdtool. It looks like I can get everything I need from > > nagios.log entries on the central box. that includes the timestamp, > > host, service, results output. > > > > so, what I plan on doing is writing a daemon (perl probably) that reads > > input lines from nagios.log and matches them against a configuration > > file to see if they are of interest (obviously I'm not graphing every > > service check). if the result is to be graphed I then pull out the > > interesting data and do an rrdupdate with it. > > > > its the pulling out of interesting data that has me stumped. I was > > planning on a configuration file that had entries of the form > > > > SENSOR_NAME;HOST_NAME;SERVICE_NAME;DSN1:expr1;[DSN2:expr2;...DSNn:exprn;] > > > > my daemon would match host_name and service_name entries in the > > nagios.log file and update the rrdfile in > > /usr/local/rra/$SENSOR_NAME/$HOST_NAME/$SERVICE_NAME.rrd > > > > using -template and the DSN names defined in the configuration file. > > The expression associated with each DSN in the configuration file is the > > string manipulation code to apply to the output string in the nagios.log > > to pluck out the data that goes into the rrd file. > > > > So, my questions, before I (attempt to) write all this: > > 1. is this the way to go or am I missing something? > > 2. if it is the way to go, has someone already written it? > > 3. if not, can anyone give me some pointers on what to use and how to > > write the expr bits? > > > > I am planning on using perl since it is supposed to have good string > > manipulation and has rrdtool bindings. Learning Perl will be part of > > this effort since I havn't done much more than print "Hello World\n" > > with it. Is Perl the best choice for this? > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Tue Jul 1 20:09:41 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Tue, 1 Jul 2003 13:09:41 -0500 Subject: Snort/ACID alerts for Nagios In-Reply-To: <3F01C924.2020401@bellsouth.net> References: <3F01C924.2020401@bellsouth.net> Message-ID: <40723.2472011403$1057085553@news.gmane.org> This is the type of task I would suggest using a log file monitor like LogSentry or Logmuncher to alert you with. I find Nagios/Netsaint better at performing boolean status monitoring, while context sensitive things like snmp traps, acid, logs, etc should be handled by other tools. There's no reason you couldn't have Logmuncher feed Nagios data from a passive check if you want to go that route. Russell On Tue, Jul 01, 2003 at 01:47:16PM -0400, Martin C. Walker wrote: > Thanks Ted > > I was actually looking for something a little more complex that "yes I > got an alert/no I didn't". What I was thinking of was a SQL query > or script with a couple of queries that returns an OK, WARN, or CRIT > based on some params like > -alert classification > -time since alert > -number of alerts in last check period > -"weighting" of sensor (e.g. an external sensor should never give a > critical alert but a sensor on a DMZ or internal might be critical for > same alert) > > What data is in the SNMP trap from Snort and how can I process it in Nagios? > > thanks > > > Snort alerts via SNMP Traps > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fabio_metta at hotmail.com Tue Jul 1 20:41:36 2003 From: fabio_metta at hotmail.com (Fabio Gimenes Metta) Date: Tue, 1 Jul 2003 15:41:36 -0300 Subject: Nagios on HP UX References: <1057069850.4268.1.camel@localhost.localdomain> Message-ID: The nagios instalation require dependencies ? ----- Original Message ----- From: Jason Martens To: nagios-users at lists.sourceforge.net Sent: Tuesday, July 01, 2003 11:30 AM Subject: Re: [Nagios-users] Nagios on HP UX Hi, I want to install the nagios in HPUX server. It?s possible ? I don't see any reason that this isn't possible. However, I have had difficulty compiling utilities like nrpe on HP-UX, so you will probably have to work through some compiler issues before you can get it to work. Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From Phu at uui.com Tue Jul 1 20:32:26 2003 From: Phu at uui.com (Phu Nguyen) Date: Tue, 1 Jul 2003 11:32:26 -0700 Subject: status map, trends, alert histogram not working. Message-ID: <000001c33fff$1fca7c40$140a0a0a@phu> Hi all, Can some one help me on this? I install Nagios 1.1 on SUSE 7.0, it work find after install. But status map, trends, and alert histogram link don't work at all. It's returned error: ++++++++++++++++++++++++++++++++++++++++++++++++++ Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, you at your.address 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. +++++++++++++++++++++++++++++++++++++++++++++++++++++ The files statusmap.cgi, trends.cgi, and histogram.cgi do exit on /usr/local/nagios/sbin after I compile nagios. I have the following package install: Freetype-2.1.4 Gd-2.0.12 Libpng-1.2.5 Nrpe-1.8 Xpm-3.4 Zlib-1.1.4 Httpd-2.0.46 Nagios-1.1 Thank you in advance for any help, Phu Nguyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Jul 1 22:24:12 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 1 Jul 2003 15:24:12 -0500 Subject: status map, trends, alert histogram not working. Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7988@mismail.ena.com> What is the error in your http error log? It should be very specific as to the problem. -- Marc ________________________________________ From: Phu Nguyen [mailto:Phu at uui.com] Sent: Tuesday, July 01, 2003 1:32 PM To: nagios-users at lists.sourceforge.net Hi all, ? Can some one help me on this? I install Nagios 1.1 on SUSE 7.0, it work find after install. But status map, trends, and alert histogram link don't work at all. It's returned error: ? ++++++++++++++++++++++++++++++++++++++++++++++++++ Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, you at your.address 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. +++++++++++++++++++++++++++++++++++++++++++++++++++++ ? The files statusmap.cgi, trends.cgi, and histogram.cgi do exit on /usr/local/nagios/sbin after I compile nagios. I have the following package install: ??????????? Freetype-2.1.4 ??????????? Gd-2.0.12 ??????????? Libpng-1.2.5 ??????????? Nrpe-1.8 ??????????? Xpm-3.4 ??????????? Zlib-1.1.4 ??????????? Httpd-2.0.46 ??????????? Nagios-1.1 ? Thank you in advance for any help, Phu Nguyen. ? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Phu at uui.com Tue Jul 1 22:29:18 2003 From: Phu at uui.com (Phu Nguyen) Date: Tue, 1 Jul 2003 13:29:18 -0700 Subject: status map, trends, alert histogram not working. In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E7988@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E7988@mismail.ena.com> Message-ID: <000201c3400f$73080b60$140a0a0a@phu> Thanks for your respond, it turns out the reboot after installation is solving every things (I did not reboot the node after install all packages). It works now. Thank you for your effort Marc, Phu Nguyen. > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Tuesday, July 01, 2003 1:24 PM > To: Phu Nguyen; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] status map, trends, alert histogram not > working. > > What is the error in your http error log? It should be very specific as to > the problem. > > -- > Marc > > ________________________________________ > From: Phu Nguyen [mailto:Phu at uui.com] > Sent: Tuesday, July 01, 2003 1:32 PM > To: nagios-users at lists.sourceforge.net > > Hi all, > > Can some one help me on this? I install Nagios 1.1 on SUSE 7.0, it work > find after install. But status map, trends, and alert histogram link don't > work at all. It's returned error: > > ++++++++++++++++++++++++++++++++++++++++++++++++++ > Internal Server Error > The server encountered an internal error or misconfiguration and was > unable to complete your request. > Please contact the server administrator, you at your.address 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. > +++++++++++++++++++++++++++++++++++++++++++++++++++++ > > The files statusmap.cgi, trends.cgi, and histogram.cgi do exit on > /usr/local/nagios/sbin after I compile nagios. > I have the following package install: > ??????????? Freetype-2.1.4 > ??????????? Gd-2.0.12 > ??????????? Libpng-1.2.5 > ??????????? Nrpe-1.8 > ??????????? Xpm-3.4 > ??????????? Zlib-1.1.4 > ??????????? Httpd-2.0.46 > ??????????? Nagios-1.1 > > Thank you in advance for any help, > Phu Nguyen. > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at neitzert.com Tue Jul 1 19:16:10 2003 From: chris at neitzert.com (christopher neitzert) Date: 01 Jul 2003 13:16:10 -0400 Subject: Icons In-Reply-To: References: Message-ID: <1057079770.1608.57.camel@localhost> Dennis, it could be that you have some white space or a control char at the head of your file that is causing it to give you that error. FWIW, here is a sample from a working hostextinfo.cfg that I have running: define hostextinfo{ host_name gw #notes_url hostinfo.pl?host=gw icon_image my_router.png icon_image_alt gw.neitzert.lan vrml_image my_router.png statusmap_image myrouter.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } hope that helps. chris On Tue, 2003-07-01 at 10:57, Dennis M. Collins wrote: > Greetings, > > I have read, reread and rereread the instructions. I have searched the > newgroups and listserves. To no avail...I am unable to properly config the > icons for NAGIOS. Hopefully, someone can enlighten me regarding the > following: > > I gunzipped and untarred the imagepak-base.tar.gz and placed the images > into /usr/local/nagios/share/images/logos. > > I placed the following line in the /usr/local/nagios/etc/cgi.cfg file : > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > > I then created the /usr/local/nagios/etc/hostextinfo.cfg file and placed the > following entry into it: > > define hostextinfo{ > host_name SCORPIUS > icon_image sunlogo.png > } > > Restarting nagios /etc/init.d/nagios reload produces the following message: > > Error: Invalid object definition type 'hostextinfo' in file > '/usr/local/nagios/etc/hostextinfo.cfg' on line 1. > > I'm stumped and the documentation is a bit thin here...Anybody? > > Thanks. > > Dennis Collins > > ------------------------------------------------------------ > > This email, and any included attachments, have been checked > by Norton AntiVirus Corporate Edition (Version 8.0), AVG > Server Edition 6.0, and Merak Email Server Integrated > Antivirus (Alwil Software's aVast! engine) and is certified > Virus Free. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Christopher Neitzert http://www.neitzert.com/~chris 775.853.5314 - chris at neitzert.com - pgp key on request -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From omiller at wirelessfrontier.net Wed Jul 2 00:45:07 2003 From: omiller at wirelessfrontier.net (Oriz L. Miller) Date: Tue, 1 Jul 2003 17:45:07 -0500 Subject: NRPE SSL Error Message-ID: <017f01c34022$6d49ba80$1c08010a@odesk> any thoughts on why I am getting this error message? Thanks in advance. ----- Original Message ----- From: "Nagios Network Monitor" To: Sent: Tuesday, July 01, 2003 4:55 PM Subject: ** PROBLEM alert - campari/NRPE-Load is CRITICAL ** > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: NRPE-Load > Host: campari > Address: 10.1.1.1 > State: CRITICAL > > Date/Time: Tue Jul 1 16:55:01 CDT 2003 > > Additional Info: > > CHECK_NRPE: Error - Could not complete SSL handshake. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at nagios.org Wed Jul 2 01:13:42 2003 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 01 Jul 2003 18:13:42 -0500 Subject: SEGV in cmd_process_service_check_result (base/commands.c) In-Reply-To: References: Message-ID: <3F01CF56.30692.364C8A@localhost> Thanks for the report - I'll get this into CVS tonight. If you notice other problems, let me know. I'm cleaning up the external command code in 2.0 to reduce duplication where possible. On 30 Jun 2003 at 18:49, Mooney, Ryan wrote: > I'm seeing this in a nagios 1.0 deployment, but its still appears to be in the CVS version. > > Basically the problem happens when an external PROCESS_SERVICE_CHECK_RESULT comes in > formatted like: > [1056956399] PROCESS_SERVICE_CHECK_RESULT; > Yes this is an error (one of my external check scripts barfs every so often). However it shouldn't crash nagios... > > The problem is that > /* get the host name */ > temp_ptr=my_strtok(args,";"); > returns a null and then when you try to do the > if(!strcmp(temp_ptr,temp_host->address)){ > a few lines later bam strcmp((char *)0, something_else) == instant SEGV. > > The obvious solution is to put a test in for strlen of args, but looking around I see a couple > other places where this could conceivably happen, so the question is - is it better to fix each > of them individually in thier own functions, or just stuff some code in up higher that checks > the args is mostly ok (or at least exists) for the vulnerable types (types that have args) (maybe > in process_external_command() or check_for_external_commands()). Or maybe there is a better > way to handle the problem altogether. > > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Wed Jul 2 01:15:25 2003 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 01 Jul 2003 18:15:25 -0500 Subject: NRPE SSL Error In-Reply-To: <017f01c34022$6d49ba80$1c08010a@odesk> References: <017f01c34022$6d49ba80$1c08010a@odesk> Message-ID: <3F01CFBD.22200.37DD7A@localhost> Make sure the NRPE daemon is the same version as the client and has been compiled with SSL support. On 1 Jul 2003 at 17:45, Oriz L. Miller wrote: > > any thoughts on why I am getting this error message? > Thanks in advance. > > > ----- Original Message ----- > From: "Nagios Network Monitor" To: > Sent: Tuesday, July 01, 2003 4:55 PM > Subject: ** PROBLEM alert - campari/NRPE-Load is CRITICAL ** > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: NRPE-Load > > Host: campari > > Address: 10.1.1.1 > > State: CRITICAL > > > > Date/Time: Tue Jul 1 16:55:01 CDT 2003 > > > > Additional Info: > > > > CHECK_NRPE: Error - Could not complete SSL handshake. > > > > > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From onyi at firstlink.com Wed Jul 2 01:33:39 2003 From: onyi at firstlink.com (Onyi Ejiasa) Date: Tue, 1 Jul 2003 17:33:39 -0600 Subject: *** GD, PNG, and/or JPEG libraries could not be located... ********* Message-ID: <6633DBDE6F5ED64D9D6AF3264AEE891467C9CC@shrex.asp.firstlink.com> Hello, When compiling nagios 1.1 with... "./configure --enable-embedded-perl --with-perlcache --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include" I get this error... checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* And thus no GD support. Any Ideas? I have checked that all header and libraries are present but I seem to be missing something... Here are my directories... bash-2.05b# ls /usr/local/include/ gd.h gdfontg.h gdfonts.h jconfig.h jpeglib.h libpng png.h zlib.h gd_io.h gdfontl.h gdfontt.h jerror.h libcharset.h mysql pngconf.h gdcache.h gdfontmb.h iconv.h jmorecfg.h libintl.h php zconf.h bash-2.05b# ls /usr/local/lib charset.alias libgd.la libintl.a libjpeg.so.62.0 libz.a libcharset.a libgd.so.2.0 libintl.la libmysqlclient.so.10.0 mysql libcharset.la libiconv.a libintl.so.1.1 libpng.a php libcharset.so.1.0 libiconv.la libjpeg.a libpng.a-0 libgd.a libiconv.so.3.0 libjpeg.la libpng.so.0.1.2.5 ---------------------------------------- Onyi C. Ejiasa - NWT, NCW, NCLA First Link Technology, Inc. 4260 East Evans Avenue, Denver, CO 80222 ---------------------------------------- PH 303.691.8200 | FAX 303.691.8208 ---------------------------------------- onyi at firstlink.com | www.firstlink.com ---------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at billyshouse.com Wed Jul 2 02:30:26 2003 From: nagios at billyshouse.com (Billy) Date: Wed, 2 Jul 2003 10:30:26 +1000 Subject: hostextinfo - What am I doing wrong!?!?! In-Reply-To: <200307010650.h616oiI11566@spectre.freeparking.co.nz> References: <200307010650.h616oiI11566@spectre.freeparking.co.nz> Message-ID: Hi Jamie, Ok, I've started drinking tea, done what you said below (to the letter, but changed the host_name), but it still doesn't work.... Is there any debugging that I can turn on to verify that it's even reading this file? Reason I ask, here's the modified hostextinfo.cfg file... this is annoying define hostextinfo { host_name linux1 statusmap_image cisco7206.gd2 2d_coords 250, 100 } Yes, that's right, the top of the file contains the phrase "this is annoying" It doesn't crash out on a restart, which leads me to believe it's not even reading in the file. I recompiled it with the --with-template-extinfo in the ./configure. Is there anyone that's got hostextinfo working on FreeBSD? I'm running 4.6.2-RELEASE. Billy -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jamie Baddeley Sent: Tuesday, 1 July 2003 4:55 PM To: Billy; nagios-users at lists.sourceforge.net Hi Billy, Here's what I do: in cgi.cfg add: xedtemplate_config_file=/etc/nagios/hostextinfo.cfg create a file /etc/nagios/hostextinfo.cfg inside that for each host: define hostextinfo { host_name foo.bar statusmap_image cisco7206.gd2 2d_coords 250, 100 } put in the appropriate entries i.e. notes_url url icon_image image_file icon_image_alt alt_string etc inside the { brackets } after that issue a: /etc/init.d/nagios reload and ease off on the coffee :-) jamie On Tue, 01 Jul 2003 17:04, Billy wrote: > AAGGHHH!!! > > I'm tearing my hair out here guys. I just can't get this damn hostextinfo > stuff working, no matter what I try. I've even resorted to using the sample > configs (without changing them) and seeing if I can get it going. once > again. with no luck. > > Observations: > Even if the nagios processes aren't running, I can still click around the > site fine, is this right? I'll make the changes to the configs, and expect > to see them on the pages, but even without nagios running, I can still get > status info on the hosts and services. > > What's been done: > I've basically moved everything that was -sample to .cfg. The only lines > I've changed have been the user access > (authorized_for_configuration_information, authorized_for_system_commands, > etc) so that nagiosadmin can see the pages. I also commented out > dependencies.cfg. Everything else is generates from the 'make > install-config'. I've added this line to cgi.cfg. > > hostextinfo[linux1]=/serverinfo/es-eds.html;nagios.gif;nagios.gif;novell40. >g d2;IntranetWare 4.11;100,50;3.5,0.0,-1.5; > > Compile options: > ./configure --prefix=/share/nagios-remote --with-nagios-user=nagios > --with-nagios-group=nagios --with-template-extinfo --with-gd-lib=/share/lib > --with-gd-inc=/share/include --with-cgiurl=/nagios-remote/cgi-bin > --with-htmurl=/nagios-remote > > Tried using templates, no good. > I've also tried > > ./configure --prefix=/share/nagios-remote --with-nagios-user=nagios > --with-nagios-group=nagios --with-gd-lib=/share/lib > --with-gd-inc=/share/include --with-cgiurl=/nagios-remote/cgi-bin > --with-htmurl=/nagios-remote > > Can someone send me a *really* basic config so that I can test to see > what's wrong? I've been trying to figure this *@$@ out for weeks now, and > it's really frustrating. > > Anyone.. please!!! > > Billy > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JFountain at rbinc.com Wed Jul 2 02:53:23 2003 From: JFountain at rbinc.com (Jennifer Fountain) Date: Tue, 1 Jul 2003 20:53:23 -0400 Subject: Progress Database Message-ID: <4986B9AA97C37D4D91E554CA8D84415B0200314E@rbnt1.rb.net> Does anyone have a module or plugin that will monitor a progress database on hp-ux? I need to monitor database response time and overall performance. Thanks Jenn ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffd at unistudios.com Wed Jul 2 04:26:10 2003 From: jeffd at unistudios.com (DiNisco, Jeff) Date: Tue, 1 Jul 2003 19:26:10 -0700 Subject: contact options Message-ID: <95C9664AA1B83E4EAB1C08A66415482E016CE8ED@usush2kex04> The documentation states the email and pager options are optional when defining a contact yet I get this error message when I omit either option... Reading configuration data... Error: Contact name, alias, or email address and pager number are NULL Error: Could not register contact (config file '/usr/local/nagios/etc/contacts.cfg', line 19) I need to have a generic user just for web access. I also don't have a pager. If I use a bad address my mail q fills up with failed messages. Any ideas??? thanx, jeff ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Jul 2 08:22:12 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 02 Jul 2003 08:22:12 +0200 Subject: contact options References: <95C9664AA1B83E4EAB1C08A66415482E016CE8ED@usush2kex04> Message-ID: <3F027A14.8010607@datavis.se> Use the notification_period or notification_optins to supress notifications; define contact { name web-contact alias Web-user service_notification_period none host_notification_period none service_notification_options n host_notification_options n service_notification_commands notify-by-email host_notification_commands host-notify-by-email email foo at foo.com register 0 } define timeperiod { timeperiod_name none alias No Time Is A Good Time } /FredrikW DiNisco, Jeff wrote: >The documentation states the email and pager options are optional when defining a contact yet I get this error message when I omit either option... > >Reading configuration data... >Error: Contact name, alias, or email address and pager number are NULL >Error: Could not register contact (config file '/usr/local/nagios/etc/contacts.cfg', line 19) > >I need to have a generic user just for web access. I also don't have a pager. If I use a bad address my mail q fills up with failed messages. Any ideas??? > >thanx, jeff > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Jul 2 09:00:24 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 2 Jul 2003 00:00:24 -0700 Subject: *** GD, PNG, and/or JPEG libraries could not be located... ********* References: <6633DBDE6F5ED64D9D6AF3264AEE891467C9CC@shrex.asp.firstlink.com> Message-ID: You didn't mention the OS you're using, but for me on RedHat, I had to install the jpeg-devel and png-devel packages, as well as a newer zlib before I finally got a working GD. I'm using the old version (pre2.0) GD, which seems to do everything Nagios needs it to. "Onyi Ejiasa" wrote in message news:6633DBDE6F5ED64D9D6AF3264AEE891467C9CC at shrex.asp.firstlink.com... Hello, When compiling nagios 1.1 with... "./configure --enable-embedded-perl --with-perlcache --with-gd-lib=/usr/loca l/lib --with-gd-inc=/usr/local/include" I get this error... checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* And thus no GD support. Any Ideas? I have checked that all header and libraries are present but I seem to be missing something... Here are my directories... bash-2.05b# ls /usr/local/include/ gd.h gdfontg.h gdfonts.h jconfig.h jpeglib.h libpng png.h zlib.h gd_io.h gdfontl.h gdfontt.h jerror.h libcharset.h mysql pngconf.h gdcache.h gdfontmb.h iconv.h jmorecfg.h libintl.h php zconf.h bash-2.05b# ls /usr/local/lib charset.alias libgd.la libintl.a libjpeg.so.62.0 libz.a libcharset.a libgd.so.2.0 libintl.la libmysqlclient.so.10.0 mysql libcharset.la libiconv.a libintl.so.1.1 libpng.a php libcharset.so.1.0 libiconv.la libjpeg.a libpng.a-0 libgd.a libiconv.so.3.0 libjpeg.la libpng.so.0.1.2.5 ---------------------------------------- Onyi C. Ejiasa - NWT, NCW, NCLA First Link Technology, Inc. 4260 East Evans Avenue, Denver, CO 80222 ---------------------------------------- PH 303.691.8200 | FAX 303.691.8208 ---------------------------------------- onyi at firstlink.com | www.firstlink.com ---------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Wed Jul 2 15:13:22 2003 From: td3201 at yahoo.com (Terry) Date: Wed, 2 Jul 2003 06:13:22 -0700 (PDT) Subject: nagios downtime - availability In-Reply-To: <20030630194732.75291.qmail@web80512.mail.yahoo.com> References: <20030630194732.75291.qmail@web80512.mail.yahoo.com> Message-ID: <20030702131322.38340.qmail@web80508.mail.yahoo.com> Hello, I never received a response on this. Should this go to a different list? Thanks! --- Terry wrote: > Is there a way to tell nagios that it is down and to > not include that time period in the availability cgi > ? > Or a way to tell nagios that it was down during a > time period to help get rid of the undetermined > times? > > ===== > Terry > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built > ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are > available now. > Download today and enter to win an XBOX or Visual > Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ira at mse.ufl.edu Wed Jul 2 15:20:04 2003 From: ira at mse.ufl.edu (Ira Harkness) Date: Wed, 2 Jul 2003 09:20:04 -0400 Subject: Creating own check commands Message-ID: I am using the check_nwstat program to check for free space on volumes on the netware server. Each server has different volume names except for one in common, "sys." I created the following to check freespace on sys # 'check_freespace sys' command definition define command{ command_name check_freesys command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v VKFsys ZERO } Works fine and I can use a few define services to get to all the netware servers to check "sys." Now I want to check other volumes but I don't want to have to create a seperate command for each volume. I noticed in some of the other check commands there is a variable called $ARG1$ Where do I reference this variable. Obviously $HOSTADDRESS$ gets the value of "host_name" when I set that up in services.cfg. How do I give $ARG1$ a value when I set up something in services.cfg Is the following how I would do it? I need to know what else to put in services.cfg to make it where $ARG1$ can be the volume I want to check. Also is the format for checkcommands correct? #services.cfg line# host_name box.address.com #checkcommands.cfg# $USER1$/check_nwstat -H $HOSTADDRESS$ -v VKF$ARG1$ ZERO Thank you so much for your help. If you need clarification please feel free to message me on AIM - xCrytikalx ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Jul 2 15:34:04 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 2 Jul 2003 08:34:04 -0500 Subject: nagios downtime - availability Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E798D@mismail.ena.com> There is no built-in way to do what you want. It is probably safe to presume that the undetermined times will almost always be nagios outages and manually do the math. -- Marc > -----Original Message----- > From: Terry [mailto:td3201 at yahoo.com] > Sent: Wednesday, July 02, 2003 8:13 AM > To: nagios-users at lists.sourceforge.net > > Hello, > I never received a response on this. Should this go > to a different list? Thanks! > > > > --- Terry wrote: > > Is there a way to tell nagios that it is down and to > > not include that time period in the availability cgi > > ? > > Or a way to tell nagios that it was down during a > > time period to help get rid of the undetermined > > times? > > > > ===== > > Terry > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built > > ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are > > available now. > > Download today and enter to win an XBOX or Visual > > Studio .NET. > > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being > > sent to /dev/null > > > ===== > Terry > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.harrison at amcg.com Wed Jul 2 15:39:32 2003 From: james.harrison at amcg.com (James Harrison) Date: 02 Jul 2003 08:39:32 -0500 Subject: Nagios Statd and HP-UX Message-ID: <1057153172.1779.12.camel@localhost.localdomain> Users, I am attempting to use the nagios-statd/nagios-stat tools to monitor an a brand new HP box.(I am currently using these tools[older Perl versions] to monitor Solaris and RH without any problems). However, on the HP box, when attempting to look at load,user, and proc I get an error of "Server returned unusual data". I have had my HP guy look at the commands in nagios-statd and they all run correctly when run by hand. Anyone know how I might troubleshoot this? I'd love to avoid SNMP if possible. I don't speak Python. Thanks -- James Harrison RHCE, CCNA ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Jul 2 16:10:11 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 2 Jul 2003 10:10:11 -0400 (EDT) Subject: Creating own check commands In-Reply-To: References: Message-ID: On Wed, 2 Jul 2003, Ira Harkness wrote: > I am using the check_nwstat program to check for free space on volumes on > the netware server. Each server has different volume names except for one in > common, "sys." > > I created the following to check freespace on sys > # 'check_freespace sys' command definition > define command{ > command_name check_freesys > command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v VKFsys ZERO > } > > Works fine and I can use a few define services to get to all the netware > servers to check "sys." > > Now I want to check other volumes but I don't want to have to create a > seperate command for each volume. I noticed in some of the other check > commands there is a variable called $ARG1$ > > Where do I reference this variable. Obviously $HOSTADDRESS$ gets the value > of "host_name" when I set that up in services.cfg. How do I give $ARG1$ a > value when I set up something in services.cfg > > > Is the following how I would do it? I need to know what else to put in > services.cfg to make it where $ARG1$ can be the volume I want to check. Also > is the format for checkcommands correct? > > #services.cfg line# > host_name box.address.com > > #checkcommands.cfg# > $USER1$/check_nwstat -H $HOSTADDRESS$ -v VKF$ARG1$ ZERO > > Thank you so much for your help. If you need clarification please feel free > to message me on AIM - xCrytikalx > > >From the command.cfg distributed with the plugins... # Disk volume (% free) command[check_nwstat_vol_p]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v VPF$ARG1$ -w $ARG2$ -c $ARG3$ # Disk volume (KB free) command[check_nwstat_vol_k]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v VKF$ARG1$ -w $ARG2$ -c $ARG3$ Usage in service definition: check_command check_nwstat_vol_p!sys!10!5 The $ARGx$ values are provided after the command name and separated by "!" -- -sg ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Wed Jul 2 16:34:05 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Wed, 2 Jul 2003 15:34:05 +0100 Subject: Nagios Statd and HP-UX Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D50DDC24@abe-s-039.europe.shell.com> James I had similar problems with HPUX 11.0 systems. The main problem seemed to be a very broken perl setup. Either the system version of perl was version 4 or version 5 but with lots of bit's missing. In the end had to download and re-compile perl version 5.6.1 Which seemed to work for us. Note that downloaded pre-compiled versions of perl also gave me hassle This might have been the site's they came from or just broken. Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.com > -----Original Message----- > From: James Harrison [mailto:james.harrison at amcg.com] > Sent: 02 July 2003 14:40 > To: nagios-users at lists.sourceforge.net > Cc: Malcolm McNeill; nick at twoevils.org > Subject: [Nagios-users] Nagios Statd and HP-UX > > > Users, > > I am attempting to use the nagios-statd/nagios-stat tools to > monitor an > a brand new HP box.(I am currently using these tools[older Perl > versions] to monitor Solaris and RH without any problems). > However, on > the HP box, when attempting to look at load,user, and proc I get an > error of "Server returned unusual data". I have had my HP guy look at > the commands in nagios-statd and they all run correctly when run by > hand. > > Anyone know how I might troubleshoot this? I'd love to avoid SNMP if > possible. > > I don't speak Python. > > Thanks > -- > James Harrison RHCE, CCNA > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 > 1203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From VOLKER.POHL at dinits.de Wed Jul 2 16:29:07 2003 From: VOLKER.POHL at dinits.de (VOLKER POHL) Date: Wed, 02 Jul 2003 16:29:07 +0200 Subject: check are not running at scheduled time and hangs after that Message-ID: Hello all, sometimes i wonder about checks, which run last time a few days ago. But they should run every x minutes. The next_scheduled_active_check value points on a datetime in past. I have installed Nagios 1.0b6 on HP/UX 11.00. Has someone noticed the same problem? Thanks, Volker ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From onyi at firstlink.com Wed Jul 2 16:48:50 2003 From: onyi at firstlink.com (Onyi Ejiasa) Date: Wed, 2 Jul 2003 08:48:50 -0600 Subject: *** GD, PNG, and/or JPEG libraries could not be located... ********* Message-ID: <6633DBDE6F5ED64D9D6AF3264AEE891467C67A@shrex.asp.firstlink.com> Hello, Thanks for the help thus far. Here is some more information to aid in assistance... 1.] I am running OpenBSD 3.3 2.] I installed libpng 1.2.5, jpeg-6b, and zlib-1.1.4 all using source. 3.] I am not sure if the jpeg-devel and png-devel are included with installing libpng and jpeg-6b from source? 4.] OpenBSD does not support RPM (of course) and this seems to be the only way to specifically get the *devel stuff. 5.] Here is some more output to look at... (kinda long) bash-2.05b# ldconfig -Rmv /usr/lib /usr/local/lib /usr/include/ /usr/local/include/ Adding /usr/lib/lib45.so.2.0 Adding /usr/lib/libacl.so.6.0 Adding /usr/lib/libasn1.so.3.0 Adding /usr/lib/libc.so.29.0 Adding /usr/lib/libcrypto.so.9.0 Adding /usr/lib/libcurses++.so.2.0 Adding /usr/lib/libcurses.so.9.0 Adding /usr/lib/libdes.so.8.0 Adding /usr/lib/libedit.so.1.0 Adding /usr/lib/libform.so.2.0 Adding /usr/lib/libg2c.so.7.0 Adding /usr/lib/libgssapi.so.2.0 Adding /usr/lib/libiberty.so.5.0 Adding /usr/lib/libkadm.so.8.0 Adding /usr/lib/libkafs.so.11.0 Adding /usr/lib/libkdb.so.7.0 Adding /usr/lib/libkrb.so.11.0 Adding /usr/lib/libkrb5.so.5.0 Adding /usr/lib/libkvm.so.7.0 Adding /usr/lib/libm.so.1.0 Adding /usr/lib/libmenu.so.2.0 Adding /usr/lib/libncurses.so.9.0 Adding /usr/lib/libobjc.so.1.0 Adding /usr/lib/libocurses.so.4.0 Adding /usr/lib/libossaudio.so.2.0 Adding /usr/lib/libotermcap.so.4.0 Adding /usr/lib/libpanel.so.2.0 Adding /usr/lib/libpcap.so.2.0 Adding /usr/lib/libperl.so.8.0 Adding /usr/lib/libpthread.so.1.0 Adding /usr/lib/libreadline.so.1.0 Adding /usr/lib/libsectok.so.4.0 Adding /usr/lib/libskey.so.4.0 Adding /usr/lib/libssl.so.7.0 Adding /usr/lib/libstdc++.so.31.0 Adding /usr/lib/libtermcap.so.9.0 Adding /usr/lib/libtermlib.so.9.0 Adding /usr/lib/libz.so.2.0 Adding /usr/lib/libusbhid.so.1.0 Adding /usr/lib/libutil.so.8.0 Adding /usr/lib/libwrap.so.3.0 Adding /usr/lib/libgd.so.2.0 Adding /usr/local/lib/libmysqlclient.so.10.0 Adding /usr/local/lib/libcharset.so.1.0 Adding /usr/local/lib/libiconv.so.3.0 Adding /usr/local/lib/libintl.so.1.1 Adding /usr/local/lib/libpng.so.0.1.2.5 Adding /usr/local/lib/libjpeg.so.62.0 Updating libpng.0.1 to /usr/include/libpng.so.0.1.2.5 Totals: entries 48, buckets 48, string size 1564 bash-2.05b# ldconfig -r /var/run/ld.so.hints: search directories: /usr/lib:/usr/local/lib:/usr/include:/usr/local/include 0:-ldes.8.0 => /usr/lib/libdes.so.8.0 1:-lasn1.3.0 => /usr/lib/libasn1.so.3.0 2:-lgssapi.2.0 => /usr/lib/libgssapi.so.2.0 3:-lcurses.9.0 => /usr/lib/libcurses.so.9.0 4:-lkadm.8.0 => /usr/lib/libkadm.so.8.0 5:-lkrb5.5.0 => /usr/lib/libkrb5.so.5.0 6:-lm.1.0 => /usr/lib/libm.so.1.0 7:-lmenu.2.0 => /usr/lib/libmenu.so.2.0 8:-lform.2.0 => /usr/lib/libform.so.2.0 9:-lossaudio.2.0 => /usr/lib/libossaudio.so.2.0 10:-lacl.6.0 => /usr/lib/libacl.so.6.0 11:-lc.29.0 => /usr/lib/libc.so.29.0 12:-lotermcap.4.0 => /usr/lib/libotermcap.so.4.0 13:-lkafs.11.0 => /usr/lib/libkafs.so.11.0 14:-lpanel.2.0 => /usr/lib/libpanel.so.2.0 15:-lpthread.1.0 => /usr/lib/libpthread.so.1.0 16:-lperl.8.0 => /usr/lib/libperl.so.8.0 17:-lg2c.7.0 => /usr/lib/libg2c.so.7.0 18:-lsectok.4.0 => /usr/lib/libsectok.so.4.0 19:-lncurses.9.0 => /usr/lib/libncurses.so.9.0 20:-lssl.7.0 => /usr/lib/libssl.so.7.0 21:-lstdc++.31.0 => /usr/lib/libstdc++.so.31.0 22:-ltermcap.9.0 => /usr/lib/libtermcap.so.9.0 23:-liberty.5.0 => /usr/lib/libiberty.so.5.0 24:-l45.2.0 => /usr/lib/lib45.so.2.0 25:-ltermlib.9.0 => /usr/lib/libtermlib.so.9.0 26:-lskey.4.0 => /usr/lib/libskey.so.4.0 27:-lreadline.1.0 => /usr/lib/libreadline.so.1.0 28:-lusbhid.1.0 => /usr/lib/libusbhid.so.1.0 29:-lkvm.7.0 => /usr/lib/libkvm.so.7.0 30:-locurses.4.0 => /usr/lib/libocurses.so.4.0 31:-lobjc.1.0 => /usr/lib/libobjc.so.1.0 32:-lcurses++.2.0 => /usr/lib/libcurses++.so.2.0 33:-lutil.8.0 => /usr/lib/libutil.so.8.0 34:-lwrap.3.0 => /usr/lib/libwrap.so.3.0 35:-lgd.2.0 => /usr/lib/libgd.so.2.0 36:-lmysqlclient.10.0 => /usr/local/lib/libmysqlclient.so.10.0 37:-lcharset.1.0 => /usr/local/lib/libcharset.so.1.0 38:-lz.2.0 => /usr/lib/libz.so.2.0 39:-lcrypto.9.0 => /usr/lib/libcrypto.so.9.0 40:-liconv.3.0 => /usr/local/lib/libiconv.so.3.0 41:-lintl.1.1 => /usr/local/lib/libintl.so.1.1 42:-lpng.0.1 => /usr/include/libpng.so.0.1.2.5 43:-lkdb.7.0 => /usr/lib/libkdb.so.7.0 44:-ljpeg.62.0 => /usr/local/lib/libjpeg.so.62.0 45:-ledit.1.0 => /usr/lib/libedit.so.1.0 46:-lpcap.2.0 => /usr/lib/libpcap.so.2.0 47:-lkrb.11.0 => /usr/lib/libkrb.so.11.0 ---------------------------------------- Onyi C. Ejiasa - NWT, NCW, NCLA First Link Technology, Inc. 4260 East Evans Avenue, Denver, CO 80222 ---------------------------------------- PH 303.691.8200 | FAX 303.691.8208 ---------------------------------------- onyi at firstlink.com | www.firstlink.com ---------------------------------------- -----Original Message----- From: Tedman Eng [mailto:teng at dataway.com] Sent: Wednesday, July 02, 2003 1:00 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: *** GD, PNG, and/or JPEG libraries could not be located... ********* You didn't mention the OS you're using, but for me on RedHat, I had to install the jpeg-devel and png-devel packages, as well as a newer zlib before I finally got a working GD. I'm using the old version (pre2.0) GD, which seems to do everything Nagios needs it to. "Onyi Ejiasa" wrote in message news:6633DBDE6F5ED64D9D6AF3264AEE891467C9CC at shrex.asp.firstlink.com... Hello, When compiling nagios 1.1 with... "./configure --enable-embedded-perl --with-perlcache --with-gd-lib=/usr/loca l/lib --with-gd-inc=/usr/local/include" I get this error... checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* And thus no GD support. Any Ideas? I have checked that all header and libraries are present but I seem to be missing something... Here are my directories... bash-2.05b# ls /usr/local/include/ gd.h gdfontg.h gdfonts.h jconfig.h jpeglib.h libpng png.h zlib.h gd_io.h gdfontl.h gdfontt.h jerror.h libcharset.h mysql pngconf.h gdcache.h gdfontmb.h iconv.h jmorecfg.h libintl.h php zconf.h bash-2.05b# ls /usr/local/lib charset.alias libgd.la libintl.a libjpeg.so.62.0 libz.a libcharset.a libgd.so.2.0 libintl.la libmysqlclient.so.10.0 mysql libcharset.la libiconv.a libintl.so.1.1 libpng.a php libcharset.so.1.0 libiconv.la libjpeg.a libpng.a-0 libgd.a libiconv.so.3.0 libjpeg.la libpng.so.0.1.2.5 ---------------------------------------- Onyi C. Ejiasa - NWT, NCW, NCLA First Link Technology, Inc. 4260 East Evans Avenue, Denver, CO 80222 ---------------------------------------- PH 303.691.8200 | FAX 303.691.8208 ---------------------------------------- onyi at firstlink.com | www.firstlink.com ---------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moti at flncs.com Wed Jul 2 17:15:39 2003 From: moti at flncs.com (Moti Levy) Date: Wed, 2 Jul 2003 11:15:39 -0400 Subject: any way to change the status page from 3 columns to 2 Message-ID: <022d01c340ac$ce72f9e0$4c01a8c0@bvg6> I looked in the FAQ , looked in google.com but could not find the answer I want to have only two columns on the status overview cgi ... thanks Moti ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Wed Jul 2 17:21:17 2003 From: td3201 at yahoo.com (Terry) Date: Wed, 2 Jul 2003 08:21:17 -0700 (PDT) Subject: nagios downtime - availability In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E798D@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E798D@mismail.ena.com> Message-ID: <20030702152117.22227.qmail@web80506.mail.yahoo.com> Fair enough. Thank you! It would be nice as a feature (hint hint). :) In a hosting environment, one could show this information directly to customers but it is hard to explain 'undetermined' to some people. Thank you! --- Marc Powell wrote: > There is no built-in way to do what you want. It is > probably safe to > presume that the undetermined times will almost > always be nagios outages > and manually do the math. > > -- > Marc > > > -----Original Message----- > > From: Terry [mailto:td3201 at yahoo.com] > > Sent: Wednesday, July 02, 2003 8:13 AM > > To: nagios-users at lists.sourceforge.net > > > > Hello, > > I never received a response on this. Should this > go > > to a different list? Thanks! > > > > > > > > --- Terry wrote: > > > Is there a way to tell nagios that it is down > and to > > > not include that time period in the availability > cgi > > > ? > > > Or a way to tell nagios that it was down during > a > > > time period to help get rid of the undetermined > > > times? > > > > > > ===== > > > Terry > > > > > > __________________________________ > > > Do you Yahoo!? > > > SBC Yahoo! DSL - Now only $29.95 per month! > > > http://sbc.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built > > > ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums > are > > > available now. > > > Download today and enter to win an XBOX or > Visual > > > Studio .NET. > > > > > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin > version > > > (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk > being > > > sent to /dev/null > > > > > > ===== > > Terry > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built > ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are > available now. > > Download today and enter to win an XBOX or Visual > Studio .NET. > > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built > ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are > available now. > Download today and enter to win an XBOX or Visual > Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Jul 2 18:03:18 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 2 Jul 2003 11:03:18 -0500 Subject: any way to change the status page from 3 columns to 2 Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E79A8@mismail.ena.com> You will need to edit status.c to suit your needs and recompile. The html is not (yet) abstracted from the CGI's. -- Marc > -----Original Message----- > From: Moti Levy [mailto:moti at flncs.com] > Sent: Wednesday, July 02, 2003 10:16 AM > To: nagios-users at lists.sourceforge.net > > I looked in the FAQ , looked in google.com > but could not find the answer > I want to have only two columns on the status overview cgi ... > > thanks > Moti > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From e.bendriss at menara.ma Wed Jul 2 18:40:02 2003 From: e.bendriss at menara.ma (BENDRISS Elmehdi) Date: Wed, 2 Jul 2003 16:40:02 -0000 Subject: history problem Message-ID: <002c01c340b8$95ef3d70$cb0fd9d4@iamdg.net.ma> hi ! i'm facing the same problem as did Marcos Dias, but i haven't found any solution to it. i copied/past the email from the source forge's website, i hope some one can help me : it's really urgent NB: i didn't compile nagios with DB support -------------------------------------------------------- From: Marcos Dias problem with Alert History and Event Log 2003-03-19 17:04 Hello, I have a Nagios Box running on a solaris 8 compiled with database support, I used all options that have database support in the compilation... And Now I have the following problem: When a service is down nagios alerts me with mail, pager, but when I'll see the alert history anything is logged there, becasue that I can't generate some statistics correctly. What I could be wrong ? If someone need to see my config files just ask that I put here the specified file ! []'s Thanks. ///// (o o) -----------------------------------ooO---(_)---Ooo---------------------- ------------- Elmehdi BENDRISS Administrateur Syst?me email : e.bendriss at menara.ma Direction Internet Tel : +212 37 71 88 73 Maroc Telecom GSM : +212 61 47 47 09 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffd at unistudios.com Wed Jul 2 18:46:28 2003 From: jeffd at unistudios.com (DiNisco, Jeff) Date: Wed, 2 Jul 2003 09:46:28 -0700 Subject: contact options Message-ID: <95C9664AA1B83E4EAB1C08A66415482E016CE8F0@usush2kex04> yeah, I tried that but it still doesn't seem to be working. I was under the impression that the last notification filter was the contact list. I'm still getting emails for the "admin" user and "dinisj" is getting emails at night. Thanks for the help... # Jeff DiNisco contact definition define contact{ contact_name dinisj alias Jeff DiNisco service_notification_period business-hours host_notification_period business-hours service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email jeff.dinisco at unistudios.com } # admin contact used for cgi authentication define contact{ contact_name admin alias cgi user service_notification_period never host_notification_period never service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email null } # business-hours' timeperiod definition define timeperiod{ timeperiod_name business-hours alias Business Hours monday 08:00-18:00 tuesday 08:00-18:00 wednesday 08:00-18:00 thursday 08:00-18:00 friday 08:00-18:00 } # never timeperiod definition define timeperiod{ timeperiod_name never alias No Time Is A Good Time } -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Tuesday, July 01, 2003 11:22 PM To: DiNisco, Jeff Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] contact options Use the notification_period or notification_optins to supress notifications; define contact { name web-contact alias Web-user service_notification_period none host_notification_period none service_notification_options n host_notification_options n service_notification_commands notify-by-email host_notification_commands host-notify-by-email email foo at foo.com register 0 } define timeperiod { timeperiod_name none alias No Time Is A Good Time } /FredrikW DiNisco, Jeff wrote: >The documentation states the email and pager options are optional when defining a contact yet I get this error message when I omit either option... > >Reading configuration data... >Error: Contact name, alias, or email address and pager number are NULL >Error: Could not register contact (config file '/usr/local/nagios/etc/contacts.cfg', line 19) > >I need to have a generic user just for web access. I also don't have a pager. If I use a bad address my mail q fills up with failed messages. Any ideas??? > >thanx, jeff > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From e.bendriss at menara.ma Wed Jul 2 18:52:17 2003 From: e.bendriss at menara.ma (BENDRISS Elmehdi) Date: Wed, 2 Jul 2003 16:52:17 -0000 Subject: history problem v2 Message-ID: <002f01c340ba$4bed1830$cb0fd9d4@iamdg.net.ma> hi ! i'm facing the same problem as did Marcos Dias, but i haven't found any solution to it. i copied/past the email from the source forge's website, i hope some one can help me : it's really urgent NB: i didn't compile nagios with DB support Please email me on : e.bendriss at menara.ma -------------------------------------------------------- From: Marcos Dias problem with Alert History and Event Log 2003-03-19 17:04 Hello, I have a Nagios Box running on a solaris 8 compiled with database support, I used all options that have database support in the compilation... And Now I have the following problem: When a service is down nagios alerts me with mail, pager, but when I'll see the alert history anything is logged there, becasue that I can't generate some statistics correctly. What I could be wrong ? If someone need to see my config files just ask that I put here the specified file ! []'s Thanks. ///// (o o) -----------------------------------ooO---(_)---Ooo---------------------- ------------- Elmehdi BENDRISS Administrateur Syst?me email : e.bendriss at menara.ma Direction Internet Tel : +212 37 71 88 73 Maroc Telecom GSM : +212 61 47 47 09 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From onyi at firstlink.com Wed Jul 2 20:04:47 2003 From: onyi at firstlink.com (Onyi Ejiasa) Date: Wed, 2 Jul 2003 12:04:47 -0600 Subject: User Authentication Message-ID: <6633DBDE6F5ED64D9D6AF3264AEE891467C67C@shrex.asp.firstlink.com> Hello, I am trying to set up user authentication for users to access only their hosts and services. Nagios docs seem to indicate that HTTP Authentication should be enough to accomplish this as long as the authenticated username matches the short name of the contact for a particular host/service. I have this all set up per the documentation, however although the user can authenticate, he/she does not seem to have access to view the correct information. I also notice that when a certain user logs in, the menu links do not change. This gives all the users links to the same place. For Example... http://server.nagios/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail I would think it should read.... http://server.nagios/nagios/cgi-bin/status.cgi?hostgroup=myhostsgroups&style=hostdetail where "myhostgroups" would correspond to the hosts/hostgroups that I am a contact for and thus allowed to view. Has anyone been able to successfully get this set up? ---------------------------------------- Onyi C. Ejiasa - NWT, NCW, NCLA First Link Technology, Inc. 4260 East Evans Avenue, Denver, CO 80222 ---------------------------------------- PH 303.691.8200 | FAX 303.691.8208 ---------------------------------------- onyi at firstlink.com | www.firstlink.com ---------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From onyi at firstlink.com Wed Jul 2 20:35:56 2003 From: onyi at firstlink.com (Onyi Ejiasa) Date: Wed, 2 Jul 2003 12:35:56 -0600 Subject: User Authentication Message-ID: <6633DBDE6F5ED64D9D6AF3264AEE891467C9D2@shrex.asp.firstlink.com> Ooops. Figured out the boo boo after I posted. However, why is it that users can still see the "Service Detail" of other users hosts? ---------------------------------------- Onyi C. Ejiasa - NWT, NCW, NCLA First Link Technology, Inc. 4260 East Evans Avenue, Denver, CO 80222 ---------------------------------------- PH 303.691.8200 | FAX 303.691.8208 ---------------------------------------- onyi at firstlink.com | www.firstlink.com ---------------------------------------- -----Original Message----- From: Onyi Ejiasa Sent: Wednesday, July 02, 2003 12:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] User Authentication Hello, I am trying to set up user authentication for users to access only their hosts and services. Nagios docs seem to indicate that HTTP Authentication should be enough to accomplish this as long as the authenticated username matches the short name of the contact for a particular host/service. I have this all set up per the documentation, however although the user can authenticate, he/she does not seem to have access to view the correct information. I also notice that when a certain user logs in, the menu links do not change. This gives all the users links to the same place. For Example... http://server.nagios/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail I would think it should read.... http://server.nagios/nagios/cgi-bin/status.cgi?hostgroup=myhostsgroups&style=hostdetail where "myhostgroups" would correspond to the hosts/hostgroups that I am a contact for and thus allowed to view. Has anyone been able to successfully get this set up? ---------------------------------------- Onyi C. Ejiasa - NWT, NCW, NCLA First Link Technology, Inc. 4260 East Evans Avenue, Denver, CO 80222 ---------------------------------------- PH 303.691.8200 | FAX 303.691.8208 ---------------------------------------- onyi at firstlink.com | www.firstlink.com ---------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at cannonfodder.org Wed Jul 2 22:18:54 2003 From: jason at cannonfodder.org (jason at cannonfodder.org) Date: Wed, 2 Jul 2003 15:18:54 -0500 Subject: Couple of problems Message-ID: <20030702201854.GA21247@neospire.net> O.k. Nagios is a great tool, but I am having some problems. 1) Nagios v1.1 configure options: --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-xdata --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-template-objects --with-mysql-downtime --with-mysql-lib=/usr/lib --enable-embedded-perl --with-perlcache --with-gd-lib=/usr/lib MySql 3.23.49 Server is: dual PIII 750MHZ 512mb RAM Nagios is chewing up ungodly amounts of memory. No errors or anything, just every few days the server runs out of RAM and the Nagios process is the culprit. This did not happen until I upgraded to 1.1 and started using MySql. 2) I hope I am reading this wrong, but most of my active checks are scheduled to take place every minute. I am running a 223 second average latency for checks. In our environment this is unacceptable. Is distributed monitoring the only option for really getting this latency under control? -- Jason Burnett Senior Engineer http://www.neospire.net voice 214-720-1442 jason at neospire.net fax 214-720-1836 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Jul 2 22:49:14 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 2 Jul 2003 15:49:14 -0500 Subject: *** GD, PNG, and/or JPEG libraries could not be located... ********* In-Reply-To: <6633DBDE6F5ED64D9D6AF3264AEE891467C67A@shrex.asp.firstlink.com> References: <6633DBDE6F5ED64D9D6AF3264AEE891467C67A@shrex.asp.firstlink.com> Message-ID: <16131.17738.198733.784657@montanaro.dyndns.org> Onyi> When compiling nagios 1.1 with... Onyi> "./configure --enable-embedded-perl --with-perlcache \ Onyi> --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include" Onyi> I get this error... Onyi> checking for gdImagePng in -lgd (order 1)... no Onyi> checking for gdImagePng in -lgd (order 2)... no Onyi> checking for gdImagePng in -lgd (order 3)... no Onyi> *** GD, PNG, and/or JPEG libraries could not be located... ********* What does the relevant piece of your config.log file show? There were probably some undefined symbols when linking the check program. I just submitted a patch to nagios-devel for configure.in which adds -liconv to the gd check link lines if it's available (I bumped into this on Solaris). -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonp at iland.com Wed Jul 2 23:04:38 2003 From: jasonp at iland.com (Jason Payne) Date: Wed, 2 Jul 2003 16:04:38 -0500 Subject: nsclient CF avg DB Access time In-Reply-To: <6633DBDE6F5ED64D9D6AF3264AEE891467C9D2@shrex.asp.firstlink.com> References: <6633DBDE6F5ED64D9D6AF3264AEE891467C9D2@shrex.asp.firstlink.com> Message-ID: I have searched through the mailing list, and have not found a solution. So here goes: I've got a custom check_nt command: define command{ command_name check_nt_cftime command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\ColdFusion MX Server\\Avg DB Time (msec)","Server Average DB Time is %.2f %%" -w $ARG1$ -c $ARG2$ } and define service { host_name Server service_description Server CF DB Time check_command check_nt_archimage_cftime!20!75 use generic-service max_check_attempts 9 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 480 notification_period 24x7 notification_options c,r contact_groups windows-admins } Returns: /usr/local/nagios/etc# ../libexec/check_nt -H serverip -p 1248 -v COUNTER -l "\\ColdFusion MX Server\\Avg DB Time (msec)","Server CF Average DB Time is %.2f" -w 80 -c 90 Server ColdFusion Average DB Time is 0.00 % or in nagios: mage CF DB Time OK 07-02-2003 15:39:42 0d 1h 14m 31s 1/9 Archimage ColdFusion Average DB Time is 0.00 % This is driving me nuts. I've run ctrlist.exe and verified the name of the counter, and have a similiar check running on the size of an mssql database: Server DB Size OK 07-02-2003 15:42:24 3d 16h 52m 15s 1/9 Server SQL DB size is 86208.00 % The server/client versions of nsclient are the same, and the other checks on the server resolve fine. I've tried every combination of inserting \'s into the string that I can think of. Still, all I get is a return value of 0. If ANYONE has any information pertaining to how I can fix this I would be most appreciative. Thanks in advance, Jason Payne Iland Internet Solutions ASCII ribbon campaign ( ) - against HTML email X & vCards / \ echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D6D6F632E65 6E7961506E6F73614A40656C7A656557snlbxq'|dc We shall never be able to remove suspicion and fear as potential causes of war until communication is permitted to flow, free and open, across international boundaries. -Harry S. Truman ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwalcik at mail.utexas.edu Wed Jul 2 23:32:04 2003 From: jwalcik at mail.utexas.edu (jacob walcik) Date: Wed, 2 Jul 2003 16:32:04 -0500 Subject: CHECK_NRPE: Error - Could not complete SSL handshake. Message-ID: i'm trying to get nrpe 2.0b4 working, and i'm receiving the ssl error stated in the subject line when the checks run in nagios or when i try to run them by hand: [nagios at muttley libexec]$ ./check_nrpe -H sarge check_load CHECK_NRPE: Error - Could not complete SSL handshake. based on the thread at the url below, i recompiled nrpe on both the server and the client with the --disable-ssl flag, however the error message persists. is there an additional argument that needs to be passed to turn off ssl? http://sourceforge.net/mailarchive/message.php?msg_id=5318667 -- jacob walcik jwalcik at mail.utexas.edu ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From onyi at firstlink.com Wed Jul 2 23:31:58 2003 From: onyi at firstlink.com (Onyi Ejiasa) Date: Wed, 2 Jul 2003 15:31:58 -0600 Subject: *** GD, PNG,and/or JPEG libraries could not be located... ********* Message-ID: <6633DBDE6F5ED64D9D6AF3264AEE891467C9D5@shrex.asp.firstlink.com> Here is the output from config.log... configure:2660: checking for gdImagePng in -lgd (order 1) configure:2679: gcc -o conftest -g -O2 -I/usr/local/include/libpng/ -L/usr/local/lib/ conftest.c -lgd -lz -lm -lpng -ljpeg 1>&5 configure:2675: Undefined symbol `_gdImagePng' referenced from text segment collect2: ld returned 1 exit status configure: failed program was: #line 2668 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImagePng(); int main() { gdImagePng() ; return 0; } configure:2706: checking for gdImagePng in -lgd (order 2) configure:2725: gcc -o conftest -g -O2 -I/usr/local/include/libpng/ -L/usr/local/lib/ conftest.c -lgd -lz -lm -lpng 1>&5 configure:2721: Undefined symbol `_gdImagePng' referenced from text segment collect2: ld returned 1 exit status configure: failed program was: #line 2714 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImagePng(); int main() { gdImagePng() ; return 0; } configure:2753: checking for gdImagePng in -lgd (order 3) configure:2772: gcc -o conftest -g -O2 -I/usr/local/include/libpng/ -L/usr/local/lib/ conftest.c -lgd -lpng -lz -lm 1>&5 configure:2768: Undefined symbol `_gdImagePng' referenced from text segment collect2: ld returned 1 exit status configure: failed program was: #line 2761 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImagePng(); int main() { gdImagePng() ; return 0; } ---------------------------------------- Onyi C. Ejiasa - NWT, NCW, NCLA First Link Technology, Inc. 4260 East Evans Avenue, Denver, CO 80222 ---------------------------------------- PH 303.691.8200 | FAX 303.691.8208 ---------------------------------------- onyi at firstlink.com | www.firstlink.com ---------------------------------------- -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: Wednesday, July 02, 2003 2:49 PM To: Onyi Ejiasa Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: *** GD, PNG, and/or JPEG libraries could not be located... ********* Onyi> When compiling nagios 1.1 with... Onyi> "./configure --enable-embedded-perl --with-perlcache \ Onyi> --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include" Onyi> I get this error... Onyi> checking for gdImagePng in -lgd (order 1)... no Onyi> checking for gdImagePng in -lgd (order 2)... no Onyi> checking for gdImagePng in -lgd (order 3)... no Onyi> *** GD, PNG, and/or JPEG libraries could not be located... ********* What does the relevant piece of your config.log file show? There were probably some undefined symbols when linking the check program. I just submitted a patch to nagios-devel for configure.in which adds -liconv to the gd check link lines if it's available (I bumped into this on Solaris). -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From omiller at wirelessfrontier.net Thu Jul 3 01:09:24 2003 From: omiller at wirelessfrontier.net (Oriz L. Miller) Date: Wed, 2 Jul 2003 18:09:24 -0500 Subject: CHECK_NRPE: Error - Could not complete SSL handshake. References: Message-ID: <017e01c340ee$fc588680$1c08010a@odesk> I, too recompiled with the --disable-ssl and am still seeing the same error message. Any help would be appreciated. ----- Original Message ----- From: "jacob walcik" To: Sent: Wednesday, July 02, 2003 4:32 PM Subject: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake. > i'm trying to get nrpe 2.0b4 working, and i'm receiving the ssl error > stated in the subject line when the checks run in nagios or when i try > to run them by hand: > > [nagios at muttley libexec]$ ./check_nrpe -H sarge check_load > CHECK_NRPE: Error - Could not complete SSL handshake. > > based on the thread at the url below, i recompiled nrpe on both the > server and the client with the --disable-ssl flag, however the error > message persists. is there an additional argument that needs to be > passed to turn off ssl? > > http://sourceforge.net/mailarchive/message.php?msg_id=5318667 > > -- > jacob walcik > jwalcik at mail.utexas.edu > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From omiller at wirelessfrontier.net Thu Jul 3 01:53:56 2003 From: omiller at wirelessfrontier.net (Oriz L. Miller) Date: Wed, 2 Jul 2003 18:53:56 -0500 Subject: NCSA Failure... Message-ID: <018b01c340f5$34af1340$1c08010a@odesk> well after fighting with nrpe for two days, I am now getting this error with nsca. Any Thoughts ? Jul 2 18:51:31 nagios nsca[3413]: Network server bind failure (48: Address already in use) -------------- next part -------------- An HTML attachment was scrubbed... URL: From omiller at wirelessfrontier.net Thu Jul 3 02:20:32 2003 From: omiller at wirelessfrontier.net (Oriz L. Miller) Date: Wed, 2 Jul 2003 19:20:32 -0500 Subject: NCSA Failure... References: <018b01c340f5$34af1340$1c08010a@odesk> <1057190780.13664.207.camel@nick.docmagic.com> Message-ID: <019c01c340f8$ec695920$1c08010a@odesk> I cannot find anything else trying to use that port.... here is the outout of my netstat -an : Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 1.1.231.17.47481 10.1.1.1.23 TIME_WAIT tcp 0 0 1.1.231.17.35576 1.1.39.21.23 TIME_WAIT tcp 0 0 1.1.231.17.48621 1.1.7.65.23 TIME_WAIT tcp 0 0 1.1.231.17.5667 10.1.1.1.34087 TIME_WAIT tcp 52 0 1.1.231.17.22 10.1.1.1.3386 ESTABLISHED tcp 0 0 *.22 *.* LISTEN tcp 0 0 *.37 *.* LISTEN tcp 0 0 *.13 *.* LISTEN tcp 0 0 *.5667 *.* LISTEN tcp 0 0 *.113 *.* LISTEN tcp 0 0 *.80 *.* LISTEN tcp 0 0 *.443 *.* LISTEN tcp 0 0 127.0.0.1.587 *.* LISTEN tcp 0 0 127.0.0.1.25 *.* LISTEN Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) udp 0 0 127.0.0.1.512 *.* udp 0 0 *.514 *.* Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp6 0 0 *.22 *.* LISTEN tcp6 0 0 *.37 *.* LISTEN tcp6 0 0 *.13 *.* LISTEN tcp6 0 0 ::1.587 *.* LISTEN tcp6 0 0 ::1.25 *.* LISTEN Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) udp6 0 0 ::1.512 *.* Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr 0xd094a258 dgram 0 0 0x0 0xd08e5440 0x0 0x0 0xd09814b4 dgram 0 0 0x0 0xd08e5440 0x0 0xd0979d00 0xd098125c stream 0 0 0x0 0xd099ccc0 0x0 0x0 0xd09813ec stream 0 0 0x0 0xd099cc80 0x0 0x0 0xd094aed8 stream 0 0 0xdad5dd80 0x0 0x0 0x0 tabs/.sock 0xd094ae10 dgram 0 0 0x0 0xd08e5440 0x0 0xd094d040 0xd094a0c8 dgram 0 0 0xdad44f00 0x0 0x0 0x0 /var/empty/dev/log 0xd094a000 dgram 0 0 0xdad44e40 0x0 0xd0979800 0x0 /dev/log ----- Original Message ----- From: "Nicholas Bernstein" To: "Oriz L. Miller" Sent: Wednesday, July 02, 2003 7:06 PM Subject: Re: [Nagios-users] NCSA Failure... > sounds like you have multiple copies running or something else is bound > to that port. > > man netstat > man lsof > > On Wed, 2003-07-02 at 16:53, Oriz L. Miller wrote: > > well after fighting with nrpe for two days, I am now getting this > > error with nsca. > > Any Thoughts ? > > > > Jul 2 18:51:31 nagios nsca[3413]: Network server bind failure (48: > > Address already in use) > -- > +---------------------------------------------------------------+ > | Nicholas Bernstein | nick at docmagic.com | > | UNIX Systems Administrator | http://www.docmagic.com | > | Document Systems Inc. | | > | gpg: F706 8C4E 78FA DDDD 53A0 019F D983 FE28 2002 D1F3 | > +---------------------------------------------------------------+ > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at mintoskatingclub.com Thu Jul 3 02:37:16 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Wed, 2 Jul 2003 20:37:16 -0400 (EDT) Subject: nsclient CF avg DB Access time Message-ID: <200307030037.h630bGU7009035@webmail1.magma.ca> Jason: I have access to a different version of ColdFusion, its perfmon counter is called simply ColdFusion Server. However I did notice that it had a single instance (cfserver). I was able to get results with the Custom Counter using the "\\ColdFusion Server(cfserver\\Avg DB Time (msec)" format. Tim Shouldice On Jul 2 , "Jason Payne" wrote: > > I have searched through the mailing list, and have not found a solution. So > here goes: > > I've got a custom check_nt command: > > define command{ > command_name check_nt_cftime > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > COUNTER -l "\\ColdFusion MX Server\\Avg DB Time (msec)","Server Average DB > Time is %.2f %%" -w $ARG1$ -c $ARG2$ > } > > and > > define service { > host_name Server > service_description Server CF DB Time > check_command check_nt_archimage_cftime!20!75 > use generic-service > max_check_attempts 9 > normal_check_interval 1 > retry_check_interval 1 > check_period 24x7 > notification_interval 480 > notification_period 24x7 > notification_options c,r > contact_groups windows-admins > } > > Returns: > > /usr/local/nagios/etc# ../libexec/check_nt -H serverip -p 1248 -v COUNTER -l > "\\ColdFusion MX Server\\Avg DB Time (msec)","Server CF Average DB Time is > %.2f" -w 80 -c 90 > Server ColdFusion Average DB Time is 0.00 % > > or in nagios: > > mage CF DB Time > OK > 07-02-2003 15:39:42 > 0d 1h 14m 31s > 1/9 > Archimage ColdFusion Average DB Time is 0.00 % > > This is driving me nuts. I've run ctrlist.exe and verified the name of the > counter, and have a similiar check running on the size of an mssql database: > > Server DB Size > OK > 07-02-2003 15:42:24 > 3d 16h 52m 15s > 1/9 > Server SQL DB size is 86208.00 % > > The server/client versions of nsclient are the same, and the other checks on > the server resolve fine. I've tried every combination of inserting \'s into > the string that I can think of. Still, all I get is a return value of 0. > If ANYONE has any information pertaining to how I can fix this I would be > most appreciative. > > Thanks in advance, > Jason Payne > Iland Internet Solutions > > ASCII ribbon campaign ( ) > - against HTML email X > & vCards / \ > > echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D6D6F632E65 > 6E7961506E6F73614A40656C7A656557snlbxq'|dc > > We shall never be able to remove suspicion and fear as > potential causes of war until communication is permitted > to flow, free and open, across international boundaries. > -Harry S. Truman > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Billt at Mahagonny.com Thu Jul 3 03:04:03 2003 From: Billt at Mahagonny.com (Bill Thompson) Date: Wed, 2 Jul 2003 18:04:03 -0700 Subject: nagios, mysql, on debian In-Reply-To: <1057028428.4046.3.camel@daedalus> References: <1057028428.4046.3.camel@daedalus> Message-ID: <20030702180403.2eaff5bc.Billt@Mahagonny.com> On 30 Jun 2003 23:00:28 -0400 Seth Hollen wrote: > While i have gotten nagios working on redhat based systems before, this > is my first time trying it on debian using apt-get. > Hi Seth, Look for the Debian specific docs in /usr/share/doc/nagios-mysql. However, I think that your problem is the default paths set in the nagios.cfg. Debian likes to move all config files to /etc/nagios as opposed to /home/nagios/*. The plugins and CGI scripts are also in different places. You can use 'dpkg -L nagios-mysql' to see where the package put its files. I'd give you more hints, but I'm working on the same transition and haven't quite got mine working either ;). Good Luck, -- BillT at Mahagonny.com - PGP KeyID#: 0xFB966670 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Jul 3 05:50:57 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 3 Jul 2003 13:50:57 +1000 Subject: Nagios-users digest, Vol 1 #1550 - 30 msgs In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Wed, Jul 02, 2003 at 08:13:45PM -0700 References: Message-ID: <20030703135055.I59684@IPAustralia.Gov.AU> Dear Sir, I am writing about your memory consumption problem with dual PIII 750 MHz running Nag 1.1 with ePN and SQL backends. ePN with caching is a memory pig: because the Perl parse tree stays in core (as part of the Nag process), your memory requirements are much greater than usual, and they usually increase. How many services are you checking ? You may do better from the memory point of view without perl-cache-enable (or whatever the configure option is). Otherwise, this may be an SQL backend issue that others may repond to. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pascal.renaut at electricite-strasbourg.fr Thu Jul 3 09:32:47 2003 From: pascal.renaut at electricite-strasbourg.fr (Pascal RENAUT/GROUPE-ES) Date: Thu, 3 Jul 2003 09:32:47 +0200 Subject: Submit passive check result for.....a host ? Message-ID: Hi all, I would like to know if it's possible, like the 'submit passive check result for this service', to reset in ok state a host. In fact, on a host , I have two services, http and https. This host being in DMZ, i can't ping it . When this two services are in non OK state, the check 'host-alive' is running and attempts to ping the host - without succes. Thanks in advance for your help. .................................................................................................... Pascal RENAUT / D?partement Ing?nierie R?seaux (I.R.) / Groupe Electricit? de Strasbourg / 67953 Strasbourg Cedex 9 T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : pascal.renaut at electricite-strasbourg.fr ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Thu Jul 3 10:33:29 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 03 Jul 2003 10:33:29 +0200 Subject: Submit passive check result for.....a host ? References: Message-ID: <3F03EA59.7060809@datavis.se> Why don't use another host_check_command that actually can decide if the host is alive? /FredrikW Pascal RENAUT/GROUPE-ES wrote: >Hi all, > >I would like to know if it's possible, like the 'submit passive check >result for this service', to reset in ok state a host. In fact, on a host , >I have two services, http and https. This host being in DMZ, i can't ping >it . When this two services are in non OK state, the check 'host-alive' is >running and attempts to ping the host - without succes. > >Thanks in advance for your help. >.................................................................................................... >Pascal RENAUT / D?partement Ing?nierie R?seaux (I.R.) / Groupe Electricit? >de Strasbourg / 67953 Strasbourg Cedex 9 >T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : >pascal.renaut at electricite-strasbourg.fr > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwarnier at beeznest.net Thu Jul 3 12:41:44 2003 From: jwarnier at beeznest.net (=?ISO-8859-1?Q?J=E9r=F4me?= Warnier) Date: 03 Jul 2003 12:41:44 +0200 Subject: ./configure --enable-embedded-perl Message-ID: <1057228903.30112.4.camel@aphrodite.bxlug.be> I was wondering togheter with the maintener of the Debian package for Nagios what was "--enable-embedded-perl"'s purpose. Furthermore, what is "--with-perlcache" for? Could someone here enlight us? Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From charlesk at generalpants.com.au Thu Jul 3 14:00:35 2003 From: charlesk at generalpants.com.au (Charles Kidson) Date: Thu, 03 Jul 2003 22:00:35 +1000 Subject: monitoring services on non-standard ports Message-ID: I had a search through the mailing list archives, and googled, but with no success. If this is documented somewhere, please point me to the right location. How do i pass arguments to plugins in the config files? I need to monitor services that are bound to non-standard ports. And, how does the ! (bang?) argument work for the check_ping plugin? TIA charlie ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creator at mindcreations.com Thu Jul 3 14:32:27 2003 From: creator at mindcreations.com (Stefano Coletta) Date: Thu, 03 Jul 2003 14:32:27 +0200 Subject: statusmap.cgi: overlapped hosts on circular drawing Message-ID: <3F04225B.5010909@mindcreations.com> Hi all, I've noticed that in a big environment (like 500 hosts) the statusmap.cgi draws hosts too close each other in circular representations. Unable to fix this annoying "overlapping" problem using normal nagios command/parameters I've decided to modify the source file statumap.c. As result I've modified this line only: #define CIRCULAR_DRAWING_RADIUS 100 raising the value to: #define CIRCULAR_DRAWING_RADIUS 175 that, for me, it is an acceptable value. The effect on the graph is that hosts are more far each other starting from the center of the circle outwards. I was wondering why this useful parameter has not been added to the web interface instead of being hardcoded. I have no time to build a patch to both web interface and statusmap.cgi to implement this so I've modified the value in a permanent way. Maybe this can be considered a useful feature (in fact simple!) to add to next versions. However this change does not solve completely the overlapping problem. So I'm trying to modify the algorithm to make Nagios put more space between hosts even in the "horizontal" line, increasing the degrees occupied by hosts . Bye all -- Stefano Coletta http://www.mindcreations.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From walk2137 at bellsouth.net Thu Jul 3 14:37:38 2003 From: walk2137 at bellsouth.net (Martin C. Walker) Date: Thu, 03 Jul 2003 08:37:38 -0400 Subject: Embedded Perl and process performance data command with --with-default-perfdata Message-ID: <3F042392.2040505@bellsouth.net> I'm reading the docs on the embedded perl interpreter and all its discussing is plug-ins. I'm using passive checks and nsca, but expect to have hundreds of tests for which I will want to process performance data on the central monitoring server. Will perl programs for performance data processing take advantage of the embedded perl interpreter? thanks ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ira at mse.ufl.edu Thu Jul 3 15:40:45 2003 From: ira at mse.ufl.edu (Ira Harkness) Date: Thu, 3 Jul 2003 09:40:45 -0400 Subject: monitoring switches and routers Message-ID: I am trying to monitor the various routers and switches on the network. Can anyone suggest a good way to do this? I was thinking of using snmp traps with another monitoring program that we use but I was wondering if anyone had any ideas I could use with nagios. Basically which check_* program to use. If you have any suggestions or want to explain the way you monitor your switches or routers, I'd definately appreciate it. Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonp at iland.com Thu Jul 3 16:36:34 2003 From: jasonp at iland.com (Jason Payne) Date: Thu, 3 Jul 2003 09:36:34 -0500 Subject: nsclient CF avg DB Access time In-Reply-To: <200307030037.h630bGU7009035@webmail1.magma.ca> References: <200307030037.h630bGU7009035@webmail1.magma.ca> Message-ID: That was the clue I needed. Thanks a million. I got it to work with the following: ../libexec/check_nt -H server -p 1248 -v COUNTER -l "\ColdFusion MX Server(jrun)\Avg DB Time (msec)","Archimage ColdFusion Average DB Time is %.2f" -w 80 -c 90 Thanks again, Jason -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Tim Shouldice Sent: Wednesday, July 02, 2003 7:37 PM To: Jason Payne; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nsclient CF avg DB Access time Jason: I have access to a different version of ColdFusion, its perfmon counter is called simply ColdFusion Server. However I did notice that it had a single instance (cfserver). I was able to get results with the Custom Counter using the "\\ColdFusion Server(cfserver\\Avg DB Time (msec)" format. Tim Shouldice On Jul 2 , "Jason Payne" wrote: > > I have searched through the mailing list, and have not found a solution. So > here goes: > > I've got a custom check_nt command: > > define command{ > command_name check_nt_cftime > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > COUNTER -l "\\ColdFusion MX Server\\Avg DB Time (msec)","Server Average DB > Time is %.2f %%" -w $ARG1$ -c $ARG2$ > } > > and > > define service { > host_name Server > service_description Server CF DB Time > check_command check_nt_archimage_cftime!20!75 > use generic-service > max_check_attempts 9 > normal_check_interval 1 > retry_check_interval 1 > check_period 24x7 > notification_interval 480 > notification_period 24x7 > notification_options c,r > contact_groups windows-admins > } > > Returns: > > /usr/local/nagios/etc# ../libexec/check_nt -H serverip -p 1248 -v COUNTER -l > "\\ColdFusion MX Server\\Avg DB Time (msec)","Server CF Average DB Time is > %.2f" -w 80 -c 90 > Server ColdFusion Average DB Time is 0.00 % > > or in nagios: > > mage CF DB Time > OK > 07-02-2003 15:39:42 > 0d 1h 14m 31s > 1/9 > Archimage ColdFusion Average DB Time is 0.00 % > > This is driving me nuts. I've run ctrlist.exe and verified the name of the > counter, and have a similiar check running on the size of an mssql database: > > Server DB Size > OK > 07-02-2003 15:42:24 > 3d 16h 52m 15s > 1/9 > Server SQL DB size is 86208.00 % > > The server/client versions of nsclient are the same, and the other checks on > the server resolve fine. I've tried every combination of inserting \'s into > the string that I can think of. Still, all I get is a return value of 0. > If ANYONE has any information pertaining to how I can fix this I would be > most appreciative. > > Thanks in advance, > Jason Payne > Iland Internet Solutions > > ASCII ribbon campaign ( ) > - against HTML email X > & vCards / \ > > echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D6D6F632E65 > 6E7961506E6F73614A40656C7A656557snlbxq'|dc > > We shall never be able to remove suspicion and fear as > potential causes of war until communication is permitted > to flow, free and open, across international boundaries. > -Harry S. Truman > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kevin_myer at iu13.org Thu Jul 3 16:26:53 2003 From: kevin_myer at iu13.org (Kevin M. Myer) Date: Thu, 3 Jul 2003 10:26:53 -0400 Subject: Database migration script? Message-ID: <1057242413.88a7a4ccb2bfa@webmail3.iu13.org> Hello, Given the upcoming deprecation of database support for storing status and other information, has anyone worked up a script to extract current information from a database and put it into a flat text file? I currently have everything stored in a MySQL database and I'm going to have to convert that into straight text files if I want to maintain historical statistics for services and hosts I'm monitoring. I'm thinking it should not be difficult but I also don't want to reinvent the wheel either, if its been done before. Also, while I've read over the rationale for dropping database support, it seems a bit short-sighted, in my opinion. Using text files may seem simpler and easier to program in the short-term but long-term, the flexibility of being able to use SQl to write reports and the scalability of using a database to maintain hundreds of host/service records for many years far outweighs the extra code maintenance required. I guess one could always argue that you can write a text to database conversion script, which is indeed an option and which leads me to a thought regarding nagios output: would it be feasible to design Nagios with an output abstraction level that one could then write plugins for, such that Nagios presents the data to the output layer and then depending on which plugin you have configured, the plugin would take care of writing the data out to a text file or to a SQL database or Berkeley database or whatever else types of output plugins might be developed? Just a thought, probably more applicable to the developers list. Thanks, Kevin -- Kevin M. Myer Systems Administrator Lancaster-Lebanon Intermediate Unit 13 (717) 560-6140 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daveyboydotcom at hotmail.com Thu Jul 3 16:44:27 2003 From: daveyboydotcom at hotmail.com (Dave Rocks) Date: Thu, 03 Jul 2003 14:44:27 +0000 Subject: custom notify option Message-ID: Hello, I want to add something to misccommands.cfg like: define command{ command_name notify-by-popup command_line /bin/echo -e "* $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ * Info: $OUTPUT $ Time: $DATETIME$" | smbclient -M $PCNAME$ } The command itself will work but how do I define $PCNAME$ I can add a line to contact.cfg for each contact to have 'pcname dave01' But that doesn't do the trick..is there anywhere in the docs that can help? Thanks Dave. _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rt_mena at yahoo.com Thu Jul 3 17:53:08 2003 From: rt_mena at yahoo.com (Robert Mena) Date: Thu, 3 Jul 2003 08:53:08 -0700 (PDT) Subject: Migrating to mysql Message-ID: <20030703155308.44555.qmail@web9807.mail.yahoo.com> Hi, I use netsaint for over two years and now I am planning to move to nagios. I've already migrated the old config to the template style and I read that I can simply copy the old netsaint logs to the nagios and I'll not loose any data. I was wondering if there is a script to import such files to mysql because I am considering using nagios with such capability. regards, robert __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From voutsinas at fibertel.com.ar Thu Jul 3 17:58:33 2003 From: voutsinas at fibertel.com.ar (Bill Voutsinas) Date: Thu, 3 Jul 2003 12:58:33 -0300 Subject: Monitoring storage devive Message-ID: <3EEA287F00007551@mta1.fibertel.com.ar> Hi I am trying to monitor a IBM ESS Model 2105 storage unit. Can anyone suggest a good way to do this? I'd appreciate your help. Thanks and regards Bill ________________________________________ FiberTel, el nombre de la banda ancha http://www.fibertel.com.ar ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JFountain at rbinc.com Thu Jul 3 19:13:14 2003 From: JFountain at rbinc.com (Jennifer Fountain) Date: Thu, 3 Jul 2003 13:13:14 -0400 Subject: monitoring switches and routers Message-ID: <4986B9AA97C37D4D91E554CA8D84415B020031D1@rbnt1.rb.net> What type of switches and routers do you have? -----Original Message----- From: Ira Harkness [mailto:ira at mse.ufl.edu] Sent: Thursday, July 03, 2003 9:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitoring switches and routers I am trying to monitor the various routers and switches on the network. Can anyone suggest a good way to do this? I was thinking of using snmp traps with another monitoring program that we use but I was wondering if anyone had any ideas I could use with nagios. Basically which check_* program to use. If you have any suggestions or want to explain the way you monitor your switches or routers, I'd definately appreciate it. Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ira at mse.ufl.edu Thu Jul 3 19:24:01 2003 From: ira at mse.ufl.edu (Ira Harkness) Date: Thu, 3 Jul 2003 13:24:01 -0400 Subject: monitoring switches and routers In-Reply-To: <4986B9AA97C37D4D91E554CA8D84415B020031D1@rbnt1.rb.net> References: <4986B9AA97C37D4D91E554CA8D84415B020031D1@rbnt1.rb.net> Message-ID: Cisco and 3com stuff mainly. Cisco routers and 3com switches... the 3com SuperStack variety with about 24 ports. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jennifer Fountain Sent: Thursday, July 03, 2003 1:13 PM To: Ira Harkness; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] monitoring switches and routers What type of switches and routers do you have? -----Original Message----- From: Ira Harkness [mailto:ira at mse.ufl.edu] Sent: Thursday, July 03, 2003 9:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitoring switches and routers I am trying to monitor the various routers and switches on the network. Can anyone suggest a good way to do this? I was thinking of using snmp traps with another monitoring program that we use but I was wondering if anyone had any ideas I could use with nagios. Basically which check_* program to use. If you have any suggestions or want to explain the way you monitor your switches or routers, I'd definately appreciate it. Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at neospire.net Thu Jul 3 20:25:09 2003 From: jason at neospire.net (Jason Burnett) Date: Thu, 3 Jul 2003 13:25:09 -0500 Subject: Couple of problems In-Reply-To: References: <20030702201854.GA21247@neospire.net> Message-ID: <20030703182509.GA10554@neospire.net> I am only doing the regular active and passive checks that are included with nagios-plugins. The only other item on the server is bind8. I had another suggestion to remove the --enable-embedded-perl --with-perlcache options from my configure line. I am about to test with that build now. on Thu Jul 03 Randall Adams spoke forth with the blessed manuscript > Just wondering what else you are running besides nagios? Are you doing any > checks of APAN/RRDTool? > I'm currently using RH9.0 w/0 SQL and was experiencing the same problem. As > of now I am testing without the APAN checks I had configured. I think that > may be my issue as far as memory usage. > Randy Adams > radams at candcbank.com > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > jason at cannonfodder.org > Sent: Wednesday, July 02, 2003 4:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Couple of problems > O.k. > Nagios is a great tool, but I am having some problems. > 1) > Nagios v1.1 > configure options: --with-nagios-user=nagios > --with-nagios-grp=nagios --with-mysql-xdata --with-mysql-status > --with-mysql-comments --with-mysql-extinfo --with-mysql-retention > --with-template-objects --with-mysql-downtime > --with-mysql-lib=/usr/lib --enable-embedded-perl > --with-perlcache --with-gd-lib=/usr/lib > MySql 3.23.49 > Server is: > dual PIII 750MHZ > 512mb RAM > Nagios is chewing up ungodly amounts of memory. > No errors or anything, just every few days the server runs out of > RAM and the Nagios process is the culprit. This did not happen until I > upgraded to 1.1 and started using MySql. > 2) > I hope I am reading this wrong, but most of my active checks are > scheduled to take place every minute. I am running a 223 second average > latency for checks. In our environment this is unacceptable. Is > distributed monitoring the only option for really getting this latency > under control? -- Jason Burnett Senior Engineer http://www.neospire.net voice 214-720-1442 jason at neospire.net fax 214-720-1836 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JFountain at rbinc.com Thu Jul 3 21:21:13 2003 From: JFountain at rbinc.com (Jennifer Fountain) Date: Thu, 3 Jul 2003 15:21:13 -0400 Subject: monitoring switches and routers Message-ID: <4986B9AA97C37D4D91E554CA8D84415B020031DB@rbnt1.rb.net> Right now, we are collecting the snmp traps right into nagios. Once, I have the config down, I could share? -----Original Message----- From: Ira Harkness [mailto:ira at mse.ufl.edu] Sent: Thursday, July 03, 2003 1:24 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] monitoring switches and routers Cisco and 3com stuff mainly. Cisco routers and 3com switches... the 3com SuperStack variety with about 24 ports. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jennifer Fountain Sent: Thursday, July 03, 2003 1:13 PM To: Ira Harkness; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] monitoring switches and routers What type of switches and routers do you have? -----Original Message----- From: Ira Harkness [mailto:ira at mse.ufl.edu] Sent: Thursday, July 03, 2003 9:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitoring switches and routers I am trying to monitor the various routers and switches on the network. Can anyone suggest a good way to do this? I was thinking of using snmp traps with another monitoring program that we use but I was wondering if anyone had any ideas I could use with nagios. Basically which check_* program to use. If you have any suggestions or want to explain the way you monitor your switches or routers, I'd definately appreciate it. Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From omiller at wirelessfrontier.net Thu Jul 3 22:21:06 2003 From: omiller at wirelessfrontier.net (Oriz L. Miller) Date: Thu, 3 Jul 2003 15:21:06 -0500 Subject: NRPE Could not read request from client, bailing out... Message-ID: <005701c341a0$a413ce00$1c08010a@odesk> I am now getting the following error from the remote box when trying to execute a check_nrpe command from the host. Could not read request from client, bailing out... When I run the command locally (check_load) it runs just fine, also I am listening on 5666 Any Ideas ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at yahoo.com Thu Jul 3 23:09:43 2003 From: td3201 at yahoo.com (Terry) Date: Thu, 3 Jul 2003 14:09:43 -0700 (PDT) Subject: check_ping - time outs Message-ID: <20030703210943.97879.qmail@web80511.mail.yahoo.com> Hello, I increased the number of packets that is sent to a host from 1 to 15 and am now getting this error: CRITICAL - Plugin timed out after 30 seconds Here are my commands: define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80%% -c 5000.0,100%% -p 15 -t 30 } define command{ command_name check-router-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 100,20%% -c 200.0,40%% -p 15 -t 30 } What could be causing this? I want a more accurate average, this is why I increased the # of packets. I first thought it was the timeout setting, so I raised that to 30 but that didnt help. Thanks! ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snortbsd at yahoo.com.au Fri Jul 4 01:18:19 2003 From: snortbsd at yahoo.com.au (=?iso-8859-1?q?snort=20bsd?=) Date: Fri, 4 Jul 2003 09:18:19 +1000 (EST) Subject: 3-D Status Map???? Message-ID: <20030703231819.6824.qmail@web42004.mail.yahoo.com> hi: i got nagios web interface configured on RH8.0 and works with apache server, but whenever i clicked "3-D Status Map" and the web starts downloading something from a web site. what is the problem? thanks _dave http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marek.dohojda at linksys.com Fri Jul 4 01:28:09 2003 From: marek.dohojda at linksys.com (Marek Dohojda) Date: Thu, 3 Jul 2003 16:28:09 -0700 Subject: 3-D Status Map???? Message-ID: <202FFF2E883FC640B0E12B88EA98FD37037204@mail2.hq.linksys.com> You need to be able to have a pluggin for your browser that will play the WRML files. -----Original Message----- From: snort bsd [mailto:snortbsd at yahoo.com.au] Sent: Thursday, July 03, 2003 4:18 PM To: nagios-users at lists.sourceforge.net hi: i got nagios web interface configured on RH8.0 and works with apache server, but whenever i clicked "3-D Status Map" and the web starts downloading something from a web site. what is the problem? thanks _dave http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tschweikle at fiducia.de Fri Jul 4 02:10:21 2003 From: tschweikle at fiducia.de (Thomas Schweikle) Date: Fri, 4 Jul 2003 02:10:21 +0200 Subject: Sorry, but you are not authorized to commit the specified command. Message-ID: Could anyone explain me please why I am given this message? In cgi.cfg I have set use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin,guest authorized_for_all_hosts=nagiosadmin,guest authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin I've authenticated myself using "nagiosadmin". -- Thomas ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Fri Jul 4 02:32:39 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 3 Jul 2003 19:32:39 -0500 (CDT) Subject: 3-D Status Map???? In-Reply-To: <20030703231819.6824.qmail@web42004.mail.yahoo.com> References: <20030703231819.6824.qmail@web42004.mail.yahoo.com> Message-ID: <4086.192.168.1.9.1057278759.squirrel@xyzzy.homeip.net> http://www.nagios.org/faqs/viewfaq.php?faq_id=52&expand=false&showdesc=true > hi: > > i got nagios web interface configured on RH8.0 and > works with apache server, but whenever i clicked "3-D > Status Map" and the web starts downloading something > from a web site. what is the problem? > > thanks > > _dave > > > http://mobile.yahoo.com.au - Yahoo! Mobile > - Check & compose your email via SMS on your Telstra or Vodafone mobile. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webid at cfl.rr.com Fri Jul 4 03:14:40 2003 From: webid at cfl.rr.com (Scot L. Harris) Date: 03 Jul 2003 21:14:40 -0400 Subject: 3-D Status Map???? In-Reply-To: <4086.192.168.1.9.1057278759.squirrel@xyzzy.homeip.net> References: <20030703231819.6824.qmail@web42004.mail.yahoo.com> <4086.192.168.1.9.1057278759.squirrel@xyzzy.homeip.net> Message-ID: <1057281279.5480.25.camel@lathe> I went through this problem last year. I looked at many of the VRML options and at the time did not find a plugin for use with Mozilla under Red Hat 8. I found one that sort of worked under Microsoft Explorer. But it was not very good. Finally gave up on it. If you have a specific plugin that works under Mozilla on Linux I would be very interested. On Thu, 2003-07-03 at 20:32, Mike McClure wrote: > http://www.nagios.org/faqs/viewfaq.php?faq_id=52&expand=false&showdesc=true > > > hi: > > > > i got nagios web interface configured on RH8.0 and > > works with apache server, but whenever i clicked "3-D > > Status Map" and the web starts downloading something > > from a web site. what is the problem? > > > > thanks > > > > _dave > > > > > > http://mobile.yahoo.com.au - Yahoo! Mobile > > - Check & compose your email via SMS on your Telstra or Vodafone mobile. > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > > issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- Scot L. Harris ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tony at indosat-m3.com Fri Jul 4 04:14:57 2003 From: tony at indosat-m3.com (Tony Awan) Date: Fri, 4 Jul 2003 09:14:57 +0700 Subject: NAGIOS configuration temporary Message-ID: <013401c341d2$10b7e290$0921040a@indosatm3.com> Hello all, I install nagios version 1.1 But, why every I has been update file configuration (hosts,services) nagios server read temporary file/ file before update?? I hope your help!! Thanks before. Tony. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Fri Jul 4 05:32:39 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 3 Jul 2003 22:32:39 -0500 (CDT) Subject: 3-D Status Map???? In-Reply-To: <1057281279.5480.25.camel@lathe> References: <20030703231819.6824.qmail@web42004.mail.yahoo.com> <4086.192.168.1.9.1057278759.squirrel@xyzzy.homeip.net> <1057281279.5480.25.camel@lathe> Message-ID: <1548.192.168.1.32.1057289559.squirrel@xyzzy.homeip.net> http://freewrl.sourceforge.net/ > I went through this problem last year. I looked at many of the VRML > options and at the time did not find a plugin for use with Mozilla under > Red Hat 8. I found one that sort of worked under Microsoft Explorer. > But it was not very good. Finally gave up on it. > > If you have a specific plugin that works under Mozilla on Linux I would > be very interested. > > On Thu, 2003-07-03 at 20:32, Mike McClure wrote: >> http://www.nagios.org/faqs/viewfaq.php?faq_id=52&expand=false&showdesc=true >> >> > hi: >> > >> > i got nagios web interface configured on RH8.0 and >> > works with apache server, but whenever i clicked "3-D >> > Status Map" and the web starts downloading something >> > from a web site. what is the problem? >> > >> > thanks >> > >> > _dave >> > >> > >> > http://mobile.yahoo.com.au - Yahoo! Mobile >> > - Check & compose your email via SMS on your Telstra or Vodafone mobile. >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email sponsored by: Free pre-built ASP.NET sites including >> > Data Reports, E-commerce, Portals, and Forums are available now. >> > Download today and enter to win an XBOX or Visual Studio .NET. >> > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when reporting any >> > issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> > > -- > Scot L. Harris > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charlesk at generalpants.com.au Fri Jul 4 05:30:29 2003 From: charlesk at generalpants.com.au (Charles Kidson) Date: 04 Jul 2003 13:30:29 +1000 Subject: monitoring services on non-standard ports In-Reply-To: <200307041037.42345.jasmine.chua@securecirt.com> References: <200307041037.42345.jasmine.chua@securecirt.com> Message-ID: <1057289430.6919.13.camel@charlie.GP_SYD> I got it workin ! i just added a -p $ARG1$ on to the check_ssh in checkcommands.cfg and then check_ssh!10022 in services.cfg. On Fri, 2003-07-04 at 12:37, Jasmine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You can try check_tcp > > > On Thursday 03 July 2003 20:00, Charles Kidson wrote: > > I had a search through the mailing list archives, and googled, but with no > > success. If this is documented somewhere, please point me to the right > > location. > > How do i pass arguments to plugins in the config files? > > I need to monitor services that are bound to non-standard ports. > > And, how does the ! (bang?) argument work for the check_ping plugin? > > > > TIA > > > > charlie > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > - -- > Jasmine Chua > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE/BOh0NgvTa7Hj2AURAlo9AJ4senGgj97EbVOcsj4yGLRMiv1fVgCdGZzo > nld4s6ki7nB3ET07g1XX4M0= > =fi1j > -----END PGP SIGNATURE----- > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Iain.Davidson at corporate.ge.com Fri Jul 4 10:17:44 2003 From: Iain.Davidson at corporate.ge.com (Davidson, Iain (CORP, Consultant)) Date: Fri, 4 Jul 2003 09:17:44 +0100 Subject: Connecting Nagios to BMC Patrol Message-ID: Hello, Is anyone aware of any existing adaptors to allow Nagios to listen to a patrol agents events stream? Thanks Iain ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Fri Jul 4 11:05:45 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 4 Jul 2003 17:05:45 +0800 Subject: CHECK_NRPE: Error - Could not complete SSL handshake. In-Reply-To: <017e01c340ee$fc588680$1c08010a@odesk> References: <017e01c340ee$fc588680$1c08010a@odesk> Message-ID: <200307041705.47806.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I am just wondering could the problem be because it requires version 0.9.7a? "As of this time you will need to have the latest greatest version of OpenSSL (tested against version 0.9.7a) since not all versions have the AES algorythm in them." -- README.SSL just my 0.02 cents Jasmine On Thursday 03 July 2003 07:09, Oriz L. Miller wrote: > I, too recompiled with the --disable-ssl and am still seeing the same error > message. > Any help would be appreciated. > > > ----- Original Message ----- > From: "jacob walcik" > To: > Sent: Wednesday, July 02, 2003 4:32 PM > Subject: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL > handshake. > > > i'm trying to get nrpe 2.0b4 working, and i'm receiving the ssl error > > stated in the subject line when the checks run in nagios or when i try > > to run them by hand: > > > > [nagios at muttley libexec]$ ./check_nrpe -H sarge check_load > > CHECK_NRPE: Error - Could not complete SSL handshake. > > > > based on the thread at the url below, i recompiled nrpe on both the > > server and the client with the --disable-ssl flag, however the error > > message persists. is there an additional argument that needs to be > > passed to turn off ssl? > > > > http://sourceforge.net/mailarchive/message.php?msg_id=5318667 > > > > -- > > jacob walcik > > jwalcik at mail.utexas.edu > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/BUNqNgvTa7Hj2AURAr4iAJ9UHmvWNv10EJv3DRjbPLoAfNaEqgCeOYYS Vae2usXCc54VZmSHOV8NaLs= =3na2 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Fri Jul 4 11:08:32 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 4 Jul 2003 17:08:32 +0800 Subject: check are not running at scheduled time and hangs after that In-Reply-To: References: Message-ID: <200307041708.33401.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Why don't you try upgrading to Nagios 1.0 onwards first? :-) Jasmine On Wednesday 02 July 2003 22:29, VOLKER POHL wrote: > Hello all, > > sometimes i wonder about checks, which run last time a few days ago. But > they should run every x minutes. The next_scheduled_active_check value > points on a datetime in past. I have installed Nagios 1.0b6 on HP/UX 11.00. > > Has someone noticed the same problem? > > Thanks, > Volker > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/BUQQNgvTa7Hj2AURAiiQAKCNNiwkMQuuuZwaNGLvt77eIJYNiACgjnWW M4Vw5Nqzmg1nsLYgiWkR7HA= =BM6Y -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snortbsd at yahoo.com.au Fri Jul 4 11:13:59 2003 From: snortbsd at yahoo.com.au (=?iso-8859-1?q?snort=20bsd?=) Date: Fri, 4 Jul 2003 19:13:59 +1000 (EST) Subject: newbie's questions Message-ID: <20030704091359.24911.qmail@web42003.mail.yahoo.com> hi: how does Nagios determin the network devices it monitor? bases on ip addresses or those devices have to have DNS name and with reverse DNS lookup? nagios -v nagiso.cf kept failling by saying: Reading configuration data... Error: Could not find host 'xx-xx-xxxx' Error: Could not expand member hosts specified in hostgroup (config file '/usr/local/nagios/etc/hostgroups.cfg', line 39) ***> One or more problems was encountered while processing the config files... but the device xx-xx-xxxx is alive with no DNS record... any suggestions? thanks _dave http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snortbsd at yahoo.com.au Fri Jul 4 11:35:04 2003 From: snortbsd at yahoo.com.au (=?iso-8859-1?q?snort=20bsd?=) Date: Fri, 4 Jul 2003 19:35:04 +1000 (EST) Subject: 3-D Status Map???? In-Reply-To: <202FFF2E883FC640B0E12B88EA98FD37037204@mail2.hq.linksys.com> References: <202FFF2E883FC640B0E12B88EA98FD37037204@mail2.hq.linksys.com> Message-ID: <20030704093504.29658.qmail@web42003.mail.yahoo.com> Thanks for you all and it is working now ... --- Marek Dohojda wrote: > You need to be able to have a pluggin for your > browser that will play the > WRML files. > > > -----Original Message----- > From: snort bsd [mailto:snortbsd at yahoo.com.au] > Sent: Thursday, July 03, 2003 4:18 PM > To: nagios-users at lists.sourceforge.net > > hi: > > i got nagios web interface configured on RH8.0 and > works with apache server, > but whenever i clicked "3-D Status Map" and the web > starts downloading > something from a web site. what is the problem? > > thanks > > _dave > > > http://mobile.yahoo.com.au - Yahoo! Mobile > - Check & compose your email via SMS on your Telstra > or Vodafone mobile. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built > ASP.NET sites including Data > Reports, E-commerce, Portals, and Forums are > available now. > Download today and enter to win an XBOX or Visual > Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built > ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are > available now. > Download today and enter to win an XBOX or Visual > Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Fri Jul 4 11:55:14 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 4 Jul 2003 17:55:14 +0800 Subject: newbie's questions In-Reply-To: <20030704091359.24911.qmail@web42003.mail.yahoo.com> References: <20030704091359.24911.qmail@web42003.mail.yahoo.com> Message-ID: <200307041755.15521.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Nagios monitors devices through external nagios plugins and yes you are half-right, it is determined based on MACROS passed. You must add host xxx.xxx.xx.xxx into the hostgroups.cfg file as a member. I would suggest you read the Nagios docs. :-) Jasmine On Friday 04 July 2003 17:13, snort bsd wrote: > hi: > > how does Nagios determin the network devices it > monitor? bases on ip addresses or those devices have > to have DNS name and with reverse DNS lookup? > > nagios -v nagiso.cf kept failling by saying: > > Reading configuration data... > > Error: Could not find host 'xx-xx-xxxx' > > Error: Could not expand member hosts specified in > hostgroup (config file > '/usr/local/nagios/etc/hostgroups.cfg', line 39) > > > ***> One or more problems was encountered while > processing the config files... > > but the device xx-xx-xxxx is alive with no DNS > record... > > any suggestions? > > thanks > > _dave > > > http://mobile.yahoo.com.au - Yahoo! Mobile > - Check & compose your email via SMS on your Telstra or Vodafone mobile. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/BU8CNgvTa7Hj2AURAikVAJ9z9BUZjgdzD6hOHLuDcfs6Hm2wkgCgjZu7 /7TBcSHE600rDwyOQvKRngw= =cdF5 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kurt_drescher at hp.com Fri Jul 4 14:35:30 2003 From: kurt_drescher at hp.com (DRESCHER,KURT (HP-Germany,ex1)) Date: Fri, 4 Jul 2003 14:35:30 +0200 Subject: Creating logfiles Message-ID: Hello With nagios we create external historical availability and performance reports. In the log files nagios.log and archived logs, are only negative and appropriate positive events reported. Is it possible, to perform/report all status-information's including ok-states for every check-cycle into one log file ? Thanks Kurt ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snortbsd at yahoo.com.au Fri Jul 4 14:54:24 2003 From: snortbsd at yahoo.com.au (=?iso-8859-1?q?snort=20bsd?=) Date: Fri, 4 Jul 2003 22:54:24 +1000 (EST) Subject: disable service dependancies Message-ID: <20030704125424.16808.qmail@web42006.mail.yahoo.com> hi all: for the testing purpose, i would like to disbale service dependency... how could i do that? tia _dave http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goran.almvik at intentia.se Fri Jul 4 17:48:49 2003 From: goran.almvik at intentia.se (Goran Almvik) Date: Fri, 4 Jul 2003 17:48:49 +0200 Subject: Loading MIBs Message-ID: Anybody got an inside tip on how to import/load a set of MIBs? When having declared the MIBs I want in the SNMP.CONF and try to start snmptrapd I get a lot of errors. The same thing when trying to do a simple walk ... Anybody feeling up for it? [root at sto30161 net-snmp-5.0.8]# snmpwalk -v 1 -c public 10.20.29.60 enterprises Unlinked OID in COMTEK-OS400-CMN-MIB: comtekos400 ::= { comtek 5 } Undefined identifier: comtek near line 7 of /usr/share/snmp/mibs/CMTK-cmtkcmn-MIB.txt Did not find 'comtekos400Mib' in module COMTEKA4-MIB (/usr/share/snmp/mibs/CMTK-comtektp-MIB.txt) Unlinked OID in COMTEK-AS400-TRAP-MIB: comtekos400Mib# ::= { comtekos400Mib 0 } /GA -------------------- Internet e-Mail Disclaimer -------------------- This e-mail 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 are not the intended recipient you are notified that any use, disclosure, copying or distribution of the information is prohibited. In such case, you should destroy this message and kindly notify the sender by reply e-mail. The views expressed in this e-mail and any attachments are personal and, unless stated explicitly, do not represent the views of Intentia. Furthermore, Intentia will not be bound by this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcclure at pneservices.com Fri Jul 4 18:52:01 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 4 Jul 2003 11:52:01 -0500 (CDT) Subject: Loading MIBs In-Reply-To: References: Message-ID: <1261.192.168.1.9.1057337521.squirrel@xyzzy.homeip.net> You don't have all the needed MIBS, specifically the MIB where the "comtek" object is defined. http://www.net-snmp.org/tutorial-5/commands/mib-options.html By the way, since your question does not have anything to do specifically with Nagios, perhaps it would be better suited for a posting to the net-snmp-users mailing list instead. > Anybody got an inside tip on how to import/load a set of MIBs? When having > declared the MIBs I want in the SNMP.CONF and try to start snmptrapd I get > a lot of errors. The same thing when trying to do a simple walk ... > Anybody feeling up for it? > > [root at sto30161 net-snmp-5.0.8]# snmpwalk -v 1 -c public 10.20.29.60 > enterprises > Unlinked OID in COMTEK-OS400-CMN-MIB: comtekos400 ::= { comtek 5 } > Undefined identifier: comtek near line 7 of > /usr/share/snmp/mibs/CMTK-cmtkcmn-MIB.txt > Did not find 'comtekos400Mib' in module COMTEKA4-MIB > (/usr/share/snmp/mibs/CMTK-comtektp-MIB.txt) > Unlinked OID in COMTEK-AS400-TRAP-MIB: comtekos400Mib# ::= { > comtekos400Mib 0 } > > /GA > > -------------------- Internet e-Mail Disclaimer -------------------- > This e-mail 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 are not the intended recipient you are notified that any > use, disclosure, copying or distribution of the information is prohibited. > In such case, you should destroy this message and kindly notify the sender > by reply e-mail. The views expressed in this e-mail and any attachments > are personal and, unless stated explicitly, do not represent the views of > Intentia. Furthermore, Intentia will not be bound by this e-mail. > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jontxu40 at hotmail.com Fri Jul 4 20:50:37 2003 From: jontxu40 at hotmail.com (jontxu40 at hotmail.com) Date: Fri, 4 Jul 2003 20:50:37 +0200 Subject: Internal Error server Message-ID: Hi all : I have installed Nagios the first time, and after install plugin, all cgis give me "Internal Server Error" Error_log tell me : Premature end of script headers: /usr/local/nagios/sbin/config.cgi or Premature end of script headers: /usr/local/nagios/sbin/status.cgi all cgis give the same error . I have checked permissions and it seems ok... Any ideas ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios-users at ols.inorganic.org Sat Jul 5 21:06:34 2003 From: nagios-users at ols.inorganic.org (Roy S. Rapoport) Date: Sat, 5 Jul 2003 12:06:34 -0700 Subject: Nagios on Win32 Message-ID: <20030705190634.GA11689@nag.inorganic.org> A search of the mailing list archive (for the "win32" string) didn't seem to bring up any relevant results. Hopefully this isn't a FAQ (though I checked it also). I really like Nagios, and have run it for a while now on UNIX systems. I prefer its layout to Big Brother's, though this may be just an issue of what I'm used to. Unfortunately, I'm dealing now with two environments that are Windows-only, and while I could do the "hey, it only runs on UNIX so we need UNIX here" dance, A) I'm not likely to win; and B) I hate it when Windows people do it to me. So ... Has anyone managed to port Nagios to the win32 platform? -roy ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan at julieanddan.com Sat Jul 5 22:01:03 2003 From: dan at julieanddan.com (dan at julieanddan.com) Date: Sat, 5 Jul 2003 16:01:03 -0400 Subject: Nagios XML Engine (NXE) Version 1.0 released Message-ID: NXE 1.0 has been released and is available at http://nxe.sourceforge.net For those who haven't played with the beta, NXE is the Nagios XML Engine that converts multiple Nagios status log files into XML and much more. Some of the most interesting features of this package include: * NXE provides an XML-RPC interface for reporting from and issuing external commands to Nagios. * Can be used from the command line. * Can be used from URLs (HTTP GET). * NXE provides the ability to transform Nagios data into XML, HTML, PDF, Microsoft Excel or Word. * NXE works on any Perl enabled system (tested on Win32 & a couple of Linux distros). I have added some great new features such as XSLT transformations and a full XML-RPC interface for the final 1.0 code release. Current version only supports Nagios 1.0. Many new exciting features (and Nagios 2.0 compatibility) will be in the next version. If you test it out, please send me a note and let me know how you like it. __________________ Daniel Koffler dkoffler at users.sourceforge.net Tel: 514.497.1411 Fax: 206.600.4642 GPG Key ID: 0xA2C6DC83 Fingerprint: 1FD7 3FDF 8A0D 961F 26A2 3EDA AE8F A874 A2C6 DC83 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rouilj at cs.umb.edu Sun Jul 6 07:06:38 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sun, 06 Jul 2003 01:06:38 -0400 Subject: Nagios on Win32 Message-ID: <200307060506.h6656cxM008436@mx1.cs.umb.edu> On Sat, 5 Jul 2003 12:06:34 -0700, Roy S. Rapoport asked: >A search of the mailing list archive (for the "win32" string) didn't seem >to bring up any relevant results. Hopefully this isn't a FAQ (though I >checked it also). >[...] >So ... Has anyone managed to port Nagios to the win32 platform? I got it to compile under cygwin. Didn't try running it though. It was a stock ./configure IIRC. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From starbase_947 at KNESSET.GOV.IL Sun Jul 6 17:42:01 2003 From: starbase_947 at KNESSET.GOV.IL (=?windows-1255?Q?=EE=F9=E4_=F8=E5=F4=E0?=) Date: Sun, 6 Jul 2003 17:42:01 +0200 Subject: notification porblem. Message-ID: <457CE430FA75D61193D90002A5F0CF89012E7D1F@ZAVITAN> Greetings. i have just recently established nagios on my redhat 9 linux box. all went well and the configuration is fine. I am trying to use a sendsms perl script that send sms to my nokia celloar phone. >From the command line, all is fine and the massege appear on my phone (very fast i might add). but from nagios nothing happenes. i know the configuration if fine and the notifications are enabled. i even have a test notification, i.e all notification are appened to a test file, and they appear quite nicely. the test and the sms command come together. i tried to hide the perl script behind a bash script, but nothing happened. there is a shortage of debugging tools for nagios. it appears that for some reason, nagios can not esablish a shell processs and run the perl script. or maybe i am wrong. any suggestions? i need to set this up on a tight scheduale. thanks, in advance. Moshe Roffe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Jul 7 01:54:35 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 7 Jul 2003 09:54:35 +1000 Subject: Nagios-users digest, Vol 1 #1553 - 2 msgs In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Sat, Jul 05, 2003 at 08:14:56PM -0700 References: Message-ID: <20030707095433.A73529@IPAustralia.Gov.AU> Dear SIr, I am writing to thank you for your letter and say, > > From: "Roy S. Rapoport" > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios on Win32 > > A search of the mailing list archive (for the "win32" string) didn't seem > to bring up any relevant results. Hopefully this isn't a FAQ (though I > checked it also). > > I really like Nagios, and have run it for a while now on UNIX systems. I > prefer its layout to Big Brother's, though this may be just an issue of > what I'm used to. > > Unfortunately, I'm dealing now with two environments that are Windows-only, > and while I could do the "hey, it only runs on UNIX so we need UNIX here" > dance, A) I'm not likely to win; and B) I hate it when Windows people do it > to me. > > So ... Has anyone managed to port Nagios to the win32 platform? > I think Nag would have to be, like Ntop, written for or at least with Win32 in mind for this to be feasable. However, there is a configure option for Cygwin. Is that an option for you ? Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at ols.inorganic.org Mon Jul 7 02:08:39 2003 From: nagios-users at ols.inorganic.org (Roy S. Rapoport) Date: Sun, 6 Jul 2003 17:08:39 -0700 Subject: Nagios-users digest, Vol 1 #1553 - 2 msgs In-Reply-To: <20030707095433.A73529@IPAustralia.Gov.AU> References: <20030707095433.A73529@IPAustralia.Gov.AU> Message-ID: <20030707000839.GA19324@nag.inorganic.org> On Mon, Jul 07, 2003 at 09:54:35AM +1000, Stanley Hopcroft wrote: > I think Nag would have to be, like Ntop, written for or at least with > Win32 in mind for this to be feasable. > > However, there is a configure option for Cygwin. Is that an option for > you ? Yes, very much so, thank you. This is great -- I'm walking into an environment that's been limping along with Big Brother for a while now, and the cursory look I've taken at it for the last 3-4 days makes me love Nagios even more. Running it under Cygwin is perfectly OK in this organization. -roy ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Jul 7 04:41:10 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 7 Jul 2003 12:41:10 +1000 Subject: Nagios-users digest, Vol 1 #1552 - 13 msgs In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Fri, Jul 04, 2003 at 08:17:56PM -0700 References: Message-ID: <20030707124108.B73529@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say > From: "Goran Almvik" > Date: Fri, 4 Jul 2003 17:48:49 +0200 > Subject: [Nagios-users] Loading MIBs > > This is a multipart message in MIME format. > --=_alternative 0056E474C1256D59_= > Content-Type: text/plain; charset="us-ascii" > > Anybody got an inside tip on how to import/load a set of MIBs? When having > declared the MIBs I want in the SNMP.CONF and try to start snmptrapd I get > a lot of errors. The same thing when trying to do a simple walk ... > Anybody feeling up for it? > > [root at sto30161 net-snmp-5.0.8]# snmpwalk -v 1 -c public 10.20.29.60 > enterprises > Unlinked OID in COMTEK-OS400-CMN-MIB: comtekos400 ::= { comtek 5 } > Undefined identifier: comtek near line 7 of > /usr/share/snmp/mibs/CMTK-cmtkcmn-MIB.txt > Did not find 'comtekos400Mib' in module COMTEKA4-MIB > (/usr/share/snmp/mibs/CMTK-comtektp-MIB.txt) > Unlinked OID in COMTEK-AS400-TRAP-MIB: comtekos400Mib# ::= { > comtekos400Mib 0 } > > /GA > that, as Mr McClure wrote, this problem is not caused by Nagios However, it is of sufficient importance to Nagios users to warrant some amplification. It really is trmendously important for Nagios to be able to harvest passive service check results from extant/legacy SNMP trap infrastructure and while Nagios is _not_ an SNMP manager, it can be adapted to do so as described in the docs ('Integration with other software'). The assumption for those dealing with SNMP is that one is able to deal with the matters you have raised. Quite frankly however, doing so this is not obvious and frustrating. So settle back. If you still have an interest in this matter you will have to do some work finding out about Net-SNMP and MIBs. What follows is simply what I have found helpful in doing this stuff. It is not specifically helpful to your problem but may help. it. 1 You should have a look at the FAQs on the Net-SNMP. IIRC correctly they answer the question of 'unlinked OID'. 2 snmptranslate is your friend in dealing with freshly downloaded MIBs. If snmptranslate cannot convert an OID from the MIB to numeric format, snmptrapd will fail. Common causes of snmptranslate failures are 2.1 You don't have the MIBS that are required by the problem MIB. These are listed in the IMPORT list. Unfortunately, there is no MIB infrastructure that I know of that downloads a MIB and its pre-reqs. However, this is an ignorant Unix context remark. 2.2 The MIBs are not in the place Net-SNMP expects them. You really want a private MIB directory so you don't risk clobbering the standard MIBs in (maybe) /usr/local/share/snmp/mibs/. Net-SNMP offers ~home/.snmp for this purpose 2.3 The MIBS are not compiled You need to use -MAll (?) as an option for the CLI tools or update your SNMP configuration to read _all_ your MIB directories and compile all the MIBs. 2.4 The MIB has "\r\n" (it's in DOS format). You can get these out with something like perl -i.bak -pe 's/\r//g' 2.5 The MIB is poorly formed and requires manual editing. This is unlikely but not impossible, 2.6 Prepare to accept a failure and try another MIB. Some of the Cisco MIBs for example are not accepted by all the IOSs (eg CPU utiilistion) 3 Invest some time in learning about how to test your trap handlers with either snmptrap or Net::SNMP::snmptrap (?). You really need to be able to generate ad-hoc traps and these tools are helpful. HTH Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at mgpi.com.fr Mon Jul 7 09:57:17 2003 From: greg at mgpi.com.fr (greg) Date: Mon, 7 Jul 2003 09:57:17 +0200 Subject: several ip on a host Message-ID: <200307070957.17328.greg@mgpi.com.fr> Hi, On the network I want to monitore with Nagios, servers have two network card (they have two ip address, one for the backup) . Do I define a host for each ip or can I define a host with several IP (in hosts.cfg, hostgroups.cfg, services.cfg ... )? Actually, I define a host for each IP but I wonder if that's the best solution... Thanks for your help Greg. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at gushlow.com Mon Jul 7 13:25:39 2003 From: nick at gushlow.com (Nick Gushlow) Date: 07 Jul 2003 12:25:39 +0100 Subject: Can FTP check handle 421? Message-ID: <1057577139.1287.5.camel@rockley.barbados> Some of the systems my nagios box checks have user limits on their ftp servers. If the max number of users are logged into the ftp server it returns a 421 when a new connection is made as it should. Is there anyway I can tell nagios to handle this gracefully and report that the ftp is up and fine. Currently it reports a warning, which I do not want it to do as technically nothing is wrong. TIA, Nick Gushlow ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From willipl1 at jhuapl.edu Mon Jul 7 14:24:23 2003 From: willipl1 at jhuapl.edu (Williams, P. Lane) Date: Mon, 07 Jul 2003 08:24:23 -0400 Subject: host extended info Message-ID: <1057580669.360.18.camel@lenny.jhuapl.edu> I am having a mental block.....I have nagios running in production just fine. The problem is with my development server. I recompiled Nagios and now it will not accept the definition "hostextinfo". Nagios was compiled --with-template-extinfo. I've added the "xedtemplate_config_file" setting in the cgi.cfg file. Here is my hostextinfo settings.......(same as production)...... define hostextinfo{ host_name server_name notes_url http://server.site.edu/nodes2.pl?QUERY_STRING=server_name icon_image statusmap_image } This is what I get when I verify the config....... Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Invalid object definition type 'hostextinfo' in file '/usr/local/nagios/etc/HostExtInfo.cfg' on line 1. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. Does anyone know what I am missing? Thanks for any help, Lane ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwarnier at beeznest.net Mon Jul 7 15:51:04 2003 From: jwarnier at beeznest.net (=?ISO-8859-1?Q?J=E9r=F4me?= Warnier) Date: 07 Jul 2003 15:51:04 +0200 Subject: ./configure --enable-embedded-perl In-Reply-To: <1057228903.30112.4.camel@aphrodite.bxlug.be> References: <1057228903.30112.4.camel@aphrodite.bxlug.be> Message-ID: <1057585864.24133.39.camel@aphrodite.bxlug.be> Le jeu 03/07/2003 ? 12:41, J?r?me Warnier a ?crit : > I was wondering togheter with the maintener of the Debian package for > Nagios what was "--enable-embedded-perl"'s purpose. > Furthermore, what is "--with-perlcache" for? > > Could someone here enlight us? I reply to myself, as it may be interesting to know: http://fnor.informatik.haw-hamburg.de/nagios/docs/embeddedperl.html > Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From jontxu40 at hotmail.com Mon Jul 7 17:49:45 2003 From: jontxu40 at hotmail.com (jontxu40 at hotmail.com) Date: Mon, 7 Jul 2003 17:49:45 +0200 Subject: check_ping and check-host-alive Message-ID: Hi all : I get a error with "check_ping" and "check-host-alive"... Allways I get UNKNOWN status and the Status Information is : "/bin/ping -n -U -c 5 xx.xxx.xxx.xx".. If I execute "/bin/ping -n -U -c 5 xx.xxx.xxx.xx" by console work fine... Also with the next command by console work fine : ./check_ping -H xx.xx.xx.xx -w 3000.0,80% -c 5000.0,100% -p 1 because I get "PING OK - Packet loss = 0%, RTA = 40.55 ms" But nagios allways return me "UNKNOWN status" Any ideas ? Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwendel at law.tulane.edu Mon Jul 7 17:56:18 2003 From: mwendel at law.tulane.edu (Meg Wendel) Date: Mon, 7 Jul 2003 10:56:18 -0500 Subject: no lock file found Message-ID: <4D4E87496C390E4FB827944920CC8B2D033254DD@exchange.law.tulane.edu> Hello, Spent many hours trying to find a resolution to the error message: No lock file found in /var/run/nagios.pid this is the message from the linux services: nagios When I run the command 'nagios' from the Linux command prompt, the error is: segmentation fault. We are running RH9 with all updates We tried running RPM packages as well, tried different install configure prefix commands. Appears our *.cfg files are right.... Seems there are a few users, from searching the net, that have the same problem, but cannot seem to find a resolution. Thanks for your help in advance. Meg~ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Jul 7 18:40:37 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 7 Jul 2003 11:40:37 -0500 Subject: *** GD, PNG, and/or JPEG libraries could not be located... ********* In-Reply-To: <6633DBDE6F5ED64D9D6AF3264AEE891467C9D5@shrex.asp.firstlink.com> References: <6633DBDE6F5ED64D9D6AF3264AEE891467C9D5@shrex.asp.firstlink.com> Message-ID: <16137.41605.336089.325149@montanaro.dyndns.org> Onyi> Here is the output from config.log... Onyi> configure:2660: checking for gdImagePng in -lgd (order 1) Onyi> configure:2679: gcc -o conftest -g -O2 -I/usr/local/include/libpng/ -L/usr/local/lib/ conftest.c -lgd -lz -lm -lpng -ljpeg 1>&5 Onyi> configure:2675: Undefined symbol `_gdImagePng' referenced from text segment Onyi> collect2: ld returned 1 exit status Onyi> configure: failed program was: Onyi> #line 2668 "configure" Onyi> #include "confdefs.h" Onyi> /* Override any gcc2 internal prototype to avoid an error. */ Onyi> /* We use char because int might match the return type of a gcc2 Onyi> builtin and then its argument prototype would still apply. */ Onyi> char gdImagePng(); Onyi> int main() { Onyi> gdImagePng() Onyi> ; return 0; } ... Sure looks to me like _gdImagePng is not defined in your gd library. Are you sure your gd library is a new enough version and/or that when built, PNG support was available (to insure that gd's build process compiled gdImagePng)? -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Mon Jul 7 20:39:39 2003 From: sobrien at ci.bend.or.us (sobrien at ci.bend.or.us) Date: Mon, 7 Jul 2003 11:39:39 -0700 Subject: no lock file found In-Reply-To: <4D4E87496C390E4FB827944920CC8B2D033254DD@exchange.law.tulane.edu> References: <4D4E87496C390E4FB827944920CC8B2D033254DD@exchange.law.tulane.edu> Message-ID: That usually means that there is a problem with your config file. Try Nagios -v -c /path/to/config it will tell you what the problem is. Steve "Meg Wendel" Sent by: nagios-users-admin at lists.sourceforge.net 07/07/2003 08:56 AM To cc Subject [Nagios-users] no lock file found Hello, Spent many hours trying to find a resolution to the error message: No lock file found in /var/run/nagios.pid this is the message from the linux services: nagios When I run the command 'nagios' from the Linux command prompt, the error is: segmentation fault. We are running RH9 with all updates We tried running RPM packages as well, tried different install configure prefix commands. Appears our *.cfg files are right.... Seems there are a few users, from searching the net, that have the same problem, but cannot seem to find a resolution. Thanks for your help in advance. Meg~ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasghar at celitesystems.com Mon Jul 7 22:02:30 2003 From: jasghar at celitesystems.com (JJ Asghar) Date: 07 Jul 2003 15:02:30 -0500 Subject: check_dhcp Message-ID: <1057608149.4693.7.camel@nagios> I complied the check_dhcp.c file, with gcc as root so the owners are root and the group is root. my checkcommands.cfg has the line define command{ command_name check_dhcp command_line $USER1$/check_dhcp -s $ARG1$ -r $ARG2$ -i eth0 } and the services.cfg file has the command line check_command check_dhcp!10.1.1.3!10.1.1.189 but i seem so still get the "Error: Could not bind socket to interface eth0. Check your privileges..." But it's owned and controled by root.....i'm lost ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.irvine at kingcountyjournal.com Mon Jul 7 22:21:17 2003 From: bryan.irvine at kingcountyjournal.com (Bryan Irvine) Date: 07 Jul 2003 13:21:17 -0700 Subject: monitoring win2k processes Message-ID: <1057609277.17239.49.camel@elvis> I have a windows 2000 box (ugh!) running a pretty critical app that is also very buggy. The company obviously followed the "Fast, Reliable, and cheap, pick any two" track. Anyway, the program dies occasionally. No errors no nothing it just vanishes. It's as easy as just double clicking it's icon to get it back up and running. Is there a way to check if the app is running, and if not either alert me or start the program? I have checked the archives but the sourceforge search thing isn't working right now. I think I'm supposed to use the nrpe_nt but does it matter that I'm on 2k? and the software is listed as beta, is anyone else using it without any problems? --Bryan ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at ols.inorganic.org Mon Jul 7 22:28:57 2003 From: nagios-users at ols.inorganic.org (Roy S. Rapoport) Date: Mon, 7 Jul 2003 13:28:57 -0700 Subject: monitoring win2k processes In-Reply-To: <1057609277.17239.49.camel@elvis> References: <1057609277.17239.49.camel@elvis> Message-ID: <20030707202857.GA4101@nag.inorganic.org> On Mon, Jul 07, 2003 at 01:21:17PM -0700, Bryan Irvine wrote: > I have a windows 2000 box (ugh!) running a pretty critical app that is > also very buggy. The company obviously followed the "Fast, Reliable, > and cheap, pick any two" track. Anyway, the program dies occasionally. > No errors no nothing it just vanishes. It's as easy as just double > clicking it's icon to get it back up and running. Is there a way to > check if the app is running, and if not either alert me or start the > program? You can actually use SNMP to get a list of processes running on a Win2K box. -roy ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Mon Jul 7 22:52:17 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Mon, 7 Jul 2003 16:52:17 -0400 Subject: several ip on a host References: <200307070957.17328.greg@mgpi.com.fr> Message-ID: <007901c344c9$bc454f40$f805ff0a@tekniq> Personally, I'd consider one ip to be the 'master' in the hosts file and just have 3 'PING ip' services defined for that host. You can do it however you'd like though. -Jason ----- Original Message ----- From: "greg" To: Sent: Monday, July 07, 2003 3:57 Subject: [Nagios-users] several ip on a host > Hi, > > On the network I want to monitore with Nagios, servers have two network card > (they have two ip address, one for the backup) . Do I define a host for each > ip or can I define a host with several IP (in hosts.cfg, hostgroups.cfg, > services.cfg ... )? > Actually, I define a host for each IP but I wonder if that's the best > solution... > > Thanks for your help > Greg. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Mon Jul 7 23:09:37 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Mon, 7 Jul 2003 16:09:37 -0500 Subject: monitoring win2k processes In-Reply-To: <1057609277.17239.49.camel@elvis> References: <1057609277.17239.49.camel@elvis> Message-ID: <14300.5412923687$1057613475@news.gmane.org> I monitor many Win2k systems via SNMP (hrSWRunTable) to ensure specific processes are always running. I do it via a custom shell script plugin I wrote for Netsaint 0.0.7, I'm not certain there is a direct equivalent available in the nagios-plugins. I hope so, I'm about to move to Nagios. It searches hrSWRunTable for X instances of process Y. If X > or < a threshold, it returns warn/crit/ok and the number of matching processes. Some of my systems are running multiple databases, and so should always have 2+ processes with the same executable name running at a time. NSClient can be installed on the Win2k server and then you can monitor specific processes by executable name, instead of SNMP. The advantage I found is that SNMP comes with Win2k and is a quick setup, plus I can get performance info off the Win2k box with Cricket with hostmib. One other option you might consider is using FireDaemon ( http://www.firedaemon.com/ ) to create a windows service from the application you wish to run. Then you can use NSClient to monitor the status of that service. You could even be so bold as to make the service restart automatically if it should stop. ;] Russell On Mon, Jul 07, 2003 at 01:21:17PM -0700, Bryan Irvine wrote: > I have a windows 2000 box (ugh!) running a pretty critical app that is > also very buggy. The company obviously followed the "Fast, Reliable, > and cheap, pick any two" track. Anyway, the program dies occasionally. > No errors no nothing it just vanishes. It's as easy as just double > clicking it's icon to get it back up and running. Is there a way to > check if the app is running, and if not either alert me or start the > program? > > I have checked the archives but the sourceforge search thing isn't > working right now. I think I'm supposed to use the nrpe_nt but does it > matter that I'm on 2k? and the software is listed as beta, is anyone > else using it without any problems? > > --Bryan > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.irvine at kingcountyjournal.com Mon Jul 7 23:44:02 2003 From: bryan.irvine at kingcountyjournal.com (Bryan Irvine) Date: 07 Jul 2003 14:44:02 -0700 Subject: monitoring win2k processes In-Reply-To: <20030707202857.GA4101@nag.inorganic.org> References: <1057609277.17239.49.camel@elvis> <20030707202857.GA4101@nag.inorganic.org> Message-ID: <1057614242.17239.58.camel@elvis> Is there a way to pipe that into nagios so nagios can throw up an alert? --Bryan On Mon, 2003-07-07 at 13:28, Roy S. Rapoport wrote: > On Mon, Jul 07, 2003 at 01:21:17PM -0700, Bryan Irvine wrote: > > I have a windows 2000 box (ugh!) running a pretty critical app that is > > also very buggy. The company obviously followed the "Fast, Reliable, > > and cheap, pick any two" track. Anyway, the program dies occasionally. > > No errors no nothing it just vanishes. It's as easy as just double > > clicking it's icon to get it back up and running. Is there a way to > > check if the app is running, and if not either alert me or start the > > program? > > You can actually use SNMP to get a list of processes running on a Win2K > box. > > -roy > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.irvine at kingcountyjournal.com Mon Jul 7 23:50:00 2003 From: bryan.irvine at kingcountyjournal.com (Bryan Irvine) Date: 07 Jul 2003 14:50:00 -0700 Subject: 1.1 upgrade Message-ID: <1057614599.17242.61.camel@elvis> I just upgraded to 1.1 and now the tactical overview screen is weird lookin'. The "Critical" table take up about 70% of the width of the screen. A screenshot is here http://64.1.201.147/Screenshot.png --Bryan ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Wirtgen at miwi-dv.com Tue Jul 8 00:53:10 2003 From: Michael.Wirtgen at miwi-dv.com (Michael.Wirtgen at miwi-dv.com) Date: Tue, 8 Jul 2003 00:53:10 +0200 Subject: monitoring win2k processes Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B41E500F@ws_server.intern.westernsystems.de> Bryan just my 2 cents, but of course I'm a little biased: - SNMP might be an option if you already use this for other purposes, but it can't resolve your "restart on failure" issue - I might be paranoid, but wrapping something already buggy into a service wrapper doesn't sound _too_ good to me, even if Russells point about automatic restarting is valid. - To answer your questions about nrpe_nt: - Yes it runs on W2K, and I have also reports of running it on 2K3-Server (In fact it was developed on W2K) - Yes, it's still labeled beta, as I don't have "enough" feedback gathered to label it stable, even if I got some... - All problem reports I received for the latest build (0.5b - available approx. three weeks) boiled down to configuration issues. Currently I'm not aware of any open bugs, which could of course be because no one reported it but just stopped looking at it... So, here's what I'd do: - Get a copy of pstools from sysinternals [ http://www.sysinternals.com/ntw2k/freeware/pstools.shtml ] - script something like this, and define as a nrpe_nt command: ######### checkandrestart.cmd start ######################### @echo off setlocal set PROCNAME=notepad REM Assume state ok set RETVAL=0 set RETSTR=%PROCNAME% running REM check if process exists pslist | find "%PROCNAME%" >NUL if %ERRORLEVEL% EQU 0 GOTO SCRIPTEND REM We need to restart, attempt restart and report WARNING set RETVAL=1 set RETSTR=Restarted %PROCNAME% echo restarting %PROCNAME% @ %DATE%-%TIME%>> %PROCNAME%-restart.log start %PROCNAME%.exe REM check if restart successful pslist | find "%PROCNAME%" > NUL if %ERRORLEVEL% EQU 0 GOTO SCRIPTEND REM We failed to restart, report CRITICAL set RETVAL=2 set RETSTR=Could not restart %PROCNAME% echo Failed restarting %PROCNAME% @ %DATE%-%TIME%>> %PROCNAME%-restart.log :SCRIPTEND echo %RETSTR% exit %RETVAL% ######### checkandrestart.cmd end ########################### I just wrote this down, so please don't expect it to be fully tested, but you should get the idea... cheers Michael > -----Original Message----- > From: Bryan Irvine [mailto:bryan.irvine at kingcountyjournal.com] > Sent: Montag, 7. Juli 2003 22:21 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] monitoring win2k processes > > > I have a windows 2000 box (ugh!) running a pretty critical app that is > also very buggy. The company obviously followed the "Fast, Reliable, > and cheap, pick any two" track. Anyway, the program dies > occasionally. > No errors no nothing it just vanishes. It's as easy as just double > clicking it's icon to get it back up and running. Is there a way to > check if the app is running, and if not either alert me or start the > program? > > I have checked the archives but the sourceforge search thing isn't > working right now. I think I'm supposed to use the nrpe_nt > but does it > matter that I'm on 2k? and the software is listed as beta, is anyone > else using it without any problems? > > --Bryan > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 > 1203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at insynclh.com Tue Jul 8 01:13:20 2003 From: mark at insynclh.com (Mark D. Valpreda) Date: Mon, 7 Jul 2003 16:13:20 -0700 Subject: Problem with check_snmp Message-ID: I am running into an issue with check_snmp that has become quite frustrating. I am trying to monitor temperature on an APC Symmetra. The problem I am running into is with the check_snmp module. I am testing the commands outside of Nagios for now and this is the command I planned on using: check_snmp -v -H X.X.X.X -o .1.3.6.1.4.1.318.1.1.2.1.1.0 -C public The command that is created from that is: snmpget -m ALL -v 1 -c public X.X.X.X:161 .1.3.6.1.4.1.318.1.1.2.1.1.0 And that command is just wrong. Near as I can tell, the command should be: snmpget -v 1 X.X.X.X public .1.3.6.1.4.1.318.1.1.2.1.1.0 Adding "-m ALL" gives me a response, but "Did not find 'iso' in module SNMPv2-SMI (/usr/share/snmp/mibs/SNMPv2-CONF.txt)" crops up. Explicitly defining port 161 causes "snmpget: Unknown host (157.185.1.70:161)" But I don't know how or what I am doing wrong that is causing that command to be so botched up. Can anyone point me in the right direction? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlong at messiah.edu Tue Jul 8 01:59:56 2003 From: jlong at messiah.edu (Jason Long) Date: Mon, 07 Jul 2003 19:59:56 -0400 Subject: check_dhcp Message-ID: I think check_dhcp must be run as root (not the same thing as being owned by root). You may want to make it setuid root, so that when nagios invokes it, it executes as root. I recommend making the permissions something like this: -rwsr-x--- root nagios check_dhcp This will let only members of the nagios group (including the nagios user) run the program. This can be accomplished with these commands: # chown root check_dhcp # chgrp nagios check_dhcp # chmod u=rwxs,g=rx,o= check_dhcp Jason Long >>> JJ Asghar 07/07/03 16:11 PM >>> I complied the check_dhcp.c file, with gcc as root so the owners are root and the group is root. my checkcommands.cfg has the line define command{ command_name check_dhcp command_line $USER1$/check_dhcp -s $ARG1$ -r $ARG2$ -i eth0 } and the services.cfg file has the command line check_command check_dhcp!10.1.1.3!10.1.1.189 but i seem so still get the "Error: Could not bind socket to interface eth0. Check your privileges..." But it's owned and controled by root.....i'm lost ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Tue Jul 8 05:23:33 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 7 Jul 2003 23:23:33 -0400 Subject: Problem with check_snmp Message-ID: <5F29693503507B4FB4032686ADF86267214B49@mtviny25.mtvi.com> An HTML attachment was scrubbed... URL: From karl at debisschop.net Tue Jul 8 06:20:46 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 08 Jul 2003 00:20:46 -0400 Subject: Problem with check_snmp In-Reply-To: References: Message-ID: <1057638046.1063.13.camel@miles.debisschop.net> On Mon, 2003-07-07 at 19:13, Mark D. Valpreda wrote: > I am running into an issue with check_snmp that has become quite > frustrating. > > I am trying to monitor temperature on an APC Symmetra. The problem I am > running into is with the check_snmp module. I am testing the commands > outside of Nagios for now and this is the command I planned on using: > check_snmp -v -H X.X.X.X -o .1.3.6.1.4.1.318.1.1.2.1.1.0 -C public > > The command that is created from that is: > snmpget -m ALL -v 1 -c public X.X.X.X:161 .1.3.6.1.4.1.318.1.1.2.1.1.0 > And that command is just wrong. Near as I can tell, the command should > be: > snmpget -v 1 X.X.X.X public .1.3.6.1.4.1.318.1.1.2.1.1.0 I do not believe '-m ALL' is wrong. You can determine for your self with 'man snmpcmd' > Adding "-m ALL" gives me a response, but "Did not find 'iso' in module > SNMPv2-SMI (/usr/share/snmp/mibs/SNMPv2-CONF.txt)" crops up. > Explicitly defining port 161 causes "snmpget: Unknown host > (157.185.1.70:161)" I think that means you have a bad MIB somewhere, or you are missing an important MIB in your MIB search path. Use: check_snmp -v -H X.X.X.X -o .1.3.6.1.4.1.318.1.1.2.1.1.0 -C public -m '' -- Karl ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ebory at scu.tel.etecsa.cu Tue Jul 8 06:21:56 2003 From: ebory at scu.tel.etecsa.cu (Enrique Bory Simon) Date: Tue, 8 Jul 2003 00:21:56 -0400 Subject: help RH 9.0 y nagios.rpm Message-ID: <001701c34508$7b2345f0$f5b5a8c0@asus> hello I downloaded a pre compiled vercion of nagios (.rpm) , available at http://dag.wieers.com/packages/nagios , one excellent site ! But , after install nagios y the pluggins I try to up the service "service nagios restart" and I get an error: Running configuration check.../etc/init.d/nagios: line 167: 17102 Segmentation fault $NagiosBin -v $NagiosCfg >/dev/null 2>&1 /etc/init.d/nagios: line 167: 17103 Segmentation fault $NagiosBin -v $NagiosCfg failed - aborting restart. and when I do "service nagios start" I found following msg at the log file "nagios.log" [1057638330] Nagios 1.1 starting... (PID=17139) [1057638330] Finished daemonizing... (New PID=17140) [1057638330] Caught SIGSEGV, shutting down... any idea ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy+nagios at undergrid.net Tue Jul 8 06:54:07 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Mon, 7 Jul 2003 21:54:07 -0700 Subject: 1.1 upgrade In-Reply-To: <1057614599.17242.61.camel@elvis> References: <1057614599.17242.61.camel@elvis> Message-ID: <20030708045407.GB29020@UnderGrid.net> This is already a known issue and is simply an extra set of comments around some of the code that produces the tac.cgi... I believe a actual patch was posted to the list in someone elses reply in the past month... In any way it is fixed int CVS and shouldn't be a problem with the next release... Regards, Jeremy On Mon, Jul 07, 2003 at 02:50:00PM -0700, Bryan Irvine wrote: > I just upgraded to 1.1 and now the tactical overview screen is weird > lookin'. The "Critical" table take up about 70% of the width of the > screen. > > A screenshot is here > http://64.1.201.147/Screenshot.png > > --Bryan > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eric.Doutreleau at int-evry.fr Tue Jul 8 08:27:44 2003 From: Eric.Doutreleau at int-evry.fr (Eric Doutreleau) Date: 08 Jul 2003 08:27:44 +0200 Subject: help RH 9.0 y nagios.rpm In-Reply-To: <001701c34508$7b2345f0$f5b5a8c0@asus> References: <001701c34508$7b2345f0$f5b5a8c0@asus> Message-ID: <1057645664.2336.1.camel@rezo.int-evry.fr> Hi I use too this excellent work. The only problem i have is with embedded perl it doesn't work on RH9 you have to get the source rpm and to remove the line concerning embedded perl. at least it works for me hope that helps Le mar 08/07/2003 ? 06:21, Enrique Bory Simon a ?crit : > hello > > I downloaded a pre compiled vercion of nagios (.rpm) , available at > http://dag.wieers.com/packages/nagios , one excellent site ! > But , after install nagios y the pluggins I try to up the service > "service nagios restart" and I get an error: > > Running configuration check.../etc/init.d/nagios: line 167: 17102 > Segmentation fault $NagiosBin -v $NagiosCfg >/dev/null 2>&1 > /etc/init.d/nagios: line 167: 17103 Segmentation fault $NagiosBin > -v $NagiosCfg > failed - aborting restart. > > and when I do "service nagios start" I found following msg at the log > file "nagios.log" > [1057638330] Nagios 1.1 starting... (PID=17139) > [1057638330] Finished daemonizing... (New PID=17140) > [1057638330] Caught SIGSEGV, shutting down... > > any idea ? -- Eric Doutreleau ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Tue Jul 8 10:19:42 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Tue, 8 Jul 2003 10:19:42 +0200 Subject: AW: check_ping and check-host-alive Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A45BD@serv-075.icon-germany.local> Check the user rights of the file... The Nagios account must be able to execute the plugins Regards, Hagen _____ Von: jontxu40 at hotmail.com [mailto:jontxu40 at hotmail.com] Gesendet: Montag, 7. Juli 2003 17:50 An: nagios-users at lists.sourceforge.net Hi all : I get a error with "check_ping" and "check-host-alive"... Allways I get UNKNOWN status and the Status Information is : "/bin/ping -n -U -c 5 xx.xxx.xxx.xx".. If I execute "/bin/ping -n -U -c 5 xx.xxx.xxx.xx" by console work fine... Also with the next command by console work fine : ./check_ping -H xx.xx.xx.xx -w 3000.0,80% -c 5000.0,100% -p 1 because I get "PING OK - Packet loss = 0%, RTA = 40.55 ms" But nagios allways return me "UNKNOWN status" Any ideas ? Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: From Hagen_Deike at icon-scm.com Tue Jul 8 10:27:08 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Tue, 8 Jul 2003 10:27:08 +0200 Subject: AW: monitoring win2k processes Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A45BE@serv-075.icon-germany.local> Hi, you can use nrpe_nt. It works fine on W2K. The binaries and some plugins are available at http://support.tsmgsoftware.com. You can download a plugin to check Windows processes at the same site. I'm using it to monitor a few processes and it works fine so far. Regards, Hagen -----Urspr?ngliche Nachricht----- Von: Bryan Irvine [mailto:bryan.irvine at kingcountyjournal.com] Gesendet: Montag, 7. Juli 2003 22:21 An: nagios-users at lists.sourceforge.net I have a windows 2000 box (ugh!) running a pretty critical app that is also very buggy. The company obviously followed the "Fast, Reliable, and cheap, pick any two" track. Anyway, the program dies occasionally. No errors no nothing it just vanishes. It's as easy as just double clicking it's icon to get it back up and running. Is there a way to check if the app is running, and if not either alert me or start the program? I have checked the archives but the sourceforge search thing isn't working right now. I think I'm supposed to use the nrpe_nt but does it matter that I'm on 2k? and the software is listed as beta, is anyone else using it without any problems? --Bryan ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chinwah at keyquotes.com.sg Tue Jul 8 10:45:44 2003 From: chinwah at keyquotes.com.sg (Chin Wah) Date: Tue, 8 Jul 2003 16:45:44 +0800 Subject: Connection refused by host Message-ID: <000801c3452d$51cf70a0$6a3ca8c0@KQSDomain.com> Hi there, i have question regarding Nagios: 1. When i try to check for a service on a host, it returns the 'Connection refused by host'. Why? 2. I have mysql installed on my server. How do I use nagios to check if the mysql service is up and running? thank you. regards, chin wah -------------- next part -------------- An HTML attachment was scrubbed... URL: From Peter.Hoogendijk at atosorigin.com Tue Jul 8 10:52:43 2003 From: Peter.Hoogendijk at atosorigin.com (Hoogendijk, Peter) Date: Tue, 8 Jul 2003 10:52:43 +0200 Subject: no lock file found Message-ID: <63C0E7F555D57547BBC0A4457E8E05EB821C1B@pwi8004.sd.bnet.nl> It took me over a week before I found out that a faulty memory bank caused this error. After reading http://www.bitwizard.nl/sig11/ (although in my case it didn't happen while compiling) I decided to try switching memory banks between systems. A slower system now has the memory bank that caused my problem, and both systems work fine! Peter. -----Original Message----- From: Meg Wendel [mailto:mwendel at law.tulane.edu] Sent: maandag 7 juli 2003 17:56 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] no lock file found Hello, Spent many hours trying to find a resolution to the error message: No lock file found in /var/run/nagios.pid this is the message from the linux services: nagios When I run the command 'nagios' from the Linux command prompt, the error is: segmentation fault. We are running RH9 with all updates We tried running RPM packages as well, tried different install configure prefix commands. Appears our *.cfg files are right.... Seems there are a few users, from searching the net, that have the same problem, but cannot seem to find a resolution. Thanks for your help in advance. Meg~ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at Lastminute.com Tue Jul 8 15:57:37 2003 From: tvilliers at Lastminute.com (Tielman De Villiers) Date: Tue, 8 Jul 2003 14:57:37 +0100 Subject: libgd linking errors Message-ID: hi, nagios version: 1.1 platform : suse-linux (2.4.10) This is a non-root install, ie in /home/user because of some other program compatibilies, a couple of custom libries have been installed, relevant to nagios: /home/lib/libgd.so Here are the configure options: --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios \ --with-nagios-user=xxx --with-nagios-grp=xxx \ --with-command-user=xxx --with-command-grp=xxx \ --with-init-dir=/home/user/bin/ \ --with-lockfile=/home/user/nagios/var/nagios.lock \ --with-gd-lib=/home/user/lib --with-gd-inc=/home/user/include \ --with-pgsql-lib=/home/user/lib --with-pgsql-inc=/home/user/include \ --with-template-objects --with-template-extinfo \ --enable-embedded-perl It compiles okay and ldd /home/user/nagios/sbin/trends.cgi gives: libgd.so.2 => /home/user/lib/libgd.so.2 (0x40016000) libz.so.1 => /lib/libz.so.1 (0x40060000) libm.so.6 => /lib/libm.so.6 (0x4006f000) libpng.so.2 => /usr/lib/libpng.so.2 (0x40091000) libjpeg.so.62 => /home/user/lib/libjpeg.so.62 (0x400c3000) libc.so.6 => /lib/libc.so.6 (0x400e2000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40209000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40218000) libfreetype.so.6 => /home/user/lib/libfreetype.so.6 (0x402fb000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) But when I use the browser interface on trends.cgi, I get a cgi error with this in the log file: trends.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory [Tue Jul 8 13:50:26 2003] [error] [client xxx] Premature end of script headers: /home/user/nagios/sbin/trends.cgi When I do a simple get call from the command line (after export REQUEST_METHOD=GET) I get a correct reply. What am i missing here? (The same kind of errors show when I try to use PostgreSQl to log the data, ie the CGI scripts cannot find libpq ...) Thanks Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4343 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Jul 8 16:05:16 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 8 Jul 2003 09:05:16 -0500 Subject: libgd linking errors Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7A18@mismail.ena.com> Check to make sure that /home/user/lib/libgd.so.2 is readable by the http user. You may also need to add the path to /etc/ld.so.conf and run ldconfig -V to verify it's seen. A restart of apache might also be necessary. marc > -----Original Message----- > From: Tielman De Villiers [mailto:tvilliers at Lastminute.com] > Sent: Tuesday, July 08, 2003 8:58 AM > To: 'nagios-users at lists.sourceforge.net' > > hi, > > nagios version: 1.1 > platform : suse-linux (2.4.10) > This is a non-root install, ie in /home/user > because of some other program compatibilies, a couple of custom libries > have > been installed, relevant to nagios: > /home/lib/libgd.so > > Here are the configure options: > > --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios \ > --with-nagios-user=xxx --with-nagios-grp=xxx \ > --with-command-user=xxx --with-command-grp=xxx \ > --with-init-dir=/home/user/bin/ \ > --with-lockfile=/home/user/nagios/var/nagios.lock \ > --with-gd-lib=/home/user/lib --with-gd-inc=/home/user/include \ > --with-pgsql-lib=/home/user/lib --with-pgsql-inc=/home/user/include \ > --with-template-objects --with-template-extinfo \ > --enable-embedded-perl > > It compiles okay and > ldd /home/user/nagios/sbin/trends.cgi gives: > libgd.so.2 => /home/user/lib/libgd.so.2 (0x40016000) > libz.so.1 => /lib/libz.so.1 (0x40060000) > libm.so.6 => /lib/libm.so.6 (0x4006f000) > libpng.so.2 => /usr/lib/libpng.so.2 (0x40091000) > libjpeg.so.62 => /home/user/lib/libjpeg.so.62 (0x400c3000) > libc.so.6 => /lib/libc.so.6 (0x400e2000) > libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40209000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40218000) > libfreetype.so.6 => /home/user/lib/libfreetype.so.6 (0x402fb000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > But when I use the browser interface on trends.cgi, I get a cgi error with > this in the log file: > trends.cgi: error while loading shared libraries: libgd.so.2: cannot open > shared object file: No such file or directory > [Tue Jul 8 13:50:26 2003] [error] [client xxx] Premature end of script > headers: /home/user/nagios/sbin/trends.cgi > > When I do a simple get call from the command line (after export > REQUEST_METHOD=GET) I get a correct reply. > > What am i missing here? > > (The same kind of errors show when I try to use PostgreSQl to log the > data, > ie the CGI scripts cannot find libpq ...) > > > > Thanks > > Tielman de Villiers > Back Office Developer > Address: 4 Buckingham Gate, London SW1E 6JP > Tel: +44(0)20.7802.4343 > Fax: +44(0)20.7802.9302 > email: tvilliers at lastminute.com > > do something lastminute.com > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Tue Jul 8 16:25:31 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Tue, 8 Jul 2003 10:25:31 -0400 Subject: Host check and Service Check timing Message-ID: <9AC614ABB62FB4489015BF7CBF9F68205C6A24@patton.infosysnetworks.com> Here is the problem, I monitor many hosts that are several hops away. During the day, when the traffic loads get high, I start getting many false alarms. I have the service check set to every 3 minutes with the retry interval set to 2 minutes. This should give me at least 4 minutes before alarms. (misses the scheduled poll, waits 2 min and tries, waits 2 min and tries) However, this is not how it is working. It looks like the first time it misses the service check, it goes into hyper mode checking the host every 10 seconds (I guess this is the timeout interval for the plugin). I have the host check set to 10 tries, so this accounts for 100 seconds. So the alarm bells go off 100 seconds after the service check failed. The biggest problem is that the host was never down. It is always a congested Wan link or VPN router. I have the parents set up correctly, but these don't have time to fail before the 100 seconds is up. Is there a way to control the host check interval? Any help is greatly appreciated. Brian Snead InfoSys Networks ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guilhain.rouyer at cetelem.fr Tue Jul 8 16:33:32 2003 From: guilhain.rouyer at cetelem.fr (ROUYER Guilhain (Neuilly Gestion)) Date: Tue, 8 Jul 2003 16:33:32 +0200 Subject: libgd linking errors Message-ID: You should check the version of the GD library you've installed go to http://www.boutell.com/gd/ version 1.8.4 and 2.0.15 are available 1.8.4 is known to be stable, don't know for the other hope it helps Regards, Guilhain Rouyer Network Engineer +33(1)49213834 guilhain.rouyer at cetelem.fr -----Message d'origine----- De : Tielman De Villiers [mailto:tvilliers at Lastminute.com] Envoy? : mardi 8 juillet 2003 15:58 ? : 'nagios-users at lists.sourceforge.net' Objet : [Nagios-users] libgd linking errors hi, nagios version: 1.1 platform : suse-linux (2.4.10) This is a non-root install, ie in /home/user because of some other program compatibilies, a couple of custom libries have been installed, relevant to nagios: /home/lib/libgd.so Here are the configure options: --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios \ --with-nagios-user=xxx --with-nagios-grp=xxx \ --with-command-user=xxx --with-command-grp=xxx \ --with-init-dir=/home/user/bin/ \ --with-lockfile=/home/user/nagios/var/nagios.lock \ --with-gd-lib=/home/user/lib --with-gd-inc=/home/user/include \ --with-pgsql-lib=/home/user/lib --with-pgsql-inc=/home/user/include \ --with-template-objects --with-template-extinfo \ --enable-embedded-perl It compiles okay and ldd /home/user/nagios/sbin/trends.cgi gives: libgd.so.2 => /home/user/lib/libgd.so.2 (0x40016000) libz.so.1 => /lib/libz.so.1 (0x40060000) libm.so.6 => /lib/libm.so.6 (0x4006f000) libpng.so.2 => /usr/lib/libpng.so.2 (0x40091000) libjpeg.so.62 => /home/user/lib/libjpeg.so.62 (0x400c3000) libc.so.6 => /lib/libc.so.6 (0x400e2000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40209000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40218000) libfreetype.so.6 => /home/user/lib/libfreetype.so.6 (0x402fb000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) But when I use the browser interface on trends.cgi, I get a cgi error with this in the log file: trends.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory [Tue Jul 8 13:50:26 2003] [error] [client xxx] Premature end of script headers: /home/user/nagios/sbin/trends.cgi When I do a simple get call from the command line (after export REQUEST_METHOD=GET) I get a correct reply. What am i missing here? (The same kind of errors show when I try to use PostgreSQl to log the data, ie the CGI scripts cannot find libpq ...) Thanks Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4343 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbautista at icnet.com.ve Tue Jul 8 16:39:03 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 08 Jul 2003 10:39:03 -0400 Subject: Event Handler script Message-ID: <5.1.0.14.0.20030708103554.00b57f58@pop.icnet.com.ve> Hi, Somebody has written a perl script for event handler? Can send me a example? Thanks Jeyri ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at Lastminute.com Tue Jul 8 17:18:34 2003 From: tvilliers at Lastminute.com (Tielman De Villiers) Date: Tue, 8 Jul 2003 16:18:34 +0100 Subject: libgd linking errors Message-ID: Thanks Marc, The read permissions seem ok: ---------------- -rwxr-xr-x 1 user group 456230 Jul 7 16:51 libgd.so.2.0.0 ---------------- And I run both apache and nagios as user and group: ps -aux | grep user ------------- user 20469 0.0 0.0 2380 1132 ? S 13:14 0:00 /home/user/apache/bin/httpd ... user 24737 0.0 0.2 3812 2516 ? S 13:36 0:00 /home/user/nagios/bin/nagios -d /home/user/nagios/etc/nagios.cfg ---------------- Can't do ldconfig, as root is not an option, i did export : LD_LIBRARY_PATH:$LD_LIBRARY_PATH:/home/user/lib A restart of apache also did not help Thanks Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4343 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: 08 July 2003 15:05 > To: Tielman De Villiers; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] libgd linking errors > > > Check to make sure that /home/user/lib/libgd.so.2 is readable by the > http user. > > You may also need to add the path to /etc/ld.so.conf and run > ldconfig -V > to verify it's seen. A restart of apache might also be necessary. > > marc > > > -----Original Message----- > > From: Tielman De Villiers [mailto:tvilliers at Lastminute.com] > > Sent: Tuesday, July 08, 2003 8:58 AM > > To: 'nagios-users at lists.sourceforge.net' > > > > hi, > > > > nagios version: 1.1 > > platform : suse-linux (2.4.10) > > This is a non-root install, ie in /home/user > > because of some other program compatibilies, a couple of custom > libries > > have > > been installed, relevant to nagios: > > /home/lib/libgd.so > > > > Here are the configure options: > > > > --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios \ > > --with-nagios-user=xxx --with-nagios-grp=xxx \ > > --with-command-user=xxx --with-command-grp=xxx \ > > --with-init-dir=/home/user/bin/ \ > > --with-lockfile=/home/user/nagios/var/nagios.lock \ > > --with-gd-lib=/home/user/lib --with-gd-inc=/home/user/include \ > > --with-pgsql-lib=/home/user/lib > --with-pgsql-inc=/home/user/include \ > > --with-template-objects --with-template-extinfo \ > > --enable-embedded-perl > > > > It compiles okay and > > ldd /home/user/nagios/sbin/trends.cgi gives: > > libgd.so.2 => /home/user/lib/libgd.so.2 (0x40016000) > > libz.so.1 => /lib/libz.so.1 (0x40060000) > > libm.so.6 => /lib/libm.so.6 (0x4006f000) > > libpng.so.2 => /usr/lib/libpng.so.2 (0x40091000) > > libjpeg.so.62 => /home/user/lib/libjpeg.so.62 (0x400c3000) > > libc.so.6 => /lib/libc.so.6 (0x400e2000) > > libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40209000) > > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40218000) > > libfreetype.so.6 => /home/user/lib/libfreetype.so.6 > (0x402fb000) > > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > > > But when I use the browser interface on trends.cgi, I get a > cgi error > with > > this in the log file: > > trends.cgi: error while loading shared libraries: libgd.so.2: cannot > open > > shared object file: No such file or directory > > [Tue Jul 8 13:50:26 2003] [error] [client xxx] Premature end of > script > > headers: /home/user/nagios/sbin/trends.cgi > > > > When I do a simple get call from the command line (after export > > REQUEST_METHOD=GET) I get a correct reply. > > > > What am i missing here? > > > > (The same kind of errors show when I try to use PostgreSQl > to log the > > data, > > ie the CGI scripts cannot find libpq ...) > > > > > > > > Thanks > > > > Tielman de Villiers > > Back Office Developer > > Address: 4 Buckingham Gate, London SW1E 6JP > > Tel: +44(0)20.7802.4343 > > Fax: +44(0)20.7802.9302 > > email: tvilliers at lastminute.com > > > > do something lastminute.com > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 1203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Tue Jul 8 17:25:41 2003 From: td3201 at yahoo.com (Terry) Date: Tue, 8 Jul 2003 08:25:41 -0700 (PDT) Subject: Site Logon Simulator Message-ID: <20030708152541.26803.qmail@web80504.mail.yahoo.com> Hello, Has anyone written a site logon simulator of some sorts? I want to have nagios log into a site with some credentials, perform some URL hits, like a normal user, and return a code based on that information. Make sense? I am sure I could devote a day and write one but dont want to reinvent the wheel. :) Actually, it would take me a day to figure out how to do it and a day to actually write it.....and I am a bad programmer on top of all that. Thanks! ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwendel at law.tulane.edu Tue Jul 8 17:24:54 2003 From: mwendel at law.tulane.edu (Meg Wendel) Date: Tue, 8 Jul 2003 10:24:54 -0500 Subject: no lock file found Message-ID: <4D4E87496C390E4FB827944920CC8B2D033254E1@exchange.law.tulane.edu> hmmm, thank you, I will give that a try. I was telling Steve that after un-installing the rpm and manually installing it, then used a check script he had sent me, nagios is working. But I still have issues on the running server. I will give that a look. Thank you gentlemen for your time. I do appreciate your time. With your help, I feel like I am out of the woods :) -----Original Message----- From: Hoogendijk, Peter [mailto:Peter.Hoogendijk at atosorigin.com] Sent: Tue 7/8/2003 3:52 AM To: Meg Wendel Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] no lock file found It took me over a week before I found out that a faulty memory bank caused this error. After reading http://www.bitwizard.nl/sig11/ (although in my case it didn't happen while compiling) I decided to try switching memory banks between systems. A slower system now has the memory bank that caused my problem, and both systems work fine! Peter. -----Original Message----- From: Meg Wendel [mailto:mwendel at law.tulane.edu] Sent: maandag 7 juli 2003 17:56 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] no lock file found Hello, Spent many hours trying to find a resolution to the error message: No lock file found in /var/run/nagios.pid this is the message from the linux services: nagios When I run the command 'nagios' from the Linux command prompt, the error is: segmentation fault. We are running RH9 with all updates We tried running RPM packages as well, tried different install configure prefix commands. Appears our *.cfg files are right.... Seems there are a few users, from searching the net, that have the same problem, but cannot seem to find a resolution. Thanks for your help in advance. Meg~ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From toddm at toddles.com Tue Jul 8 18:58:32 2003 From: toddm at toddles.com (Todd McNeill) Date: Tue, 8 Jul 2003 09:58:32 -0700 Subject: State Retention Message-ID: I'm not sure why this happened, but for some reason, Nagios has stopped retaining state information on restart. I recently upgraded to 1.1 and have also been playing around with NagMin, so this may have some impact, but I'm stuck at this point and am looking for some insight. In my nagios.cfg file, I have the following set: retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav use_retained_program_state=1 The status.sav file gets created when I stop the service, but when I restart, all services are in PENDING state. I must be missing something, but I can't figure out what. Thanks, Todd ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dscollon at scotwebsolutions.com Tue Jul 8 19:18:04 2003 From: dscollon at scotwebsolutions.com (Derek Scollon) Date: Tue, 8 Jul 2003 18:18:04 +0100 Subject: Can't get rid of old config Message-ID: <194-1893245493.20030708181804@scotwebsolutions.com> nagios-users, I've just been making some changes to my network and altered my Nagios config last night to reflect this. The old config checked 18 services, mostly HTTP checks. The new config has 37 checks, mostly pings. After restarting the process (and manually stopping and starting to make sure), I'm getting strange results from the web interface. On any of the report screens, it will sometimes show the 37 new checks and sometimes the 18 old ones. There is no consistency to this. If you let the screen refresh for a while, it will randomly show one or the other. Looking at the scheduling queue also switches randomly between showing the new PINGs scheduled and the old HTTP checks. I've turned off state retention in case this caused it but it made no difference. I'm running Nagios 1.0 on RedHat 8 and have been doing so for at least 6 months with no problems until now. Any ideas how I get rid of the old config which seems to be hanging around? Derek Scollon Scotweb Solutions Ltd. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrobinett at wi.rr.com Tue Jul 8 19:15:50 2003 From: jrobinett at wi.rr.com (Joshua R.) Date: 08 Jul 2003 12:15:50 -0500 Subject: Dial-Up Event_Handler In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E7A18@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E7A18@mismail.ena.com> Message-ID: <1057684550.6646.6.camel@elijah> Hey guys ~ I am unable to run a shell script from Nagios. Everytime the is run I receive the error Number 127. Anyone have any success doing this? Basically I am setting service to monitor the local interface on the nagios box, if it goes down. Nagios will execute the event_handler and dial to an ISP to send out notifictions. Any help would be appreciated. Josh ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Jul 8 19:32:08 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 8 Jul 2003 12:32:08 -0500 Subject: Can't get rid of old config Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7A42@mismail.ena.com> Are you absolutely _sure_ you killed all the nagios processes? It really sounds like at least one remained. That's classic behavior as one will update the status file with the new information and the other will re-write the status file with the old information. You might also try deleting your status.sav file after stopping nagios, but I think this is much less likely to be the cause. -- Marc > -----Original Message----- > From: Derek Scollon [mailto:dscollon at scotwebsolutions.com] > Sent: Tuesday, July 08, 2003 12:18 PM > To: nagios-users at lists.sourceforge.net > > nagios-users, > > I've just been making some changes to my network and altered my Nagios > config last night to reflect this. The old config checked 18 services, > mostly HTTP checks. The new config has 37 checks, mostly pings. > > After restarting the process (and manually stopping and starting to > make sure), I'm getting strange results from the web interface. On any > of the report screens, it will sometimes show the 37 new checks and > sometimes the 18 old ones. There is no consistency to this. If you let > the screen refresh for a while, it will randomly show one or the > other. Looking at the scheduling queue also switches randomly between > showing the new PINGs scheduled and the old HTTP checks. > > I've turned off state retention in case this caused it but it made no > difference. I'm running Nagios 1.0 on RedHat 8 and have been doing so > for at least 6 months with no problems until now. > > Any ideas how I get rid of the old config which seems to be hanging > around? > > Derek Scollon > Scotweb Solutions Ltd. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Jul 8 19:31:47 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 8 Jul 2003 12:31:47 -0500 Subject: Dial-Up Event_Handler Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7A41@mismail.ena.com> What is your command definition? A return code of 127 means that the shell command you are trying to execute is not found or alternately is not accessible/executable by the calling user. Check the command definition for the correct path and verify that the command is executable as the nagios user. Don't just check permissions, actually run it as some other dependent file, device (like the com port) or program might not be accessible by the nagios user. marc > -----Original Message----- > From: Joshua R. [mailto:jrobinett at wi.rr.com] > Sent: Tuesday, July 08, 2003 12:16 PM > To: nagios-users at lists.sourceforge.net > > Hey guys ~ > > I am unable to run a shell script from Nagios. Everytime the is run I > receive the error Number 127. Anyone have any success doing this? > > Basically I am setting service to monitor the local interface on the > nagios box, if it goes down. Nagios will execute the event_handler and > dial to an ISP to send out notifictions. > > Any help would be appreciated. > > Josh > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Tue Jul 8 19:35:47 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Wed, 9 Jul 2003 01:35:47 +0800 Subject: compiling nagios without perl? Message-ID: <200307090135.48542.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi It seems that --disable-embedded-perl & --without-perlcache does not work on x86. Anyone tried compiling Nagios without perl? Cheers Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/CwDzNgvTa7Hj2AURAhagAKDIEx+/IriAkb7hTQfhEeHjBcroeQCgkjWq /lCGOfaUCKJRy/huHHKohdQ= =dwAi -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dscollon at scotwebsolutions.com Tue Jul 8 19:48:35 2003 From: dscollon at scotwebsolutions.com (Derek Scollon) Date: Tue, 8 Jul 2003 18:48:35 +0100 Subject: Can't get rid of old config In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E7A42@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E7A42@mismail.ena.com> Message-ID: <95-1891417735.20030708184835@scotwebsolutions.com> Marc, Thanks very much. I checked again and had indeed missed one process. Killing this and restarting has fixed the problem. Derek Scollon Scotweb Solutions Ltd. Tuesday, July 8, 2003, 6:32:08 PM, you wrote: MP> Are you absolutely _sure_ you killed all the nagios processes? It really MP> sounds like at least one remained. That's classic behavior as one will MP> update the status file with the new information and the other will MP> re-write the status file with the old information. You might also try MP> deleting your status.sav file after stopping nagios, but I think this is MP> much less likely to be the cause. MP> -- MP> Marc >> -----Original Message----- >> From: Derek Scollon [mailto:dscollon at scotwebsolutions.com] >> Sent: Tuesday, July 08, 2003 12:18 PM >> To: nagios-users at lists.sourceforge.net >> >> nagios-users, >> >> I've just been making some changes to my network and altered my Nagios >> config last night to reflect this. The old config checked 18 services, >> mostly HTTP checks. The new config has 37 checks, mostly pings. >> >> After restarting the process (and manually stopping and starting to >> make sure), I'm getting strange results from the web interface. On any >> of the report screens, it will sometimes show the 37 new checks and >> sometimes the 18 old ones. There is no consistency to this. If you let >> the screen refresh for a while, it will randomly show one or the >> other. Looking at the scheduling queue also switches randomly between >> showing the new PINGs scheduled and the old HTTP checks. >> >> I've turned off state retention in case this caused it but it made no >> difference. I'm running Nagios 1.0 on RedHat 8 and have been doing so >> for at least 6 months with no problems until now. >> >> Any ideas how I get rid of the old config which seems to be hanging >> around? >> >> Derek Scollon >> Scotweb Solutions Ltd. >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by: Parasoft >> Error proof Web apps, automate testing & more. >> Download & eval WebKing and get a free book. >> www.parasoft.com/bulletproofapps >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlong at messiah.edu Tue Jul 8 20:01:09 2003 From: jlong at messiah.edu (Jason Long) Date: Tue, 08 Jul 2003 14:01:09 -0400 Subject: Site Logon Simulator Message-ID: It looks like the check_http plugin has some of that capability, but personally I couldn't get it to work. Theoretically, you could do something like this check_http --url=http://hostname/login.asp --post='username=john&password=secret' --string="Login successful" This would simulate a "login" and check the result page to verify that the user actually logged in. Run check_http -h for information about what these parameters are supposed to do. However, like I said, it didn't work for me. Perhaps I'm not using them correctly or they haven't been implemented. Jason Long >>> Terry 7/8/03 11:25:41 AM >>> Hello, Has anyone written a site logon simulator of some sorts? I want to have nagios log into a site with some credentials, perform some URL hits, like a normal user, and return a code based on that information. Make sense? I am sure I could devote a day and write one but dont want to reinvent the wheel. :) Actually, it would take me a day to figure out how to do it and a day to actually write it.....and I am a bad programmer on top of all that. Thanks! ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at insynclh.com Tue Jul 8 20:06:56 2003 From: mark at insynclh.com (Mark D. Valpreda) Date: Tue, 8 Jul 2003 11:06:56 -0700 Subject: Problem with check_snmp Message-ID: Thanks for everyone's help. It turned out to be an OLD version of snmpget on my RH6.1 box. -----Original Message----- From: Karl DeBisschop [mailto:karl at debisschop.net] Sent: Monday, July 07, 2003 9:21 PM To: Mark D. Valpreda Cc: Nagios Users Subject: Re: [Nagios-users] Problem with check_snmp On Mon, 2003-07-07 at 19:13, Mark D. Valpreda wrote: > I am running into an issue with check_snmp that has become quite > frustrating. > > I am trying to monitor temperature on an APC Symmetra. The problem I am > running into is with the check_snmp module. I am testing the commands > outside of Nagios for now and this is the command I planned on using: > check_snmp -v -H X.X.X.X -o .1.3.6.1.4.1.318.1.1.2.1.1.0 -C public > > The command that is created from that is: > snmpget -m ALL -v 1 -c public X.X.X.X:161 .1.3.6.1.4.1.318.1.1.2.1.1.0 > And that command is just wrong. Near as I can tell, the command should > be: > snmpget -v 1 X.X.X.X public .1.3.6.1.4.1.318.1.1.2.1.1.0 I do not believe '-m ALL' is wrong. You can determine for your self with 'man snmpcmd' > Adding "-m ALL" gives me a response, but "Did not find 'iso' in module > SNMPv2-SMI (/usr/share/snmp/mibs/SNMPv2-CONF.txt)" crops up. > Explicitly defining port 161 causes "snmpget: Unknown host > (157.185.1.70:161)" I think that means you have a bad MIB somewhere, or you are missing an important MIB in your MIB search path. Use: check_snmp -v -H X.X.X.X -o .1.3.6.1.4.1.318.1.1.2.1.1.0 -C public -m '' -- Karl ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordivi at wtransnet.net Tue Jul 8 20:24:30 2003 From: jordivi at wtransnet.net (Jordi Vidal) Date: Tue, 8 Jul 2003 20:24:30 +0200 (CEST) Subject: nrpe-2.04b compile error: u_int32_t Message-ID: Hi I'm trying to compile nrpe-2.0b4 in a Solaris 8 box (SunOS wtn250 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-250). I get an error about "u_int32_t". Can someone know what I'm doing wrong? Regards, Jordi Vidal Compiler packages: binutils: SMCbinut 2.11.2 gcc: SMCgcc302 3.0.2 make: SMCmake 3.80 ---------- Forwarded message ---------- Date: Tue, 8 Jul 2003 20:16:01 +0200 (CEST) From: root at xxxxxxxx.xxx To: jordivi at wtransnet.net Subject: nrpe_compile_error cd ./src/; make ; cd .. make[1]: Entering directory `/export/home/jordivi/Nagios/nrpe-2.0b4/src' gcc -g -O2 -DHAVE_CONFIG_H -o nrpe -lnsl -lsocket nrpe.c utils.c In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:45, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from nrpe.c:21: /usr/include/sys/int_types.h:69: conflicting types for `int32_t' ../common/config.h:54: previous declaration of `int32_t' In file included from nrpe.c:22: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: conflicting types for `int32_t' /usr/include/sys/int_types.h:69: previous declaration of `int32_t' In file included from utils.h:35, from nrpe.c:24: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: redefinition of `int32_t' ../common/config.h:54: `int32_t' previously declared here In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:45, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from utils.c:32: /usr/include/sys/int_types.h:69: conflicting types for `int32_t' ../common/config.h:54: previous declaration of `int32_t' In file included from utils.h:35, from utils.c:33: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: conflicting types for `int32_t' /usr/include/sys/int_types.h:69: previous declaration of `int32_t' make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/export/home/jordivi/Nagios/nrpe-2.0b4/src' ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Jul 8 21:18:04 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 8 Jul 2003 14:18:04 -0500 Subject: compiling nagios without perl? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7A45@mismail.ena.com> Those are not recognized configure options. The default is for those features to be disabled. You must explicitly use the --enable-embedded-perl and --with-perlcache to turn them on. -- Marc > -----Original Message----- > From: Jasmine [mailto:jasmine.chua at securecirt.com] > Sent: Tuesday, July 08, 2003 12:36 PM > To: nagios-users at lists.sourceforge.net > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > It seems that --disable-embedded-perl & --without-perlcache does not work > on > x86. Anyone tried compiling Nagios without perl? > > > Cheers > Jasmine Chua > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE/CwDzNgvTa7Hj2AURAhagAKDIEx+/IriAkb7hTQfhEeHjBcroeQCgkjWq > /lCGOfaUCKJRy/huHHKohdQ= > =dwAi > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From itamarf at pbh.gov.br Tue Jul 8 21:33:12 2003 From: itamarf at pbh.gov.br (itamarf) Date: Tue, 08 Jul 2003 16:33:12 -0300 Subject: Notifications_Nagios Message-ID: <3F0B1C77.5C9650C7@pbh.gov.br> hi, I would like to do the nagios only send notifocations if the services are inoperant for a some minutes like 30 minutes, before this time, the notifications won?t be sent. If someone know how to do it, Please, help me Thanks. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Jul 8 21:40:06 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 8 Jul 2003 14:40:06 -0500 Subject: Notifications_Nagios Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7A46@mismail.ena.com> max_check_attempts: This directive is used to define the number of times that Nagios will retry the service check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the service check again. normal_check_interval: This directive is used to define the number of "time units" to wait before scheduling the next "regular" check of the service. "Regular" checks are those that occur when the service is in an OK state or when the service is in a non-OK state, but has already been rechecked max_attempts number of times. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation. retry_check_interval: This directive is used to define the number of "time units" to wait before scheduling a re-check of the service. Services are rescheduled at the retry interval when the have changed to a non-OK state. Once the service has been retried max_attempts times without a change in its status, it will revert to being scheduled at its "normal" rate as defined by the check_interval value. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation. You'll need to adjust the values above depending on how you want to accomplish it. I use max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 Which yields about 15-20 minutes between down and notification (one normal 5 minute check + 5 retries at 3 minutes each = 20). -- Marc > -----Original Message----- > From: itamarf [mailto:itamarf at pbh.gov.br] > Sent: Tuesday, July 08, 2003 2:33 PM > To: nagios-users at lists.sourceforge.net > > hi, > > I would like to do the nagios only send notifocations if the services > are inoperant for a some minutes like 30 minutes, before this time, the > notifications won?t be sent. > > If someone know how to do it, > > Please, help me > > Thanks. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasghar at celitesystems.com Tue Jul 8 21:38:32 2003 From: jasghar at celitesystems.com (JJ Asghar) Date: Tue, 8 Jul 2003 14:38:32 -0500 Subject: Paging for Dummies Message-ID: Hey All, I'm a lowlly intern at a startup that has the daughting task to set up a solid nagios system, and i NEED HELP. My boss tells me to set up the system to get the paging part of the program up and running but it seems that i am stuck at just the installiation of the modem. Would someone be so kind as to enlighten me on the inner working of the installation of the modem in linux and turn it into getting the page from nagios? If you decide to do it i bet it would help alot of us out here. Also yes i have read the FAQ and Docs but i'm still lost. I'm running it on a Redhat 9 box so if you can gear it towards that it would be greatly apreciated. -JJ- From DTerrell at Delphi-Tech.com Tue Jul 8 21:44:20 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Tue, 8 Jul 2003 15:44:20 -0400 Subject: A different question about reports Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDBDC@NJ-2K-Email1.delphi-tech.com> Recently in testing I pulled a server offline for an exensive period. I noticed I recieved multiple notifications that it was down on the proper notification interval, however they just kept coming. I'm a little confused where I might set the maximum notifications sent out. TIA -Dave ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlong at messiah.edu Tue Jul 8 21:54:08 2003 From: jlong at messiah.edu (Jason Long) Date: Tue, 08 Jul 2003 15:54:08 -0400 Subject: nrpe-2.04b compile error: u_int32_t Message-ID: I had the same problem on an HP/UX box. To compile, I changed all the "u_int32_t" to "uint32_t" in the source code. But I must of encountered some other problem I can't remember, because I ended up giving up on the beta version and downgrading to the stable version, nrpe-1.8. Jason >>> Jordi Vidal 7/8/03 2:24:30 PM >>> Hi I'm trying to compile nrpe-2.0b4 in a Solaris 8 box (SunOS wtn250 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-250). I get an error about "u_int32_t". Can someone know what I'm doing wrong? Regards, Jordi Vidal Compiler packages: binutils: SMCbinut 2.11.2 gcc: SMCgcc302 3.0.2 make: SMCmake 3.80 ---------- Forwarded message ---------- Date: Tue, 8 Jul 2003 20:16:01 +0200 (CEST) From: root at xxxxxxxx.xxx To: jordivi at wtransnet.net Subject: nrpe_compile_error cd ./src/; make ; cd .. make[1]: Entering directory `/export/home/jordivi/Nagios/nrpe-2.0b4/src' gcc -g -O2 -DHAVE_CONFIG_H -o nrpe -lnsl -lsocket nrpe.c utils.c In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:45, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from nrpe.c:21: /usr/include/sys/int_types.h:69: conflicting types for `int32_t' ../common/config.h:54: previous declaration of `int32_t' In file included from nrpe.c:22: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: conflicting types for `int32_t' /usr/include/sys/int_types.h:69: previous declaration of `int32_t' In file included from utils.h:35, from nrpe.c:24: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: redefinition of `int32_t' ../common/config.h:54: `int32_t' previously declared here In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:45, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from utils.c:32: /usr/include/sys/int_types.h:69: conflicting types for `int32_t' ../common/config.h:54: previous declaration of `int32_t' In file included from utils.h:35, from utils.c:33: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: conflicting types for `int32_t' /usr/include/sys/int_types.h:69: previous declaration of `int32_t' make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/export/home/jordivi/Nagios/nrpe-2.0b4/src' ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From itamarf at pbh.gov.br Tue Jul 8 22:32:50 2003 From: itamarf at pbh.gov.br (itamarf) Date: Tue, 08 Jul 2003 17:32:50 -0300 Subject: Question_Nagios Message-ID: <3F0B2A71.D5C3B831@pbh.gov.br> Hi, Only more one Question, The nagios only send the notification if after 3 tries , the service is still with problem. Is this Correct? Thanks. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Tue Jul 8 22:13:48 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Tue, 08 Jul 2003 17:13:48 -0300 Subject: SNMP or NSClient Message-ID: <20030708201348.6475.qmail@linuxmail.org> Hi Folks, Which one to use to check Windows NT/2K states, like CPU load (single or multi-processors machines), Memory load, Disk space, Service state, Process state, System uptime, File date & time: - SNMP or - NSClient My customer says that prefered to use SNMP on the clients because SNMP is a protocol, in the full meaning of the word, and then, I could start a snmpd on the Nagios Server. But for administrative reasons, I prefer to use NSClient. It's fully integrated with Nagios. You all that uses some of this two described above, what do you say? Which one is better? I really hope for some answers... comments! Thanks in advance! -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Tue Jul 8 22:26:53 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Tue, 8 Jul 2003 16:26:53 -0400 Subject: Notifications_Nagios Message-ID: <9AC614ABB62FB4489015BF7CBF9F68205C6A31@patton.infosysnetworks.com> I posted a message earlier about this. It seems that after the first service failure, Nagios immediately starts checking the host every 10 seconds. So, suppose you have the host max_check_attempts set to 5, then 50 seconds after the service fails, an alarm goes out the Host is down. True, this suppresses the alarm that the service is down, but still you get tons of false alarms due to network hiccups. Does anyone have an idea how to change this behavior? Brian -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, July 08, 2003 3:40 PM To: itamarf; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notifications_Nagios max_check_attempts: This directive is used to define the number of times that Nagios will retry the service check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the service check again. normal_check_interval: This directive is used to define the number of "time units" to wait before scheduling the next "regular" check of the service. "Regular" checks are those that occur when the service is in an OK state or when the service is in a non-OK state, but has already been rechecked max_attempts number of times. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation. retry_check_interval: This directive is used to define the number of "time units" to wait before scheduling a re-check of the service. Services are rescheduled at the retry interval when the have changed to a non-OK state. Once the service has been retried max_attempts times without a change in its status, it will revert to being scheduled at its "normal" rate as defined by the check_interval value. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation. You'll need to adjust the values above depending on how you want to accomplish it. I use max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 Which yields about 15-20 minutes between down and notification (one normal 5 minute check + 5 retries at 3 minutes each = 20). -- Marc > -----Original Message----- > From: itamarf [mailto:itamarf at pbh.gov.br] > Sent: Tuesday, July 08, 2003 2:33 PM > To: nagios-users at lists.sourceforge.net > > hi, > > I would like to do the nagios only send notifocations if the services > are inoperant for a some minutes like 30 minutes, before this time, the > notifications won?t be sent. > > If someone know how to do it, > > Please, help me > > Thanks. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Tue Jul 8 22:51:29 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Tue, 8 Jul 2003 15:51:29 -0500 Subject: SNMP or NSClient In-Reply-To: <20030708201348.6475.qmail@linuxmail.org> References: <20030708201348.6475.qmail@linuxmail.org> Message-ID: <48831.8938216709$1057698197@news.gmane.org> I use both, they each have specific purposes. The only thing I can't get with SNMP is service states. However, if you can tie a Service back to an executable, you can monitor them. NSClient is nice too, and does services. I use SNMP because I use Cricket to gather performance trend data from my Windows servers. Nagios is just used for operational status. Russell On Tue, Jul 08, 2003 at 05:13:48PM -0300, Rivanor P. Soares wrote: > Hi Folks, > > Which one to use to check Windows NT/2K states, like CPU load (single or multi-processors machines), Memory load, Disk space, Service state, Process state, System uptime, File date & time: > - SNMP or > - NSClient > > My customer says that prefered to use SNMP on the clients because SNMP is a protocol, in the full meaning of the word, and then, I could start a snmpd on the Nagios Server. But for administrative reasons, I prefer to use NSClient. It's fully integrated with Nagios. > > You all that uses some of this two described above, what do you say? Which one is better? > > I really hope for some answers... comments! > Thanks in advance! > > -- > Rivanor P. Soares [w3b_kn0ws] > LPIC-1, CCNA > Sao Paulo - SP > Brazil > > -- > ______________________________________________ > http://www.linuxmail.org/ > Now with e-mail forwarding for only US$5.95/yr > > Powered by Outblaze > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jul 9 00:20:18 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 9 Jul 2003 08:20:18 +1000 Subject: Adding more advanced correlation to nagios with sec (any interest?) In-Reply-To: <200306281948.h5SJmGxN020728@mx1.cs.umb.edu>; from rouilj@cs.umb.edu on Sat, Jun 28, 2003 at 03:48:16PM -0400 References: <200306281948.h5SJmGxN020728@mx1.cs.umb.edu> Message-ID: <20030709082013.B232@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and comment about the last little iota (unfortunately, I need to think about your proposal far more before remarking on it). On Sat, Jun 28, 2003 at 03:48:16PM -0400, John P. Rouillard wrote: > > Note, there is a issue with sec in that ;'s can't be embedded in its > action commands. This is a problem since nagios' passive commands are ; > delimited. There should be a new version of sec out (2.1.8) once > testing is complete that addresses this issue. > Indeed 2.1.8 addresses these issues beautifully eg from my sec.conf that is in the process of disintermediating my /bin/sh trap handlers (bliss) type=PairWithWindow desc=Alarm threshold crossed. ptype=RegExp pattern=:\s+(\S+?): .+?\(RMON-MIB::risingAlarm\) Uptime: .+?,(.*) action=assign %i $1; \ assign %o Failed. Potential problem (broadcast storm or congestion ?): monitored value exceeded alarm threshold. $2; \ eval %h ( require '/usr/local/nagios/etc/alarm_hostnames.pl'; $ip2NagName{'%i'}; ); \ write /usr/local/nagios/var/rw/nagios.cmd ([%u] PROCESS_SERVICE_CHECK_RESULT;%h;%s;2;%o) The wrapping makes a mess, but I think you get the picture: action=write NagCmdQueue ( [%u]PROCESS_SERVICE_CHECK_RESULT;foo;bar;..) > -- rouilj > =========================================================================== > My employers don't acknowledge my existence much less my opinions. > Yours too ? Once again, this is simply a fantastic assist for Nagios. Thank you for mentioning it. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps From james at lovedthanlost.net Wed Jul 9 01:57:18 2003 From: james at lovedthanlost.net (James Turnbull) Date: Wed, 9 Jul 2003 09:57:18 +1000 Subject: Nagios with MySQL compilation problems on Redhat 6.2, 7.3, 8.0, 9.0 and Solaris 8 - SOME POSSIBLE FIXES References: <010001c32fd0$a3bd96c0$d700a8c0@iih.usyd.edu.au> <007101c3314e$d524ba70$d700a8c0@iih.usyd.edu.au> <3EE9D3D6.5F27600E@Virginia.EDU> Message-ID: <005301c345ac$aa255290$3400a8c0@iih.usyd.edu.au> Whilst getting Nagios to work with MySQL I encountered a number of compilation problems (which a number of people on this list have also experienced - I counted at least 30 posts with the same error messages). I got these problems occurring with both Nagios 1.0, 1.1 and the 1-x-cvs on Redhat 8 and 9. I have also gone through the list archives and listed in the subject line all the other OS' for which people have posted the same problem with compilation. The problems I encountered were: 1. After ./configure finds the MySQL libraries and includes (using --with-mysql-lib and --with-mysql-inc) the 'make all' fails with: ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory In order to get this to work I edited the following files: xcddb.c xdddb.c xeddb.c xrddb.c xsddb.c and explicitly told Nagios where to find the includes by changing: #ifdef USE_XRDMYSQL #include #include #endif to: #ifdef USE_XRDMYSQL #include "/usr/local/mysql/include/mysql.h" #include "/usr/local/mysql/include/errmsg.h" #endif 2. After fixing this problem I run 'make all' again and get the following errors: /tmp/cccMNNgs.o: In function `xrddb_initialize': /downloads/nagios-1.1/base/../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/cccMNNgs.o: In function `xrddb_connect': /downloads/nagios-1.1/base/../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /downloads/nagios-1.1/base/../xdata/xrddb.c:254: undefined reference to `mysql_close' etc, etc I discovered this related to Nagios being unable to find the MySQL libaries (http://www.mysql.com/doc/en/Link_errors.html). To fix this problems you need to place the LDFLAGS statements: -L/usr/local/mysql/lib -lmysqlclient -lz at the end of the compile statement after the file names like so: gcc -g -O2 -I/usr/local/mysql/include -DHAVE_CONFIG_H -DNSCGI avail.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c -o avail.cgi -L/usr/local/mysql/lib -lmysqlclient -lz Not being a programmer I have no idea who to change the makefile to move the LDFLAGS stuff to the end of the compilation statement so I manually compiled each program - but I am sure one of the more programmer-orientated types can explain how this is done. Hope this helps some others with their compile problems. Regards James Turnbull ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dcron at simcastmedia.com.au Wed Jul 9 04:50:41 2003 From: dcron at simcastmedia.com.au (Danny Cron) Date: Wed, 09 Jul 2003 12:50:41 +1000 Subject: Nagios doesn't check my services Message-ID: <3F0B8301.4030301@simcastmedia.com.au> I'm using Debian. I installed nagios-text (using apt-get). I installed the nagios plugins (from SourceForge from the source). I copied the plugins from the directory they installed into (/usr/local/nagios/libexec) to the directory where nagios expects the plugsin (/usr/lib/nagios/plugins). The binaries work from the shell, the have world-executable permission (so nagios can run them). I have added my hosts, I have added my services (just a ping at this stage), I have added my hosts to a host group. The configuration files pass Nagios's pre-flight check. The web-pages are working. I get no errors in any of the log files. The hosts appear in the "Host Detail" screen, however they read Status: PENDING Status Information: Not enough data to determine host status yet I wait for the scheduled check, however the status does not change. If I click on the host and then on "Schedule an immediate check of all services on this host", then then host registers as "UP", however if I look at the trends for the host (and for the ping service) they say "100% Indeterminate". What's wrong? Danny. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Wed Jul 9 09:30:49 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Wed, 9 Jul 2003 09:30:49 +0200 Subject: status_file Message-ID: -------------------------------------- Please visit www.tiscali.co.za --------------------------------------Hi I've been wondering. What would happen if the status file gets updated while a cgi is busy reading it? Bearing in mind that my status file is about 1M. :\ fred ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Jul 7 18:15:36 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Jul 2003 11:15:36 -0500 Subject: several ip on a host Message-ID: It depends on what you're trying to accomplish. If you're trying to make sure that a given service is available on a given IP interface (eg, httpd), then you should define unique hostname/IP addresses in hosts.cfg. If you don't care which of the 2 or more interfaces is available, so long as you get the result back from the check (eg, check_disk), then I suggest you have DNS set up properly with multiple A records for a given FQDN, then reference that FQDN in hosts.cfg (no need to specify the IP address). HTH. jc > -----Original Message----- > From: greg [mailto:greg at mgpi.com.fr] > Sent: Monday, July 07, 2003 2:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] several ip on a host > > > Hi, > > On the network I want to monitore with Nagios, servers have > two network card > (they have two ip address, one for the backup) . Do I define > a host for each > ip or can I define a host with several IP (in hosts.cfg, > hostgroups.cfg, > services.cfg ... )? > Actually, I define a host for each IP but I wonder if that's the best > solution... > > Thanks for your help > Greg. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 1203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at clack.org.uk Wed Jul 9 10:24:38 2003 From: David at clack.org.uk (David Clack) Date: Wed, 9 Jul 2003 09:24:38 +0100 (BST) Subject: SNMP or NSClient In-Reply-To: <20030708205129.GF3751@soja.ksnet.com.> References: <20030708201348.6475.qmail@linuxmail.org> <20030708205129.GF3751@soja.ksnet.com.> Message-ID: Hi, This is a tad off topic. I use NSclient as I don't know how to check CPU load, disk states etc.. on windows servers via SNMP. All I know how to do is system uptime & the like. Could you point me to any docs that show up to use SNMP to check more on a Windows server. I use standard snmp that comes with windows & net-snmp on nagios box. Cheers, Dave. On Tue, 8 Jul 2003, Russell Adams wrote: > I use both, they each have specific purposes. > > The only thing I can't get with SNMP is service states. However, if > you can tie a Service back to an executable, you can monitor them. > > NSClient is nice too, and does services. > > I use SNMP because I use Cricket to gather performance trend data from > my Windows servers. Nagios is just used for operational status. > > Russell > > > On Tue, Jul 08, 2003 at 05:13:48PM -0300, Rivanor P. Soares wrote: > > Hi Folks, > > > > Which one to use to check Windows NT/2K states, like CPU load (single or multi-processors machines), Memory load, Disk space, Service state, Process state, System uptime, File date & time: > > - SNMP or > > - NSClient > > > > My customer says that prefered to use SNMP on the clients because SNMP is a protocol, in the full meaning of the word, and then, I could start a snmpd on the Nagios Server. But for administrative reasons, I prefer to use NSClient. It's fully integrated with Nagios. > > > > You all that uses some of this two described above, what do you say? Which one is better? > > > > I really hope for some answers... comments! > > Thanks in advance! > > > > -- > > Rivanor P. Soares [w3b_kn0ws] > > LPIC-1, CCNA > > Sao Paulo - SP > > Brazil > > > > -- > > ______________________________________________ > > http://www.linuxmail.org/ > > Now with e-mail forwarding for only US$5.95/yr > > > > Powered by Outblaze > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From e.bendriss at menara.ma Wed Jul 9 10:44:51 2003 From: e.bendriss at menara.ma (BENDRISS Elmehdi) Date: Wed, 9 Jul 2003 08:44:51 -0000 Subject: History problem Message-ID: <001101c345f6$5ca11dc0$cb0fd9d4@nimda.ma> Hi *.* i have a problem with my nagios 1.1 on Solaris 8 Sparc Ultra-5 : it doesn't keep track of alerts and notifications anyone faced this problem before? i compiled Nagios with the simplest options (no db support) with no errors. here is my nagios.cfg thanks in advance for your help ------------------ ######################################################################## ###### # # NAGIOS.CFG - Sample Main Config File for Nagios # # Read the documentation for more information on this configuration # file. I've provided some comments here, but things may not be so # clear without further explanation. # # Last Modified: 07-04-2002 # ######################################################################## ###### # LOG FILE # This is the main log file where service and host events are logged # for historical purposes. This should be the first option specified # in the config file!!! log_file=/opt/nagios/var/status.log # OBJECT CONFIGURATION FILE(S) # This is the configuration file in which you define hosts, host # groups, contacts, contact groups, services, etc. I guess it would # be better called an object definition file, but for historical # reasons it isn't. You can split object definitions into several # different config files by using multiple cfg_file statements here. # Nagios will read and process all the config files you define. # This can be very useful if you want to keep command definitions # separate from host and contact definitions... # Plugin commands (service and host check commands) # Arguments are likely to change between different releases of the # plugins, so you should use the same config file provided with the # plugin release rather than the one provided with Nagios. cfg_file=/opt/nagios/etc/checkcommands.cfg # Misc commands (notification and event handler commands, etc) cfg_file=/opt/nagios/etc/misccommands.cfg # You can split other types of object definitions across several # config files if you wish (as done here), or keep them all in a # single config file. cfg_file=/opt/nagios/etc/contactgroups.cfg cfg_file=/opt/nagios/etc/contacts.cfg cfg_file=/opt/nagios/etc/dependencies.cfg cfg_file=/opt/nagios/etc/escalations.cfg cfg_file=/opt/nagios/etc/hostgroups.cfg cfg_file=/opt/nagios/etc/hosts.cfg cfg_file=/opt/nagios/etc/services.cfg cfg_file=/opt/nagios/etc/timeperiods.cfg # RESOURCE FILE # This is an optional resource file that contains $USERx$ macro # definitions. Multiple resource files can be specified by using # multiple resource_file definitions. The CGIs will not attempt to # read the contents of resource files, so information that is # considered to be sensitive (usernames, passwords, etc) can be # defined as macros in this file and restrictive permissions (600) # can be placed on this file. resource_file=/opt/nagios/etc/resource.cfg # STATUS FILE # This is where the current status of all monitored services and # hosts is stored. Its contents are read and processed by the CGIs. # The contentsof the status file are deleted every time Nagios # restarts. status_file=/opt/nagios/var/status.log # NAGIOS USER # This determines the effective user that Nagios should run as. # You can either supply a username or a UID. nagios_user=nagios # NAGIOS GROUP # This determines the effective group that Nagios should run as. # You can either supply a group name or a GID. nagios_group=nagios # EXTERNAL COMMAND OPTION # This option allows you to specify whether or not Nagios should check # for external commands (in the command file defined below). By default # Nagios will *not* check for external commands, just to be on the # cautious side. If you want to be able to use the CGI command interface # you will have to enable this. Setting this value to 0 disables command # checking (the default), other values enable it. check_external_commands=1 # EXTERNAL COMMAND CHECK INTERVAL # This is the interval at which Nagios should check for external commands. # This value works of the interval_length you specify later. If you leave # that at its default value of 60 (seconds), a value of 1 here will cause # Nagios to check for external commands every minute. If you specify a # number followed by an "s" (i.e. 15s), this will be interpreted to mean # actual seconds rather than a multiple of the interval_length variable. # Note: In addition to reading the external command file at regularly # scheduled intervals, Nagios will also check for external commands after # event handlers are executed. # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. #command_check_interval=1 #command_check_interval=15s command_check_interval=-1 # EXTERNAL COMMAND FILE # This is the file that Nagios checks for external command requests. # It is also where the command CGI will write commands that are submitted # by users, so it must be writeable by the user that the web server # is running as (usually 'nobody'). Permissions should be set at the # directory level instead of on the file, as the file is deleted every # time its contents are processed. command_file=/opt/nagios/var/rw/nagios.cmd # COMMENT FILE # This is the file that Nagios will use for storing host and service # comments. comment_file=/opt/nagios/var/comment.log # DOWNTIME FILE # This is the file that Nagios will use for storing host and service # downtime data. downtime_file=/opt/nagios/var/downtime.log # LOCK FILE # This is the lockfile that Nagios will use to store its PID number # in when it is running in daemon mode. lock_file=/opt/nagios/var/nagios.lock # TEMP FILE # This is a temporary file that is used as scratch space when Nagios # updates the status log, cleans the comment file, etc. This file # is created, used, and deleted throughout the time that Nagios is # running. temp_file=/opt/nagios/var/nagios.tmp # LOG ROTATION METHOD # This is the log rotation method that Nagios should use to rotate # the main log file. Values are as follows.. # n = None - don't rotate the log # h = Hourly rotation (top of the hour) # d = Daily rotation (midnight every day) # w = Weekly rotation (midnight on Saturday evening) # m = Monthly rotation (midnight last day of month) log_rotation_method=n # LOG ARCHIVE PATH # This is the directory where archived (rotated) log files should be # placed (assuming you've chosen to do log rotation). log_archive_path=/opt/nagios/var/archives # LOGGING OPTIONS # If you want messages logged to the syslog facility, as well as the # NetAlarm log file set this option to 1. If not, set it to 0. use_syslog=0 # NOTIFICATION LOGGING OPTION # If you don't want notifications to be logged, set this value to 0. # If notifications should be logged, set the value to 1. log_notifications=1 # SERVICE RETRY LOGGING OPTION # If you don't want service check retries to be logged, set this value # to 0. If retries should be logged, set the value to 1. log_service_retries=1 # HOST RETRY LOGGING OPTION # If you don't want host check retries to be logged, set this value to # 0. If retries should be logged, set the value to 1. log_host_retries=1 # EVENT HANDLER LOGGING OPTION # If you don't want host and service event handlers to be logged, set # this value to 0. If event handlers should be logged, set the value # to 1. log_event_handlers=1 # INITIAL STATES LOGGING OPTION # If you want Nagios to log all initial host and service states to # the main log file (the first time the service or host is checked) # you can enable this option by setting this value to 1. If you # are not using an external application that does long term state # statistics reporting, you do not need to enable this option. In # this case, set the value to 0. log_initial_states=0 # EXTERNAL COMMANDS LOGGING OPTION # If you don't want Nagios to log external commands, set this value # to 0. If external commands should be logged, set this value to 1. # Note: This option does not include logging of passive service # checks - see the option below for controlling whether or not # passive checks are logged. log_external_commands=1 # PASSIVE SERVICE CHECKS LOGGING OPTION # If you don't want Nagios to log passive service checks, set this # value to 0. If passive service checks should be logged, set this # value to 1. log_passive_service_checks=1 # GLOBAL HOST AND SERVICE EVENT HANDLERS # These options allow you to specify a host and service event handler # command that is to be run for every host or service state change. # The global event handler is executed immediately prior to the event # handler that you have optionally specified in each host or # service definition. The command argument is the short name of a # command definition that you define in your host configuration file. # Read the HTML docs for more information. #global_host_event_handler=somecommand #global_service_event_handler=somecommand # INTER-CHECK DELAY METHOD # This is the method that Nagios should use when initially # "spreading out" service checks when it starts monitoring. The # default is to use smart delay calculation, which will try to # space all service checks out evenly to minimize CPU load. # Using the dumb setting will cause all checks to be scheduled # at the same time (with no delay between them)! This is not a # good thing for production, but is useful when testing the # parallelization functionality. # n = None - don't use any delay between checks # d = Use a "dumb" delay of 1 second between checks # s = Use "smart" inter-check delay calculation # x.xx = Use an inter-check delay of x.xx seconds inter_check_delay_method=s # SERVICE CHECK INTERLEAVE FACTOR # This variable determines how service checks are interleaved. # Interleaving the service checks allows for a more even # distribution of service checks and reduced load on remote # hosts. Setting this value to 1 is equivalent to how versions # of Nagios previous to 0.0.5 did service checks. Set this # value to s (smart) for automatic calculation of the interleave # factor unless you have a specific reason to change it. # s = Use "smart" interleave factor calculation # x = Use an interleave factor of x, where x is a # number greater than or equal to 1. service_interleave_factor=s # MAXIMUM CONCURRENT SERVICE CHECKS # This option allows you to specify the maximum number of # service checks that can be run in parallel at any given time. # Specifying a value of 1 for this variable essentially prevents # any service checks from being parallelized. A value of 0 # will not restrict the number of concurrent checks that are # being executed. max_concurrent_checks=0 # SERVICE CHECK REAPER FREQUENCY # This is the frequency (in seconds!) that Nagios will process # the results of services that have been checked. service_reaper_frequency=10 # SLEEP TIME # This is the number of seconds to sleep between checking for system # events and service checks that need to be run. I would recommend # *not* changing this from its default value of 1 second. sleep_time=1 # TIMEOUT VALUES # These options control how much time Nagios will allow various # types of commands to execute before killing them off. Options # are available for controlling maximum time allotted for # service checks, host checks, event handlers, notifications, the # ocsp command, and performance data commands. All values are in # seconds. service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 # RETAIN STATE INFORMATION # This setting determines whether or not Nagios will save state # information for services and hosts before it shuts down. Upon # startup Nagios will reload all saved service and host state # information before starting to monitor. This is useful for # maintaining long-term data on state statistics, etc, but will # slow Nagios down a bit when it (re)starts. Since its only # a one-time penalty, I think its well worth the additional # startup delay. retain_state_information=1 # STATE RETENTION FILE # This is the file that Nagios should use to store host and # service state information before it shuts down. The state # information in this file is also read immediately prior to # starting to monitor the network when Nagios is restarted. # This file is used only if the preserve_state_information # variable is set to 1. state_retention_file=/opt/nagios/var/status.sav # RETENTION DATA UPDATE INTERVAL # This setting determines how often (in minutes) that Nagios # will automatically save retention data during normal operation. # If you set this value to 0, Nagios will not save retention # data at regular interval, but it will still save retention # data before shutting down or restarting. If you have disabled # state retention, this option has no effect. retention_update_interval=60 # USE RETAINED PROGRAM STATE # This setting determines whether or not Nagios will set # program status variables based on the values saved in the # retention file. If you want to use retained program status # information, set this value to 1. If not, set this value # to 0. use_retained_program_state=1 # INTERVAL LENGTH # This is the seconds per unit interval as used in the # host/contact/service configuration files. Setting this to 60 means # that each interval is one minute long (60 seconds). Other settings # have not been tested much, so your mileage is likely to vary... interval_length=60 # AGRESSIVE HOST CHECKING OPTION # If you don't want to turn on agressive host checking features, set # this value to 0 (the default). Otherwise set this value to 1 to # enable the agressive check option. Read the docs for more info # on what agressive host check is or check out the source code in # base/checks.c use_agressive_host_checking=0 # SERVICE CHECK EXECUTION OPTION # This determines whether or not Nagios will actively execute # service checks when it initially starts. If this option is # disabled, checks are not actively made, but Nagios can still # receive and process passive check results that come in. Unless # you're implementing redundant hosts or have a special need for # disabling the execution of service checks, leave this enabled! # Values: 1 = enable checks, 0 = disable checks execute_service_checks=1 # PASSIVE CHECK ACCEPTANCE OPTION # This determines whether or not Nagios will accept passive # service checks results when it initially (re)starts. # Values: 1 = accept passive checks, 0 = reject passive checks accept_passive_service_checks=1 # NOTIFICATIONS OPTION # This determines whether or not Nagios will sent out any host or # service notifications when it is initially (re)started. # Values: 1 = enable notifications, 0 = disable notifications enable_notifications=1 # EVENT HANDLER USE OPTION # This determines whether or not Nagios will run any host or # service event handlers when it is initially (re)started. Unless # you're implementing redundant hosts, leave this option enabled. # Values: 1 = enable event handlers, 0 = disable event handlers enable_event_handlers=1 # PROCESS PERFORMANCE DATA OPTION # This determines whether or not Nagios will process performance # data returned from service and host checks. If this option is # enabled, host performance data will be processed using the # host_perfdata_command (defined below) and service performance # data will be processed using the service_perfdata_command (also # defined below). Read the HTML docs for more information on # performance data. # Values: 1 = process performance data, 0 = do not process performance data process_performance_data=0 # HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS # These commands are run after every host and service check is # performed. These commands are executed only if the # enable_performance_data option (above) is set to 1. The command # argument is the short name of a command definition that you # define in your host configuration file. Read the HTML docs for # more information on performance data. #host_perfdata_command=process-host-perfdata #service_perfdata_command=process-service-perfdata # OBSESS OVER SERVICE CHECKS OPTION # This determines whether or not Nagios will obsess over service # checks and run the ocsp_command defined below. Unless you're # planning on implementing distributed monitoring, do not enable # this option. Read the HTML docs for more information on # implementing distributed monitoring. # Values: 1 = obsess over services, 0 = do not obsess (default) obsess_over_services=0 # OBSESSIVE COMPULSIVE SERVICE PROCESSOR COMMAND # This is the command that is run for every service check that is # processed by Nagios. This command is executed only if the # obsess_over_service option (above) is set to 1. The command # argument is the short name of a command definition that you # define in your host configuration file. Read the HTML docs for # more information on implementing distributed monitoring. #ocsp_command=somecommand # ORPHANED SERVICE CHECK OPTION # This determines whether or not Nagios will periodically # check for orphaned services. Since service checks are not # rescheduled until the results of their previous execution # instance are processed, there exists a possibility that some # checks may never get rescheduled. This seems to be a rare # problem and should not happen under normal circumstances. # If you have problems with service checks never getting # rescheduled, you might want to try enabling this option. # Values: 1 = enable checks, 0 = disable checks check_for_orphaned_services=0 # SERVICE FRESHNESS CHECK OPTION # This option determines whether or not Nagios will periodically # check the "freshness" of service results. Enabling this option # is useful for ensuring passive checks are received in a timely # manner. # Values: 1 = enabled freshness checking, 0 = disable freshness checking check_service_freshness=1 # FRESHNESS CHECK INTERVAL # This setting determines how often (in seconds) Nagios will # check the "freshness" of service check results. If you have # disabled service freshness checking, this option has no effect. freshness_check_interval=60 # AGGREGATED STATUS UPDATES # This option determines whether or not Nagios will # aggregate updates of host, service, and program status # data. Normally, status data is updated immediately when # a change occurs. This can result in high CPU loads if # you are monitoring a lot of services. If you want Nagios # to only refresh status data every few seconds, disable # this option. # Values: 1 = enable aggregate updates, 0 = disable aggregate updates aggregate_status_updates=1 # AGGREGATED STATUS UPDATE INTERVAL # Combined with the aggregate_status_updates option, # this option determines the frequency (in seconds!) that # Nagios will periodically dump program, host, and # service status data. If you are not using aggregated # status data updates, this option has no effect. status_update_interval=15 # FLAP DETECTION OPTION # This option determines whether or not Nagios will try # and detect hosts and services that are "flapping". # Flapping occurs when a host or service changes between # states too frequently. When Nagios detects that a # host or service is flapping, it will temporarily supress # notifications for that host/service until it stops # flapping. Flap detection is very experimental, so read # the HTML documentation before enabling this feature! # Values: 1 = enable flap detection # 0 = disable flap detection (default) enable_flap_detection=0 # FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES # Read the HTML documentation on flap detection for # an explanation of what this option does. This option # has no effect if flap detection is disabled. low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 # DATE FORMAT OPTION # This option determines how short dates are displayed. Valid options # include: # us (MM-DD-YYYY HH:MM:SS) # euro (DD-MM-YYYY HH:MM:SS) # iso8601 (YYYY-MM-DD HH:MM:SS) # strict-iso8601 (YYYY-MM-DDTHH:MM:SS) # date_format=euro # ILLEGAL OBJECT NAME CHARACTERS # This options allows you to specify illegal characters that cannot # be used in host names, service descriptions, or names of other # object types. illegal_object_name_chars=`~!$%^&*|'"<>?,()= # ILLEGAL MACRO OUTPUT CHARACTERS # This options allows you to specify illegal characters that are # stripped from macros before being used in notifications, event # handlers, etc. This DOES NOT affect macros used in service or # host check commands. # The following macros are stripped of the characters you specify: # $OUTPUT$, $PERFDATA$ illegal_macro_output_chars=`~$&|'"<> # ADMINISTRATOR EMAIL ADDRESS # The email address of the administrator of *this* machine (the one # doing the monitoring). Nagios never uses this value itself, but # you can access this value by using the $ADMINEMAIL$ macro in your # notification commands. admin_email=nagios # ADMINISTRATOR PAGER NUMBER/ADDRESS # The pager number/address for the administrator of *this* machine. # Nagios never uses this value itself, but you can access this # value by using the $ADMINPAGER$ macro in your notification # commands. admin_pager=pagenagios # EOF (End of file) ------------------ ///// (o o) -----------------------------------ooO---(_)---Ooo---------------------- ------------- Elmehdi BENDRISS Administrateur Syst?me email : e.bendriss at menara.ma Direction Internet Tel : +212 37 71 88 73 Maroc Telecom GSM : +212 61 47 47 09 ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Richard_Pearson at csgsystems.com Wed Jul 9 10:53:52 2003 From: Richard_Pearson at csgsystems.com (Pearson, Richard) Date: Wed, 9 Jul 2003 09:53:52 +0100 Subject: nrpe-2.04b compile error: u_int32_t Message-ID: <13EE4432EA827B4F97DC83F6BBA9009705EC8B@UKADEXCH01.csg.csgsystems.com> Hi All, This is in reply to the post with the subject: nrpe-2.04b compile error: u_int32_t. I am new to this so I havent worked out if this is the correct way to reply to a posting. I had the exact same problem, here is what I did to fix it: 1) in the common directory editied the file common.h Just after the first #include statement added: typedef unsigned int u_int32_t; 2) run configure as normal 3) In the config.h file in the common directory (generated by configure) commented out the line :#define U_INT32_T_IS_ULONG 1 The compile then worked ok (The above steps were ones I picked up from a number of different posts on the same issue) Now my only problem is that I cant get nrpe to work using inetd on solaris 8 only as a daemon Richard -------------- next part -------------- An HTML attachment was scrubbed... URL: From andreas.nitsche at miwi-dv.com Wed Jul 9 11:47:51 2003 From: andreas.nitsche at miwi-dv.com (Andreas Nitsche) Date: Wed, 9 Jul 2003 11:47:51 +0200 Subject: FW: [Nagios-devel] Configure changes to nrpe to get it to build on Solaris 8 Message-ID: <000201c345ff$2a35c5d0$c80c560a@dusseldorf.stercomm.com> Hi, make the changes to the two files and reconfigure it. Works fine for me.Beware that it might be buggy, since it from devel.... but so far I got no errors. Cheers Andreas -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: Donnerstag, 19. Juni 2003 17:45 To: nagios-devel at lists.sourceforge.net Subject: [Nagios-devel] Configure changes to nrpe to get it to build on Solaris 8 I'm not sure whether nrpe was expected to build on Solaris 8 or not, but it didn't for me under the following circumstances: * gcc 3.2.3 as installed from the SunFreeware site * no other GNU tools (just Sun's make, ar, etc in /usr/ccs/bin) * OpenSSL in /usr/local/ssl/... (again, installed from binaries on SunFreeware) I encountered the following problems: * There was no definition of u_int32_t - whatever was there in the configure script wasn't working. I ripped out what was there and added a AC_DEFINE_INTEGER_BITS m4 macro and associated supporting bits I found at http://www.gnu.org/software/ac-archive/htmldoc/ac_define_integer_bits.html This seems to be more reliable. * -I/usr/local/ssl/include was not included in CFLAGS. I tweaked the OpenSSL detection and added -I$ssldir/include to CFLAGS if $ssldir wasn't /usr or /usr/local (explicitly adding /usr/include or /usr/local/include to include file search paths makes gcc complain). I used autoconf 2.57 on my Mac OS X system to rebuild the configure file then copied the generated configure file and other modified files to the Solaris system and verified that nrpe would build on both platforms. I also copied the modified package over to a RH 7.3 system and verified I could rebuild configure with autoconf (2.53 - it failed with 2.13) and successfully configure and build the package there as well. Attached is the context diff. -- Skip Montanaro skip at pobox.com Got spam? http://spambayes.sf.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: nrpe.diffs Type: application/octet-stream Size: 4273 bytes Desc: not available URL: From Gerry.Johnson at torex.com Wed Jul 9 14:00:33 2003 From: Gerry.Johnson at torex.com (Gerry Johnson) Date: Wed, 9 Jul 2003 13:00:33 +0100 Subject: Group configuration[Scanned] Message-ID: <6EB3C3D9A260EB47AA0C6CEB6773C4C2359956@samoa.tinuk.com> This is the scenario: I have a computer system which needs monitoring in 2 ways (or views) - one Oracle and one UNIX. There may be some overlap but basically I want the Oracle group and the UNIX group to see different things for the same remote system. I have defined 2 separate groups but both groups end up seeing everything. Is there a way round this? Gerry -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jul 9 14:19:23 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 9 Jul 2003 22:19:23 +1000 Subject: There's more than one way to do it: SNMP traps and Nagios (OT). Message-ID: <20030709221919.C236@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to amplify on Mr John Rouillard's recent letter about Sec in which he remarked (in a long but interesting and useful letter), 'Using sec to process traps (or other passive checks) is straight forward.' Indeed it is, and for the benefit of those born again trap users I will share my experience of using Sec (http://www.estpak.ee/~risto/sec/) as an alternative to employing discrete trap handlers as described in the Nagios documentation ('Integration With Other Software'/SNMP traps). Sec responds to events in an input stream, often a log file. Events are text substrings or Patterns reporting the events occurrence. The Net-SNMP projects snmptrapd can be made to log the fully decoded trap and this is a natural event stream for Sec to process. Whereas using discrete trap handlers requires . tight coupling between the Nag config (service_description, host_name and the status processing), the snmptrapd.conf and the trap handler . a proliferation of trap handlers that are perhaps written in a language that is hard to maintain (such as /bin/sh) . acceptance of the trap handlers role as being forked by snmptrapd and probably not being able to retain state between invocations . willingness to get down and dirty with SNMP. Reading MIBs and using the snmp tools (snmptranslate and snmptrap) are mandatory as are alternatives such as Net::SNMP (In my experience anyway), Sec provides 'Event Correlation' that is able to . suppress event pairs (eg if down/up) that occur within a time window . suppressing repeated events (eg a cascasde of traps) . sense and update context (context is completely user defined and may be a calendar event or a particular FTP session). Context is then used to further filter the Sec rules. and other similar features. A Sec confguration is largely declarative but allows the application to perform some processing with ad-hoc Perl. Since traps are detected by Sec using patterns or substrings, one can remain blissfully ignorant of what number the trap is and what varbinds are sent with it. In fact, being able to get MIBS installed is the only SNMP pre-req (and to do this you will probably have to either outsource it or the aformentioned D&D). Here's some examples of a Sec rule from my second rate Sec.Conf type=Single ptype=RegExp pattern=\]: (\S+?): .+?frDLCIStatusChange\) .+?frCircuitDlci\.\d+\.\d+ = (\d+),.+?frCircuitState\.\d+\.\d+ = (\w+)\( desc=Frame relay PVC state change action= \ assign %i $1; \ assign %c $2; \ assign %d $3; \ eval %o ( '%d' eq 'active' ? 'Ok. Frame relay PVC %c has changed state to %d.' : \ '%d' eq 'inactive' ? 'Failed. Frame relay PVC %c has changed state to %d.' : \ '%d' eq 'invalid' ? 'Failed. Frame relay PVC %c has changed state to %d.' : \ 'Unknown. Frame relay PVC %c has changed state to %d.' ); \ eval %d ( '%d' eq 'active' ? 0 : \ '%d' eq 'inactive' ? 2 : \ '%d' eq 'invalid' ? 2 : \ 3 ); \ eval %h ( require '/usr/local/nagios/etc/alarm_hostnames.pl' unless \ defined $ip2NagName{'%i'}; \ $ip2NagName{'%i'} ); \ write /usr/local/nagios/var/rw/nagios.cmd ([%u] PROCESS_SERVICE_CHECK_RESULT;%h;%s;%d;%o) # write - ([%u] PROCESS_SERVICE_CHECK_RESULT;%h;%s;%d;%o) This matches Frame relay DLCI status changes traps against the Pattern, setting $1, $2 and $3 (the sender_ip, the DLCI and the PVC state). It then stores the matching strings in Sec variables (%i, %c, ..) and decodes the output it will return to Nagios (eval %o) and the return code (%d). It also works out the Nagios host name (%h) from a Perl hash that maps the sender_ip (in %i) to the Nagios host_name directive (known apriori). Finally it forms the Nag PROCESS_SERVICE_CHECK_RESULT command and writes it to the queue. Finally, Sec is actively developed, beautifully documented, powerful and efficient. It has a number of maintenance and debug friendly features that include a ruletest option, writing output to STDOUT (to help ensure the patterns match) and probably most helpful of all, accepting any input stream (STDIN). This latter facility means that one doesn't have to with varying degrees of success, synthesise traps. The Sec rules can be tested agains logged traps in snmptrapd's log with tail or grep. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vpanel at axen.be Wed Jul 9 16:22:33 2003 From: vpanel at axen.be (Panel Vincent) Date: Wed, 9 Jul 2003 16:22:33 +0200 Subject: url_html_path option ignored Message-ID: <0775BCFF0720BB498E1101F188378CF9849B9B@mail.axen.be> I first installed nagios as a directory of my main webiste, you could access the web-based interface via http://www.xx.ext/nagios and thus, I left the url_html_path with its default (/nagios). But now, I want to install nagios on it's own virtual host. However, after changing this parameter to "/", I noticed that links in the CGI interface were not modified, they still contained "/nagios". Is this option ignored ? Is there a cache somewhere for this option ? Is this a bug ? Thanks. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Wed Jul 9 16:28:18 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Wed, 9 Jul 2003 09:28:18 -0500 Subject: SNMP or NSClient In-Reply-To: References: <20030708201348.6475.qmail@linuxmail.org> <20030708205129.GF3751@soja.ksnet.com.> Message-ID: <2439.00667778707$1057762121@news.gmane.org> The standard Win2k SNMP stack supports hostmib, which contains processor stats (hrDeviceTable), memory usage (only valid under 2G limit), disk stats (hrStorageTable), and running programs (hrSWRunTable). My suggestion is that you setup a Win2k box with the standard SNMP stack from MS, then perform the following... $ snmpwalk -mHOST-RESOURCES-MIB yourhost yourcommunity | less -S Scroll through it and read, most of the hostmib data will be towards the end, past the mib-2 network information. I use Cricket to gather this SNMP data to trend performance information. In fact, the Cricket team just posted my Win2k performance config tree on the contributions site. Its for Win2k with standard SNMP and the SNMP4W2K addon. I'll make another soon for standard SNMP. Russell On Wed, Jul 09, 2003 at 09:24:38AM +0100, David Clack wrote: > Hi, > This is a tad off topic. I use NSclient as I don't know how to check > CPU load, disk states etc.. on windows servers via SNMP. > All I know how to do is system uptime & the like. > Could you point me to any docs that show up to use SNMP to check more on a > Windows server. > I use standard snmp that comes with windows & net-snmp on nagios box. > Cheers, > Dave. > On Tue, 8 Jul 2003, Russell Adams wrote: > > > I use both, they each have specific purposes. > > > > The only thing I can't get with SNMP is service states. However, if > > you can tie a Service back to an executable, you can monitor them. > > > > NSClient is nice too, and does services. > > > > I use SNMP because I use Cricket to gather performance trend data from > > my Windows servers. Nagios is just used for operational status. > > > > Russell > > > > > > On Tue, Jul 08, 2003 at 05:13:48PM -0300, Rivanor P. Soares wrote: > > > Hi Folks, > > > > > > Which one to use to check Windows NT/2K states, like CPU load (single or multi-processors machines), Memory load, Disk space, Service state, Process state, System uptime, File date & time: > > > - SNMP or > > > - NSClient > > > > > > My customer says that prefered to use SNMP on the clients because SNMP is a protocol, in the full meaning of the word, and then, I could start a snmpd on the Nagios Server. But for administrative reasons, I prefer to use NSClient. It's fully integrated with Nagios. > > > > > > You all that uses some of this two described above, what do you say? Which one is better? > > > > > > I really hope for some answers... comments! > > > Thanks in advance! > > > > > > -- > > > Rivanor P. Soares [w3b_kn0ws] > > > LPIC-1, CCNA > > > Sao Paulo - SP > > > Brazil > > > > > > -- > > > ______________________________________________ > > > http://www.linuxmail.org/ > > > Now with e-mail forwarding for only US$5.95/yr > > > > > > Powered by Outblaze > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Parasoft > > > Error proof Web apps, automate testing & more. > > > Download & eval WebKing and get a free book. > > > www.parasoft.com/bulletproofapps > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists-nagios at host.ie Wed Jul 9 16:58:56 2003 From: lists-nagios at host.ie (lists-nagios at host.ie) Date: Wed, 9 Jul 2003 15:58:56 +0100 Subject: check-host-alive doesn't work for 2 devices Message-ID: <06a301c3462a$9eedc820$c800a8c0@mediamogul> Hi, I have the following host definitions in my hosts.cfg and for some reason it maintains a PENDING status for these 2 hosts while it has worked perfectly for the other 17 host definitions I have in hosts.cfg. I cut and pasted the definitions from working ones to minimise syntax error. # 'esr1' host definition define host{ use generic-host ; Name of host template to use host_name esr1 alias Marconi ESR Layer 3 switch address 172.16.8.5 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } I did a nagios:/usr/local/nagios/etc# ../libexec/check_ping -H 172.16.8.5 -w 3000.0,80% -c 5000.0,100% -p 5 PING OK - Packet loss = 0%, RTA = 0.30 ms for the hosts in question and it obviously works. The hosts are switches as noted above - that shouldn't make any difference, right? any ideas? Paraic www.host.ie ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists-nagios at host.ie Wed Jul 9 17:13:00 2003 From: lists-nagios at host.ie (lists-nagios at host.ie) Date: Wed, 9 Jul 2003 16:13:00 +0100 Subject: check_udp doesn't work on nagios 1.1 Message-ID: <06b101c3462c$960485d0$c800a8c0@mediamogul> > Hi > it looks like check_udp is broken in particular for the udp ports I'm checking. > Here's the output regardless of what host info or port number I use: > > nagios:/usr/local/nagios/etc# ../libexec/check_udp -H 172.16.3.10 -p 514 > Host name was not supplied > Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] > [-e expect] [-s send] [-t to_sec] [-v] > > nagios:/usr/local/nagios/etc# ../libexec/check_udp -H 172.16.1.10 -p 37 -v > Host name was not supplied > Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] > [-e expect] [-s send] [-t to_sec] [-v] > > This seems to be the only feedback I can generate from the check_udp command > regardless what I put into it. > > Rgds, > Paraic > www.host.ie > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists-nagios at host.ie Wed Jul 9 17:33:24 2003 From: lists-nagios at host.ie (lists-nagios at host.ie) Date: Wed, 9 Jul 2003 16:33:24 +0100 Subject: check-host-alive doesn't work for 2 devices Message-ID: <076901c3462f$6fa1ae60$c800a8c0@mediamogul> Hi, Replying to my own query, I found a silly workaround for this problem. Add a service (fictional or otherwise - my ESR switches don't have any services on them) for the host and suddenly it starts to do the check-host-alive check and comes up fine. Now I have a service that needs to be disabled for it to work! Rgds, Paraic www.host.ie ----- Original Message ----- From: To: Sent: Wednesday, July 09, 2003 3:58 PM Subject: check-host-alive doesn't work for 2 devices > Hi, > I have the following host definitions in my hosts.cfg and for some reason it > maintains a PENDING status for these 2 hosts while it has worked perfectly > for the other 17 host definitions I have in hosts.cfg. I cut and pasted the > definitions from working ones to minimise syntax error. > # 'esr1' host definition > define host{ > use generic-host ; Name of host > template to use > > host_name esr1 > alias Marconi ESR Layer 3 switch > address 172.16.8.5 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > I did a > nagios:/usr/local/nagios/etc# ../libexec/check_ping -H 172.16.8.5 -w > 3000.0,80% -c 5000.0,100% -p 5 > PING OK - Packet loss = 0%, RTA = 0.30 ms > > for the hosts in question and it obviously works. > The hosts are switches as noted above - that shouldn't make any difference, > right? > > any ideas? > > Paraic > www.host.ie > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Wed Jul 9 17:38:05 2003 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: 09 Jul 2003 08:38:05 -0700 Subject: pronunciation? Message-ID: <1057765085.23332.31.camel@tesuji.nac.uci.edu> How is "nagios" pronounced? -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From strombrg at dcs.nac.uci.edu Wed Jul 9 17:44:42 2003 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: 09 Jul 2003 08:44:42 -0700 Subject: logging? Message-ID: <1057765482.23332.39.camel@tesuji.nac.uci.edu> We have a central loghost which has been trucking along ok for some time. Recently, it's started getting so much log data that a log file hits the 2G limit before a day is over, and is filling up the syslog disk. The filesystem for the log data is ext2. Not to assign blame (it's not nagios fault), but I think this is related to all the: 1) tcpd log messages nagios is generating on remote hosts 2) xinetd log messages nagios is generating on remote hosts 3) identd log messages the remote hosts are generating on the nagios host (under unique pids, no less). Has anyone else been confronted by this sort of problem before? How did you handle it? Or alternatively, how would you handle it? Decrease the frequency of checks? Turn off logging of the nagios host in tcpd and xinetd? Turn off identd on the nagios host? I'm all ears. :) -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From chad.miller at mainstream-tech.com Wed Jul 9 17:40:24 2003 From: chad.miller at mainstream-tech.com (Chad Miller) Date: Wed, 9 Jul 2003 10:40:24 -0500 Subject: Clients being listed as hosts Message-ID: <6409F183B22921459B5883D616747BE4420495@integrity.mainstream-tech.com> Hi, I'm having the organizational issue of all of my systems being monitored are shown as hosts. How am I able to specify a "host" and "client" in my configuartion files so that my systems being monitored will be shown correctly. Chad M. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordivi at wtransnet.net Wed Jul 9 17:57:26 2003 From: jordivi at wtransnet.net (Jordi Vidal) Date: Wed, 9 Jul 2003 17:57:26 +0200 (CEST) Subject: nrpe-2.04b compile error: u_int32_t In-Reply-To: <3F0B0C67.26136.433271@localhost> References: <3F0B0C67.26136.433271@localhost> Message-ID: Hi Ethan I compiled and installed it succesfully in the following plattforms (solaris 8 and 9): SunOS e450 5.8 sun4u sparc SUNW,Ultra-4 SunOS e250 5.8 sun4u sparc SUNW,Ultra-250 SunOS v480 5.9 sun4u sparc SUNW,Sun-Fire-480R Just in case it were an unwanted effect, I noticed that inetd.conf syntax has changed (dont work with "--inetd"): .../nrpe -- -c /etc/nrpe.cfg -i instead of .../nrpe -- -c /etc/nrpe.cfg --inetd Thank you, Jordi Vidal On Tue, 8 Jul 2003, Ethan Galstad wrote: > Hi Jordi - > > I made a few modifications to NRPE since beta 4 that should fix this > problem. Could you grab the latest CVS tarball (URL is listed below) > and see if it compiles without problems? Let me know how this works. > Thanks! > > http://nagios.sourceforge.net/download/cvs/nrpe-cvs.tar.gz > > > > On 8 Jul 2003 at 20:24, Jordi Vidal wrote: > > > Hi > > I'm trying to compile nrpe-2.0b4 in a Solaris 8 box (SunOS wtn250 > > 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-250). I get an error about > > "u_int32_t". Can someone know what I'm doing wrong? > > > > Regards, > > Jordi Vidal > > > > Compiler packages: > > binutils: SMCbinut 2.11.2 > > gcc: SMCgcc302 3.0.2 > > make: SMCmake 3.80 > > > > ---------- Forwarded message ---------- > > Date: Tue, 8 Jul 2003 20:16:01 +0200 (CEST) > > From: root at xxxxxxxx.xxx > > To: jordivi at wtransnet.net > > Subject: nrpe_compile_error > > > > cd ./src/; make ; cd .. > > make[1]: Entering directory `/export/home/jordivi/Nagios/nrpe-2.0b4/src' > > gcc -g -O2 -DHAVE_CONFIG_H -o nrpe -lnsl -lsocket nrpe.c utils.c > > In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:45, > > from /usr/include/strings.h:11, > > from ../common/config.h:74, > > from ../common/common.h:24, > > from nrpe.c:21: > > /usr/include/sys/int_types.h:69: conflicting types for `int32_t' > > ../common/config.h:54: previous declaration of `int32_t' > > In file included from nrpe.c:22: > > ../common/config.h:53: redefinition of `u_int32_t' > > ../common/config.h:53: `u_int32_t' previously declared here > > ../common/config.h:54: conflicting types for `int32_t' > > /usr/include/sys/int_types.h:69: previous declaration of `int32_t' > > In file included from utils.h:35, > > from nrpe.c:24: > > ../common/config.h:53: redefinition of `u_int32_t' > > ../common/config.h:53: `u_int32_t' previously declared here > > ../common/config.h:54: redefinition of `int32_t' > > ../common/config.h:54: `int32_t' previously declared here > > In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:45, > > from /usr/include/strings.h:11, > > from ../common/config.h:74, > > from ../common/common.h:24, > > from utils.c:32: > > /usr/include/sys/int_types.h:69: conflicting types for `int32_t' > > ../common/config.h:54: previous declaration of `int32_t' > > In file included from utils.h:35, > > from utils.c:33: > > ../common/config.h:53: redefinition of `u_int32_t' > > ../common/config.h:53: `u_int32_t' previously declared here > > ../common/config.h:54: conflicting types for `int32_t' > > /usr/include/sys/int_types.h:69: previous declaration of `int32_t' > > make[1]: *** [nrpe] Error 1 > > make[1]: Leaving directory `/export/home/jordivi/Nagios/nrpe-2.0b4/src' > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Jul 9 17:53:35 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 9 Jul 2003 10:53:35 -0500 Subject: pronunciation? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7A77@mismail.ena.com> Are-tee-ef-em ;) http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=tr ue -- Marc > -----Original Message----- > From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] > Sent: Wednesday, July 09, 2003 10:38 AM > To: nagios-users at lists.sourceforge.net > Cc: Dan Stromberg > > > How is "nagios" pronounced? > > -- > Dan Stromberg DCS/NACS/UCI ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Wed Jul 9 17:58:14 2003 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: 09 Jul 2003 08:58:14 -0700 Subject: pronunciation? In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E7A77@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E7A77@mismail.ena.com> Message-ID: <1057766294.23346.44.camel@tesuji.nac.uci.edu> Whoops, sorry. I RT'd the FM some time ago without finding it, and didn't think to reRTFM before posting. Thanks. On Wed, 2003-07-09 at 08:53, Marc Powell wrote: > Are-tee-ef-em ;) > > http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=tr > ue > > -- > Marc > > > -----Original Message----- > > From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] > > Sent: Wednesday, July 09, 2003 10:38 AM > > To: nagios-users at lists.sourceforge.net > > Cc: Dan Stromberg > > > > > > How is "nagios" pronounced? > > > > -- > > Dan Stromberg DCS/NACS/UCI -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From masterpiracy at mail.nissinbr.com.br Wed Jul 9 13:54:23 2003 From: masterpiracy at mail.nissinbr.com.br (masterpiracy) Date: Wed, 9 Jul 2003 11:54:23 GMT Subject: Nagios AS/400 Monitoring Message-ID: <200307091154.h69BsNp87650@mail.nissinbr.com.br> Hail! I?m new in this list and my first doubt is: How do i configure may nagios server to monitoring my AS/400 servers? I need information about CPU Load, Disk Usage, Uptime, etc, as same the nsclient do in Windows server. If it?s not possible, i will configure teh nagios host to check trivial tcp services in my AS/400 server. Excuseme for my bad english. Thanks! Marcelo Silva Moto Honda Analyst TR masterpiracy at nissinbr.com.br From BSnead at infosysnetworks.com Wed Jul 9 18:05:14 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Wed, 9 Jul 2003 12:05:14 -0400 Subject: url_html_path option ignored Message-ID: <9AC614ABB62FB4489015BF7CBF9F68205C6A32@patton.infosysnetworks.com> Vincent, I run multiple Nagios instances on the same box. To get this to work, I have had to recompile the cgis for each instance. Here is what I do; in the root of the source directory make clean ./configure --prefix= --with-cgiurl=//cgi-bin --with-htmurl=/ cd cgi directory make all make install Note, make sure you are in the cgi directory when you make install. If not, you will reinstall the binary, var, and share directories also. One other thing you might have to check are the main.html, index.html or side.html in the share directory. I don't use the original ones, so I'm not sure if you have to edit them. Good luck Brian -----Original Message----- From: Panel Vincent [mailto:vpanel at axen.be] Sent: Wednesday, July 09, 2003 10:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] url_html_path option ignored I first installed nagios as a directory of my main webiste, you could access the web-based interface via http://www.xx.ext/nagios and thus, I left the url_html_path with its default (/nagios). But now, I want to install nagios on it's own virtual host. However, after changing this parameter to "/", I noticed that links in the CGI interface were not modified, they still contained "/nagios". Is this option ignored ? Is there a cache somewhere for this option ? Is this a bug ? Thanks. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blange at imperialsupplies.com Wed Jul 9 18:33:42 2003 From: blange at imperialsupplies.com (Lange, Brian) Date: Wed, 9 Jul 2003 11:33:42 -0500 Subject: pronunciation? Message-ID: <56779BF0ED939548A04FD7384FE66B0B60EBFE@mail.imperialsupplies.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=true -----Original Message----- From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] Sent: Wednesday, July 09, 2003 10:38 AM To: nagios-users at lists.sourceforge.net Cc: Dan Stromberg Subject: [Nagios-users] pronunciation? How is "nagios" pronounced? -- Dan Stromberg DCS/NACS/UCI ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Jul 9 18:31:55 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 9 Jul 2003 11:31:55 -0500 Subject: nrpe-2.04b compile error: u_int32_t In-Reply-To: References: Message-ID: <16140.17275.345669.352451@montanaro.dyndns.org> Jordi> I'm trying to compile nrpe-2.0b4 in a Solaris 8 box (SunOS wtn250 Jordi> 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-250). I get an error about Jordi> "u_int32_t". Can someone know what I'm doing wrong? Nothing, I don't think. I posted a fix for configure.in to the nagios-devel list recently. You can pick them up here: http://www.musi-cal.com/~skip/nrpe.diff You'll need a recent version of autoconf to rebuild the configure file. If you don't have one available, let me know and I'll toss the configure file out there as well. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From francois at iecholden.com Wed Jul 9 18:43:21 2003 From: francois at iecholden.com (Francois Meehan) Date: Wed, 09 Jul 2003 12:43:21 -0400 Subject: monitoring win2k processes In-Reply-To: <1057609277.17239.49.camel@elvis> References: <1057609277.17239.49.camel@elvis> Message-ID: Hi, I use a product (freeware) called procmon: http://www.ncomtech.com/download.htm When a given process is not running, a trap is sent out. From there, on my nagios server, I use snmptrapd/passive check as per Nagios Doc. Works like a charm. Francois Bryan Irvine wrote: > I have a windows 2000 box (ugh!) running a pretty critical app that is > also very buggy. The company obviously followed the "Fast, Reliable, > and cheap, pick any two" track. Anyway, the program dies occasionally. > No errors no nothing it just vanishes. It's as easy as just double > clicking it's icon to get it back up and running. Is there a way to > check if the app is running, and if not either alert me or start the > program? > > I have checked the archives but the sourceforge search thing isn't > working right now. I think I'm supposed to use the nrpe_nt but does it > matter that I'm on 2k? and the software is listed as beta, is anyone > else using it without any problems? > > --Bryan > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonp at iland.com Wed Jul 9 18:55:21 2003 From: jasonp at iland.com (Jason Payne) Date: Wed, 9 Jul 2003 11:55:21 -0500 Subject: pronunciation? In-Reply-To: <1057766294.23346.44.camel@tesuji.nac.uci.edu> References: <1057766294.23346.44.camel@tesuji.nac.uci.edu> Message-ID: For the people who will at some point undoubtedly search the nagios mailing list for an answer to the same question: Solution: I pronounce Nagios as: nah-ghee-ose At least I think that's how I pronounce it (damn phonetic spelling)... The "Na" sounds like "Nah", "gi" sounds like the first part of "geese", and "os" sounds like the last part of "verbose". You can pronounce it however the heck you'd like. Alternative pronounciations vary. One that I liked is "nachos". Mmmmmm.... nachos. weezle -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dan Stromberg Sent: Wednesday, July 09, 2003 10:58 AM To: Marc Powell Cc: Dan Stromberg; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] pronunciation? Whoops, sorry. I RT'd the FM some time ago without finding it, and didn't think to reRTFM before posting. Thanks. On Wed, 2003-07-09 at 08:53, Marc Powell wrote: > Are-tee-ef-em ;) > > http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=tr > ue > > -- > Marc > > > -----Original Message----- > > From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] > > Sent: Wednesday, July 09, 2003 10:38 AM > > To: nagios-users at lists.sourceforge.net > > Cc: Dan Stromberg > > > > > > How is "nagios" pronounced? > > > > -- > > Dan Stromberg DCS/NACS/UCI -- Dan Stromberg DCS/NACS/UCI ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atonns at mail.ivillage.com Wed Jul 9 19:07:45 2003 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Wed, 9 Jul 2003 13:07:45 -0400 Subject: Request For Comments: NWPE - Nagios Web Plugin Executor Message-ID: Dear Nagios Community, I'm considering making a project that I'm working on for my employer open source. They are o.k. with the concept of open source licensing (otherwise I wouldn't be writing this email). However, before putting the extra effort in to "clean it up for public consumption", I want to poll the community to see if there's any interest. Project: NWPE: Nagios Web Plugin Executor Execute service checks remotely, using HTTP[S] as a transport protocol, and a thin wrapper around CGI as a service check API. It functions similar to nrpe with the benefit of possibly improving the performance of perl scripts for service checks (when using apache/mod_perl). History: For a home-grown monitoring system, I decided I wanted to go with SNMPv3 agents. The main reason were the authentication and encryption aspects. So, I created a nice Solaris package of net-snmpd 5.0.7 and was very happy with it. I am using Nagios to poll all of my servers w/agents. At the time, SNMPv3 support had not been integrated into check_snmp, so I ventured into coding my own plugins. Using perl with Net::SNMP was the right solution. One major advantage my scripts have over check_snmp/snmpget is that I can retrieve an entire MIB table and reference objects by their description field (ie: from the hrStorageTable use htStorageDescr to determine the index into hrStorageUsed/hrStorageSize) and have the script be automatically flexible when new items are added (ie: additional partitions are mounted, etc.). So far, I've had miserable success with embedded Perl Nagios (ePN). It leaks memory like mad (I have to restart at LEAST once a day) and the number of service checks (1400+) is totally overwhelming my poor UltraII. So I cooked up an alternative... Functionality: A small C program 'nwpe' is called from a Nagios command (checkcommands.cfg). It is small, and strongly leverages libcurl (http://curl.sourceforge.net/libcurl/) to connect (via HTTP or HTTPS) and optionally authenticate to a webserver. An example usage would be: ./nwpe -U https://servicechecker.nagios.org/svc/check_remote_disk -a "args=--hostname=webserver1 --path=/usr --warning=20% --critical=10%" -u nagios -p checkITout "check_remote_disk" is a CGI script written in perl. In my case the webserver is running mod_perl. It uses Net::SNMP and other perl modules to perform it's service check. It also invokes a custom perl module I have written, NWPE (which will hopefully become Nagios::NWPE) that does the following: a) parses the POST/GET "args" field with a CGI object into @ARGV for parsing by Getopt::Long b) redirects STDOUT to an IO::String to capture all output from the plugin c) sets the appropriate return value for the state of the service check (OK/WARNING/CRITICAL/UNKNOWN) in the HTTP Header field "Return-state:" d) prints the 'cached' output of the plugin on the real STDOUT with mime-type "text/plain" Essentially, the NWPE module makes it relatively painless to convert command line service checks written in perl to CGI/mod_perl service checks. Finally, after the service check has return the data, the 'nwpe' C program prints the output of the request on STDOUT and returns the appropriate value (Return-state:) to Nagios. Reasoning: The 'nwpe' system creates: 1) Additional flexibility - any scripting language that can be run from a webserver (perl/mod_perl/asp/jsp) can be used as a service check 2) Additional scalability - allows you to deploy multiple service check webservers just about anywhere on any network and leverage HTTP load-balance technology (Cisco LocalDirector, BigIP, etc.) to distribute the load of running service checks. 3) Additional performance - using mod_perl to speed up normally slow perl service check execution 4) Additional security - access to service checks can be authenticated & encrypted, and use any other access control mechanisms your favorite webserver provides. When using nwpe with apache/mod_perl, I see it as combining the best of nrpe and ePN. Downsides: 1) I have not integrated performance data into NWPE. However, I suspect it could easily be added as an additional HTTP Header or something similar (I've not done any performance data work with Nagios whatsoever). 2) the NWPE perl module is currently rough around the edges. Very rough. It's the first serious perl module I've written (and bares a striking resemblance to the stuff in perlboot, perltoot and perlobj). 3) While SSL has been integrated into libcurl for sometime, HTTP authentication is only part of the 7.10.6 pre-release and I couldn't get pre3 to work (but pre2 works like a champ). This might make compiling nwpe a little hairy. 4) nwpe has not been setup with autoconf yet. It's features are slim. If there's a decent amount of positive response, I will try to see if I carve out some time to setup a site for NWPE development. Thanks, --Tony -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordivi at wtransnet.net Wed Jul 9 19:18:34 2003 From: jordivi at wtransnet.net (Jordi Vidal) Date: Wed, 9 Jul 2003 19:18:34 +0200 (CEST) Subject: CHECK_NRPE: Response packet had invalid CRC32 In-Reply-To: <200307090135.48542.jasmine.chua@securecirt.com> References: <200307090135.48542.jasmine.chua@securecirt.com> Message-ID: Hi, How should I understand this? I try to execute a plugin (check_mailq) in my mailserver throught nrpe and I get an CRC32 error. It happens the same from de localhost and from a remote client. Other plugins (check_load) works ok trought nrpe and the plugin (check_mailq) works ok if issued directly: mailserver$ ./check_nrpe -H 127.0.0.1 -c check_load OK - load average: 0.80, 0.55, 0.63 mailserver$ ./check_nrpe -H 127.0.0.1 -c check_mailq CHECK_NRPE: Response packet had invalid CRC32. mailserver$ ./check_mailq -w 10 -c 100 -t 10 OK: mailq is empty | mailq = 0 Regards, Jordi ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From newsletters at atcomputerconsulting.com Wed Jul 9 20:15:41 2003 From: newsletters at atcomputerconsulting.com (newsletters) Date: Wed, 9 Jul 2003 14:15:41 -0400 (EDT) Subject: SNPP Check Message-ID: <54937.63.102.39.70.1057774541.squirrel@www.atcomputerconsulting.com> Hey Gang, I am no programmer and I am stuck on how to verify if my SNPP (Using sendpage) is up and functional. I have a port 444 check going, but the port might be open, but the daemon might be hung. I've been looking at some of the other shell scripts to see how I might do this check, but it's just over my head writing my own plugin at the moment. Looking at the perl scripts makes my eyes roll into the back of my head so that's not much help either. Can anybody help me out in creating a simple plugin in bash or perl to perform this check. I'm running on rh7.3 if that changes how this works any. Thanks a ton! Andy ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Wed Jul 9 20:14:00 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Thu, 10 Jul 2003 02:14:00 +0800 Subject: bare-bones Nagios installation Message-ID: <200307100214.01858.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Just a simple and maybe dumb question to ask. Is there a way to compile Nagios without web support CGIs /HTMLs ? Looking at the Makefile, it seems impossible. Cheers Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/DFtoNgvTa7Hj2AURAvxuAJ9/PqloXCGON/3Shj+AGwk6KzXt/ACgj0vB C4LzJy3Cu0iPfhB4gvwbJu0= =IH1x -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dan.Tulovsky at sbiandcompany.com Wed Jul 9 20:58:37 2003 From: Dan.Tulovsky at sbiandcompany.com (Dan Tulovsky) Date: Wed, 9 Jul 2003 14:58:37 -0400 Subject: Monitor Checkpoint VPN links Message-ID: <876D16A9E7213C49BC987B31CFB7E47444593B@mailnyc2.sbicorp.com> Hello. We have a number of offices linked together with VPNs. The VPNs are running Checkpoint. We have one nagios server in one office that monitors all servers in all offices. The VPN is a full mesh. We would like to monitor the links between all offices through Nagios. I am wondering if anyone has done this (I am trying not to reinvent the wheel) either specifically for checkpoint or vpns in general. I can obviously monitor the links between the one office that nagios is in and all the others, but there is no obvious way to monitor connectivity between other offices without setting up remote host pings or something of that sort. Any suggestions are very welcomed. Thank you. Dan ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Wed Jul 9 21:06:27 2003 From: drich at employees.org (Daniel Rich) Date: Wed, 09 Jul 2003 12:06:27 -0700 Subject: pronunciation? In-Reply-To: <1057766294.23346.44.camel@tesuji.nac.uci.edu> References: <5DB017510818EC468B05BD7BD9EACF83038E7A77@mismail.ena.com> <1057766294.23346.44.camel@tesuji.nac.uci.edu> Message-ID: <3F0C67B3.10100@employees.org> Dan Stromberg wrote: > Whoops, sorry. I RT'd the FM some time ago without finding it, and > didn't think to reRTFM before posting. Don't feel bad, I did the same thing some time back (after several people I work with asked the same question and couldn't find it in the docs/faq). While it *is* in the FAQ, it's almost impossible to find as it's buried in an odd place. > On Wed, 2003-07-09 at 08:53, Marc Powell wrote: > >>Are-tee-ef-em ;) >> >>http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=tr >>ue >> >>-- >>Marc >> >> >>>-----Original Message----- >>>From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] >>>Sent: Wednesday, July 09, 2003 10:38 AM >>>To: nagios-users at lists.sourceforge.net >>>Cc: Dan Stromberg >>> >>> >>>How is "nagios" pronounced? >>> >>>-- >>>Dan Stromberg DCS/NACS/UCI -- 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From irenes at wolfram.com Wed Jul 9 21:07:53 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Wed, 9 Jul 2003 14:07:53 -0500 (CDT) Subject: hostextinfo Message-ID: I do apologize in advance; no doubt this info is in the documentation, but I can't find it, nor can I get to the mailing lists on sourceforge. I would like to setup hostextinfo. I have used convertcfg to generate a file from my existing Netsaint configuration. When looking at the cgi.cfg file, the syntax seems quite a bit different than the file that was generated during the conversion. Can I use an external file (hostextinfo.cfg) for this purpose, or do I need to manually enter the information into cgi.cfg? Any assistance is appreciated, thanks in advance, Irene ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at techadvise.com Wed Jul 9 21:25:37 2003 From: justin at techadvise.com (Justin Ellison) Date: 09 Jul 2003 14:25:37 -0500 Subject: check_tftp? Message-ID: <1057778737.2758.69.camel@localhost> Anybody have a check_tftp module laying around? I'll start hacking on my own, but just want to make sure that someone else hasn't coded one up already. TIA, JE -- Justin Ellison -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From mpowell at ena.com Wed Jul 9 21:57:00 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 9 Jul 2003 14:57:00 -0500 Subject: pronunciation? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7A9F@mismail.ena.com> Took me all of 2 minutes and I only knew that it was in there somewhere ;) m > -----Original Message----- > From: Daniel Rich [mailto:drich at employees.org] > Sent: Wednesday, July 09, 2003 2:06 PM > To: Dan Stromberg > Cc: Marc Powell; nagios-users at lists.sourceforge.net > > Dan Stromberg wrote: > > Whoops, sorry. I RT'd the FM some time ago without finding it, and > > didn't think to reRTFM before posting. > > Don't feel bad, I did the same thing some time back (after several people > I > work with asked the same question and couldn't find it in the docs/faq). > While > it *is* in the FAQ, it's almost impossible to find as it's buried in an > odd place. > > > On Wed, 2003-07-09 at 08:53, Marc Powell wrote: > > > >>Are-tee-ef-em ;) > >> > >>http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc= tr > >>ue > >> > >>-- > >>Marc > >> > >> > >>>-----Original Message----- > >>>From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] > >>>Sent: Wednesday, July 09, 2003 10:38 AM > >>>To: nagios-users at lists.sourceforge.net > >>>Cc: Dan Stromberg > >>> > >>> > >>>How is "nagios" pronounced? > >>> > >>>-- > >>>Dan Stromberg DCS/NACS/UCI > > > -- > 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 sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Jul 9 21:55:45 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 9 Jul 2003 14:55:45 -0500 Subject: bare-bones Nagios installation Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7A9E@mismail.ena.com> Configure, make, make install, rm -rf ~nagios/sbin ~nagios/share. marc > -----Original Message----- > From: Jasmine [mailto:jasmine.chua at securecirt.com] > Sent: Wednesday, July 09, 2003 1:14 PM > To: nagios-users at lists.sourceforge.net > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > Just a simple and maybe dumb question to ask. Is there a way to compile > Nagios > without web support CGIs /HTMLs ? Looking at the Makefile, it seems > impossible. > > > Cheers > > Jasmine > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE/DFtoNgvTa7Hj2AURAvxuAJ9/PqloXCGON/3Shj+AGwk6KzXt/ACgj0vB > C4LzJy3Cu0iPfhB4gvwbJu0= > =IH1x > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.irvine at kingcountyjournal.com Wed Jul 9 22:18:17 2003 From: bryan.irvine at kingcountyjournal.com (Bryan Irvine) Date: 09 Jul 2003 13:18:17 -0700 Subject: Monitor Checkpoint VPN links In-Reply-To: <876D16A9E7213C49BC987B31CFB7E47444593B@mailnyc2.sbicorp.com> References: <876D16A9E7213C49BC987B31CFB7E47444593B@mailnyc2.sbicorp.com> Message-ID: <1057781897.32157.54.camel@elvis> You want to make sure that one office can see the other office without necessarly going through the central point where your nagios server is? Wouldn't it make sense that if you could ping them they could ping each other? unless of course a route went down. You could burn up an ip at each location and make static routes to each. so if your network looks like this [office 2] [office 3] \ / \ [your office] [office 4] / [office 5] you could just make a static route on your nagios server that points to an ip at office 2 then have the nagios server ip on the system at office routed staticly to an ip at office3 which is routed to office 4 which is routed to office 5 and routed back to your office. This would be tricky, _if_ it even worked, but basically you could then send a ping to an office 2 machine and it would come back through office 5. So if you got the response all your links are working. I've seen similar things happen on broken networks, but I've never tried something like this on purpose. --Bryan On Wed, 2003-07-09 at 11:58, Dan Tulovsky wrote: > Hello. > > We have a number of offices linked together with VPNs. The VPNs are > running Checkpoint. We have one nagios server in one office that > monitors all servers in all offices. The VPN is a full mesh. We would > like to monitor the links between all offices through Nagios. I am > wondering if anyone has done this (I am trying not to reinvent the > wheel) either specifically for checkpoint or vpns in general. I can > obviously monitor the links between the one office that nagios is in and > all the others, but there is no obvious way to monitor connectivity > between other offices without setting up remote host pings or something > of that sort. > > Any suggestions are very welcomed. > > Thank you. > Dan > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dan.Tulovsky at sbiandcompany.com Wed Jul 9 22:23:11 2003 From: Dan.Tulovsky at sbiandcompany.com (Dan Tulovsky) Date: Wed, 9 Jul 2003 16:23:11 -0400 Subject: Monitor Checkpoint VPN links Message-ID: <876D16A9E7213C49BC987B31CFB7E474445941@mailnyc2.sbicorp.com> Hi... > You want to make sure that one office can see the other office without necessarly going > through the central point where your nagios server is? Right... Any two offices have independent VPN connections to each other... What you describe seems overy complicated though.. I think maybe an easy approach would be to setup a ping service at office A that ping something at Office B. (Let's say nagios is on office C). And if that ping works, then the link between A and B is ok. I was sort of hoping for a check_checkpoint plugin that is capable of talking to a checkpoint firewall directly... Thanks.. Dan ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Jul 9 22:28:13 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 9 Jul 2003 15:28:13 -0500 Subject: pronunciation? Message-ID: Plus I believe someone recently realized that 'Agios' is Greek for 'Saint'. /me waits for the penny to drop ;) jc > -----Original Message----- > From: Daniel Rich [mailto:drich at employees.org] > Sent: Wednesday, July 09, 2003 2:06 PM > To: Dan Stromberg > Cc: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] pronunciation? > > > Dan Stromberg wrote: > > Whoops, sorry. I RT'd the FM some time ago without finding it, and > > didn't think to reRTFM before posting. > > Don't feel bad, I did the same thing some time back (after > several people I > work with asked the same question and couldn't find it in the > docs/faq). While > it *is* in the FAQ, it's almost impossible to find as it's > buried in an odd place. > > > On Wed, 2003-07-09 at 08:53, Marc Powell wrote: > > > >>Are-tee-ef-em ;) > >> > >>http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false &showdesc=tr >>ue >> >>-- >>Marc >> >> >>>-----Original Message----- >>>From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] >>>Sent: Wednesday, July 09, 2003 10:38 AM >>>To: nagios-users at lists.sourceforge.net >>>Cc: Dan Stromberg >>> >>> >>>How is "nagios" pronounced? >>> >>>-- >>>Dan Stromberg DCS/NACS/UCI -- 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 sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrism at geo-synthetics.com Wed Jul 9 22:54:22 2003 From: chrism at geo-synthetics.com (Chris Merkel) Date: Wed, 9 Jul 2003 15:54:22 -0500 Subject: Alert From email address. Message-ID: I can't seem to find this answer to this in the docs, but if it's in there, point me to it. On the Nagios alert emails that I receive, I need to change the From: address. Currently it's being sent as nagios@[localhost].geo-synthetics.com, where I need the From: address to simply be nagios at geo-synthetics.com - where / how can I change that? (Reason being that one of the destination SMS gateways doesn't take mail from invalid domains and I don't want to expose the name of the internal host...) Thanks! Chris Merkel Network Admin Geo-Synthetics, Inc. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Wed Jul 9 23:02:38 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Wed, 09 Jul 2003 18:02:38 -0300 Subject: Service Status Type Message-ID: Hi all, We have a host that is up and beeing showed as status critical any idea of what's going on? Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Wed Jul 9 23:47:05 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 9 Jul 2003 16:47:05 -0500 Subject: Monitor Checkpoint VPN links Message-ID: If you can script it, it can be plugged into Nagios. My knowledge of accessing a CP FW is slim to none (and Slim just left the building). However, if there is some way of getting into it remotely (eg, ssh session), and if there's a way to issue a CP FW command to make the necessary queries, then it stands to reason that you could write a Nagios plugin script to gather and report as required. Food for thought. jc > -----Original Message----- > From: Dan Tulovsky [mailto:Dan.Tulovsky at sbiandcompany.com] > Sent: Wednesday, July 09, 2003 3:23 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Monitor Checkpoint VPN links > > > Hi... > > > > You want to make sure that one office can see the other > office without > necessarly going > > through the central point where your nagios server is? > > Right... Any two offices have independent VPN connections to each > other... > > What you describe seems overy complicated though.. I think > maybe an easy > approach would be to setup a ping service at office A that ping > something at Office B. (Let's say nagios is on office C). > And if that > ping works, then the link between A and B is ok. > > I was sort of hoping for a check_checkpoint plugin that is capable of > talking to a checkpoint firewall directly... > > Thanks.. > > Dan > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Wed Jul 9 23:46:29 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Thu, 10 Jul 2003 05:46:29 +0800 Subject: Service Status Type In-Reply-To: References: Message-ID: <200307100546.31531.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That's strange, I have never seen something like that happened in Nagios before. What do you mean when you said the status is critical? Are you referring to host or service status? Maybe you can show us more details. Jasmine On Thursday 10 July 2003 05:02, Fernando Gomes Lima wrote: > Hi all, > > We have a host that is up and beeing showed as status critical any idea of > what's going on? > Fernando Gomes > SchlumbergerSema > Network & Infrastructure Solutions > Security Engineer > flima at slb.com > > Trab: +55 21 3824 6954 > Cel. : +55 21 9888 9046 > (GMT: -03:00) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/DI01NgvTa7Hj2AURAo8VAJwLZKG1kiar1yCihzA1ZXTXWpBLNACfdwlF zeEJxuMWAa+TvevAIg3kLFE= =CbKT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Edwards at AccredoHealth.com Wed Jul 9 23:55:14 2003 From: Thomas.Edwards at AccredoHealth.com (Edwards, Thomas) Date: Wed, 9 Jul 2003 16:55:14 -0500 Subject: Jabber notification Message-ID: <6E27DC50E19EC641A60B5AD65594702D3F1437@bna1pxch01.accredo.acdo> I was wondering if anyone had gotten the jaber notification to work and could provide me a little insite into configureing this. I got the jabber script here http://www.nagios.org/faqs/viewfaq.php?faq_id=50 and configured it. Installed the appropriate jabber perl mods to allow sending via the script alone etc: [nagios at nagios etc]# ./jabber Usage... notify [jabberid] [message] Then modified miscommands.cfg as follows according to the jabber script # 'notify-by-jabber' command definition define command{ command_name notify-by-jabber command_line /usr/local/nagios/etc/jabber user at localhost "**$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONT ACTEMAIL$" } Added a line to contacts.cfg for notify-by-jabber to see if it would send, so far nothing. No errors as far as I can see. Any suggestions or clarifications would be greatly appreciated. Tom ************************************************************ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee, and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please advise us by calling (901) 385 3688, or emailing mailgateway at accredohealth.net, and then delete this message and all copies and backups thereof. Thank you. ************************************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mlists at dnadigital.com.br Thu Jul 10 00:01:34 2003 From: mlists at dnadigital.com.br (Samuel Abreu de Paula) Date: Wed, 9 Jul 2003 19:01:34 -0300 Subject: Translating the alert messages! Message-ID: <20030709190134.371a24c1.mlists@dnadigital.com.br> Theres a way to translate the alert messages to another language??? I am Brazilian, and will be fine if i can send reports in Portuguese instead of English! Thanks Samuel Abreu ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Thu Jul 10 00:21:50 2003 From: rob at capband.net (Rob Nelson) Date: Wed, 09 Jul 2003 18:21:50 -0400 Subject: Monitor Checkpoint VPN links In-Reply-To: References: Message-ID: <5.2.1.1.0.20030709182034.00b80fe8@mail.capband.net> >My knowledge of accessing a CP FW is slim to none (and Slim just >left the building). However, if there is some way of getting into >it remotely (eg, ssh session), and if there's a way to issue a >CP FW command to make the necessary queries, then it stands to >reason that you could write a Nagios plugin script to gather >and report as required. It's always an ugly hack, but one can do just about anything with "expect". I'd suggest using ssh keys tho, rather than putting your ssh password in cleartext in the scriptfile. Never found anything expect won't work with, never found anything expect is my first choice for ;) Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Edwards at AccredoHealth.com Thu Jul 10 00:18:11 2003 From: Thomas.Edwards at AccredoHealth.com (Edwards, Thomas) Date: Wed, 9 Jul 2003 17:18:11 -0500 Subject: FW: Jabber notification Message-ID: <6E27DC50E19EC641A60B5AD65594702D3F1438@bna1pxch01.accredo.acdo> Well I might have figured out how to change it, if I can figure out how to assign the variables in the miscommands.cfg file There is a section labeled $CONTACTMAIL$ which sends the email, and I am guessing it gets this from the email section In the contacts.cfg file, but how do you assign this variable to $CONTACTMAIL$? Thanks. Tom > -----Original Message----- > From: Edwards, Thomas > Sent: Wednesday, July 09, 2003 4:55 PM > To: > Subject: Jabber notification > > I was wondering if anyone had gotten the jaber notification to work and > could provide me a little insite into configureing this. > > I got the jabber script here > http://www.nagios.org/faqs/viewfaq.php?faq_id=50 > and configured it. > > Installed the appropriate jabber perl mods to allow sending via the script > alone etc: > > [nagios at nagios etc]# ./jabber > Usage... > notify [jabberid] [message] > > Then modified miscommands.cfg as follows according to the jabber script > > > # 'notify-by-jabber' command definition > define command{ > command_name notify-by-jabber > command_line /usr/local/nagios/etc/jabber user at localhost > "**$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ > **" $CONT > ACTEMAIL$" > } > > Added a line to contacts.cfg for notify-by-jabber to see if it would send, > so far nothing. No errors as far as I can see. > > Any suggestions or clarifications would be greatly appreciated. > > Tom > ************************************************************ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee, and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please advise us by calling (901) 385 3688, or emailing mailgateway at accredohealth.net, and then delete this message and all copies and backups thereof. Thank you. ************************************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Thu Jul 10 00:50:57 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 9 Jul 2003 17:50:57 -0500 Subject: Jabber notification Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D47A5@mismail.ena.com> I've not used jabber before but is user at localhost a valid jabberid? Also, according to your ./jabber output below there appears to be a 'notify' command line option that is required. Is that the case? Your command definition should match exactly how you would execute it from a command line... -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Edwards, Thomas To: 'nagios-users at lists.sourceforge.net' Sent: Wed Jul 09 16:55:14 2003 Subject: [Nagios-users] Jabber notification I was wondering if anyone had gotten the jaber notification to work and could provide me a little insite into configureing this. I got the jabber script here http://www.nagios.org/faqs/viewfaq.php?faq_id=50 and configured it. Installed the appropriate jabber perl mods to allow sending via the script alone etc: [nagios at nagios etc]# ./jabber Usage... notify [jabberid] [message] Then modified miscommands.cfg as follows according to the jabber script # 'notify-by-jabber' command definition define command{ command_name notify-by-jabber command_line /usr/local/nagios/etc/jabber user at localhost "**$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONT ACTEMAIL$" } Added a line to contacts.cfg for notify-by-jabber to see if it would send, so far nothing. No errors as far as I can see. Any suggestions or clarifications would be greatly appreciated. Tom ************************************************************ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee, and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please advise us by calling (901) 385 3688, or emailing mailgateway at accredohealth.net, and then delete this message and all copies and backups thereof. Thank you. ************************************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios-users at ols.inorganic.org Thu Jul 10 01:02:48 2003 From: nagios-users at ols.inorganic.org (Roy S. Rapoport) Date: Wed, 9 Jul 2003 16:02:48 -0700 Subject: Monitor Checkpoint VPN links In-Reply-To: <5.2.1.1.0.20030709182034.00b80fe8@mail.capband.net> References: <5.2.1.1.0.20030709182034.00b80fe8@mail.capband.net> Message-ID: <20030709230248.GP9908@nag.inorganic.org> On Wed, Jul 09, 2003 at 06:21:50PM -0400, Rob Nelson wrote: > It's always an ugly hack, but one can do just about anything with "expect". > I'd suggest using ssh keys tho, rather than putting your ssh password in > cleartext in the scriptfile. As a security person, this makes me shudder. Remember, this is your firewall. I won't tell you how to manage your security devices, but the concept of allowing automated, non-passworded (or passphrased) access to a firewall scares the bejesus out of me. I would aruge, with respect to the requester's experience and knowledge, that it's a Bad Idea. If you *are* going to do that, for God's sake, make sure that the SSH key is only authorized for the very minimal actions that you need to monitor the system -- in other words, you shouldn't just SSH and run some commands -- you should 'ssh user at fw ' and make sure that the SSH key ONLY allows you to run . -roy ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fjordan at hcssun01.hcs.net Thu Jul 10 01:13:17 2003 From: fjordan at hcssun01.hcs.net (Fred Jordan) Date: Wed, 9 Jul 2003 19:13:17 -0400 (EDT) Subject: Jabber notification In-Reply-To: <6E27DC50E19EC641A60B5AD65594702D3F1437@bna1pxch01.accredo.acdo> References: <6E27DC50E19EC641A60B5AD65594702D3F1437@bna1pxch01.accredo.acdo> Message-ID: Try this: # 'notify-by-jabber' command definition define command{ command_name notify-by-jabber command_line /usr/bin/printf "Service: $SERVICEDESC$, Host: $HOSTNAME$, State: $SERVICESTATE$, Date: $DATETIME$" | /usr/local/nagios/notify-by- jabber.pl } Do NOT try this: # 'notify-by-jabber' command definition define command{ command_name notify-by-jabber command_line /usr/bin/printf "Service: $SERVICEDESC$, Host: $HOSTNAME$, State: $SERVICESTATE$, Info: $OUTPUT$, Date: $DATETIME$" | /usr/local/nagios/notify-by-jabber.pl } I had the same problem a few months ago. Rebuilding everything in site; hacking everything that could log output to a file. Note the difference; the first command definition has removed the "Info: $OUTPUT$" being passed to the notify-by-jabber.pl script. Turned out there is a "%", ":",";", or some character that was screwing up the notify-by-jabber.pl script. Sorry, but am at home right now and don't which character was the problem but I just about "lost it" trying to find this problem( I don't sound like I am on a rant or anything do I?). At any rate, would be glad to converse with anyone/everyone about the possiblities of integrating jabber with nagios; and for that matter with swatch and other tools we run here. We have a nagios server that sends notifications to everyone logged in to the jabber server. People in the NOC seem to think its great, and want the jabber server tied to everything we run. To be honest; I kind of like the idea too. Would be glad to swap scripts; nagios, jabbber or otherwise; with anyone interested. A word or warning though; what I write ain't pretty but it usually gets the job done. Never been a good programmer and would starve to death if I had to make a living cranking out lines of code. Hope this helps, Fred On Wed, 9 Jul 2003, Edwards, Thomas wrote: > I was wondering if anyone had gotten the jaber notification to work and > could provide me a little insite into configureing this. > > I got the jabber script here > http://www.nagios.org/faqs/viewfaq.php?faq_id=50 > and configured it. > > Installed the appropriate jabber perl mods to allow sending via the script > alone etc: > > [nagios at nagios etc]# ./jabber > Usage... > notify [jabberid] [message] > > Then modified miscommands.cfg as follows according to the jabber script > > > # 'notify-by-jabber' command definition > define command{ > command_name notify-by-jabber > command_line /usr/local/nagios/etc/jabber user at localhost > "**$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ > **" $CONT > ACTEMAIL$" > } > > Added a line to contacts.cfg for notify-by-jabber to see if it would send, > so far nothing. No errors as far as I can see. > > Any suggestions or clarifications would be greatly appreciated. > > Tom > > > > ************************************************************ > The information in this email is confidential and may be > legally privileged. It is intended solely for the addressee, > and access by anyone else is unauthorized. > > If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be > taken in reliance on it, is prohibited and may be unlawful. > > If you believe that you have received this email in error, > please advise us by calling (901) 385 3688, or emailing > mailgateway at accredohealth.net, and then delete this message > and all copies and backups thereof. Thank you. > ************************************************************ > > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Jul 10 07:03:38 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 9 Jul 2003 22:03:38 -0700 Subject: Monitor Checkpoint VPN links References: <5.2.1.1.0.20030709182034.00b80fe8@mail.capband.net> <20030709230248.GP9908@nag.inorganic.org> Message-ID: How about if you use a good security model, and aproach it from that POV. The secure object (the firewall) shouldn't be regularly accepting commands, so instead it pushes its status and performance information to a collector machine (cricket comes to mind). A cron job on the firewall runs a command that scp's the performance data (bandwidth, cpu, vpn load, vpn status, etc) to the collector machine. The machine then crunches the incoming data, creating nice little RRDtool Graphs. And, submit the VPN status piece of info as a passive check to nagios (check if it's fresh too). Poppin' fresh links! Yum! --T "Roy S. Rapoport" wrote in message news:20030709230248.GP9908 at nag.inorganic.org... > On Wed, Jul 09, 2003 at 06:21:50PM -0400, Rob Nelson wrote: > > It's always an ugly hack, but one can do just about anything with "expect". > > I'd suggest using ssh keys tho, rather than putting your ssh password in > > cleartext in the scriptfile. > > As a security person, this makes me shudder. > > Remember, this is your firewall. > > I won't tell you how to manage your security devices, but the concept of > allowing automated, non-passworded (or passphrased) access to a firewall > scares the bejesus out of me. I would aruge, with respect to the > requester's experience and knowledge, that it's a Bad Idea. > > If you *are* going to do that, for God's sake, make sure that the SSH key > is only authorized for the very minimal actions that you need to monitor > the system -- in other words, you shouldn't just SSH and run some commands > -- you should 'ssh user at fw ' and make sure that the SSH key ONLY > allows you to run . > > -roy > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Jul 10 07:10:03 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 9 Jul 2003 22:10:03 -0700 Subject: Request For Comments: NWPE - Nagios Web Plugin Executor References: Message-ID: Would someone have to run apache on each server they want to use it with? wrote in message news:F63694D14D538A4CB8DA5DAB5215A11C053D83CA at cookiemonster.ivillage.net... > Dear Nagios Community, > > I'm considering making a project that I'm working on for my employer open > source. They are o.k. with the concept of open source licensing (otherwise I > wouldn't be writing this email). However, before putting the extra effort in > to "clean it up for public consumption", I want to poll the community to see > if there's any interest. > > Project: > NWPE: Nagios Web Plugin Executor > Execute service checks remotely, using HTTP[S] as a transport protocol, and > a thin wrapper around CGI as a service check API. > It functions similar to nrpe with the benefit of possibly improving the > performance of perl scripts for service checks (when using apache/mod_perl). > > History: > For a home-grown monitoring system, I decided I wanted to go with SNMPv3 > agents. The main reason were the authentication and encryption aspects. So, > I created a nice Solaris package of net-snmpd 5.0.7 and was very happy with > it. I am using Nagios to poll all of my servers w/agents. At the time, > SNMPv3 support had not been integrated into check_snmp, so I ventured into > coding my own plugins. Using perl with Net::SNMP was the right solution. One > major advantage my scripts have over check_snmp/snmpget is that I can > retrieve an entire MIB table and reference objects by their description > field (ie: from the hrStorageTable use htStorageDescr to determine the index > into hrStorageUsed/hrStorageSize) and have the script be automatically > flexible when new items are added (ie: additional partitions are mounted, > etc.). So far, I've had miserable success with embedded Perl Nagios (ePN). > It leaks memory like mad (I have to restart at LEAST once a day) and the > number of service checks (1400+) is totally overwhelming my poor UltraII. So > I cooked up an alternative... > > Functionality: > A small C program 'nwpe' is called from a Nagios command > (checkcommands.cfg). It is small, and strongly leverages libcurl > (http://curl.sourceforge.net/libcurl/) to connect (via HTTP or HTTPS) and > optionally authenticate to a webserver. An example usage would be: > > ./nwpe -U https://servicechecker.nagios.org/svc/check_remote_disk -a > "args=--hostname=webserver1 --path=/usr --warning=20% --critical=10%" -u > nagios -p checkITout > > "check_remote_disk" is a CGI script written in perl. In my case the > webserver is running mod_perl. It uses Net::SNMP and other perl modules to > perform it's service check. It also invokes a custom perl module I have > written, NWPE (which will hopefully become Nagios::NWPE) that does the > following: > > a) parses the POST/GET "args" field with a CGI object into @ARGV for parsing > by Getopt::Long > b) redirects STDOUT to an IO::String to capture all output from the plugin > c) sets the appropriate return value for the state of the service check > (OK/WARNING/CRITICAL/UNKNOWN) in the HTTP Header field "Return-state:" > d) prints the 'cached' output of the plugin on the real STDOUT with > mime-type "text/plain" > > Essentially, the NWPE module makes it relatively painless to convert command > line service checks written in perl to CGI/mod_perl service checks. > > Finally, after the service check has return the data, the 'nwpe' C program > prints the output of the request on STDOUT and returns the appropriate value > (Return-state:) to Nagios. > > Reasoning: > The 'nwpe' system creates: > 1) Additional flexibility - any scripting language that can be run from a > webserver (perl/mod_perl/asp/jsp) can be used as a service check > 2) Additional scalability - allows you to deploy multiple service check > webservers just about anywhere on any network and leverage HTTP load-balance > technology (Cisco LocalDirector, BigIP, etc.) to distribute the load of > running service checks. > 3) Additional performance - using mod_perl to speed up normally slow perl > service check execution > 4) Additional security - access to service checks can be authenticated & > encrypted, and use any other access control mechanisms your favorite > webserver provides. > > When using nwpe with apache/mod_perl, I see it as combining the best of nrpe > and ePN. > > Downsides: > 1) I have not integrated performance data into NWPE. However, I suspect it > could easily be added as an additional HTTP Header or something similar > (I've not done any performance data work with Nagios whatsoever). > 2) the NWPE perl module is currently rough around the edges. Very rough. > It's the first serious perl module I've written (and bares a striking > resemblance to the stuff in perlboot, perltoot and perlobj). > 3) While SSL has been integrated into libcurl for sometime, HTTP > authentication is only part of the 7.10.6 pre-release and I couldn't get > pre3 to work (but pre2 works like a champ). This might make compiling nwpe a > little hairy. > 4) nwpe has not been setup with autoconf yet. It's features are slim. > > If there's a decent amount of positive response, I will try to see if I > carve out some time to setup a site for NWPE development. > > Thanks, > --Tony > > -- > "Computer science is as much about computers as > astronomy is about telescopes" -- Edsger Dijkstra > --------------------------------------------------------- > Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From e2lam at yahoo.com Thu Jul 10 07:09:23 2003 From: e2lam at yahoo.com (Lam Eric) Date: Wed, 9 Jul 2003 22:09:23 -0700 (PDT) Subject: Newbie questions Message-ID: <20030710050923.58259.qmail@web21406.mail.yahoo.com> 1) CGI authentication problem If I turn on the use_authentication=1, then I can't see the service detail page or hosts detail page. It returns message: "It appears as through you do not have permissions to view info for any of the services you requested..". I checked all the cgi-bin configs in httpd.conf and they are matching the entries suggested in Doc. I tried running apache with either nobody:nobody and nagois:nagios, same result. On the other hand, I start nagios with nagios:nagios in both cases. Is there anything else I can check. I also installed nagios with the nagios user and group. If I disable authentication, I see all pages. 2) I got "Invalid HTTP response from host on port 443"? I added another entry in checkcommands.cfg with the check_https definition, what it does is "check_http -H $HOSTADDRESS$ -p 443". Is this done properly? I'm checking a customized jakarta server that serves PS2 clients, it does not serve web pages. There is nothing wrong with the service. It's serving PS2 clients properly. Thanks for your help in advance. P.S. If you would, please respond back to this email address. Eric. __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at ols.inorganic.org Thu Jul 10 07:48:39 2003 From: nagios-users at ols.inorganic.org (Roy S. Rapoport) Date: Wed, 9 Jul 2003 22:48:39 -0700 Subject: Monitor Checkpoint VPN links In-Reply-To: References: <5.2.1.1.0.20030709182034.00b80fe8@mail.capband.net> <20030709230248.GP9908@nag.inorganic.org> Message-ID: <20030710054839.GB11716@nag.inorganic.org> On Wed, Jul 09, 2003 at 10:03:38PM -0700, Tedman Eng wrote: > The secure object (the firewall) shouldn't be regularly accepting commands, > so instead it pushes its status and performance information to a collector What he said :) -roy ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.miquet at hafiba.fr Thu Jul 10 09:48:53 2003 From: p.miquet at hafiba.fr (Pascal Miquet) Date: 10 Jul 2003 09:48:53 +0200 Subject: Newbie questions In-Reply-To: <20030710050923.58259.qmail@web21406.mail.yahoo.com> References: <20030710050923.58259.qmail@web21406.mail.yahoo.com> Message-ID: <1057823336.6267.12.camel@moishe> Le jeu 10/07/2003 ? 07:09, Lam Eric a ?crit : > 1) CGI authentication problem > > If I turn on the use_authentication=1, then I can't > see the service detail page or hosts detail page. It > returns message: "It appears as through you do not > have permissions to view info for any of the services > you requested..". I checked all the cgi-bin configs in > httpd.conf and they are matching the entries suggested > in Doc. I tried running apache with either > nobody:nobody and nagois:nagios, same result. On the > other hand, I start nagios with nagios:nagios in both > cases. Is there anything else I can check. I also > installed nagios with the nagios user and group. If I > disable authentication, I see all pages. > Did you add user to cgi.cfg for all authorized_for_xxxx=theUser,AnotherOne HTH Regard Pascal Miquet ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creator at mindcreations.com Thu Jul 10 11:06:44 2003 From: creator at mindcreations.com (Stefano Coletta) Date: Thu, 10 Jul 2003 11:06:44 +0200 Subject: statusmap.cgi: overlapped hosts on circular drawing In-Reply-To: <3F0C4411.4010102@datawire.net> References: <3F04225B.5010909@mindcreations.com> <3F0C4411.4010102@datawire.net> Message-ID: <3F0D2CA4.5060801@mindcreations.com> Hi Chris, have you tried to reduce the Zoom level on the top of the graph? I'm not experiencing the cut off as you stated. At which resolution the image is being generated? Actually I have 4212x2424 pixels. Chris Stankaitis wrote: > Hi There Quick Questions if you have a moment, > > I to have been plagued with the issue of having more servers then the > default circle graph can handle, and upon reading your e-mail went > about patching the statusmap.c as well, I pumped my Radius to 175 to > start as you suggested and it seems to have done the trick for the > most part however I am now experiencing a new issue which I am hoping > you may have a moment to help me with. > > to put it simply, the circle (graph) is to big for the Square (the box > which it draws the circle graph in) and some of my hostnames and such > are getting chopped at the edges of the box. I looked at the code and > didn't see any ovious "picture height, picture width" settings > > Any insite how I can expand the total space the image tries to render > in so its not cutting off the circle? > > Chris > > Stefano Coletta wrote: > >> Hi all, >> >> I've noticed that in a big environment (like 500 hosts) the >> statusmap.cgi draws hosts too close each other in circular >> representations. >> Unable to fix this annoying "overlapping" problem using normal nagios >> command/parameters I've decided to modify the source file statumap.c. >> As result I've modified this line only: >> >> #define CIRCULAR_DRAWING_RADIUS 100 >> >> raising the value to: >> >> #define CIRCULAR_DRAWING_RADIUS 175 >> >> that, for me, it is an acceptable value. >> >> The effect on the graph is that hosts are more far each other >> starting from the center of the circle outwards. >> >> I was wondering why this useful parameter has not been added to the >> web interface instead of being hardcoded. >> >> I have no time to build a patch to both web interface and >> statusmap.cgi to implement this so I've modified the value in a >> permanent way. >> >> Maybe this can be considered a useful feature (in fact simple!) to >> add to next versions. >> >> However this change does not solve completely the overlapping >> problem. So I'm trying to modify the algorithm to make Nagios put >> more space between hosts even in the "horizontal" line, increasing >> the degrees occupied by hosts . >> >> >> Bye all >> > -- Stefano Coletta http://www.mindcreations.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JCampisi at iona.edu Thu Jul 10 13:53:01 2003 From: JCampisi at iona.edu (Campisi, Joseph) Date: Thu, 10 Jul 2003 07:53:01 -0400 Subject: Host Depend: notification_failure_criteria d,u,o Message-ID: <63AAC79ACC12D311B1100060081EF9E704FE6201@ionanrmail1.iona.edu> Hi All, I'm having a problem with host dependency. Lets say I have this defined in the hostdepend.cfg: # 'ROCKLAND-AP-01 define hostdependency{ dependent_host_name ROCKLAND-AP-01 host_name Alcatel-ROCKLAND-SWITCH notification_failure_criteria d,u } # 'ROCKLAND-AP-02' define hostdependency{ dependent_host_name ROCKLAND-AP-02 host_name Alcatel-ROCKLAND-SWITCH notification_failure_criteria d,u } # 'ROCKLAND-AP-03' define hostdependency{ dependent_host_name ROCKLAND-AP-03 host_name Alcatel-ROCKLAND-SWITCH notification_failure_criteria d,u } # 'ROCKLAND-AP-04' define hostdependency{ dependent_host_name ROCKLAND-AP-04 host_name Alcatel-ROCKLAND-SWITCH notification_failure_criteria d,u } If the Alcatel-ROCKLAND-SWITCH goes down, I get a notification for the switch but NOT these 4 access points, which is fine. But when the switch comes back up, I get a notification for the switch and all the access points. If I add: notification_failure_criteria d,u,o Then I DO NOT get notified if a single access point goes down. Is there anyway I can configure this so that if a parent goes down, send out notifications only about the parent and if an access point goes down, send out notification only for that child? Thanks, Joe ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Thu Jul 10 14:12:42 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Thu, 10 Jul 2003 08:12:42 -0400 Subject: host extended info Message-ID: I had included the extended host configuration file in the nagios configuration file.....brain fart. Lane -----Original Message----- From: Williams, P. Lane [mailto:willipl1 at jhuapl.edu] Sent: Monday, July 07, 2003 8:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] host extended info I am having a mental block.....I have nagios running in production just fine. The problem is with my development server. I recompiled Nagios and now it will not accept the definition "hostextinfo". Nagios was compiled --with-template-extinfo. I've added the "xedtemplate_config_file" setting in the cgi.cfg file. Here is my hostextinfo settings.......(same as production)...... define hostextinfo{ host_name server_name notes_url http://server.site.edu/nodes2.pl?QUERY_STRING=server_name icon_image statusmap_image } This is what I get when I verify the config....... Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Invalid object definition type 'hostextinfo' in file '/usr/local/nagios/etc/HostExtInfo.cfg' on line 1. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. Does anyone know what I am missing? Thanks for any help, Lane ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Thu Jul 10 14:38:22 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Thu, 10 Jul 2003 09:38:22 -0300 Subject: Service Status Type In-Reply-To: <200307100546.31531.jasmine.chua@securecirt.com> References: <200307100546.31531.jasmine.chua@securecirt.com> Message-ID: Hi Jasmine, I got this screen Host Service Status Last Check Duration Attempt Status Information monitor1 PING CRITICAL 07-10-2003 09:41:28 27d 21h 9m 11s 1/3 PING CRITICAL - Packet loss = 0%, RTA = 637.81 ms I have no idea what's going on!!! Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: Jasmine [mailto:jasmine.chua at securecirt.com] Sent: quarta-feira, 9 de julho de 2003 18:46 To: flima at slb.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service Status Type -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That's strange, I have never seen something like that happened in Nagios before. What do you mean when you said the status is critical? Are you referring to host or service status? Maybe you can show us more details. Jasmine On Thursday 10 July 2003 05:02, Fernando Gomes Lima wrote: > Hi all, > > We have a host that is up and beeing showed as status critical any idea of > what's going on? > Fernando Gomes > SchlumbergerSema > Network & Infrastructure Solutions > Security Engineer > flima at slb.com > > Trab: +55 21 3824 6954 > Cel. : +55 21 9888 9046 > (GMT: -03:00) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/DI01NgvTa7Hj2AURAo8VAJwLZKG1kiar1yCihzA1ZXTXWpBLNACfdwlF zeEJxuMWAa+TvevAIg3kLFE= =CbKT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From isgs294 at yahoo.com Thu Jul 10 14:45:09 2003 From: isgs294 at yahoo.com (Gary) Date: Thu, 10 Jul 2003 05:45:09 -0700 (PDT) Subject: email address Message-ID: <20030710124509.76808.qmail@web41302.mail.yahoo.com> email notifcations is defined in the misccommands.cfg file. Depending on what mailer your using, insert correct mail options to change your from address. Under Solaris's mailx the -r option allows you to change the From line. Man on your mailer should help with this issue. >On the Nagios alert emails that I receive, I need to >change the From: >address. Currently it's being sent as >nagios@[localhost].geo-synthetics.com, >to simply be nagios at geo-synthetics.com - ===== Gary __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masterpiracy at mail.nissinbr.com.br Thu Jul 10 10:46:27 2003 From: masterpiracy at mail.nissinbr.com.br (masterpiracy) Date: Thu, 10 Jul 2003 08:46:27 GMT Subject: Nagios & AS/400's Message-ID: <200307100846.h6A8kRY92426@mail.nissinbr.com.br> Thanks Goran!!! I encountered in last day a project named "nagios as400 plugin" but is?nt fully implemented. Look http://sourceforge.net/projects/nas400plugin/ to information about this. If u make a progress, please notify me. As the same for me to u. I can document this solution to contribute to nagios project. Great ragards!!! Marcelo Silva Honda Corporation "Goran Almvik" wrote .. > Hi Marcelo, > > Finally somebody having the same problem as I have ... The only thing I > succesfully have managed to check is the regular services as http, ftp, > host-alive etc. Though I'm really digging trying to find a way to check > CPU, disk, jobs etc. However, in order to succeed with this you need (so > it seems anyway) a set of MIB's that manage these tasks. The only one I've > found is from comtekservices.com and I'm running this on a eval. license > (one month at a time with keys issued by the supplier). > > I will also forward the mails I've gotten so far in this matter and > promise to keep in touch if I succeed. > > V?nliga h?lsningar/Kind regards, > G?ran Almvik > > ________________________________________________ > > G?ran Almvik > AS/400 Admin > Intentia R&D > Vendev?gen 89 > SE-182 15 Danderyd > Office: +46 8 5552 57 36 > Cell: +46 733 27 57 36 > > > > -------------------- Internet e-Mail Disclaimer -------------------- > This e-mail 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 are not the intended recipient you are notified that > any > use, disclosure, copying or distribution of the information is prohibited. > In such case, you should destroy this message and kindly notify the sender > by reply e-mail. The views expressed in this e-mail and any attachments > are personal and, unless stated explicitly, do not represent the views > of > Intentia. Furthermore, Intentia will not be bound by this e-mail. > > From jasmine.chua at securecirt.com Thu Jul 10 15:18:10 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Thu, 10 Jul 2003 21:18:10 +0800 Subject: Service Status Type In-Reply-To: References: Message-ID: <200307102118.16860.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Sorry for the late reponse, woke up late.. heehee. Hmm. I would think most likely, you have set the host to "assumed to be up" this happens when there isnt a valid host check_command in your host definition template. Or either the network connectivity is just really bad with high ms but the host is still up. Thresholds for ping service should be set realistically depending on the physical distance from your monitoring server to that "monitor1" host. Cheers, Jasmine On Thursday 10 July 2003 20:38, Fernando Gomes Lima wrote: > Hi Jasmine, > > I got this screen > > Host Service Status Last Check Duration Attempt Status Information > monitor1 PING CRITICAL 07-10-2003 09:41:28 27d 21h 9m 11s 1/3 PING > CRITICAL - Packet loss = 0%, RTA = 637.81 ms > > I have no idea what's going on!!! > > Fernando Gomes > SchlumbergerSema > Network & Infrastructure Solutions > Security Engineer > flima at slb.com > > Trab: +55 21 3824 6954 > Cel. : +55 21 9888 9046 > (GMT: -03:00) > > > > -----Original Message----- > From: Jasmine [mailto:jasmine.chua at securecirt.com] > Sent: quarta-feira, 9 de julho de 2003 18:46 > To: flima at slb.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Service Status Type > > > That's strange, I have never seen something like that happened in Nagios > before. What do you mean when you said the status is critical? Are you > referring to host or service status? Maybe you can show us more details. > > Jasmine > > On Thursday 10 July 2003 05:02, Fernando Gomes Lima wrote: > > Hi all, > > > > We have a host that is up and beeing showed as status critical any idea > > of what's going on? > > Fernando Gomes > > SchlumbergerSema > > Network & Infrastructure Solutions > > Security Engineer > > flima at slb.com > > > > Trab: +55 21 3824 6954 > > Cel. : +55 21 9888 9046 > > (GMT: -03:00) > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/DWeXNgvTa7Hj2AURAnZHAJ9/wAXhUZ/C1DTWqFJ8zjjJ2T8FaACePj5x Tg9a5MUapcn+/TBLLKDzisw= =wxQY -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Edwards at AccredoHealth.com Thu Jul 10 16:13:14 2003 From: Thomas.Edwards at AccredoHealth.com (Edwards, Thomas) Date: Thu, 10 Jul 2003 09:13:14 -0500 Subject: Jabber notification Message-ID: <6E27DC50E19EC641A60B5AD65594702D3F1447@bna1pxch01.accredo.acdo> Appreciate the help, one question, how does the notify-by-jabber.pl know which user to send to if the email address is different than the jabber address? Would their be a way to send it that way? -----Original Message----- From: Fred Jordan [mailto:fjordan at hcssun01.hcs.net] Sent: Wednesday, July 09, 2003 6:13 PM To: Edwards, Thomas Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Jabber notification Try this: # 'notify-by-jabber' command definition define command{ command_name notify-by-jabber command_line /usr/bin/printf "Service: $SERVICEDESC$, Host: $HOSTNAME$, State: $SERVICESTATE$, Date: $DATETIME$" | /usr/local/nagios/notify-by- jabber.pl } Do NOT try this: # 'notify-by-jabber' command definition define command{ command_name notify-by-jabber command_line /usr/bin/printf "Service: $SERVICEDESC$, Host: $HOSTNAME$, State: $SERVICESTATE$, Info: $OUTPUT$, Date: $DATETIME$" | /usr/local/nagios/notify-by-jabber.pl } I had the same problem a few months ago. Rebuilding everything in site; hacking everything that could log output to a file. Note the difference; the first command definition has removed the "Info: $OUTPUT$" being passed to the notify-by-jabber.pl script. Turned out there is a "%", ":",";", or some character that was screwing up the notify-by-jabber.pl script. Sorry, but am at home right now and don't which character was the problem but I just about "lost it" trying to find this problem( I don't sound like I am on a rant or anything do I?). At any rate, would be glad to converse with anyone/everyone about the possiblities of integrating jabber with nagios; and for that matter with swatch and other tools we run here. We have a nagios server that sends notifications to everyone logged in to the jabber server. People in the NOC seem to think its great, and want the jabber server tied to everything we run. To be honest; I kind of like the idea too. Would be glad to swap scripts; nagios, jabbber or otherwise; with anyone interested. A word or warning though; what I write ain't pretty but it usually gets the job done. Never been a good programmer and would starve to death if I had to make a living cranking out lines of code. Hope this helps, Fred On Wed, 9 Jul 2003, Edwards, Thomas wrote: > I was wondering if anyone had gotten the jaber notification to work > and could provide me a little insite into configureing this. > > I got the jabber script here > http://www.nagios.org/faqs/viewfaq.php?faq_id=50 > and configured it. > > Installed the appropriate jabber perl mods to allow sending via the > script alone etc: > > [nagios at nagios etc]# ./jabber > Usage... > notify [jabberid] [message] > > Then modified miscommands.cfg as follows according to the jabber > script > > > # 'notify-by-jabber' command definition > define command{ > command_name notify-by-jabber > command_line /usr/local/nagios/etc/jabber user at localhost > "**$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" $CONT ACTEMAIL$" > } > > Added a line to contacts.cfg for notify-by-jabber to see if it would > send, so far nothing. No errors as far as I can see. > > Any suggestions or clarifications would be greatly appreciated. > > Tom > > > > ************************************************************ > The information in this email is confidential and may be legally > privileged. It is intended solely for the addressee, and access by > anyone else is unauthorized. > > If you are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance on > it, is prohibited and may be unlawful. > > If you believe that you have received this email in error, please > advise us by calling (901) 385 3688, or emailing > mailgateway at accredohealth.net, and then delete this message and all > copies and backups thereof. Thank you. > ************************************************************ > > ************************************************************ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee, and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please advise us by calling (901) 385 3688, or emailing mailgateway at accredohealth.net, and then delete this message and all copies and backups thereof. Thank you. ************************************************************ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gjfrater at bechtel.com Thu Jul 10 16:25:41 2003 From: gjfrater at bechtel.com (Frater, Greg J) Date: Thu, 10 Jul 2003 07:25:41 -0700 Subject: Monitor Checkpoint VPN links Message-ID: I'm responding to this off of the digest-hope this looks right. CP has some SNMP support, have you checked that for values that you could query for up status or packet counts something that will change only if the link is up? Whether SNMP on your firewall is a good idea or not is a different question. Let us know how you solve this. Message: 21 Date: Wed, 9 Jul 2003 16:02:48 -0700 From: "Roy S. Rapoport" To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitor Checkpoint VPN links On Wed, Jul 09, 2003 at 06:21:50PM -0400, Rob Nelson wrote: > It's always an ugly hack, but one can do just about anything with "expect". > I'd suggest using ssh keys tho, rather than putting your ssh password in > cleartext in the scriptfile. As a security person, this makes me shudder. Remember, this is your firewall. I won't tell you how to manage your security devices, but the concept of allowing automated, non-passworded (or passphrased) access to a firewall scares the bejesus out of me. I would aruge, with respect to the requester's experience and knowledge, that it's a Bad Idea. If you *are* going to do that, for God's sake, make sure that the SSH key is only authorized for the very minimal actions that you need to monitor the system -- in other words, you shouldn't just SSH and run some commands -- you should 'ssh user at fw ' and make sure that the SSH key ONLY allows you to run . -roy Thanks, Greg Frater WTP IT dept. 509 371 3537 gjfrater at bechtel.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jul 10 17:13:25 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 10 Jul 2003 10:13:25 -0500 Subject: Alert From email address. Message-ID: This isn't a Nagios issue as much as it's an MTA issue. You basically need to tweak your MTA (eg, Sendmail, Postfix, whatever it is that you're using). If this sounds like a huge pile of grief, you might want to read this FAQ. Don't let the description send you off in a ditch; you basically want your MTA to do this address massaging for you. http://www.nagios.org/faqs/viewfaq.php?faq_id=150 jc > -----Original Message----- > From: Chris Merkel [mailto:chrism at geo-synthetics.com] > Sent: Wednesday, July 09, 2003 3:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Alert From email address. > > > I can't seem to find this answer to this in the docs, but if > it's in there, > point me to it. > > On the Nagios alert emails that I receive, I need to change the From: > address. Currently it's being sent as > nagios@[localhost].geo-synthetics.com, > where I need the From: address to simply be > nagios at geo-synthetics.com - > where / how can I change that? > > (Reason being that one of the destination SMS gateways > doesn't take mail > from invalid domains and I don't want to expose the name of > the internal > host...) > > Thanks! > > Chris Merkel > Network Admin > Geo-Synthetics, Inc. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atonns at mail.ivillage.com Thu Jul 10 16:58:26 2003 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Thu, 10 Jul 2003 10:58:26 -0400 Subject: Request For Comments: NWPE - Nagios Web Pl ugin Executor Message-ID: No reason to run apache - it could be any webserver that supports CGI and whatever scripting language your service checks are written in. -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com > -----Original Message----- > From: Tedman Eng [mailto:teng at dataway.com] > Sent: Thursday, July 10, 2003 1:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Request For Comments: NWPE - Nagios Web > Plugin Executor > > > Would someone have to run apache on each server they want to > use it with? > > wrote in message > news:F63694D14D538A4CB8DA5DAB5215A11C053D83CA at cookiemonster.iv > illage.net... > > Dear Nagios Community, > > > > I'm considering making a project that I'm working on for my > employer open > > source. They are o.k. with the concept of open source > licensing (otherwise > I > > wouldn't be writing this email). However, before putting > the extra effort > in > > to "clean it up for public consumption", I want to poll the > community to > see > > if there's any interest. > > > > Project: > > NWPE: Nagios Web Plugin Executor > > Execute service checks remotely, using HTTP[S] as a > transport protocol, > and > > a thin wrapper around CGI as a service check API. > > It functions similar to nrpe with the benefit of possibly > improving the > > performance of perl scripts for service checks (when using > apache/mod_perl). > > > > History: > > For a home-grown monitoring system, I decided I wanted to > go with SNMPv3 > > agents. The main reason were the authentication and > encryption aspects. > So, > > I created a nice Solaris package of net-snmpd 5.0.7 and was > very happy > with > > it. I am using Nagios to poll all of my servers w/agents. > At the time, > > SNMPv3 support had not been integrated into check_snmp, so > I ventured into > > coding my own plugins. Using perl with Net::SNMP was the > right solution. > One > > major advantage my scripts have over check_snmp/snmpget is > that I can > > retrieve an entire MIB table and reference objects by their > description > > field (ie: from the hrStorageTable use htStorageDescr to > determine the > index > > into hrStorageUsed/hrStorageSize) and have the script be > automatically > > flexible when new items are added (ie: additional > partitions are mounted, > > etc.). So far, I've had miserable success with embedded > Perl Nagios (ePN). > > It leaks memory like mad (I have to restart at LEAST once a > day) and the > > number of service checks (1400+) is totally overwhelming my > poor UltraII. > So > > I cooked up an alternative... > > > > Functionality: > > A small C program 'nwpe' is called from a Nagios command > > (checkcommands.cfg). It is small, and strongly leverages libcurl > > (http://curl.sourceforge.net/libcurl/) to connect (via HTTP > or HTTPS) and > > optionally authenticate to a webserver. An example usage would be: > > > > ./nwpe -U https://servicechecker.nagios.org/svc/check_remote_disk -a > > "args=--hostname=webserver1 --path=/usr --warning=20% > --critical=10%" -u > > nagios -p checkITout > > > > "check_remote_disk" is a CGI script written in perl. In my case the > > webserver is running mod_perl. It uses Net::SNMP and other > perl modules to > > perform it's service check. It also invokes a custom perl > module I have > > written, NWPE (which will hopefully become Nagios::NWPE) > that does the > > following: > > > > a) parses the POST/GET "args" field with a CGI object into @ARGV for > parsing > > by Getopt::Long > > b) redirects STDOUT to an IO::String to capture all output > from the plugin > > c) sets the appropriate return value for the state of the > service check > > (OK/WARNING/CRITICAL/UNKNOWN) in the HTTP Header field > "Return-state:" > > d) prints the 'cached' output of the plugin on the real STDOUT with > > mime-type "text/plain" > > > > Essentially, the NWPE module makes it relatively painless to convert > command > > line service checks written in perl to CGI/mod_perl service checks. > > > > Finally, after the service check has return the data, the > 'nwpe' C program > > prints the output of the request on STDOUT and returns the > appropriate > value > > (Return-state:) to Nagios. > > > > Reasoning: > > The 'nwpe' system creates: > > 1) Additional flexibility - any scripting language that can > be run from a > > webserver (perl/mod_perl/asp/jsp) can be used as a service check > > 2) Additional scalability - allows you to deploy multiple > service check > > webservers just about anywhere on any network and leverage HTTP > load-balance > > technology (Cisco LocalDirector, BigIP, etc.) to distribute > the load of > > running service checks. > > 3) Additional performance - using mod_perl to speed up > normally slow perl > > service check execution > > 4) Additional security - access to service checks can be > authenticated & > > encrypted, and use any other access control mechanisms your favorite > > webserver provides. > > > > When using nwpe with apache/mod_perl, I see it as combining > the best of > nrpe > > and ePN. > > > > Downsides: > > 1) I have not integrated performance data into NWPE. > However, I suspect it > > could easily be added as an additional HTTP Header or > something similar > > (I've not done any performance data work with Nagios whatsoever). > > 2) the NWPE perl module is currently rough around the > edges. Very rough. > > It's the first serious perl module I've written (and bares > a striking > > resemblance to the stuff in perlboot, perltoot and perlobj). > > 3) While SSL has been integrated into libcurl for sometime, HTTP > > authentication is only part of the 7.10.6 pre-release and I > couldn't get > > pre3 to work (but pre2 works like a champ). This might make > compiling nwpe > a > > little hairy. > > 4) nwpe has not been setup with autoconf yet. It's features > are slim. > > > > If there's a decent amount of positive response, I will try > to see if I > > carve out some time to setup a site for NWPE development. > > > > Thanks, > > --Tony > > > > -- > > "Computer science is as much about computers as > > astronomy is about telescopes" -- Edsger Dijkstra > > --------------------------------------------------------- > > Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rivanor at linuxmail.org Thu Jul 10 17:04:39 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Thu, 10 Jul 2003 12:04:39 -0300 Subject: Automatic discover new hosts Message-ID: <20030710150439.26074.qmail@linuxmail.org> Hi ALL, Is there any way to detect, with Nagios or some plugin, when a new host (noteook, PC, etc.) is connected to my network? Something like automatic discover. Thank you! -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dan.Tulovsky at sbiandcompany.com Thu Jul 10 17:13:56 2003 From: Dan.Tulovsky at sbiandcompany.com (Dan Tulovsky) Date: Thu, 10 Jul 2003 11:13:56 -0400 Subject: Monitor Checkpoint VPN links Message-ID: <876D16A9E7213C49BC987B31CFB7E47444594D@mailnyc2.sbicorp.com> I think an even better idea is to use machines that are behind the firewalls if you are going to do that... Since you just need to test the link, it's often better to test it from behind... Dan -----Original Message----- From: Roy S. Rapoport [mailto:nagios-users at ols.inorganic.org] Sent: Wednesday, July 09, 2003 7:03 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitor Checkpoint VPN links On Wed, Jul 09, 2003 at 06:21:50PM -0400, Rob Nelson wrote: > It's always an ugly hack, but one can do just about anything with > "expect". > I'd suggest using ssh keys tho, rather than putting your ssh password in > cleartext in the scriptfile. As a security person, this makes me shudder. Remember, this is your firewall. I won't tell you how to manage your security devices, but the concept of allowing automated, non-passworded (or passphrased) access to a firewall scares the bejesus out of me. I would aruge, with respect to the requester's experience and knowledge, that it's a Bad Idea. If you *are* going to do that, for God's sake, make sure that the SSH key is only authorized for the very minimal actions that you need to monitor the system -- in other words, you shouldn't just SSH and run some commands -- you should 'ssh user at fw ' and make sure that the SSH key ONLY allows you to run . -roy ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpayne at iland.com Thu Jul 10 18:55:14 2003 From: jpayne at iland.com (Jason R. Payne) Date: Thu, 10 Jul 2003 11:55:14 -0500 Subject: Automatic discover new hosts Message-ID: <7A626FF425518246801C933014AA98F009D39D@hou-ex01.IHTX.ILAND.COM> Nagmin does automatic discovery using nmap. weezle -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rivanor P. Soares Sent: Thursday, July 10, 2003 10:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Automatic discover new hosts Hi ALL, Is there any way to detect, with Nagios or some plugin, when a new host (noteook, PC, etc.) is connected to my network? Something like automatic discover. Thank you! -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fjordan at hcssun01.hcs.net Thu Jul 10 18:30:11 2003 From: fjordan at hcssun01.hcs.net (Fred Jordan) Date: Thu, 10 Jul 2003 12:30:11 -0400 (EDT) Subject: Jabber notification In-Reply-To: <6E27DC50E19EC641A60B5AD65594702D3F1447@bna1pxch01.accredo.acdo> References: <6E27DC50E19EC641A60B5AD65594702D3F1447@bna1pxch01.accredo.acdo> Message-ID: Short answer, it's hardcoded in the notify-by-jabber.pl script. For the long asnwer see my script included below. I didn't write this script; only modified it to suit my needs here. My script sends this to everyone who is logged into the jabber server via the motd. Rather crude; wouldn't mind other suggestions/improvements; but it works OK. BTW, was your problem getting the notifications to jabber the same as the ones I first had; or something different? Just curious. Would rather fix the script than have to omit the variable being passed to the script ,if possible. What I would REALLY love, is to have a seperate conference room on the jabber server; one for nagios notifications, one for swatch scrubbed syslog messages; etc. Problem is (which gets back to my programming ability) not sure how to modify the notify-by-jabber.pl AND the jabber server to do this. Thanks Much, Fred #!/usr/bin/perl # # Author David Cox # Created from various code examples found on the web # Last Modified 08/06/2002 # Feel free to use or modify as needed to suit your needs ####################################################### # MAXWAIT is used because the send message function didn't seem to # like being called to fast. The message would be sent unless I waited a second # or so. You can experiment with it but I just went with 2 seconds. ####################################################### use strict; use Net::Jabber qw(Client) ; use Net::Jabber qw(Message) ; use Net::Jabber qw(Protocol) ; use Net::Jabber qw(Presence) ; my $len = scalar @ARGV; use constant RECIPIENT => 'my.host.net/announce/motd'; use constant SERVER => 'my.host.net'; use constant PORT => 5222; use constant USER => 'nagios-user'; use constant PASSWORD => 'nagios-passwd'; use constant RESOURCE => 'telnet'; use constant MESSAGE => ; use constant MAXWAIT => 2 ; my $connection = Net::Jabber::Client->new(); $connection->Connect( "hostname" => SERVER,"port" => PORT ) or die "Cannot connect ($!)\n"; my @result = $connection->AuthSend( "username" => USER,"password" => PASSWORD,"resource" => RESOURCE ); if ($result[0] ne "ok") { die "Ident/Auth with server failed: $result[0] - $result[1]\n"; } my $message = Net::Jabber::Message->new(); $message->SetMessage( "to" => "my.host.net/announce/motd", "body" => MESSAGE); $connection->Send($message); sleep(MAXWAIT); $connection->Disconnect(); exit; On Thu, 10 Jul 2003, Edwards, Thomas wrote: > Appreciate the help, one question, how does the notify-by-jabber.pl know > which user to send to if the email address is different than the jabber > address? Would their be a way to send it that way? > > -----Original Message----- > From: Fred Jordan [mailto:fjordan at hcssun01.hcs.net] > Sent: Wednesday, July 09, 2003 6:13 PM > To: Edwards, Thomas > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] Jabber notification > > > Try this: > > # 'notify-by-jabber' command definition > define command{ > command_name notify-by-jabber > command_line /usr/bin/printf "Service: $SERVICEDESC$, Host: > $HOSTNAME$, State: $SERVICESTATE$, Date: $DATETIME$" | > /usr/local/nagios/notify-by- > jabber.pl > } > > Do NOT try this: > # 'notify-by-jabber' command definition > define command{ > command_name notify-by-jabber > command_line /usr/bin/printf "Service: $SERVICEDESC$, Host: > $HOSTNAME$, State: $SERVICESTATE$, Info: $OUTPUT$, Date: $DATETIME$" | > /usr/local/nagios/notify-by-jabber.pl > } > > I had the same problem a few months ago. Rebuilding everything in site; > hacking everything that could log output to a file. Note the difference; the > first command definition has removed the "Info: $OUTPUT$" being passed to > the notify-by-jabber.pl script. Turned out there is a "%", ":",";", or some > character that was screwing up the notify-by-jabber.pl script. Sorry, but am > at home right now and don't which character was the problem but I just about > "lost it" trying to find this problem( I don't sound like I am on a rant or > anything do I?). > > At any rate, would be glad to converse with anyone/everyone about the > possiblities of integrating jabber with nagios; and for that matter with > swatch and other tools we run here. We have a nagios server that sends > notifications to everyone logged in to the jabber server. People in the NOC > seem to think its great, and want the jabber server tied to everything we > run. To be honest; I kind of like the idea too. > > Would be glad to swap scripts; nagios, jabbber or otherwise; with anyone > interested. A word or warning though; what I write ain't pretty but it > usually gets the job done. Never been a good programmer and would starve to > death if I had to make a living cranking out lines of code. > > Hope this helps, > Fred > > On Wed, 9 Jul 2003, Edwards, Thomas wrote: > > > I was wondering if anyone had gotten the jaber notification to work > > and could provide me a little insite into configureing this. > > > > I got the jabber script here > > http://www.nagios.org/faqs/viewfaq.php?faq_id=50 > > and configured it. > > > > Installed the appropriate jabber perl mods to allow sending via the > > script alone etc: > > > > [nagios at nagios etc]# ./jabber > > Usage... > > notify [jabberid] [message] > > > > Then modified miscommands.cfg as follows according to the jabber > > script > > > > > > # 'notify-by-jabber' command definition > > define command{ > > command_name notify-by-jabber > > command_line /usr/local/nagios/etc/jabber user at localhost > > "**$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > > $SERVICESTATE$ **" $CONT ACTEMAIL$" > > } > > > > Added a line to contacts.cfg for notify-by-jabber to see if it would > > send, so far nothing. No errors as far as I can see. > > > > Any suggestions or clarifications would be greatly appreciated. > > > > Tom > > > > > > > > ************************************************************ > > The information in this email is confidential and may be legally > > privileged. It is intended solely for the addressee, and access by > > anyone else is unauthorized. > > > > If you are not the intended recipient, any disclosure, copying, > > distribution or any action taken or omitted to be taken in reliance on > > it, is prohibited and may be unlawful. > > > > If you believe that you have received this email in error, please > > advise us by calling (901) 385 3688, or emailing > > mailgateway at accredohealth.net, and then delete this message and all > > copies and backups thereof. Thank you. > > ************************************************************ > > > > > > > ************************************************************ > The information in this email is confidential and may be > legally privileged. It is intended solely for the addressee, > and access by anyone else is unauthorized. > > If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be > taken in reliance on it, is prohibited and may be unlawful. > > If you believe that you have received this email in error, > please advise us by calling (901) 385 3688, or emailing > mailgateway at accredohealth.net, and then delete this message > and all copies and backups thereof. Thank you. > ************************************************************ > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webid at cfl.rr.com Thu Jul 10 19:51:28 2003 From: webid at cfl.rr.com (Scot L. Harris) Date: 10 Jul 2003 13:51:28 -0400 Subject: Automatic discover new hosts In-Reply-To: <20030710150439.26074.qmail@linuxmail.org> References: <20030710150439.26074.qmail@linuxmail.org> Message-ID: <1057859488.633.24.camel@lathe> You can probably use something like arpwatch to detect new equipment being added to your network. Been awhile since I played with that package but I think you could extract the information from one of the log files. One issue, depending on your network setup, if you have a switched network you may have to configure the port that connects to your monitoring system to mirror all the other ports on your switch/network. If you are using old hubs only that will not be an issue. On Thu, 2003-07-10 at 11:04, Rivanor P. Soares wrote: > Hi ALL, > > Is there any way to detect, with Nagios or some plugin, when a new host (noteook, PC, etc.) is connected to my network? Something like automatic discover. > > Thank you! > > -- > Rivanor P. Soares [w3b_kn0ws] > LPIC-1, CCNA > Sao Paulo - SP > Brazil -- Scot L. Harris ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordivi at wtransnet.net Thu Jul 10 20:07:32 2003 From: jordivi at wtransnet.net (Jordi Vidal) Date: Thu, 10 Jul 2003 20:07:32 +0200 (CEST) Subject: CHECK_NRPE: Response packet had invalid CRC32 In-Reply-To: References: Message-ID: Auto-Replying myself ... The error was due dir permissions of /var/spool/mqueue (700). Setting it to 750 owner root, group nagios did the trick Best Regards Jordi Vidal On Wed, 9 Jul 2003, Jordi Vidal wrote: > Hi, > How should I understand this? I try to execute a plugin > (check_mailq) in my mailserver throught nrpe and I get an CRC32 > error. It happens the same from de localhost and from a remote client. > Other plugins (check_load) works ok trought nrpe and the plugin > (check_mailq) works ok if issued directly: > > mailserver$ ./check_nrpe -H 127.0.0.1 -c check_load > OK - load average: 0.80, 0.55, 0.63 > > mailserver$ ./check_nrpe -H 127.0.0.1 -c check_mailq > CHECK_NRPE: Response packet had invalid CRC32. > > mailserver$ ./check_mailq -w 10 -c 100 -t 10 > OK: mailq is empty | mailq = 0 > > > Regards, > Jordi > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gadams at promisant.com Thu Jul 10 20:21:59 2003 From: gadams at promisant.com (Adams, Gavin) Date: Thu, 10 Jul 2003 14:21:59 -0400 Subject: Monitor Checkpoint VPN links Message-ID: My $0.02 : Experience based off of FW-1 4.1 and VPN setups via IPsec. SNMP capabilities of FW-1 are limited to high level packet counts for enforcement points, etc. Not really of use for ensuring site A to site B access. If everything is being sent to a central management server, you could parse the log files looking for bad SA setups, timeouts etc. Once again, if some sites on the VPN don't communicate regularly, this may not find it. The only solution I see would be to actually pass traffic from each site to all other sites. Maybe through the use of NRPE/NCSA and a plugin on a server in each site (that can ICMP and is allowed to communicate to the other sites). For example, fully meshed network of sites A, B, C, and D with Nagios running at site A, and accessible servers at B, C, and D. Traffic checks would be for: >From To A B C D B A C D C A B D D A B C Site A is easy, Nagios can ping devices in B, C, and D. On the server at the other sites, create a plugin that pings the remote sites and returns OK is all is good, else WARNING or CRITICAL if there is a problem. Additional work and resources required to set it up, but in the end, the only way to know if an VPN tunnel is up and operational is to push some traffic across it (or wait for the complaints to come in). HTH, --- Gavin > -----Original Message----- > From: Dan Tulovsky [mailto:Dan.Tulovsky at sbiandcompany.com] > Sent: Thursday, July 10, 2003 11:14 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Monitor Checkpoint VPN links > > I think an even better idea is to use machines that are behind the > firewalls if you are going to do that... Since you just need to test the > link, it's often better to test it from behind... > > Dan > > > -----Original Message----- > From: Roy S. Rapoport [mailto:nagios-users at ols.inorganic.org] > Sent: Wednesday, July 09, 2003 7:03 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitor Checkpoint VPN links > > > On Wed, Jul 09, 2003 at 06:21:50PM -0400, Rob Nelson wrote: > > It's always an ugly hack, but one can do just about anything with > > "expect". > > I'd suggest using ssh keys tho, rather than putting your ssh password > in > > cleartext in the scriptfile. > > As a security person, this makes me shudder. > > Remember, this is your firewall. > > I won't tell you how to manage your security devices, but the concept of > allowing automated, non-passworded (or passphrased) access to a firewall > scares the bejesus out of me. I would aruge, with respect to the > requester's experience and knowledge, that it's a Bad Idea. > > If you *are* going to do that, for God's sake, make sure that the SSH > key is only authorized for the very minimal actions that you need to > monitor the system -- in other words, you shouldn't just SSH and run > some commands > -- you should 'ssh user at fw ' and make sure that the SSH key > ONLY allows you to run . > > -roy > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Thu Jul 10 20:28:17 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 11 Jul 2003 02:28:17 +0800 Subject: Service Status Type In-Reply-To: References: Message-ID: <200307110228.19530.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 check-host-alive is not supposed to be in libexec directory. I would suggest you take a look at the Nagios documentation again. Cheers, Jasmine On Thursday 10 July 2003 21:29, you wrote: > Ok, > > don't be sorry, you're are being very kindly trying to help me. > > This host is on a Rig, and on this Rig I have 4 hosts, only this one has > this Status! They have identical file configurations. > > here is both configurations copied from my hosts.cfg > > define host{ > > host_name monitor1 > alias PLC Monitor #1 > address xxx.xx.xxx.117 > parents 135-D > check_command check-host-alive > max_check_attempts 20 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > define host{ > > host_name monitor2 > alias PLC Monitor #2 > address xxx.xx.xxx.118 > parents 135-D > check_command check-host-alive > max_check_attempts 20 > notification_interval 60 > notification_period 24x7 > > I've tried to find this "check-host-alive" on my libexec folder > unsuccessful. Did you have any clues? I know that this command works > because of another hosts are with the same information! > > regards, > Fernando Gomes > SchlumbergerSema > Network & Infrastructure Solutions > Security Engineer > flima at slb.com > > Trab: +55 21 3824 6954 > Cel. : +55 21 9888 9046 > (GMT: -03:00) > > > > -----Original Message----- > From: Jasmine [mailto:jasmine.chua at securecirt.com] > Sent: quinta-feira, 10 de julho de 2003 10:18 > To: flima at slb.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Service Status Type > > > Hi > > Sorry for the late reponse, woke up late.. heehee. Hmm. I would think most > likely, you have set the host to "assumed to be up" this happens when there > isnt a valid host check_command in your host definition template. Or either > the network connectivity is just really bad with high ms but the host is > still up. Thresholds for ping service should be set realistically depending > on the physical distance from your monitoring server to that "monitor1" > host. > > Cheers, > Jasmine > > On Thursday 10 July 2003 20:38, Fernando Gomes Lima wrote: > > Hi Jasmine, > > > > I got this screen > > > > Host Service Status Last Check Duration Attempt Status Information > > monitor1 PING CRITICAL 07-10-2003 09:41:28 27d 21h 9m 11s 1/3 PING > > CRITICAL - Packet loss = 0%, RTA = 637.81 ms > > > > I have no idea what's going on!!! > > > > Fernando Gomes > > SchlumbergerSema > > Network & Infrastructure Solutions > > Security Engineer > > flima at slb.com > > > > Trab: +55 21 3824 6954 > > Cel. : +55 21 9888 9046 > > (GMT: -03:00) > > > > > > > > -----Original Message----- > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > Sent: quarta-feira, 9 de julho de 2003 18:46 > > To: flima at slb.com > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Service Status Type > > > > > > That's strange, I have never seen something like that happened in Nagios > > before. What do you mean when you said the status is critical? Are you > > referring to host or service status? Maybe you can show us more details. > > > > Jasmine > > > > On Thursday 10 July 2003 05:02, Fernando Gomes Lima wrote: > > > Hi all, > > > > > > We have a host that is up and beeing showed as status critical any idea > > > of what's going on? > > > Fernando Gomes > > > SchlumbergerSema > > > Network & Infrastructure Solutions > > > Security Engineer > > > flima at slb.com > > > > > > Trab: +55 21 3824 6954 > > > Cel. : +55 21 9888 9046 > > > (GMT: -03:00) > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/DbBBNgvTa7Hj2AURAn6NAKCd5uBSZBkUgC/TmDgh7FEOo9Qu3gCfSNFM BHQBvWAxfNACDXVMei45i38= =lwcF -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Jul 10 20:33:55 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 10 Jul 2003 13:33:55 -0500 Subject: Log Rotation weirdness Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7AD8@mismail.ena.com> Well, it looks like the archives are having difficulties right now so I'm going to throw this out there.... Since late June, my archiving has gotten weird and it's affecting the availability data. Nagios has started rotating the logs twice a day -- nagios nagios 33 Jun 26 23:59 nagios-06-27-2003-00.log nagios nagios 1847087 Jun 27 23:55 nagios-06-27-2003-23.log nagios nagios 33 Jun 27 23:59 nagios-06-28-2003-00.log nagios nagios 1979819 Jun 28 23:55 nagios-06-28-2003-23.log nagios nagios 33 Jun 28 23:59 nagios-06-29-2003-00.log nagios nagios 1735992 Jun 29 23:59 nagios-06-29-2003-23.log nagios nagios 3236597 Jul 1 23:59 nagios-07-02-2003-00.log nagios nagios 2039512 Jul 2 23:56 nagios-07-02-2003-23.log nagios nagios 33 Jul 2 23:59 nagios-07-03-2003-00.log nagios nagios 2111127 Jul 3 23:59 nagios-07-03-2003-23.log nagios nagios 33 Jul 3 23:59 nagios-07-04-2003-00.log nagios nagios 1915508 Jul 4 23:59 nagios-07-04-2003-23.log nagios nagios 33 Jul 4 23:59 nagios-07-05-2003-00.log nagios nagios 1965559 Jul 5 23:59 nagios-07-05-2003-23.log nagios nagios 162 Jul 5 23:59 nagios-07-06-2003-00.log nagios nagios 1789130 Jul 6 23:58 nagios-07-06-2003-23.log nagios nagios 33 Jul 6 23:59 nagios-07-07-2003-00.log nagios nagios 2927504 Jul 7 23:58 nagios-07-08-2003-00.log nagios nagios 3152378 Jul 8 23:59 nagios-07-08-2003-23.log nagios nagios 33 Jul 8 23:59 nagios-07-09-2003-00.log nagios nagios 2020703 Jul 9 23:59 nagios-07-09-2003-23.log nagios nagios 33 Jul 9 23:59 nagios-07-10-2003-00.log It doesn't seem to do it _every_ day, but 98% of the time. The only reference I can find related to this is this FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=93&expand=false&showdesc=t rue It doesn't seem to apply as I'm not running NTP, nor do I have any indications of a significant time jump on the machine that occurs on a daily basis. I'm currently running 1.0b3 on this machine and don't see any changes in CVS that aren't related to the 2.0 stuff that might be applicable. Does anybody have any thoughts? -- Marc ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Jul 10 20:57:59 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 10 Jul 2003 13:57:59 -0500 Subject: Monitor Checkpoint VPN links Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7ADA@mismail.ena.com> > -----Original Message----- > From: Adams, Gavin [mailto:gadams at promisant.com] > Sent: Thursday, July 10, 2003 1:22 PM > To: nagios-users at lists.sourceforge.net > [snip] > For example, fully meshed network of sites A, B, C, and D with Nagios > running at site A, and accessible servers at B, C, and D. Traffic checks > would be for: > > From To > A B C D > B A C D > C A B D > D A B C > > Site A is easy, Nagios can ping devices in B, C, and D. On the server at > the other sites, create a plugin that pings the remote sites and returns > OK is all is good, else WARNING or CRITICAL if there is a problem. > > Additional work and resources required to set it up, but in the end, the > only way to know if an VPN tunnel is up and operational is to push some > traffic across it (or wait for the complaints to come in). We were thinking the same thing (without the need for the mesh though). We would like to monitor firewalls that we may manage, but not own nor would we own any of the devices behind that firewall. The solution we're looking at is using a Soekris box (http://www.soekris.com) running FreeBSD, NRPE and check_http or something behind the firewall to verify traffic goes both in and out. It would be a simple matter to set up the above mentioned mesh if you had one of these devices at each location. I guess it all boils down to how confident you want to be that the firewall is truly working as expected. -- Marc ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Thu Jul 10 18:42:42 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 10 Jul 2003 12:42:42 -0400 Subject: Newbie questions In-Reply-To: <20030710050923.58259.qmail@web21406.mail.yahoo.com> References: <20030710050923.58259.qmail@web21406.mail.yahoo.com> Message-ID: <1057855357.20510.680.camel@unixgod.hq.nasa.gov> On Thu, 2003-07-10 at 01:09, Lam Eric wrote: > 1) CGI authentication problem > > If I turn on the use_authentication=1, then I can't > see the service detail page or hosts detail page. It > returns message: "It appears as through you do not > have permissions to view info for any of the services > you requested..". I checked all the cgi-bin configs in > httpd.conf and they are matching the entries suggested > in Doc. I tried running apache with either > nobody:nobody and nagois:nagios, same result. On the > other hand, I start nagios with nagios:nagios in both > cases. Is there anything else I can check. I also > installed nagios with the nagios user and group. If I > disable authentication, I see all pages. > I'm working on our first installation and just encountered and fixed the problem. You can only see system information if you're the support person. Farther down in cgi.cfg (after the use_authentication section) are 4 or 5 entries that let all identified users view specific information. > 2) I got "Invalid HTTP response from host on port > 443"? > > I added another entry in checkcommands.cfg with the > check_https definition, what it does is "check_http -H > $HOSTADDRESS$ -p 443". Is this done properly? I'm > checking a customized jakarta server that serves PS2 > clients, it does not serve web pages. There is nothing > wrong with the service. It's serving PS2 clients > properly. > As a test, what happens when you telnet to port 443 on the system? Does it respond as if there's a web server? > Thanks for your help in advance. > P.S. If you would, please respond back to this email > address. > I'll reply to both. I'm a newbie (two days after installation) and appreciate searchable info. > Eric. > Carl ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Thu Jul 10 21:53:18 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 11 Jul 2003 03:53:18 +0800 Subject: strange ping unknown state. Message-ID: <200307110353.19650.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Need some help here please. I have a strange problem. One particular passive service of my remote server is having this. Current Status: UNKNOWN (Has been acknowledged) Status Information: /bin/ping -n -U -c 1 xx.xxx.xx.xx It just occurred suddenly and this service used to be working before. The configuration files were untouched. Anyone know why? Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/DcQuNgvTa7Hj2AURAsoNAJ9QkK3YiMqF0Uz7x4wT0lTiv9z9AwCePlEV hUwQEpNj3Y115V06Hf0bgIs= =UhzM -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From isgs294 at yahoo.com Thu Jul 10 22:17:48 2003 From: isgs294 at yahoo.com (Gary) Date: Thu, 10 Jul 2003 13:17:48 -0700 (PDT) Subject: email archives? Message-ID: <20030710201748.56950.qmail@web41307.mail.yahoo.com> What happen to the nagios email archives on sourceforge.net ? I either cant get to the server or it says fourm not found. ===== Gary __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sgao at sci.utah.edu Fri Jul 11 00:47:15 2003 From: sgao at sci.utah.edu (Simon Gao) Date: Thu, 10 Jul 2003 16:47:15 -0600 Subject: service trends does not show up Message-ID: <3F0DECF3.8070400@sci.utah.edu> Hi, I can't get service trend drawed on the historical graph. Can someone give a help? Thanks Simon ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie_bohr at agilent.com Fri Jul 11 01:46:27 2003 From: jamie_bohr at agilent.com (jamie_bohr at agilent.com) Date: Thu, 10 Jul 2003 17:46:27 -0600 Subject: Ping problems Message-ID: I copied my Netsaint install from one system to a newer one, went from RH 7.2 to RH 8 and now the check_ping service does not work correctly. All I get is the actual ping command in service status window. I have updated to the latest Nagios check_ping plugin and even copied /bin/ping from a RH 7.2 system, nothing seems to help. Running check_ping by hand returns correctly, but not when Netsaint runs. I put /bin/echo in front of the check_ping command in commands.cfg, running the output from that even returns correct. ARG !!!! What am I doing wrong? Please help. - Jamie Bohr ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Jul 11 03:21:31 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 11 Jul 2003 13:21:31 +1200 Subject: strange ping unknown state. References: <200307110353.19650.jasmine.chua@securecirt.com> Message-ID: <005301c3474a$c5f33bf0$6d0a0a0a@bcl977307> remote system OS? version change? see post to jamie.bohr jamie ----- Original Message ----- From: "Jasmine" To: Sent: Friday, July 11, 2003 7:53 AM Subject: [Nagios-users] strange ping unknown state. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > Need some help here please. I have a strange problem. One particular passive > service of my remote server is having this. > > Current Status: UNKNOWN (Has been acknowledged) > Status Information: /bin/ping -n -U -c 1 xx.xxx.xx.xx > > It just occurred suddenly and this service used to be working before. The > configuration files were untouched. Anyone know why? > > Jasmine > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE/DcQuNgvTa7Hj2AURAsoNAJ9QkK3YiMqF0Uz7x4wT0lTiv9z9AwCePlEV > hUwQEpNj3Y115V06Hf0bgIs= > =UhzM > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Jul 11 03:18:29 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 11 Jul 2003 13:18:29 +1200 Subject: Ping problems References: Message-ID: <002c01c3474a$57fff4d0$6d0a0a0a@bcl977307> su nagios and executing the command will prove that you have a hardened system. chmod u+s /bin/ping hth jamie ----- Original Message ----- From: To: Sent: Friday, July 11, 2003 11:46 AM Subject: [Nagios-users] Ping problems > I copied my Netsaint install from one system to a newer one, went from RH 7.2 to RH 8 and now the check_ping service does not work correctly. All I get is the actual ping command in service status window. I have updated to the latest Nagios check_ping plugin and even copied /bin/ping from a RH 7.2 system, nothing seems to help. Running check_ping by hand returns correctly, but not when Netsaint runs. I put /bin/echo in front of the check_ping command in commands.cfg, running the output from that even returns correct. ARG !!!! What am I doing wrong? Please help. > > - Jamie Bohr > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.tulovsky at sbiandcompany.com Fri Jul 11 02:32:53 2003 From: dan.tulovsky at sbiandcompany.com (Dan Tulovsky) Date: Thu, 10 Jul 2003 20:32:53 -0400 Subject: Monitor Checkpoint VPN links In-Reply-To: References: Message-ID: <200307110033.h6B0X2ol006643@tank.sbiandcompany.com> Thanks Gavin, This is what I was thinking of doing as well. Dan -----Original Message----- From: Adams, Gavin [mailto:gadams at promisant.com] Sent: Thursday, July 10, 2003 2:22 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Monitor Checkpoint VPN links My $0.02 : Experience based off of FW-1 4.1 and VPN setups via IPsec. SNMP capabilities of FW-1 are limited to high level packet counts for enforcement points, etc. Not really of use for ensuring site A to site B access. If everything is being sent to a central management server, you could parse the log files looking for bad SA setups, timeouts etc. Once again, if some sites on the VPN don't communicate regularly, this may not find it. The only solution I see would be to actually pass traffic from each site to all other sites. Maybe through the use of NRPE/NCSA and a plugin on a server in each site (that can ICMP and is allowed to communicate to the other sites). For example, fully meshed network of sites A, B, C, and D with Nagios running at site A, and accessible servers at B, C, and D. Traffic checks would be for: >From To A B C D B A C D C A B D D A B C Site A is easy, Nagios can ping devices in B, C, and D. On the server at the other sites, create a plugin that pings the remote sites and returns OK is all is good, else WARNING or CRITICAL if there is a problem. Additional work and resources required to set it up, but in the end, the only way to know if an VPN tunnel is up and operational is to push some traffic across it (or wait for the complaints to come in). HTH, --- Gavin > -----Original Message----- > From: Dan Tulovsky [mailto:Dan.Tulovsky at sbiandcompany.com] > Sent: Thursday, July 10, 2003 11:14 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Monitor Checkpoint VPN links > > I think an even better idea is to use machines that are behind the > firewalls if you are going to do that... Since you just need to test the > link, it's often better to test it from behind... > > Dan > > > -----Original Message----- > From: Roy S. Rapoport [mailto:nagios-users at ols.inorganic.org] > Sent: Wednesday, July 09, 2003 7:03 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitor Checkpoint VPN links > > > On Wed, Jul 09, 2003 at 06:21:50PM -0400, Rob Nelson wrote: > > It's always an ugly hack, but one can do just about anything with > > "expect". > > I'd suggest using ssh keys tho, rather than putting your ssh password > in > > cleartext in the scriptfile. > > As a security person, this makes me shudder. > > Remember, this is your firewall. > > I won't tell you how to manage your security devices, but the concept of > allowing automated, non-passworded (or passphrased) access to a firewall > scares the bejesus out of me. I would aruge, with respect to the > requester's experience and knowledge, that it's a Bad Idea. > > If you *are* going to do that, for God's sake, make sure that the SSH > key is only authorized for the very minimal actions that you need to > monitor the system -- in other words, you shouldn't just SSH and run > some commands > -- you should 'ssh user at fw ' and make sure that the SSH key > ONLY allows you to run . > > -roy > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft Error proof Web apps, > automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft Error proof Web apps, > automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swefty at interbusiness.it Fri Jul 11 05:15:29 2003 From: swefty at interbusiness.it (Verona Trautmann) Date: Thu, 10 Jul 2003 20:15:29 -0700 Subject: Livecam Botschaft für Nagiosusers Message-ID: An HTML attachment was scrubbed... URL: From jmartin at gsi-kc.com Fri Jul 11 05:31:47 2003 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Thu, 10 Jul 2003 22:31:47 -0500 Subject: odd queue issue Message-ID: Hi, For some reason half the queue is working normally, but about half the queue is not updating. It's last check time and next check time are both shortly after the last time nagios was restarted. The other half of the queue works normally. I've made sure there are no duplicate nagios main processes running. 3 times now I've totally stopped it, waited, checked for nagios's still running, then started again when there were none for sure... and this same thing keeps happening. When I ps -ax there are a lot of nagios processes running, as many as I'd normally see... nothing in the logs seems to be out of place as far as I can tell. Any ideas? Maybe reinstall Nagios? (using v1.1) ... checked the FAQ but didn't see anything similar. Thanks Jeremy ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at billyshouse.com Fri Jul 11 05:48:30 2003 From: nagios at billyshouse.com (Billy) Date: Fri, 11 Jul 2003 13:48:30 +1000 Subject: Nagios pre-flight checks Message-ID: Hi everyone, Will extended host info be checked in the pre-flight checks? Here's what I'm doing, as well as the output. Reason I'm asking is because I still can't get the extended host status going (after a fresh FreeBSD4.8 install, cvsup'd the ports collection, and installed it from there) If anyone has installed nagios 1.1 on FreeBSD, and has extended host info running successfully, please email me! # nagios -v nagios.cfg Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 38 services. Checking hosts... Checked 15 hosts. Checking host groups... Checked 6 host groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 6 contact groups. Checking service escalations... Checked 2 service escalations. Checking host group escalations... Checked 2 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Jul 11 05:54:47 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 10 Jul 2003 23:54:47 -0400 Subject: Newbie questions In-Reply-To: <20030710050923.58259.qmail@web21406.mail.yahoo.com> References: <20030710050923.58259.qmail@web21406.mail.yahoo.com> Message-ID: <1057895687.4306.5.camel@miles.debisschop.net> On Thu, 2003-07-10 at 01:09, Lam Eric wrote: > 1) CGI authentication problem > > If I turn on the use_authentication=1, then I can't > see the service detail page or hosts detail page. It > returns message: "It appears as through you do not > have permissions to view info for any of the services > you requested..". I checked all the cgi-bin configs in > httpd.conf and they are matching the entries suggested > in Doc. I tried running apache with either > nobody:nobody and nagois:nagios, same result. On the > other hand, I start nagios with nagios:nagios in both > cases. Is there anything else I can check. I also > installed nagios with the nagios user and group. If I > disable authentication, I see all pages. You must be sure your webserver checks authentication. After you have correctly provided your password to the webserver, it will set a CGI variable that nagios uses to determin wheter you are among the users that should be able to see the object requested. > 2) I got "Invalid HTTP response from host on port > 443"? > > I added another entry in checkcommands.cfg with the > check_https definition, what it does is "check_http -H > $HOSTADDRESS$ -p 443". Is this done properly? I'm > checking a customized jakarta server that serves PS2 > clients, it does not serve web pages. There is nothing > wrong with the service. It's serving PS2 clients > properly. I think you want '--ssl' (which will default to port 443 BTW) You are asking to use port 443, but not telling the plugin tha the data should be encrypted. -- Karl ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Jul 11 06:11:48 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 11 Jul 2003 00:11:48 -0400 Subject: Service Status Type In-Reply-To: <200307110228.19530.jasmine.chua@securecirt.com> References: <200307110228.19530.jasmine.chua@securecirt.com> Message-ID: <1057896708.4306.21.camel@miles.debisschop.net> On Thu, 2003-07-10 at 14:28, Jasmine wrote: > check-host-alive is not supposed to be in libexec directory. I would suggest > you take a look at the Nagios documentation again. > On Thursday 10 July 2003 21:29, you wrote: > > > > don't be sorry, you're are being very kindly trying to help me. > > > > This host is on a Rig, and on this Rig I have 4 hosts, only this one has > > this Status! They have identical file configurations. > > > > here is both configurations copied from my hosts.cfg > > > > define host{ > > > > host_name monitor1 > > alias PLC Monitor #1 > > address xxx.xx.xxx.117 > > parents 135-D > > check_command check-host-alive > > max_check_attempts 20 > > notification_interval 60 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > define host{ > > > > host_name monitor2 > > alias PLC Monitor #2 > > address xxx.xx.xxx.118 > > parents 135-D > > check_command check-host-alive > > max_check_attempts 20 > > notification_interval 60 > > notification_period 24x7 > > > > I've tried to find this "check-host-alive" on my libexec folder > > unsuccessful. Did you have any clues? I know that this command works > > because of another hosts are with the same information! Check_host_alive is a command definition (see checkcommands.cfg) But I don't see how this is realted to your problem. From what I see, the PING service on that host is what is critical. You did not provide the service definition, but I assume that the the second arg to the service is less than 637. This is telling your there is some latency - either the network is slow, or the servis is bogged down and cannot respond quicky (or is sleeping and does not wake up fast enough). > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > > > Sorry for the late reponse, woke up late.. heehee. Hmm. I would think most > > likely, you have set the host to "assumed to be up" this happens when there > > isnt a valid host check_command in your host definition template. Or either > > the network connectivity is just really bad with high ms but the host is > > still up. Thresholds for ping service should be set realistically depending > > on the physical distance from your monitoring server to that "monitor1" > > host. > > > > On Thursday 10 July 2003 20:38, Fernando Gomes Lima wrote: > > > > > > I got this screen > > > > > > Host Service Status Last Check Duration Attempt Status Information > > > monitor1 PING CRITICAL 07-10-2003 09:41:28 27d 21h 9m 11s 1/3 PING > > > CRITICAL - Packet loss = 0%, RTA = 637.81 ms > > > > > > I have no idea what's going on!!! I assume this is from /nagios/cgi-bin/status.cgi?host=all or /nagios/cgi-bin/status.cgi?host=monitor1? It seems to me you are looking at a critical service status, not host down report. > > > > From: Jasmine [mailto:jasmine.chua at securecirt.com] > > > > > > > > That's strange, I have never seen something like that happened in Nagios > > > > before. What do you mean when you said the status is critical? Are you > > > > referring to host or service status? Maybe you can show us more details. > > > > > > > > On Thursday 10 July 2003 05:02, Fernando Gomes Lima wrote: > > > > > Hi all, > > > > > > > > > > We have a host that is up and beeing showed as status critical any idea > > > > > of what's going on? -- Karl ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jul 11 07:04:16 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 11 Jul 2003 15:04:16 +1000 Subject: Adding more advanced correlation to nagios with sec (any interest?) In-Reply-To: <200306281948.h5SJmGxN020728@mx1.cs.umb.edu>; from rouilj@cs.umb.edu on Sat, Jun 28, 2003 at 03:48:16PM -0400 References: <200306281948.h5SJmGxN020728@mx1.cs.umb.edu> Message-ID: <20030711150412.B84683@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your well conceived and expressed letter and say, On Sat, Jun 28, 2003 at 03:48:16PM -0400, John P. Rouillard wrote: > However, I have some things that I want to do that are not easily > done within nagios. E.G. > > If a system jumpstart is in progress, ignore warnings about high > interface usage (on one interface), or dropped packets (on the > hub). > > If an index operation of the HTTP server is in progress, ignore > warnings about the http interface being slow. > > I also want to show a host/service down if a given system went down, > (as determined by a syslog message) but I want the report done > ONLY if the system isn't back up in 5 minutes. > > Note that none of the rebooting, indexing, or jumpstarting operations > occur at fixed times, so I can't schedule these in advance. > that this, as you say, demonstrates the case for Nagios being able to provide better event correlation than it does now. However, please would you spell what events and their origin are correlated by Sec to avoid spurious alarms in these cases - especially the first two. Is Sec correlating plugin failures with syslog messages ? > Other things can sort of be done in nagios, but it is a bit tough to > configure. E.G. I have a single snmp_trap service defined for my > hosts. The service is considered volatile, and is state_stalked. I > want to do the following: > > If an (particular range of) interfaces on a switch goes down (and > sends a trap) ignore it unless it has gone down/up 3 times in > five minutes. Don't clear it until it has stayed up for at least > 15 minutes. > > Other interfaces on the same switch should be reported immediately > > I could do part of this by adding every one of my 20 interfaces on the > switch as services, but that doesn't really handle the timing aspects. > It makes the services a lot more difficult to read and configure. > > Another thing I want to do is: > > Synthesize an event that notes if two of my three links to > a remote site are having problems. That is two of my three > routers may be in a warn state, and I want to place the > "Access to 16 net" service in a critical state. > > This can be done by event handlers, but you end up writing a portion > of sec to do it, so you might just as well use sec in the first place. > Agreed. > I have a method of integrating sec > into nagios to handle these issues and more. > > Using sec to process traps (or other passive checks) is straight > forward. The trap collector running from snmptrapd just dumps the trap > report (formatted as a nagios passive service check) into sec's input > fifo and then sec processes it, and reports it (if needed) into the > nagios.cmd pipe. > And a very attractive means of handling SNMP traps it is too. Sec has become for me, the standard way of providing event and trap handlers. For example, I have a general host and service handler that updates a MySQL DB with the outage interval. To do this it must retain state (and does so with a Perl hash tied to a DB file) so it can determine if there has been a transition and if so, how long it was. This would probably be easier to do with Sec contexts. > However for polled items, it more difficult. I don't want to have a > flapping service where the plugin determines that there is a problem, > nagios reacts to that, and then sec reacts to that (being fed its info > by an event handler) by clearing the service because sec determines > that there is not yet a problem. This leads to a flapping service as > nagios and sec disagree on what is a true problem, and leads to > spurious notifications because I can't put in a high > max_check_attempts and have nagios respond to sec when it has a real > problem (unless I define yet another service yech). > > What I did was write a plugin in perl (sec_filter) that runs the > nagios command (sort of like check_ssh). It always passes the output > of the plugin to sec's input pipe. However, depending on the flags > given to the sec_filter script, it will exit: > > with an "ignore OK" code, and no output > with an "ignore ERROR" code, and no output > with the exit code and output of the plugin > > I have chosen exit status of 5 for "ignore OK" and 6 for "ignore > ERROR". (It looks like code 4 is used internally for pending states, > and I didn't want to use that number hence my choice of 5 and 6.) > > The reason for these new codes is to make nagios not change any status > for the polled service based on the poll. The new status will be sent > to it by a passive check command generated from sec. > > That is I want nagios to be a (almost) dumb poller and to let sec > filter all the data. If I understand correctly, the proposal is 1 When Nag schedules a service check, of any and all service checks, it in fact execs sec_filter with the real plugin name and flags that determine sec_filters behaviour by allowing it to either 1.1 treat the service as a normal Nag service (a 'polled' service, for which no event correlation by Sec is necessary) 1.2 treat the service as requiring Sec processing to accurately determine the service state. Sec will get the plugin output and use this with other Sec inputs and Sec context to determine the service state 2 Sec_filter writes 2.1 For those services requiring Sec, 2.1.1 An event to Sec 2.1.2 One of the new status codes to Nagios 2.2 Otherwise, in the case of 'polled' services, the usual Nag status codes and plugin output are written to Nags input queue 3 Nag processes former status codes with no changes (ie CRITICAL leads to the check being repeated retry_interval and if the state persists to Notification), but those with the new code of IGNORE_ERROR are recognised as requiring retry at the retry_interval but _no_ other processing. 4 Sec will eventually submit a PROCESS_SERVICE_CHECK_RESULT to the Nag input queue (for the services that have formerly been reported as IGNORE_\w+. Is this correct ? My remarks are 1 This _may_ be better done in the Nag core. Nag could be equipped with configuration directives for Sec processing so that Nag itself could submit the event to Sec (rather than the plugin sec_filter). This saves an extra fork. 2 I am not sure how your proposal relates to the embedded Perl stuff (where each plugin is called as a function from the Nagios address space). This is probably trivial since sec_filter simply becomes another Perl plugin that Nag calls (and sec_filter 'requires' the real Perl plugin so that re-compilation of the real plugin is avoided 3 I like the bit about making Sec processing optional (depending on the options specified to sec_filter) > Using sec provides much better control over flap > detection, and multiple service correlation. Above I said I wanted > nagios to be an almost dumb poller. This is because I want nagios to > poll at the retry_check_interval if there is a problem found by the > plugin. If sec_filter exits with status 6, then nagios polls at the > faster retry interval. This allows sec to better determine the trouble > the system is in, or more easily determine when the system recovers. > For me, I am quite happy with Nags processing of most services. I can't say that the scenarios you mention are problematic for me. However, I would very much like the option of event correlation when required. > I have set it up so that sec itself is a passive nagios service, and > automatically sends notifications to nagios, as well as nagios being > able to poll the sec service if its data gets stale. > > So is anybody interested in my mods (about 30 lines) to nagios to > support this, and my plugin? This needs the comment of the Nagios developer. It sounds attractive to me however. I am sorry if these remarks are stupid or based on misunderstanding. I think I would need to see the mods for a better (marginally) response. It may simply be worth posting them to Nagios-Devel. AFAIK this is not on the Nag road map so it simply may be a golden opportunity for a big benefit. Finally, you have identified a good area for future development. Root cause analysis and event correlation is one area that commercial products can claim superiority. Thank you very much. > > Note, there is a issue with sec in that ;'s can't be embedded in its > action commands. This is a problem since nagios' passive commands are ; > delimited. There should be a new version of sec out (2.1.8) once > testing is complete that addresses this issue. > As you say, this as been dealt with to my satisfaction in 2.1.8. > -- rouilj > John Rouillard > =========================================================================== > My employers don't acknowledge my existence much less my opinions. > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 From karl at debisschop.net Fri Jul 11 09:08:45 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 11 Jul 2003 03:08:45 -0400 Subject: Plugins release 1.3.1 Message-ID: <1057907324.4306.58.camel@miles.debisschop.net> I have just released version 1.3.1 of the plugins. This is a bugfix release. Changes I remember include: check_http now accepts the full set of RFC 2396 characters in path check_snmp now passes -t to snmpget urlize has note about effects of shell expansion urlize keeps option order, thus passing options to invoked plugin check_tcp can limit size of incoming stream check_http fixed for when server closes immediately Bug reports can be logged in the bug tracker at http://sf.net/projects/nagiosplug -- Karl ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From voutsinas at fibertel.com.ar Fri Jul 11 14:52:30 2003 From: voutsinas at fibertel.com.ar (Bill Voutsinas) Date: Fri, 11 Jul 2003 09:52:30 -0300 Subject: Monitoring IBM storage device ESS-2105 Message-ID: <3EE9978B000095F8@mta5.fibertel.com.ar> Hi all, I need to monitor a IBM Shark ESS 2105 storage device. Can anyone suggest a way to do this? Please help! I'd appreciate your help. Thanks and regaards Bill ________________________________________ FiberTel, el nombre de la banda ancha http://www.fibertel.com.ar ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Fri Jul 11 15:40:50 2003 From: td3201 at yahoo.com (Terry) Date: Fri, 11 Jul 2003 06:40:50 -0700 (PDT) Subject: service with different notification options Message-ID: <20030711134050.69712.qmail@web80512.mail.yahoo.com> I want to be able to have a service send emails to one contact between the hours of 3:00am and midnight and another contact between the hours of 1am and 3am. I think I can do this by defining two services but I would like to do it with one....any ideas? Thanks! ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From administrator=v4BC0NW9oXaY/VGTjfr9Sg at public.gmane.org Fri Jul 11 15:58:23 2003 From: administrator=v4BC0NW9oXaY/VGTjfr9Sg at public.gmane.org (administrator=v4BC0NW9oXaY/VGTjfr9Sg at public.gmane.org) Date: Fri, 11 Jul 2003 15:58:23 +0200 Subject: Windows Eventlog Addon/Plugin published Message-ID: Hi, we have just released our first public version of a Windows Eventlog Plugin for Nagios. Details can be found on http://naplax.sourceforge.net This addon allows Nagios to monitor Windows EventLogs by querying an agent installed on the Windows machine (the agent is part of this package.) While by default every event is notified by Nagios, extensive filtering can be defined through various parameters. You can do "anything but XY" or"nothing but XY" notifications or some strange things between these two. Martin Schmitz net&works Netzwerke und Service GmbH Luetzerodestrasse 12 D-30161 Hannover, Germany PGP fingerprint: 225E A59C C08A 9ED5 9003 01A1 399B BFE0 6450 CA40 *** Besuchen Sie uns im Netz: http://www.naw.de !!! *** ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagiosplug-devel mailing list Nagiosplug-devel=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Sanderson at ahsys.org Fri Jul 11 15:54:39 2003 From: Andrew.Sanderson at ahsys.org (Sanderson, Andrew) Date: Fri, 11 Jul 2003 09:54:39 -0400 Subject: [Nagios-users] Message-ID: Can somebody help me with a shell script I am trying to write for nagios. I am new to nagios and linux. I can restart a failed nt service from nagios by hardcoding the server name into an eventhandler script such as this. /usr/bin/rsh thentservername net start \"Spooler\" How can I have nagios enter the servername by reading the value of the $HOSTADRESS$ variable ? I have 30 servers I would like to monitor and would have to have 30 separate scripts and checkcommands at present. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at eventhorizon.ca Fri Jul 11 16:30:38 2003 From: chris at eventhorizon.ca (chris at eventhorizon.ca) Date: Fri, 11 Jul 2003 08:30:38 -0600 Subject: Monitoring IBM storage device ESS-2105 In-Reply-To: <3EE9978B000095F8@mta5.fibertel.com.ar> References: <3EE9978B000095F8@mta5.fibertel.com.ar> Message-ID: <20030711143038.GA20496@eventhorizon.ca> On Fri, Jul 11, 2003 at 09:52:30AM -0300, Bill Voutsinas wrote: > Hi all, > > I need to monitor a IBM Shark ESS 2105 storage device. Can anyone suggest > a way to do this? I don't know of any existing method, however, it should be possible to create some plugins using either SNMP or a combination of the CIM (Common Information Model) agent and the ESS CLI(Command Line Interface). My understanding is that CIM and the CLI are freely available from IBM. You can download the Linux CIM agent from: http://www-1.ibm.com/support/docview.wss?uid=ssg1S4000146 I'm not sure where to get the CLI for Linux from (or any other OS for that matter). This may be something that you have to get from your IBM SE. As far as SNMP goes, you can browse using snmp walk with no problems but I have not been able to find a way to translate the OIDs so that I can get something meaningful from SNMP. It seems like SNMP will return some performance information but you will need the proper mib(s) to make any sense of it. Hope that helps. -- Chris Rothecker chris at eventhorizon.ca ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Fri Jul 11 16:36:10 2003 From: rob at capband.net (Rob Nelson) Date: Fri, 11 Jul 2003 10:36:10 -0400 Subject: [Nagios-users] In-Reply-To: References: Message-ID: <5.2.1.1.0.20030711103357.01a91098@mail.capband.net> >/usr/bin/rsh thentservername net start \"Spooler\" > >How can I have nagios enter the servername by reading the value of the >$HOSTADRESS$ variable ? Depending on how you have your active directory/nt4 domain structure set up, they should respond as an IP (as in \\10.10.0.1). If not, you can make sure that /etc/hosts is up to date and use a hostname instead of an IP address for $HOSTADDRESS$. I'd definitely want it to be the former, but the latter is a workable solution, just requires a wee bit more maintenance. Also, if you're passing this to an external command, why not just add another argument for the servername? Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie_bohr at agilent.com Fri Jul 11 16:44:26 2003 From: jamie_bohr at agilent.com (jamie_bohr at agilent.com) Date: Fri, 11 Jul 2003 08:44:26 -0600 Subject: Ping problems Message-ID: WOW - it works now, a big duh on my part. Thank you for your help. Thanks, Jamie -----Original Message----- From: Jamie Baddeley To: jamie_bohr at agilent.com; nagios-users at lists.sourceforge.net Sent: 7/10/03 7:18 PM Subject: Re: [Nagios-users] Ping problems su nagios and executing the command will prove that you have a hardened system. chmod u+s /bin/ping hth jamie ----- Original Message ----- From: To: Sent: Friday, July 11, 2003 11:46 AM Subject: [Nagios-users] Ping problems > I copied my Netsaint install from one system to a newer one, went from RH 7.2 to RH 8 and now the check_ping service does not work correctly. All I get is the actual ping command in service status window. I have updated to the latest Nagios check_ping plugin and even copied /bin/ping from a RH 7.2 system, nothing seems to help. Running check_ping by hand returns correctly, but not when Netsaint runs. I put /bin/echo in front of the check_ping command in commands.cfg, running the output from that even returns correct. ARG !!!! What am I doing wrong? Please help. > > - Jamie Bohr > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Sanderson at ahsys.org Fri Jul 11 16:48:03 2003 From: Andrew.Sanderson at ahsys.org (Sanderson, Andrew) Date: Fri, 11 Jul 2003 10:48:03 -0400 Subject: [Nagios-users] Message-ID: Thanks for your help I can make the script work if I hardcode the servername or ip address. My check command for the event handler looks like this # 'restart-spooler' command definition define command{ command_name restart-spooler command_line /usr/local/nagios/libexec/eventhandlers/restart-spooler.sh $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } The script I use which is located in the eventhandler directory looks like this rsh carling net start \"Spooler\" This works but only for the one server carling. What can I change in the scripts for nagios to read a variable instead so that I can run the same script against multiple nt servers? I am new to linux and nagios. Thanks again Andrew Sanderson. -----Original Message----- From: Rob Nelson [mailto:rob at capband.net] Sent: Friday, July 11, 2003 10:36 AM To: Sanderson, Andrew; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] [Nagios-users] >/usr/bin/rsh thentservername net start \"Spooler\" > >How can I have nagios enter the servername by reading the value of the >$HOSTADRESS$ variable ? Depending on how you have your active directory/nt4 domain structure set up, they should respond as an IP (as in \\10.10.0.1). If not, you can make sure that /etc/hosts is up to date and use a hostname instead of an IP address for $HOSTADDRESS$. I'd definitely want it to be the former, but the latter is a workable solution, just requires a wee bit more maintenance. Also, if you're passing this to an external command, why not just add another argument for the servername? Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irenes at wolfram.com Fri Jul 11 17:01:52 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Fri, 11 Jul 2003 10:01:52 -0500 (CDT) Subject: Adding users without contactgroups Message-ID: I have a user (manager) who wants to be able to see all host and service entries on Nagios. He is not in any of our contact groups, nor do we want to put him in one. I've given him permission in cgi.cfg to view all services and hosts, but he still can't log in. I don't think it's an apache problem, as he can load the home page for nagios. He get a permission denied error when he clicks on the services or hosts link. Do I need to add him into a contact group or maybe I just need to define him as a contact? We're using ldap to authenticate our users rather than htaccess, if that makes a big difference. Thanks, Irene ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKlisowski at era.pl Fri Jul 11 17:11:17 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Fri, 11 Jul 2003 17:11:17 +0200 Subject: Statusmap layout Message-ID: <20AF50E5F611F84993722DC135DF00BC1B15DD@seth.corponet.era.pl> Hi, How can I change view of my status map from one circle to bench to a tree shown on: http://nagios.sourceforge.net/images/screens/big/statusmap.jpg I tried to put parent_host in host definition into hosts.cfg but it doesn't metter if I put hostname or IP of existing (defined host) but while starting Nagios I get an error. Rafal ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Fri Jul 11 17:21:42 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Fri, 11 Jul 2003 12:21:42 -0300 Subject: RES: [Nagios-users] Message-ID: Andrew, i would do this : # 'restart-spooler' command definition define command{ command_name restart-spooler command_line /usr/local/nagios/libexec/eventhandlers/restart-spooler.sh $HOSTADDRESS$ $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } in the script : rsh $1 net start \"Spooler\" []s Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Sanderson, Andrew [SMTP:Andrew.Sanderson at ahsys.org] > Enviada em: sexta-feira, 11 de julho de 2003 11:48 > Para: Rob Nelson; nagios-users at lists.sourceforge.net > Assunto: RE: [Nagios-users] [Nagios-users] > > Thanks for your help > > I can make the script work if I hardcode the servername or ip address. > > My check command for the event handler looks like this > > # 'restart-spooler' command definition > define command{ > command_name restart-spooler > command_line /usr/local/nagios/libexec/eventhandlers/restart-spooler.sh > $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ > } > > The script I use which is located in the eventhandler directory looks > like this > > rsh carling net start \"Spooler\" > > > This works but only for the one server carling. > > What can I change in the scripts for nagios to read a variable instead > so that I can run the same script against multiple nt servers? > > I am new to linux and nagios. > > Thanks again > > Andrew Sanderson. > > > -----Original Message----- > From: Rob Nelson [mailto:rob at capband.net] > Sent: Friday, July 11, 2003 10:36 AM > To: Sanderson, Andrew; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] [Nagios-users] > > > >/usr/bin/rsh thentservername net start \"Spooler\" > > > >How can I have nagios enter the servername by reading the value of the > >$HOSTADRESS$ variable ? > > Depending on how you have your active directory/nt4 domain structure set > > up, they should respond as an IP (as in \\10.10.0.1). If not, you can > make > sure that /etc/hosts is up to date and use a hostname instead of an IP > address for $HOSTADDRESS$. I'd definitely want it to be the former, but > the > latter is a workable solution, just requires a wee bit more maintenance. > > Also, if you're passing this to an external command, why not just add > another argument for the servername? > > > Rob Nelson > Network Administrator, Capitol Broadband > C: 919-369-1874 > rob at capband.net > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snortbsd at yahoo.com.au Fri Jul 11 17:27:38 2003 From: snortbsd at yahoo.com.au (=?iso-8859-1?q?snort=20bsd?=) Date: Sat, 12 Jul 2003 01:27:38 +1000 (EST) Subject: help!!! Message-ID: <20030711152738.77716.qmail@web42006.mail.yahoo.com> hi all: i got nagios running but it keeps telling me that one device is down but that device actually is up running file. i have exactly three same devices (cisoc) on the same lan; nagios have no problem with other two devices, but that oen. [1057958744] HOST NOTIFICATION: admin;xx-xx-xx01;DOWN;host-notify-by-email;(No output!) i pined from everywhere to that device and it works fine ... checked configure in hosts.cfg and can't find the problem .... tia _dave http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Fri Jul 11 17:45:51 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Fri, 11 Jul 2003 11:45:51 -0400 Subject: Check_snmp Message-ID: <5.1.0.14.0.20030711114341.00b58658@pop.icnet.com.ve> Hi, I?m using the check_snmp plugin, and this was working very well. So, yesterday I changes something in the net-snmp and now the plugin output for the service is: Service check time out. What can I do? Thakns Jeyri ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DanielJ at avatar-cs.net Fri Jul 11 17:55:02 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Fri, 11 Jul 2003 10:55:02 -0500 Subject: NSClient Message-ID: <115F85A8196CD411BBAB0008C75906618207AF@FS01> All, Does the NSClient (http://nsclient.ready2run.nl) work with Nagios? Do any features not work? TIA, Daniel Jimenez Senior Network Engineer Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services 340 N. Sam Houston Parkway E. Suite #265 Voice: 281.999.1300 / 888.503.0503 Fax: 281.999.7070 Web: www.avatar-cs.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From karmik at infinito.it Fri Jul 11 18:20:28 2003 From: karmik at infinito.it (Giulio Chiappini) Date: Fri, 11 Jul 2003 18:20:28 +0200 Subject: Adding users without contactgroups In-Reply-To: References: Message-ID: <5.2.0.9.0.20030711181750.0499a0e8@pop.infinito.it> At 10.01 11/07/2003 -0500, you wrote: >I have a user (manager) who wants to be able to see all host and service >entries on Nagios. He is not in any of our contact groups, nor do we want >to put him in one. I've given him permission in cgi.cfg to view all >services and hosts, but he still can't log in. > >I don't think it's an apache problem, as he can load the home page for >nagios. He get a permission denied error when he clicks on the services or >hosts link. > >Do I need to add him into a contact group or maybe I just need to define >him as a contact? > >We're using ldap to authenticate our users rather than htaccess, if that >makes a big difference. > >Thanks, >Irene Probably the easiest way to solve the problem is to setup a contact group just for him (manager/manager). If you define it as a contact , nagios will return an error while loading asking for a contactgroup definition for the user "manager". ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at ols.inorganic.org Fri Jul 11 18:45:56 2003 From: nagios-users at ols.inorganic.org (Roy S. Rapoport) Date: Fri, 11 Jul 2003 09:45:56 -0700 Subject: Check_snmp In-Reply-To: <5.1.0.14.0.20030711114341.00b58658@pop.icnet.com.ve> References: <5.1.0.14.0.20030711114341.00b58658@pop.icnet.com.ve> Message-ID: <20030711164556.GA6884@nag.inorganic.org> On Fri, Jul 11, 2003 at 11:45:51AM -0400, Jeyri Bautista wrote: > I?m using the check_snmp plugin, and this was working very well. So, > yesterday I changes something in the net-snmp and now the plugin output for > the service is: Service check time out. > > What can I do? Change it back to what it was before you broke it. -roy ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at powered.net Fri Jul 11 19:32:59 2003 From: sourceforge at powered.net (Rainer) Date: Fri, 11 Jul 2003 14:32:59 -0300 (BRT) Subject: Windows Eventlog Addon/Plugin published In-Reply-To: References: Message-ID: <47411.200.220.45.48.1057944779.squirrel@www.powered.net> Hello Martin, That's a very interesting idea. I was reading the plugin examples on your site, and I think I can use it for a idea I had the other day. I want to monitor the 'Application' Eventlog using your plugin, and have Nagios send me a notification when it finds an 'Error' type log from Norton Antivirus stating it has found a virus. The 'Event Source' is "Norton AntiVirus" and the 'Event ID' is "5". The 'Description' is usually something like this: "Virus Found!Virus name: W32.Klez.gen at mm in File C:\somedir\somefile.exe by: Realtime Protection scan. Action: Clean failed : Quarantine succeeded : Access denied". I want the plugin to send me the event description as its $OUTPUT$. My question is: how does your plugin keep track of which event logs were detected? I mean, if the plugin finds an error event such as the one above and send me a notification, will it resend the notification the next time the plugin is run (ex. 20 minutes later)? I want it to send the notification only the first time the event log is detected. Could this be done? Best regards, Rainer Alves Unisys Brazil > Hi, > > we have just released our first public version of a Windows Eventlog > Plugin > for Nagios. > Details can be found on > > http://naplax.sourceforge.net > > This addon allows Nagios to monitor Windows EventLogs by querying an agent > installed on the Windows machine (the agent is part of this package.) > While > by default every event is notified by Nagios, extensive filtering can be > defined through various parameters. You can do "anything but XY" > or"nothing > but XY" notifications or some strange things between these two. > > Martin Schmitz > net&works Netzwerke und Service GmbH > Luetzerodestrasse 12 > D-30161 Hannover, Germany > > PGP fingerprint: 225E A59C C08A 9ED5 9003 01A1 399B BFE0 6450 CA40 > > *** Besuchen Sie uns im Netz: http://www.naw.de !!! *** > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DanielJ at avatar-cs.net Fri Jul 11 19:46:17 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Fri, 11 Jul 2003 12:46:17 -0500 Subject: NSClient Message-ID: <115F85A8196CD411BBAB0008C75906618207B1@FS01> Sorry about the HTML. I specifically selected Plain Text. ugh... outlook. -----Original Message----- From: Daniel Jimenez Sent: Friday, July 11, 2003 10:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient All, Does the NSClient (http://nsclient.ready2run.nl) work with Nagios? Do any features not work? TIA, Daniel Jimenez Senior Network Engineer Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services 340 N. Sam Houston Parkway E. Suite #265 Voice: 281.999.1300 / 888.503.0503 Fax: 281.999.7070 Web: www.avatar-cs.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From JasonT at plumtree.com Fri Jul 11 20:43:25 2003 From: JasonT at plumtree.com (Jason Truong) Date: Fri, 11 Jul 2003 11:43:25 -0700 Subject: question on template based objects Message-ID: I had a question regarding the use of templates. Say for example I have various configuration files such as: servers.cfg network.cfg ups.cfg In my network.cfg file, I have this "host definition template" define host{ name network ; common template check_command check-host-alive max_check_attempts 3 ; Max attempts notifications_enabled 1 ; Host notifications are enabled notification_interval 5 ; Notification Interval notification_period 24x7 ; Notification Period notification_options d,r,u ; Notification Options event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } My question is would I be able to now use this host definition template in my servers.cfg and ups.cfg without having to enter the text list above in my servers.cfg and ups.cfg files. (Basically so that I don't have to enter this host template 3 times) I'm migrating from Netsaint to Nagios and I'm trying to get use to this template based setup. Many thanks. Jason T. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Fri Jul 11 20:51:35 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Fri, 11 Jul 2003 14:51:35 -0400 Subject: check_snmp Message-ID: <5.1.0.14.0.20030711144816.00b670e8@pop.icnet.com.ve> Hi, I try to run in the command line the following instruction /usr/local/nagios/libexec/check_snmp -H 10.2.2.10 -o sysName.0 -C comunidad, but it doesn?t work, don?t show nothing, I a have to type Ctrl-C. And in the plugin output in the nagios web interface show me The service check time out. How, can I do to solve that? Thanks, Jeyri ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Fri Jul 11 21:16:57 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Fri, 11 Jul 2003 14:16:57 -0500 Subject: Windows Eventlog Addon/Plugin published In-Reply-To: <47411.200.220.45.48.1057944779.squirrel@www.powered.net> References: <47411.200.220.45.48.1057944779.squirrel@www.powered.net> Message-ID: <24932.9655584463$1057951512@news.gmane.org> I monitor Windows servers for similar conditions. However, I use Event Reporter on Windows to forward the Event Log to a linux syslog server running syslog-ng. I then use Logmuncher to report on the contents of the logs at 5 minute intervals. I find this much easier and comprehensive than trying to detect logs with Netsaint/Nagios. It would be trivial to modify the setup to send passive alerts to Nagios upon receiving a critical message. Russell On Fri, Jul 11, 2003 at 02:32:59PM -0300, Rainer wrote: > Hello Martin, > > That's a very interesting idea. > I was reading the plugin examples on your site, and I think I can use it > for a idea I had the other day. > I want to monitor the 'Application' Eventlog using your plugin, and have > Nagios send me a notification when it finds an 'Error' type log from > Norton Antivirus stating it has found a virus. > The 'Event Source' is "Norton AntiVirus" and the 'Event ID' is "5". > The 'Description' is usually something like this: > "Virus Found!Virus name: W32.Klez.gen at mm in File C:\somedir\somefile.exe > by: Realtime Protection scan. Action: Clean failed : Quarantine succeeded > : Access denied". > I want the plugin to send me the event description as its $OUTPUT$. > My question is: how does your plugin keep track of which event logs were > detected? I mean, if the plugin finds an error event such as the one above > and send me a notification, will it resend the notification the next time > the plugin is run (ex. 20 minutes later)? I want it to send the > notification only the first time the event log is detected. > Could this be done? > > Best regards, > Rainer Alves > Unisys Brazil > > > Hi, > > > > we have just released our first public version of a Windows Eventlog > > Plugin > > for Nagios. > > Details can be found on > > > > http://naplax.sourceforge.net > > > > This addon allows Nagios to monitor Windows EventLogs by querying an agent > > installed on the Windows machine (the agent is part of this package.) > > While > > by default every event is notified by Nagios, extensive filtering can be > > defined through various parameters. You can do "anything but XY" > > or"nothing > > but XY" notifications or some strange things between these two. > > > > Martin Schmitz > > net&works Netzwerke und Service GmbH > > Luetzerodestrasse 12 > > D-30161 Hannover, Germany > > > > PGP fingerprint: 225E A59C C08A 9ED5 9003 01A1 399B BFE0 6450 CA40 > > > > *** Besuchen Sie uns im Netz: http://www.naw.de !!! *** > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Jul 11 21:26:03 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 11 Jul 2003 15:26:03 -0400 Subject: NSClient Message-ID: <2E3E9736615DD311895D00105A9CADED014BCDDE@eentsvr40.ehvert.com> There is a newer version maintained by someone else. Dig through the archives and you will find a link. Later, dean -----Original Message----- From: Daniel Jimenez [mailto:DanielJ at avatar-cs.net] Sent: July 11, 2003 11:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient All, Does the NSClient (http://nsclient.ready2run.nl ) work with Nagios? Do any features not work? TIA, Daniel Jimenez Senior Network Engineer Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services 340 N. Sam Houston Parkway E. Suite #265 Voice: 281.999.1300 / 888.503.0503 Fax: 281.999.7070 Web: www.avatar-cs.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From DanielJ at avatar-cs.net Fri Jul 11 21:15:16 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Fri, 11 Jul 2003 14:15:16 -0500 Subject: NSClient Message-ID: <115F85A8196CD411BBAB0008C75906618207B2@FS01> Any Idea as to the name? -----Original Message----- From: Dean Bishop [mailto:dbishop at ehvert.com] Sent: Friday, July 11, 2003 2:26 PM To: Daniel Jimenez; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSClient There is a newer version maintained by someone else. Dig through the archives and you will find a link. Later, dean -----Original Message----- From: Daniel Jimenez [mailto:DanielJ at avatar-cs.net] Sent: July 11, 2003 11:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient All, Does the NSClient (http://nsclient.ready2run.nl) work with Nagios? Do any features not work? TIA, Daniel Jimenez Senior Network Engineer Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services 340 N. Sam Houston Parkway E. Suite #265 Voice: 281.999.1300 / 888.503.0503 Fax: 281.999.7070 Web: www.avatar-cs.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmoore at ufi.com Fri Jul 11 21:32:19 2003 From: dmoore at ufi.com (Dick Moore) Date: Fri, 11 Jul 2003 20:32:19 +0100 Subject: Alerts with x-priority Message-ID: <0614424E582B9843BC3CF2B909921CC601403E12@ufi-exch1.hq.ufi.com> Hi I want to modify the host-notify-by-email command such that it gives the email a high priority using the x-priority (yep I know its not rfc complient but my boss really wants it) I have been fumbling around trying to do this without sucess and wandered if anyone out there had done this. The idea is that we only forward high priority alerts to blackberry wireless pagers via exchange (wash my mouth out with soap and water) Any help greatfully accepted Thanks Dick -------------------------- Dick Moore Systems Deployment Manager Ufi ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Fri Jul 11 21:33:19 2003 From: td3201 at yahoo.com (Terry) Date: Fri, 11 Jul 2003 12:33:19 -0700 (PDT) Subject: NSClient In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCDDE@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCDDE@eentsvr40.ehvert.com> Message-ID: <20030711193319.76193.qmail@web80508.mail.yahoo.com> Yes, it works. I have several windows hosts running nsclient successfully. > -----Original Message----- > From: Daniel Jimenez [mailto:DanielJ at avatar-cs.net] > Sent: July 11, 2003 11:55 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSClient > > All, > Does the NSClient (http://nsclient.ready2run.nl > ) work with Nagios? > Do any features not work? > > TIA, > Daniel Jimenez > Senior Network Engineer > Avatar Computer Solutions, Inc. > Network Support, Voice / Data Cabling, and Internet > Services > 340 N. Sam Houston Parkway E. Suite #265 > Voice: 281.999.1300 / 888.503.0503 > Fax: 281.999.7070 > Web: www.avatar-cs.net > ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JasonT at plumtree.com Fri Jul 11 21:36:35 2003 From: JasonT at plumtree.com (Jason Truong) Date: Fri, 11 Jul 2003 12:36:35 -0700 Subject: check_snmp Message-ID: hmm...first off, do you have access to the device or machine via snmp (udp port 161)? Second, is the device listening on what community name.... -----Original Message----- From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] Sent: Friday, July 11, 2003 11:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp Hi, I try to run in the command line the following instruction /usr/local/nagios/libexec/check_snmp -H 10.2.2.10 -o sysName.0 -C comunidad, but it doesn?t work, don?t show nothing, I a have to type Ctrl-C. And in the plugin output in the nagios web interface show me The service check time out. How, can I do to solve that? Thanks, Jeyri ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From als at thangorodrim.de Fri Jul 11 21:34:44 2003 From: als at thangorodrim.de (Alexander Schreiber) Date: Fri, 11 Jul 2003 21:34:44 +0200 Subject: NSClient In-Reply-To: <115F85A8196CD411BBAB0008C75906618207AF@FS01> References: <115F85A8196CD411BBAB0008C75906618207AF@FS01> Message-ID: <20030711193444.GB14427@mordor.angband.thangorodrim.de> On Fri, Jul 11, 2003 at 10:55:02AM -0500, Daniel Jimenez wrote: > > Does the NSClient (http://nsclient.ready2run.nl) work with Nagios? Do any > features not work? I have it running to monitor various items on a Windows NT 4 workstation and it works fine so far - no problems found. Regards, Alex. -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkazmier at sofast.net Fri Jul 11 21:56:22 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Fri, 11 Jul 2003 13:56:22 -0600 Subject: SNMPPD Compile Message-ID: <00b301c347e6$80f313d0$6701010a@kazkdsxp> I wanted to start polling a lot of devices a lot more frequently, so I was looking at utilizing the SNMPPD package. On my NMS machine I run net_snmp, nagios, mrtg and few other NMS tools, so I should have all necessary packages, however, running ./configure for the SNMPPD (both 0.4.1 and 0.4.2) I get the following error: configure: error: Cannot find SNMP header files under Any help would be appreciated. I thought I remembered reading somewhere about some perl modules that had to be installed, I looked back through as much documentation as I could find and could not find the info. Thanks, --Kaz -------------- next part -------------- An HTML attachment was scrubbed... URL: From Thomas.Edwards at AccredoHealth.com Fri Jul 11 22:16:03 2003 From: Thomas.Edwards at AccredoHealth.com (Edwards, Thomas) Date: Fri, 11 Jul 2003 15:16:03 -0500 Subject: Alerts with x-priority Message-ID: <6E27DC50E19EC641A60B5AD65594702D3F1451@bna1pxch01.accredo.acdo> A solution you could do on an individual basis, is (if your using the newer version of BB software) have a rule in outlook dump the nagios messages to a folder and set a rule in the BB software to forward those messages as well as High Priority messages from other sources. -----Original Message----- From: Dick Moore [mailto:dmoore at ufi.com] Sent: Friday, July 11, 2003 2:32 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Alerts with x-priority Hi I want to modify the host-notify-by-email command such that it gives the email a high priority using the x-priority (yep I know its not rfc complient but my boss really wants it) I have been fumbling around trying to do this without sucess and wandered if anyone out there had done this. The idea is that we only forward high priority alerts to blackberry wireless pagers via exchange (wash my mouth out with soap and water) Any help greatfully accepted Thanks Dick -------------------------- Dick Moore Systems Deployment Manager Ufi ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee, and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please advise us by calling (901) 385 3688, or emailing mailgateway at accredohealth.net, and then delete this message and all copies and backups thereof. Thank you. ************************************************************ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Edwards at AccredoHealth.com Fri Jul 11 22:18:08 2003 From: Thomas.Edwards at AccredoHealth.com (Edwards, Thomas) Date: Fri, 11 Jul 2003 15:18:08 -0500 Subject: NSClient Message-ID: <6E27DC50E19EC641A60B5AD65594702D3F1452@bna1pxch01.accredo.acdo> after seeing the earlier email I downloaded the current client from the link down there and got it to work as is, after changing the format of the checkcommands to fit the checkcommand.cfg. Works great, some of the syntax is different for setting up the actual check commands than the examples, but all in all works well. Tom -----Original Message----- From: Daniel Jimenez [mailto:DanielJ at avatar-cs.net] Sent: Friday, July 11, 2003 2:15 PM To: 'Dean Bishop'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSClient Any Idea as to the name? -----Original Message----- From: Dean Bishop [mailto:dbishop at ehvert.com ] Sent: Friday, July 11, 2003 2:26 PM To: Daniel Jimenez; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSClient There is a newer version maintained by someone else. Dig through the archives and you will find a link. Later, dean -----Original Message----- From: Daniel Jimenez [mailto:DanielJ at avatar-cs.net ] Sent: July 11, 2003 11:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient All, Does the NSClient (http://nsclient.ready2run.nl ) work with Nagios? Do any features not work? TIA, Daniel Jimenez Senior Network Engineer Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services 340 N. Sam Houston Parkway E. Suite #265 Voice: 281.999.1300 / 888.503.0503 Fax: 281.999.7070 Web: www.avatar-cs.net ************************************************************ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee, and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please advise us by calling (901) 385 3688, or emailing mailgateway at accredohealth.net, and then delete this message and all copies and backups thereof. Thank you. ************************************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: From moti at flncs.com Fri Jul 11 22:33:54 2003 From: moti at flncs.com (Moti Levy) Date: Fri, 11 Jul 2003 16:33:54 -0400 Subject: NSClient References: <115F85A8196CD411BBAB0008C75906618207AF@FS01> <20030711193444.GB14427@mordor.angband.thangorodrim.de> Message-ID: <031001c347eb$c2fca610$4c01a8c0@bvg6> me too on nt4,win2k and XP ----- Original Message ----- From: "Alexander Schreiber" To: Sent: Friday, July 11, 2003 3:34 PM Subject: Re: [Nagios-users] NSClient > On Fri, Jul 11, 2003 at 10:55:02AM -0500, Daniel Jimenez wrote: > > > > Does the NSClient (http://nsclient.ready2run.nl) work with Nagios? Do any > > features not work? > > I have it running to monitor various items on a Windows NT 4 workstation > and it works fine so far - no problems found. > > Regards, > Alex. > -- > "Opportunity is missed by most people because it is dressed in overalls and > looks like work." -- Thomas A. Edison > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Fri Jul 11 22:58:18 2003 From: drich at employees.org (Daniel Rich) Date: Fri, 11 Jul 2003 13:58:18 -0700 Subject: Alerts with x-priority In-Reply-To: <0614424E582B9843BC3CF2B909921CC601403E12@ufi-exch1.hq.ufi.com> References: <0614424E582B9843BC3CF2B909921CC601403E12@ufi-exch1.hq.ufi.com> Message-ID: <3F0F24EA.5060406@employees.org> Dick Moore wrote: > Hi > > I want to modify the host-notify-by-email command such that it gives the email a high priority using the x-priority (yep I know its not rfc complient but my boss really wants it) > > I have been fumbling around trying to do this without sucess and wandered if anyone out there had done this. > > The idea is that we only forward high priority alerts to blackberry wireless pagers via exchange (wash my mouth out with soap and water) > > Any help greatfully accepted I just tried this on my machine, so you should be able to do it by calling sendmail directly instead of using /bin/mail. That will allow you to set the headers. For example: define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "To: $CONTACTEMAIL$\nSubject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\nX-Priority: 1 (Highest)\n\n***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$ ($HOSTNAME$)\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$\n\nSee http://netmon.pdi.com/nagios/ for more information." | /usr/lib/sendmail -t } BTW, all headers starting with X- are RFC compliant, they just aren't "official". -- 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Michael.Wirtgen at miwi-dv.com Sat Jul 12 02:08:12 2003 From: Michael.Wirtgen at miwi-dv.com (Michael.Wirtgen at miwi-dv.com) Date: Sat, 12 Jul 2003 02:08:12 +0200 Subject: NSClient Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B41E501A@ws_server.intern.westernsystems.de> The link for the newer version is: http://support.tsmgsoftware.com/ cheers MiWi -----Original Message----- From: Dean Bishop [mailto:dbishop at ehvert.com] Sent: Freitag, 11. Juli 2003 21:26 To: 'Daniel Jimenez'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSClient There is a newer version maintained by someone else. Dig through the archives and you will find a link. Later, dean -----Original Message----- From: Daniel Jimenez [mailto:DanielJ at avatar-cs.net] Sent: July 11, 2003 11:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient All, Does the NSClient (http://nsclient.ready2run.nl) work with Nagios? Do any features not work? TIA, Daniel Jimenez Senior Network Engineer Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services 340 N. Sam Houston Parkway E. Suite #265 Voice: 281.999.1300 / 888.503.0503 Fax: 281.999.7070 Web: www.avatar-cs.net ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karmik at infinito.it Sat Jul 12 12:05:48 2003 From: karmik at infinito.it (Giulio Chiappini) Date: Sat, 12 Jul 2003 12:05:48 +0200 Subject: question on template based objects In-Reply-To: References: Message-ID: <5.2.0.9.0.20030712120357.00a958f0@pop.infinito.it> At 11.43 11/07/2003 -0700, you wrote: >I had a question regarding the use of templates. >Say for example I have various configuration files such as: > >servers.cfg >network.cfg >ups.cfg > >In my network.cfg file, I have this "host definition template" > >define host{ > name network ; common template > check_command check-host-alive > max_check_attempts 3 ; Max attempts > notifications_enabled 1 ; Host notifications are > enabled > notification_interval 5 ; Notification Interval > notification_period 24x7 ; Notification Period > notification_options d,r,u ; Notification Options > event_handler_enabled 1 ; Host event handler is > enabled > flap_detection_enabled 1 ; Flap detection is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > >My question is would I be able to now use this host definition template in >my servers.cfg and ups.cfg without having to enter the text list above in >my servers.cfg and ups.cfg files. (Basically so that I don't have to enter >this host template 3 times) > >I'm migrating from Netsaint to Nagios and I'm trying to get use to this >template based setup. > >Many thanks. > >Jason T. Of course , nagios read definitions from configuration files and load them in the same envinroment. This is the very own purpose of template , so you really have to set the template just one time. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nemir at mindless.com Sat Jul 12 19:44:13 2003 From: nemir at mindless.com (nemir nemiria) Date: Sun, 13 Jul 2003 03:44:13 +1000 Subject: what is wrong with my syntax Message-ID: <20030712174413.3610.qmail@mail.com> Hiya! I am wondering what is wrong with my syntax.... I am trying to get NAgios to send me an SMS and an email in events. In contacts.cfg I have an entry that looks like this: # 'nemir' contact definition define contact{ contact_name nemir alias nemir nemiria service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,service-notify-by-sms host_notification_commands host-notify-by-email email nemir at mindless.com } I have an entry in misccommands.cfg: # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICED ESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } # 'service-notify-by-sms' command definition define command{ command_name service-notify-by-sms command_line /bin/echo -e "*Nagios*\n$NOTIFICATIONTYPE$\n$SERVICEDESC$\n$HOSTALIAS$\n$SERVICESTATE$\n$DATETIME$\nInfo: $ OUTPUT$" | /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ 2>/dev/null } Something screwy goes on though. When I remove the ,service-notify-by-sms entry, I get emails as expected. When I add it, I don't get either emails or sms messgaes. Is there something dumb I have overlooked? I see in other config files that entries separated by a comma like thsi are fine. The docs don't give a specific example of this sort of thing, though. TIA Nemir -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Sat Jul 12 20:36:37 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Sat, 12 Jul 2003 11:36:37 -0700 Subject: question on template based objects In-Reply-To: References: Message-ID: <20030712183637.GA3897@UnderGrid.net> The other option if you're really wanting to seperate things to that degree is to make a templates.cfg file and put all your templates in that file... Then you can have it loaded first then load all your other configuration files.. Regards, Jeremy On Fri, Jul 11, 2003 at 11:43:25AM -0700, Jason Truong wrote: > > I had a question regarding the use of templates. > Say for example I have various configuration files such as: > > servers.cfg > network.cfg > ups.cfg > > In my network.cfg file, I have this "host definition template" > > define host{ > ... > } > > My question is would I be able to now use this host definition template in my servers.cfg and ups.cfg without having to enter the text list above in my servers.cfg and ups.cfg files. (Basically so that I don't have to enter this host template 3 times) > > I'm migrating from Netsaint to Nagios and I'm trying to get use to this template based setup. > > Many thanks. > > Jason T. > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nemir at mindless.com Sun Jul 13 06:12:24 2003 From: nemir at mindless.com (nemir nemiria) Date: Sun, 13 Jul 2003 14:12:24 +1000 Subject: Monitoring process may not be running! Message-ID: <20030713041224.35202.qmail@mail.com> Hiya. I have read the faq http://www.nagios.org/faqs/viewfaq.php?faq_id=170, and I have made the following entry to my cgi.cfg file: nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg' after running ps -aux | grep nag and seeing this entry: nagios 10922 0.0 0.1 392 628 ?? Ss 1:57PM 0:00.32 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Isn't that what the minstructionss in the FAQ are telling me to do? I have also tried nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' but this did not make any difference. All suggestions would be greatly appreciated! Nemir -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at clack.org.uk Sun Jul 13 11:18:36 2003 From: david at clack.org.uk (David Clack) Date: Sun, 13 Jul 2003 10:18:36 +0100 Subject: Windows Eventlog Addon/Plugin published In-Reply-To: <20030711191657.GU3751@soja.ksnet.com.> References: <20030711191657.GU3751@soja.ksnet.com.> Message-ID: <001601c3491f$c08b6300$0501a8c0@chewbacca> Interesting seeing how other people monitor windows event logs with nagios. I use the dumpel.exe (dump event log) tool that comes with the windows nt resource kit, I just dump the application, system & security logs from all windows servers to a samba share on the nagios machine. Logs can be dumped to comma or tab separated files. Then I just use awk/sh scripts to scan the logs and report on events. Handy to awk in html & tags so they can be linked to & displayed in html. I like this way as it saves having a client on the windows machines. I just run a batch file every few mins off one of the windows servers & that dumps the logs off all of them. Anyone know what happened to NSClientEVL? Or got any other ways of doing this? Cheers Dave. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Russell Adams Sent: 11 July 2003 20:17 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: Windows Eventlog Addon/Plugin published I monitor Windows servers for similar conditions. However, I use Event Reporter on Windows to forward the Event Log to a linux syslog server running syslog-ng. I then use Logmuncher to report on the contents of the logs at 5 minute intervals. I find this much easier and comprehensive than trying to detect logs with Netsaint/Nagios. It would be trivial to modify the setup to send passive alerts to Nagios upon receiving a critical message. Russell On Fri, Jul 11, 2003 at 02:32:59PM -0300, Rainer wrote: > Hello Martin, > > That's a very interesting idea. > I was reading the plugin examples on your site, and I think I can use it > for a idea I had the other day. > I want to monitor the 'Application' Eventlog using your plugin, and have > Nagios send me a notification when it finds an 'Error' type log from > Norton Antivirus stating it has found a virus. > The 'Event Source' is "Norton AntiVirus" and the 'Event ID' is "5". > The 'Description' is usually something like this: > "Virus Found!Virus name: W32.Klez.gen at mm in File C:\somedir\somefile.exe > by: Realtime Protection scan. Action: Clean failed : Quarantine succeeded > : Access denied". > I want the plugin to send me the event description as its $OUTPUT$. > My question is: how does your plugin keep track of which event logs were > detected? I mean, if the plugin finds an error event such as the one above > and send me a notification, will it resend the notification the next time > the plugin is run (ex. 20 minutes later)? I want it to send the > notification only the first time the event log is detected. > Could this be done? > > Best regards, > Rainer Alves > Unisys Brazil > > > Hi, > > > > we have just released our first public version of a Windows Eventlog > > Plugin > > for Nagios. > > Details can be found on > > > > http://naplax.sourceforge.net > > > > This addon allows Nagios to monitor Windows EventLogs by querying an agent > > installed on the Windows machine (the agent is part of this package.) > > While > > by default every event is notified by Nagios, extensive filtering can be > > defined through various parameters. You can do "anything but XY" > > or"nothing > > but XY" notifications or some strange things between these two. > > > > Martin Schmitz > > net&works Netzwerke und Service GmbH > > Luetzerodestrasse 12 > > D-30161 Hannover, Germany > > > > PGP fingerprint: 225E A59C C08A 9ED5 9003 01A1 399B BFE0 6450 CA40 > > > > *** Besuchen Sie uns im Netz: http://www.naw.de !!! *** > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nemir at mindless.com Sun Jul 13 11:32:49 2003 From: nemir at mindless.com (nemir nemiria) Date: Sun, 13 Jul 2003 19:32:49 +1000 Subject: what is wrong with my syntax - solved Message-ID: <20030713093249.23217.qmail@mail.com> > I am trying to get NAgios to send me an SMS and an email in events. In contacts.cfg I have an entry that looks like this: > Something screwy goes on though. When I remove the ,service-notify-by-sms entry, I get emails as expected. When I add it, I don't get either emails or sms messgaes. I don't quite know why the emails stopped working mostly because they started to all of a sudden. The really cool thing is that I have figured out why the sms messages weren't getting through... They were exceeding the 160 character limit of gnokii. I think pretty much all this is cleared up. Thanks for listening. nemir -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Sun Jul 13 16:19:14 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Sun, 13 Jul 2003 22:19:14 +0800 Subject: Ping problems In-Reply-To: <002c01c3474a$57fff4d0$6d0a0a0a@bcl977307> References: <002c01c3474a$57fff4d0$6d0a0a0a@bcl977307> Message-ID: <200307132219.22963.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I am still facing the same problem..sorry. Need advise here. Current Status: UNKNOWN (Has been acknowledged) Status Information: /bin/ping -n -U -c 1 xx.xxx.xx.xx I am running the following version. Nagios 1.0 check_ping (nagios-plugins 1.3.0) 1.11 O/S version Linux 2.4.20 #1 Sun Apr 13 08:11:48 UTC 2003 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz GenuineIntel GNU/Linux # su nagios Cannot execute /dev/null: Permission denied # ls -l /bin/ping - -rwsr-xr-x 1 root root 18324 Apr 13 13:43 /bin/ping On Friday 11 July 2003 09:18, Jamie Baddeley wrote: > su nagios and executing the command will prove that you have a > hardened system. > > chmod u+s /bin/ping > > hth > > jamie > ----- Original Message ----- > From: > To: > Sent: Friday, July 11, 2003 11:46 AM > Subject: [Nagios-users] Ping problems > > > I copied my Netsaint install from one system to a newer one, went from RH > > 7.2 to RH 8 and now the check_ping service does not work correctly. All I > get is the actual ping command in service status window. I have updated to > the latest Nagios check_ping plugin and even copied /bin/ping from a RH 7.2 > system, nothing seems to help. Running check_ping by hand returns > correctly, but not when Netsaint runs. I put /bin/echo in front of the > check_ping command in commands.cfg, running the output from that even > returns correct. ARG !!!! What am I doing wrong? Please help. > > > - Jamie Bohr > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps1 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/EWpnNgvTa7Hj2AURAjhTAJ96PY/mKhePfKcAVsXzcvB1wmEcuACeLOSv WLJ+hG6cTOO7LjM6jbU/x7s= =87Fc -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 4jet at overnite.com Sun Jul 13 18:54:31 2003 From: 4jet at overnite.com (Eric Forgette) Date: Sun, 13 Jul 2003 12:54:31 -0400 Subject: Problems compiling: Undefined symbol Message-ID: Hello, While looking for an answer in the archives, I found my question with no answer... The good news is I've discovered the solution. The gdImageCreateFromJpeg requires libjpeg. If you only 'make', 'make install' libjpeg, you don't get the libraries and includes in /usr/local! You must also 'make install-lib', 'make install-headers'. Then configure gd! If you use gd 2.X you should now see: ** Configuration summary for gd 2.X.XX: Support for PNG library: yes Support for JPEG library: yes Support for Freetype 2.x library: no Support for Xpm library: no Run make, 'make install' for gd, then run 'make all' in the nagios build area again. I hope this helps others trying to run Nagios on Solaris. Regards, -Eric ---- Eric P. Forgette Unix Systems Administrator http://homepage.mac.com/e4jet/sysadm/ > -----Original Message----- > From: Chet Luther [mailto:chet at rc...] > Sent: 21 February 2002 00:19 > To: nagios-users at li... > Subject: [Nagios-users] Problems compiling: Undefined symbol > gdImageCreateFromJpeg. > > > During the compile I get this issue: > > --- BEGIN CUT --- > gcc -g -O2 -I/opt/pgsql/include -I/opt/include > -I/usr/perl5/5.00503/sun4- > solaris/CORE -DHAVE_CONFIG_H -DNSCGI -L/opt/pgsql/lib -L/opt/lib -lpq > statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c > ./xdata/xodtemplate.c ../common/statusdata.c > ./xdata/xsddb.c -lgd -lpng -ljpeg -lttf -lz -lm edata.o > ../xdata/xeddb.c -o > statusmap.cgi > Undefined first referenced > symbol in file > gdImageCreateFromJpeg /var/tmp/ccOZXMcS.o > ld: fatal: Symbol referencing errors. No output written to > statusmap.cgi > collect2: ld returned 1 exit status > make: *** [statusmap.cgi] Error 1 > --- END CUT --- > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dannf at dannf.org Mon Jul 14 07:28:06 2003 From: dannf at dannf.org (dann frazier) Date: Sun, 13 Jul 2003 23:28:06 -0600 Subject: no alerts or trends, but updated state Message-ID: <20030714052806.GA4173@dannf.org> hey, i just upgraded from netsaint to nagio-mysql on a machine running debian/testing. i used the provided script to do the conversion. however, e-mail alerts seem to be broken, and history data is unavailable via the web inerface (e.g, trends shows 100% indeterminate states). the overview page appears to be functional though - it knows when a service is down. nagios-mysql 1.1-1, netsaint-plugins 1.2.9.4-18.1. does anyone have an idea on what might be wrong? ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton at inter.net Mon Jul 14 10:37:40 2003 From: ton at inter.net (Ton Machielsen) Date: Mon, 14 Jul 2003 10:37:40 +0200 Subject: nrpe and nrpe.conf examples? In-Reply-To: <20030714052806.GA4173@dannf.org> References: <20030714052806.GA4173@dannf.org> Message-ID: Hi all, I'm new on the list and new to Nagios, so forgive me if i'm ignorant. ;-) I'm going to play a bit with nrpe to be able to check diskspace and cpu utilization on remote hosts. Does anybody have this working and does anybody have any examples of check_nrpe checkcommands and nrpe.conf files? Thanks a lot, Ton. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.carter at hyderconsulting.com Mon Jul 14 15:21:50 2003 From: james.carter at hyderconsulting.com (james.carter at hyderconsulting.com) Date: Mon, 14 Jul 2003 14:21:50 +0100 Subject: problems with check_nagios Message-ID: I've been running netsaint and now nagios for a couple of years now with no problem, however over the last weekend I've had a problem with check_nagios. It returns a correct check to say it can find the local processes but the last update time for the status.log file id huge (around 1058188037 seconds). As this breaks the 5 minute check in check_nagios all the cgi interfaces are blank. I'm running on Debian 3.0 with all the latest updates installed on x86. Time is set via ntp and is correct. Nagios is 1.1 (built from source) but the same problem occurs in 1.0 plugins are 1.3.1 (built from source) any ideas ? thanks James Carter Systems Manager UK IT Infrastructure Team Hyder Consulting Ltd. mailto:james.carter at hyderconsulting.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Mon Jul 14 15:45:32 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Mon, 14 Jul 2003 21:45:32 +0800 Subject: Ping problems In-Reply-To: <0e5301c349f3$cbecf310$c800a8c0@mediamogul> References: <200307132219.22963.jasmine.chua@securecirt.com> <0e5301c349f3$cbecf310$c800a8c0@mediamogul> Message-ID: <200307142145.38487.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes I have added other services including ping service. I am still trying to figure out why. Thanks for reply. Jasmine On Monday 14 July 2003 18:36, you wrote: > Hi, > Have you added a service to this host? > I found that after I added a service it began to ping the host correctly. > YMMV > > Paraic > www.host.ie > > ----- Original Message ----- > From: "Jasmine" > To: "Jamie Baddeley" > Cc: > Sent: Sunday, July 13, 2003 3:19 PM > Subject: Re: [Nagios-users] Ping problems > > > Hi > > I am still facing the same problem..sorry. Need advise here. > > Current Status: UNKNOWN (Has been acknowledged) > Status Information: /bin/ping -n -U -c 1 xx.xxx.xx.xx > > I am running the following version. > > Nagios 1.0 > check_ping (nagios-plugins 1.3.0) 1.11 > > O/S version > Linux 2.4.20 #1 Sun Apr 13 08:11:48 UTC 2003 i686 Intel(R) Pentium(R) 4 CPU > 1.70GHz GenuineIntel GNU/Linux > > # su nagios > Cannot execute /dev/null: Permission denied > # ls -l /bin/ping > -rwsr-xr-x 1 root root 18324 Apr 13 13:43 /bin/ping > > On Friday 11 July 2003 09:18, Jamie Baddeley wrote: > > su nagios and executing the command will prove that you have a > > hardened system. > > > > chmod u+s /bin/ping > > > > hth > > > > jamie > > ----- Original Message ----- > > From: > > To: > > Sent: Friday, July 11, 2003 11:46 AM > > Subject: [Nagios-users] Ping problems > > > > > I copied my Netsaint install from one system to a newer one, went from > > RH > > > 7.2 to RH 8 and now the check_ping service does not work correctly. All > > I get is the actual ping command in service status window. I have > > updated > > to > > > the latest Nagios check_ping plugin and even copied /bin/ping from a RH > > 7.2 > > > system, nothing seems to help. Running check_ping by hand returns > > correctly, but not when Netsaint runs. I put /bin/echo in front of the > > check_ping command in commands.cfg, running the output from that even > > returns correct. ARG !!!! What am I doing wrong? Please help. > > > > > - Jamie Bohr > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Parasoft > > > Error proof Web apps, automate testing & more. > > > Download & eval WebKing and get a free book. > > > www.parasoft.com/bulletproofapps1 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps1 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/ErQBNgvTa7Hj2AURAnHWAJ9Qgf3zHRsfIwxKQMXAXAt6zQM9TgCgiIhF jMBInfA6qXWRCO9mRiFCfR8= =41zq -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Mon Jul 14 16:02:06 2003 From: td3201 at yahoo.com (Terry) Date: Mon, 14 Jul 2003 07:02:06 -0700 (PDT) Subject: strange behavior - timeperiod problem? Message-ID: <20030714140206.62060.qmail@web80502.mail.yahoo.com> Hello, I have defined a service that is to be checked differently based on the timeperiod. For some reason, the service wasnt checked over the weekend. Here are the timeperiods involved: define timeperiod{ timeperiod_name maintenence alias Maintenence Period sunday 01:00-04:15 monday 01:00-04:15 tuesday 01:00-04:15 wednesday 01:00-04:15 thursday 01:00-04:15 friday 01:00-04:15 saturday 01:00-04:15 } define timeperiod{ timeperiod_name nonmaintenence alias Non-Maintenence Period sunday 04:15-01:00 monday 04:15-01:00 tuesday 04:15-01:00 wednesday 04:15-01:00 thursday 04:15-01:00 friday 04:15-01:00 saturday 04:15-01:00 } Here are the service definitions: define service{ use generic-service host_name cmsws01 service_description SLS-Non-Maintenence is_volatile 0 check_period nonmaintenence normal_check_interval 120 contact_groups warning,critical notification_interval 120 notification_period nonmaintenence notification_options w,u,c,r check_command check_ping } define service{ use generic-service host_name cmsws01 service_description SLS-Maintenence is_volatile 0 check_period maintenence normal_check_interval 120 contact_groups warning-critical-no-pager notification_interval 120 notification_period maintenence notification_options w,u,c,r check_command check_ping } Finally, here is the webpage that shows the service wasnt checked over the weekend: Current Status: OK Status Information: OK. ping is OK. Current Attempt: 1/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 2003-07-11 10:01:16 Status Data Age: 2d 22h 57m 58s Next Scheduled Active Check: N/A Latency: < 1 second Check Duration: < 1 second Last State Change: 2003-07-11 08:43:37 Current State Duration: 3d 0h 15m 37s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? NO Percent State Change: 0.00% In Scheduled Downtime? NO Last Update: 2003-07-14 08:59:01 Notice the last check time, last update, and next scheduled active check.... thanks for the help! ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy at droidmcse.com Mon Jul 14 16:03:39 2003 From: andy at droidmcse.com (Andy) Date: Mon, 14 Jul 2003 10:03:39 -0400 (EDT) Subject: Windows Eventlog Addon/Plugin published In-Reply-To: <001601c3491f$c08b6300$0501a8c0@chewbacca> References: <001601c3491f$c08b6300$0501a8c0@chewbacca> Message-ID: <41527.63.102.39.70.1058191419.squirrel@www.atcomputerconsulting.com> I might be wrong on this, but I'm pretty sure that the dumbel dumps the whole log for the day. You can't break it down into smaller increments - or the way the checklog2.pl scripts works but marking where it left off. I like your method but wouldn't that cause a huge load later in the day as the logs fill up more and more? > > Interesting seeing how other people monitor windows event logs with > nagios. > I use the dumpel.exe (dump event log) tool that comes with the windows > nt resource kit, I just dump the application, system & security logs > from all windows servers to a samba share on the nagios machine. Logs > can be dumped to comma or tab separated files. Then I just use awk/sh > scripts to scan the logs and report on events. Handy to awk in html & >
tags so they can be linked to & displayed in html. > I like this way as it saves having a client on the windows machines. I > just run a batch file every few mins off one of the windows servers & > that dumps the logs off all of them. > > Anyone know what happened to NSClientEVL? Or got any other ways of doing > this? > Cheers > Dave. > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Russell > Adams > Sent: 11 July 2003 20:17 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: Windows Eventlog Addon/Plugin published > > I monitor Windows servers for similar conditions. > > However, I use Event Reporter on Windows to forward the Event Log to a > linux syslog server running syslog-ng. I then use Logmuncher to report > on the contents of the logs at 5 minute intervals. > > I find this much easier and comprehensive than trying to detect logs > with Netsaint/Nagios. It would be trivial to modify the setup to send > passive alerts to Nagios upon receiving a critical message. > > Russell > > On Fri, Jul 11, 2003 at 02:32:59PM -0300, Rainer wrote: >> Hello Martin, >> >> That's a very interesting idea. >> I was reading the plugin examples on your site, and I think I can use > it >> for a idea I had the other day. >> I want to monitor the 'Application' Eventlog using your plugin, and > have >> Nagios send me a notification when it finds an 'Error' type log from >> Norton Antivirus stating it has found a virus. >> The 'Event Source' is "Norton AntiVirus" and the 'Event ID' is "5". >> The 'Description' is usually something like this: >> "Virus Found!Virus name: W32.Klez.gen at mm in File > C:\somedir\somefile.exe >> by: Realtime Protection scan. Action: Clean failed : Quarantine > succeeded >> : Access denied". >> I want the plugin to send me the event description as its $OUTPUT$. >> My question is: how does your plugin keep track of which event logs > were >> detected? I mean, if the plugin finds an error event such as the one > above >> and send me a notification, will it resend the notification the next > time >> the plugin is run (ex. 20 minutes later)? I want it to send the >> notification only the first time the event log is detected. >> Could this be done? >> >> Best regards, >> Rainer Alves >> Unisys Brazil >> >> > Hi, >> > >> > we have just released our first public version of a Windows Eventlog >> > Plugin >> > for Nagios. >> > Details can be found on >> > >> > http://naplax.sourceforge.net >> > >> > This addon allows Nagios to monitor Windows EventLogs by querying an > agent >> > installed on the Windows machine (the agent is part of this > package.) >> > While >> > by default every event is notified by Nagios, extensive filtering > can be >> > defined through various parameters. You can do "anything but XY" >> > or"nothing >> > but XY" notifications or some strange things between these two. >> > >> > Martin Schmitz >> > net&works Netzwerke und Service GmbH >> > Luetzerodestrasse 12 >> > D-30161 Hannover, Germany >> > >> > PGP fingerprint: 225E A59C C08A 9ED5 9003 01A1 399B BFE0 6450 CA40 >> > >> > *** Besuchen Sie uns im Netz: http://www.naw.de !!! *** >> > >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by: Parasoft >> Error proof Web apps, automate testing & more. >> Download & eval WebKing and get a free book. >> www.parasoft.com/bulletproofapps1 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Jul 14 16:15:48 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 14 Jul 2003 09:15:48 -0500 Subject: scheduling recurring downtime? Message-ID: <16146.47892.671701.167713@montanaro.dyndns.org> One machine here gets rebooted every Sunday at 1PM. It's down for a couple minutes at most, but our in-house monitor still notices. More generally, our regular maintenance window is Sunday from 1AM to noon, so machines are sometimes taken down then. When I switch over to Nagios I'd like to avoid such spurious notices. I know how to schedule a specific downtime period. Is there a way to schedule a recurring downtime short of setting up a cron job to submit it? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Mon Jul 14 16:39:41 2003 From: td3201 at yahoo.com (Terry) Date: Mon, 14 Jul 2003 07:39:41 -0700 (PDT) Subject: scheduling recurring downtime? In-Reply-To: <16146.47892.671701.167713@montanaro.dyndns.org> References: <16146.47892.671701.167713@montanaro.dyndns.org> Message-ID: <20030714143941.93877.qmail@web80503.mail.yahoo.com> I too am trying to accomplish this. What I did, but not quite working yet, is create two new timeperiods. One called maintenence and another nonmaintenence. Then fill the times in as appropriate. Create two services as well, one for maintenence, and another for nonmaintence. Do whatever checks you need during this time. YOu can then turn off notifications or tailor them as needed during your maintenence period. The major drawback to this idea is that you have to have two services for each 1 service, one for nonmaintence and another for the maintenence period. I hope there is a clever way to get around this. --- Skip Montanaro wrote: > > One machine here gets rebooted every Sunday at 1PM. > It's down for a couple > minutes at most, but our in-house monitor still > notices. More generally, > our regular maintenance window is Sunday from 1AM to > noon, so machines are > sometimes taken down then. When I switch over to > Nagios I'd like to avoid > such spurious notices. I know how to schedule a > specific downtime period. > Is there a way to schedule a recurring downtime > short of setting up a cron > job to submit it? > > Thanks, > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null ===== Terry __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brockett at AE.com Mon Jul 14 16:52:46 2003 From: Brockett at AE.com (Brockett at AE.com) Date: Mon, 14 Jul 2003 10:52:46 -0400 Subject: problems compiling NSCA 2.3 on solaris 8 Message-ID: I have been unable to compile NSCA 2.3 on Solaris 8. I installed all the prerequistes (libmcrypt-2.5.7, mcrypt-2.6.4, and mhash-0.8.18) just fine, but everytime I try to make NSCA I get the following error: # make cd ./src/; make all ; cd .. make[1]: Entering directory `/nsca-2.3/src' gcc -g -O2 -DHAVE_LIBMCRYPT -I/usr/local/include -DHAVE_CONFIG_H -L/usr/local/lib -lmcrypt -lnsl -lsocket nsca.c netutils.c utils.c -o nsca nsca.c: In function `handle_connection_read': nsca.c:867: error: long, short, signed or unsigned used invalidly for `packet_crc32' make[1]: *** [nsca] Error 1 make[1]: Leaving directory `/export/home/cxadmin/nsca-2.3/src' Any ideas? Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Mon Jul 14 16:59:34 2003 From: m.borsani at it.net (Marco Borsani) Date: Mon, 14 Jul 2003 16:59:34 +0200 Subject: documentation Message-ID: Good evening, I am tring to download the English Nagios documentation , but the PDF file never appear on my browser. I need to donwload it to study and test for my Company environment. May you help me? Do you know if Nagios can run on HP-UX and/or Unix Tru64 ? Many thanks M.Borsani -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Mon Jul 14 17:08:10 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 14 Jul 2003 10:08:10 -0500 Subject: nrpe and nrpe.conf examples? In-Reply-To: References: <20030714052806.GA4173@dannf.org> Message-ID: <16146.51034.954330.920269@montanaro.dyndns.org> Ton> I'm going to play a bit with nrpe to be able to check diskspace and Ton> cpu utilization on remote hosts. Does anybody have this working Ton> and does anybody have any examples of check_nrpe checkcommands and Ton> nrpe.conf files? I have nrpe running and use the following commands from Nagios: define command{ command_name check_unix_disk command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk } define command{ command_name check_unix_users command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_users } define command{ command_name check_unix_zombies command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_zombie_procs } define command{ command_name check_unix_procs command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_total_procs } define command{ command_name check_unix_mailq command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_mailq } and these commands in nrpe.cfg on one of the hosts being monitored: command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 command[check_disk]=/usr/local/nagios/libexec/check_disk -w '10%' -c '5%' -q command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200 Using check_nrpe is pretty straightforward. Assuming you don't allow parameters to be passed to the nrped process, all parameter control is done on the server. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Jul 14 17:17:16 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 14 Jul 2003 10:17:16 -0500 Subject: strange behavior - timeperiod problem? In-Reply-To: <20030714140206.62060.qmail@web80502.mail.yahoo.com> References: <20030714140206.62060.qmail@web80502.mail.yahoo.com> Message-ID: <16146.51580.114598.761404@montanaro.dyndns.org> This time period seems screwy: terry> define timeperiod{ terry> timeperiod_name nonmaintenence terry> alias Non-Maintenence Period terry> sunday 04:15-01:00 terry> monday 04:15-01:00 terry> tuesday 04:15-01:00 terry> wednesday 04:15-01:00 terry> thursday 04:15-01:00 terry> friday 04:15-01:00 terry> saturday 04:15-01:00 terry> } Does Nagios do the right thing when the end time is earlier than the start time? That is, is sunday 04:15-01:00 interpreted as "Sunday 04:15 to Monday 01:00"? A quick check of the docs suggests it should be sunday 00:00-01:00,04:15-23:59 -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ckalos at esaya.com Mon Jul 14 17:17:21 2003 From: ckalos at esaya.com (Christopher Kalos) Date: Mon, 14 Jul 2003 11:17:21 -0400 Subject: New Nagios Macros? Message-ID: I don't know how useful this is, but I've had a request for it: Would it be possible to add a macro for the notes_url of the service being reported? While I personally don't see the point (once you can view a web page, you can just hit the Nagios web console and view the additional notes from there,) people have asked for it, evidently as a bit of a shortcut. Unless I'm missing something, this would have to be built into Nagios, as the URL can be different for any given service or host. CK ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Mon Jul 14 17:52:16 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G) Date: Mon, 14 Jul 2003 10:52:16 -0500 Subject: scheduling recurring downtime? Message-ID: <516DA7BE5D87C8469D89F150CA0B4911019F8E2F@PDAWB02C.ad.sprint.com> I guess one could create a script to write multiple statements to the external command file, or just create a custom timeperiod that doesn't include the few minutes that the server is rebooted. That's what I've done for the Oracle databases we monitor that get taken down every Sunday for cold backups. Stanley G. Martin System Administrator Sprint - EIS3 Customer Care Stanley.G.Martin at mail.sprint.com -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: Monday, July 14, 2003 9:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] scheduling recurring downtime? One machine here gets rebooted every Sunday at 1PM. It's down for a couple minutes at most, but our in-house monitor still notices. More generally, our regular maintenance window is Sunday from 1AM to noon, so machines are sometimes taken down then. When I switch over to Nagios I'd like to avoid such spurious notices. I know how to schedule a specific downtime period. Is there a way to schedule a recurring downtime short of setting up a cron job to submit it? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason.payne at iland.com Mon Jul 14 18:49:20 2003 From: jason.payne at iland.com (Jason Payne - iLand Internet Solutions Corp.) Date: Mon, 14 Jul 2003 11:49:20 -0500 Subject: scheduling recurring downtime? Message-ID: <7A626FF425518246801C933014AA98F009D3A6@hou-ex01.IHTX.ILAND.COM> There are some event handler scripts that you can get that disable and enable notifications. You could run the one to disable notifications on a cron, then rerun it 5 minutes later. It should be simple to edit the script so that it disable notifications just for the one host and all the services. Weezle -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: Monday, July 14, 2003 9:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] scheduling recurring downtime? One machine here gets rebooted every Sunday at 1PM. It's down for a couple minutes at most, but our in-house monitor still notices. More generally, our regular maintenance window is Sunday from 1AM to noon, so machines are sometimes taken down then. When I switch over to Nagios I'd like to avoid such spurious notices. I know how to schedule a specific downtime period. Is there a way to schedule a recurring downtime short of setting up a cron job to submit it? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Mon Jul 14 18:58:57 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Mon, 14 Jul 2003 13:58:57 -0300 Subject: Wrong date/time in logs Message-ID: <20030714165857.4126.qmail@linuxmail.org> Hi people, This morning I noticed something strange at logs. There are entries at my logs matching dates in 1969 switching with right dates in line. But looking for some seemed entries at "/usr/local/nagios/var/nagios.log" and "/usr/local/nagios/var/archives/*" I didn't find anything. Looking at the "Event Log" in the web interface we can see this: -------------------------------------------------- December 31, 1969 21:00 Service Ok[31-12-1969 21:00:00] -------------------------------------------------- July 14, 2003 13:00 Service Ok[14-07-2003 13:31:27] SERVICE ALERT: sa1manutencao;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 41.80 ms -------------------------------------------------- December 31, 1969 21:00 Service Ok[31-12-1969 21:00:00] -------------------------------------------------- July 14, 2003 13:00 Service Ok[14-07-2003 13:31:27] SERVICE ALERT: switch_pat;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 42.88 ms -------------------------------------------------- December 31, 1969 21:00 Service Ok[31-12-1969 21:00:00] -------------------------------------------------- July 14, 2003 13:00 Service Ok[14-07-2003 13:31:17] SERVICE ALERT: sa2manutencao;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 59.80 ms -------------------------------------------------- December 31, 1969 21:00 Informational Message[31-12-1969 21:00:00] Informational Message[31-12-1969 21:00:00] : (root) CMD (/usr/lib/sa/sa1 1 1) Service Critical[31-12-1969 21:00:00] -------------------------------------------------- Did someone have any experience like that? PS: This started to happen after someone reboot the server. Before it everything it was well. Thank you! -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Mon Jul 14 19:10:23 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Mon, 14 Jul 2003 12:10:23 -0500 Subject: scheduling recurring downtime? In-Reply-To: <7A626FF425518246801C933014AA98F009D3A6@hou-ex01.IHTX.ILAND.COM> References: <7A626FF425518246801C933014AA98F009D3A6@hou-ex01.IHTX.ILAND.COM> Message-ID: <15810.7249801562$1058203212@news.gmane.org> I had a system that used to reboot nightly at 1 AM. I made it a custom timeperiod for just that host, which excluded 12AM-2AM. If it didn't reboot properly, we'd get notified at 2 AM, otherwise no notifications went out. Using a timeperiod is quick enough, there's no need for external scripts. Russell On Mon, Jul 14, 2003 at 11:49:20AM -0500, Jason Payne - iLand Internet Solutions Corp. wrote: > There are some event handler scripts that you can get that disable and enable notifications. You could run the one to disable notifications on a cron, then rerun it 5 minutes later. It should be simple to edit the script so that it disable notifications just for the one host and all the services. > > Weezle > > -----Original Message----- > From: Skip Montanaro [mailto:skip at pobox.com] > Sent: Monday, July 14, 2003 9:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] scheduling recurring downtime? > > > > One machine here gets rebooted every Sunday at 1PM. It's down for a couple > minutes at most, but our in-house monitor still notices. More generally, > our regular maintenance window is Sunday from 1AM to noon, so machines are > sometimes taken down then. When I switch over to Nagios I'd like to avoid > such spurious notices. I know how to schedule a specific downtime period. > Is there a way to schedule a recurring downtime short of setting up a cron > job to submit it? > > Thanks, > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Jul 14 19:22:54 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 14 Jul 2003 12:22:54 -0500 Subject: scheduling recurring downtime? In-Reply-To: <20030714171023.GD30460@soja.ksnet.com.> References: <7A626FF425518246801C933014AA98F009D3A6@hou-ex01.IHTX.ILAND.COM> <20030714171023.GD30460@soja.ksnet.com.> Message-ID: <16146.59118.809229.355246@montanaro.dyndns.org> Russell> Using a timeperiod is quick enough, there's no need for Russell> external scripts. Thanks for all the suggestions. I'll look into using custom timeperiods. Skip ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Mon Jul 14 19:25:52 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Mon, 14 Jul 2003 14:25:52 -0300 Subject: Still about logs in Nagios Message-ID: <20030714172552.23838.qmail@linuxmail.org> About my last post, other interesting details: This morning I started to run arpwatch to discover new hosts in the LAN. Now, looking at my logs I can see the following things: -- root at gerenciamento /usr/local/nagios/var -> ls -lh .... -rw-rw-r-- 1 nagios nagios 14M* Jul 14 14:19 service-perfdata.out .... -- * 14MB from service-perfdata.out. This is not normal, is it? And more: I noticed that the '/var/log/messages' are strangely "entering" in my 'nagios.log' Some output from 'nagios.log': Jul 14 11:19:16 gerenciamento arpwatch: bogon 10.21.158.1 40:0:82:10:18:18 Jul 14 11:19:17 gerenciamento arpwatch: new station 10.21.200.90 0:2:55:4c:62:2e Jul 14 11:19:18 gerenciamento arpwatch: bogon 10.21.158.70 0:0:b4:43:48:e7 In 'nagios.log' there's logs about sendmail, and everything else from '/var/log/messages' too. This shouldn't be only in '/var/log/messages'? Now, _please_, someone has any, ANY idea about is going on. Thank you so much. -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Jul 14 19:33:21 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 14 Jul 2003 12:33:21 -0500 Subject: scheduling recurring downtime? Message-ID: Define a new timeperiod (or redefine the existing one) to exclude the desired problem time period. Make sure this is the one you use for notifications in your host definitions. When you do the timeperiod change, make sure you do it in the format: 00:00-time1,time2-23:59 where time1 is when you want the notifications to stop, and time2 is when you want them to resume. jc > -----Original Message----- > From: Skip Montanaro [mailto:skip at pobox.com] > Sent: Monday, July 14, 2003 9:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] scheduling recurring downtime? > > > > One machine here gets rebooted every Sunday at 1PM. It's > down for a couple > minutes at most, but our in-house monitor still notices. > More generally, > our regular maintenance window is Sunday from 1AM to noon, so > machines are > sometimes taken down then. When I switch over to Nagios I'd > like to avoid > such spurious notices. I know how to schedule a specific > downtime period. > Is there a way to schedule a recurring downtime short of > setting up a cron > job to submit it? > > Thanks, > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Mon Jul 14 20:03:36 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 14 Jul 2003 14:03:36 -0400 Subject: scheduling recurring downtime? Message-ID: <5F29693503507B4FB4032686ADF862671ACF35@mtviny25.mtvi.com> Setting a timeperiod is the way to go. I like to use timeperiods in cases like this for notifications and not service checks. This way you can still log downtime with the service check for the host without being woken up at 1am by the notification. :) -Keith -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: Monday, July 14, 2003 1:23 PM To: Russell Adams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] scheduling recurring downtime? Russell> Using a timeperiod is quick enough, there's no need for Russell> external scripts. Thanks for all the suggestions. I'll look into using custom timeperiods. Skip ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhubbard at lsil.com Mon Jul 14 20:31:55 2003 From: rhubbard at lsil.com (Russ Hubbard) Date: 14 Jul 2003 12:31:55 -0600 Subject: Once a day checks? Message-ID: <1058207514.2293.16.camel@cosrhubblnx> Is it possible to do once a day checks? If so, can you provide me an example? I have looked in the documentation but not extensively. Before I did, I wanted to check with this group. Our DBA's want to add some daily checks on stuff like buffer quality,user calls, sorts, rollback waits/gets,etc. -- Russ Hubbard Phone: 719-533-7973 / 8003-7973 UNIX/Linux System Administrator Cell: 719-660-8814 Enterprise Operations Pager: 800-260-5085 LSI Logic Corporation Email: russ.hubbard at lsil.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.eduardo at estacio.br Mon Jul 14 21:18:07 2003 From: c.eduardo at estacio.br (Eddy) Date: Mon, 14 Jul 2003 16:18:07 -0300 Subject: performed due to a fork() error Message-ID: <066901c34a3c$a83d2ae0$31150a0a@estacio.domain> Any can help me about this ???? "performed due to a fork() error " i have this messanger in my event log !!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmartens at cityofevanston.org Mon Jul 14 22:06:01 2003 From: jmartens at cityofevanston.org (Jason Martens) Date: 14 Jul 2003 15:06:01 -0500 Subject: Once a day checks? In-Reply-To: <43348.24.72.31.206.1058208924.squirrel@webmail.bangtherockstogether.n et> References: <1058207514.2293.16.camel@cosrhubblnx> <43348.24.72.31.206.1058208924.squirrel@webmail.bangtherockstogether.n et> Message-ID: <1058213161.21632.15.camel@localhost.localdomain> I would be interested in the oracle "stuff". Let us know when and where we can get it. Jason On Mon, 2003-07-14 at 13:55, Lonny Selinger wrote: > This should be as simple as adding a new timeperiod and assigning it > to what youd like to check only once a day. The DBA where I am is > currently working on a revamp of some current code for monitoring > Oracle *stuff* (I say stuff because theres quite a bit of it), he > keeps saying its not ready yet but I'm sure he's going to release it > soon (at least in alpha), just in case anyone is interested. > > -- > Lonny Selinger > > > Is it possible to do once a day checks? If so, can you provide me an > > example? I have looked in the documentation but not extensively. > > Before > > I did, I wanted to check with this group. Our DBA's want to add some > > daily checks on stuff like buffer quality,user calls, sorts, rollback > > waits/gets,etc. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.heslin at us.mizuho-sc.com Mon Jul 14 22:16:22 2003 From: peter.heslin at us.mizuho-sc.com (Heslin, Peter) Date: Mon, 14 Jul 2003 16:16:22 -0400 Subject: GD, PNG, and/or JPEG libraries could not be located Message-ID: <530FC437A78CD611B7E90002A542ED4B625494@chpnexch.fujisec.com> Hello, I need help getting the GD libs detected during configure. I downloaded and installed the recommended gd,png libs and still nothing. I tried specifying at the command line with -with-gd-lib etc... and also nothing. I am running SUSE 8.2 and latest Nagios. Can anyone assist with this? Thanks, Pete CONFIDENTIAL: This email, including its content and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this email message or disclose its contents to anyone else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc. Email transmission cannot be guaranteed to be secure or error-free. The sender does not accept liability for any errors or omissions of this message due to email transmission. If verification is required please request a hardcopy version. Although we routinely screen for viruses, addressees should check this email and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this email or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read emails sent to and from our server(s). -------------- next part -------------- An HTML attachment was scrubbed... URL: From c.eduardo at estacio.br Tue Jul 15 00:02:34 2003 From: c.eduardo at estacio.br (Eddy) Date: Mon, 14 Jul 2003 19:02:34 -0300 Subject: could not be performed due to a fork() error. Message-ID: <009c01c34a53$a1ac4af0$31150a0a@estacio.domain> Hello, Any can help me about this messeger...????? Warning: The check of service 'PING' on host 'PetropolisII' could not be performed due to a fork() error. The check will be rescheduled. i'm using hp-ux (unix) Sem mais, Carlos Eduardo Dionizio Analista de Suporte - UNIX Universidade Est?cio de S? Diretoria de Tecnologia da Informa??o -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Jul 15 00:11:34 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 14 Jul 2003 17:11:34 -0500 Subject: could not be performed due to a fork() error. Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7B5E@mismail.ena.com> I'm not familiar with hp-ux but the same type of error under linux would indicate a lack of resources for spawning the process (memory/cpu/process limits hit). Perhaps that applies here? marc _____ From: Eddy [mailto:c.eduardo at estacio.br] Sent: Monday, July 14, 2003 5:03 PM To: nagios-users Cc: nagiosplug-help at lists.sourceforge.net Hello, Any can help me about this messeger...????? Warning: The check of service 'PING' on host 'PetropolisII' could not be performed due to a fork() error. The check will be rescheduled. i'm using hp-ux (unix) Sem mais, Carlos Eduardo Dionizio Analista de Suporte - UNIX Universidade Est?cio de S? Diretoria de Tecnologia da Informa??o -------------- next part -------------- An HTML attachment was scrubbed... URL: From Phu at uui.com Tue Jul 15 00:25:54 2003 From: Phu at uui.com (Phu Nguyen) Date: Mon, 14 Jul 2003 15:25:54 -0700 Subject: build plugin on sparc failed Message-ID: <004001c34a56$e4399e10$0181a8c0@phu> Hi everyone, Has any one successful build nagios plug-in v1.3.0 or v1.3.1 on SPARC? If you do, can you tell me what the requirement for sparc is? Thank you in advance, Phu Nguyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Tue Jul 15 06:09:43 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 15 Jul 2003 14:09:43 +1000 Subject: scheduling recurring downtime? In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Mon, Jul 14, 2003 at 08:15:23PM -0700 References: Message-ID: <20030715140938.F25744@IPAustralia.Gov.AU> Dear Sir, I think that you may find it easier to accomplish this (recurrent downtime) with other means than Nagios polling the service. This is exactly the sort of scenario that John Rouillard described as being advantageous for Sec (Simple Event Correlator) to manage the checks of the service (Mr Rouillard has already sussed out a Nag interface to Sec. You may want to write to him if you are keen on trying out his patches). In this case, without any mods to Nag, you may be better off 1 Defining passive service checks for this sort of service 2 Checking the service by other means (eg have cron schedule a wrapper of the plugin that logs it's output to Sec on a HARD state and retries otherwise) 3 Configure Sec to write a PASSIVE_SERVICE_CHECK_RESULT if the criteria are met. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frozendelight_0508 at yahoo.es Tue Jul 15 09:05:08 2003 From: frozendelight_0508 at yahoo.es (bheng qute) Date: Tue, 15 Jul 2003 00:05:08 -0700 (PDT) Subject: error when starting nagios Message-ID: <20030715070508.28906.qmail@web40003.mail.yahoo.com> hi, i received this error when i run nagios.. Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (17) -> File exists. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing Bailing out due to errors encountered while trying to open the external command file for reading... (PID=1664) i already treid to delete the nagios.log but still received that error? anybody can help? please... thanks. - bianx --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Tue Jul 15 10:35:48 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 15 Jul 2003 09:35:48 +0100 Subject: build plugin on sparc failed Message-ID: nagiosplug 1.3 and 1.3.1 have been reported to compile successfully on Solaris 6, Solaris 7 and Solaris 8 on Sparc. Can we have more information: What configure options are you using? What configure output? What make output? -----Original Message----- From: Phu Nguyen [mailto:Phu at uui.com] Sent: Monday, July 14, 2003 11:26 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] build plugin on sparc failed Hi everyone, Has any one successful build nagios plug-in v1.3.0 or v1.3.1 on SPARC? If you do, can you tell me what the requirement for sparc is? Thank you in advance, Phu Nguyen. This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -------------- next part -------------- An HTML attachment was scrubbed... URL: From r.hochuli at gpstechnik.ch Tue Jul 15 11:56:48 2003 From: r.hochuli at gpstechnik.ch (Roman Hochuli) Date: Tue, 15 Jul 2003 11:56:48 +0200 Subject: Extended Informations (once more) Message-ID: <607EAFE142F2A4408989ABA7D4989FCA19A70B@mx2.gpstechnik.ch> Hello Everybody I have Nagios 1.1 running on FreeBSD 4.8. Except the extendend informations everything is working well (including mysql support). I have installed two icon-sets at IMO the right place and I am able to look at them with my browser if I point it there which leads me to the assumtion it's ok so far. I commented out and configured the xeddb_* (as well as the other directives regarding database) in cgi.cfg to tell nagios to look into the database for extended information data. I also filled the table with some data which should produce some output. Unfortunatly I never become any icons displayed. Anyone can give me a pointer to get this running...? -- Kind regards, Roman Hochuli CCNP, CQS Cable GPS-Technik AG Z?rcherstrasse 139 8952 Schlieren Switzerland Tel +41-1-7329977 Fax +41-1-7311840 X-NCC-RegID: ch.gps While talking a little bit annoyed about taxes: "...at least it does not make addicted." -- 2002, Andre Wieler ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emc2 at autistici.org Tue Jul 15 12:34:16 2003 From: emc2 at autistici.org (tristano callegaro) Date: Tue, 15 Jul 2003 12:34:16 +0200 Subject: check_dns Message-ID: <3F13D8A8.7090301@autistici.org> Hi, I would like to use nagios checkcommand "chek_dns", but i can't find it in /usr/local/nagios/libexec. How can I get this commands? Thanks a lots in advance. Tristano ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Jul 15 12:47:19 2003 From: m.borsani at it.net (Marco Borsani) Date: Tue, 15 Jul 2003 12:47:19 +0200 Subject: Error during installation Message-ID: During "make all" command I have the following error: -------------------------------------------------------------------- gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c 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 cd ./cgi && make Make: line 96: syntax error. Stop. *** Error exit code 1 -------------------------------------------------------------------- I am tring to install Nagios on HP-UX 11.00. I will do next text on UNIX TRU64, but I'd prefer much more HP-UX! Many thanks M.Borsani -------------- next part -------------- An HTML attachment was scrubbed... URL: From cschelin at hq.nasa.gov Tue Jul 15 13:41:08 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 15 Jul 2003 07:41:08 -0400 Subject: build plugin on sparc failed In-Reply-To: <004001c34a56$e4399e10$0181a8c0@phu> References: <004001c34a56$e4399e10$0181a8c0@phu> Message-ID: <1058269267.20519.813.camel@unixgod.hq.nasa.gov> It's working for me on Solaris 7. What's the problem? Running configure told me everything that was needed if I wanted to support one feature or another (samba for example for smbclient). Carl On Mon, 2003-07-14 at 18:25, Phu Nguyen wrote: > Hi everyone, > > > > Has any one successful build nagios plug-in v1.3.0 or v1.3.1 on SPARC? > If you do, can you tell me what the requirement for sparc is? > > > > Thank you in advance, > > Phu Nguyen. > > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From idavidso at juniper.net Tue Jul 15 15:24:18 2003 From: idavidso at juniper.net (Ian Davidson) Date: Tue, 15 Jul 2003 14:24:18 +0100 Subject: Jabber notification Message-ID: Hi Fred, So, I've installed all the required Perl objects for this jabber thing, and have setup a small script just to ensure I can communicate with the jabber server (before getting things too complicated). We use SSL and port 5223 internally, so the script looks like... [root at fangio ~/jabber-test]# more test1.pl use Net::Jabber qw(Client); $Con = new Net::Jabber::Client(); $Con->Connect(hostname=>"jabber.labtest.jnpr.net",port=>5223,ssl=>1); if ($Con->Connected()) { print "We are connected to the server...\n"; } # # For the list of available function see Net::Jabber::Protocol. # $Con->Disconnect(); But when I execute this script... [root at fangio ~/jabber-test]# perl test1.pl You requested that XML::Stream turn the socket into an SSL socket, but you don't have the correct version of IO::Socket::SSL v0.81. at /usr/lib/perl5/site_perl/5.6.1/Net/Jabber/Client.pm line 196 [root at fangio ~/jabber-test]# rpm -qa | grep ssl openssl-0.9.6b-18 docbook-style-dsssl-1.76-1 mod_ssl-2.8.7-4 openssl-devel-0.9.6b-18 So I know I've got ssl installed but it's not the version shown in the error message. I've taken a look at line 196 of the Client.pm file and am none the wiser. Being a networking chappie (not a programmer) I haven't the foggiest where to start. Any pointers? And finally, the idea is to be able to Jabber a message to individuals (listed in the contact group) who happen to be logged into jabber. I'm assuming this will achieve that end result...? Regards, Ian ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jul 15 15:31:09 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 15 Jul 2003 07:31:09 -0600 Subject: GD, PNG, and/or JPEG libraries could not be located Message-ID: I just ran into this issue yesterday. Once you've downloaded and installed all of the required libraries, be sure to run a 'make clean' to remove leftover files from your previous compile. Then run 'configure' and recompile Nagios. This is what worked for me. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] Sent: Monday, July 14, 2003 2:16 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located Hello, I need help getting the GD libs detected during configure. I downloaded and installed the recommended gd,png libs and still nothing. I tried specifying at the command line with -with-gd-lib etc... and also nothing. I am running SUSE 8.2 and latest Nagios. Can anyone assist with this? Thanks, Pete CONFIDENTIAL: This email, including its content and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this email message or disclose its contents to anyone else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc. Email transmission cannot be guaranteed to be secure or error-free. The sender does not accept liability for any errors or omissions of this message due to email transmission. If verification is required please request a hardcopy version. Although we routinely screen for viruses, addressees should check this email and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this email or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read emails sent to and from our server(s). -------------- next part -------------- An HTML attachment was scrubbed... URL: From rivanor at linuxmail.org Tue Jul 15 15:47:18 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Tue, 15 Jul 2003 10:47:18 -0300 Subject: /var/log/messages and nagios.log Message-ID: <20030715134718.7240.qmail@linuxmail.org> I'll try some help, but being shorter. The lines writen in my /var/log/messages are being writen in my /usr/local/nagios/var/nagios.log too. Everything that happens in messages is done the same in nagios.log. Why this could be? Thanks, -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jul 15 16:26:08 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 15 Jul 2003 08:26:08 -0600 Subject: GD, PNG, and/or JPEG libraries could not be located Message-ID: Well, I ran the configure with the options mentioned, and it worked. So I then ran make clean and re-ran configure without the '--with-gd-lib' and '--with-gd-inc' options and this compiled just fine as well. So it appears as though I did not need them, but YMMV so it probably wouldn't hurt to use them. I did install new JPEG libs, although I attempted an rpm update on the zlibs and this did not install as it was the same version. I'm not sure what you mean by the last question. If I'm interpreting it correctly, then the answer is no, the gd and zlib files are not in the same directory. Don't be confused. If you haven't already tried what I mentioned earlier (make clean, configure, recompile), then try that now. If it still does not work, scroll up through the configure output until you see the point where it fails. There are notes there outlining the steps to take when encountering such a failure, such as running ldconfig to update the link db. You may need to do this as well. HTH. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] Sent: Tuesday, July 15, 2003 8:15 AM To: Cook, Garry Subject: RE: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located Hi Garry, Thanks for the reply. When you re-run the configure, did you use any options such as "-with-gd-lib" and "-with-gd-inc" ? Did you have to install new JPEG libs? I already had installed, so I didn't bother. Also had the zlib, so I didn't get that. Do you need to have zlib in the same dir when you run configure for the GD? Very Confused... Pete -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Tuesday, July 15, 2003 9:31 AM To: Heslin, Peter; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located I just ran into this issue yesterday. Once you've downloaded and installed all of the required libraries, be sure to run a 'make clean' to remove leftover files from your previous compile. Then run 'configure' and recompile Nagios. This is what worked for me. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] Sent: Monday, July 14, 2003 2:16 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located Hello, I need help getting the GD libs detected during configure. I downloaded and installed the recommended gd,png libs and still nothing. I tried specifying at the command line with -with-gd-lib etc... and also nothing. I am running SUSE 8.2 and latest Nagios. Can anyone assist with this? Thanks, Pete CONFIDENTIAL: This email, including its content and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this email message or disclose its contents to anyone else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc. Email transmission cannot be guaranteed to be secure or error-free. The sender does not accept liability for any errors or omissions of this message due to email transmission. If verification is required please request a hardcopy version. Although we routinely screen for viruses, addressees should check this email and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this email or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read emails sent to and from our server(s). CONFIDENTIAL: This email, including its content and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this email message or disclose its contents to anyone else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc. Email transmission cannot be guaranteed to be secure or error-free. The sender does not accept liability for any errors or omissions of this message due to email transmission. If verification is required please request a hardcopy version. Although we routinely screen for viruses, addressees should check this email and any attachments for viruses. We make no represent! ation or warranty as to the absence of viruses in this email or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read emails sent to and from our server(s). -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at atomicmatrix.net Tue Jul 15 16:50:30 2003 From: ben at atomicmatrix.net (ben at atomicmatrix.net) Date: Tue, 15 Jul 2003 09:50:30 -0500 (CDT) Subject: Spurious RC 127 plugin error Message-ID: <4585.132.183.76.128.1058280630.squirrel@www.atomicmatrix.net> I have a check_http command running against a particular URL.. which works great most of the time.. but ocassionally (and only on the two hosts that I check using this lengthy URL) I get the error below. I've run a script that execs check_http manually against the same url while checking the return code (runs once a second) and it has yet to fail on me (so I can see what's going on).. so right now I'm clueless as to what may cause these only *sometimes* .. Any suggestions would be appreciated.. My commands etc are below as well. Thanks! -=| Ben ===================================== ***** Nagios 1.0 ***** Notification Type: PROBLEM Service: HTTPS JRUN Host: ibridge-internet Address: 155.52.254.10 State: CRITICAL Date/Time: Tue Jul 15 10:01:38 EDT 2003 Additional Info: (Return code of 127 is out of bounds - plugin may be missing) ===================================== # 'check_https' command definition define command{ command_name check_https command_line $USER1$/check_http -S -H $HOSTADDRESS$ -u '$ARG1$' -p $A RG2$ } define service{ use generic-service host_name ibridge-intranet,ibridge-internet service_description HTTPS JRUN check_command check_https!/servlet/getAccessLogin?URI=https:// ibridge.partners.org/cgi-bin/getAccess/applist.gas.bat&AUTHMETHOD=UserPassword!4 43 } ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matorres at prisacom.com Tue Jul 15 17:10:21 2003 From: matorres at prisacom.com (Miguel A. Torres) Date: Tue, 15 Jul 2003 17:10:21 +0200 Subject: automatic Trends and Availability Message-ID: Hello all, I?ve just configure Nagios to monitorice all my hosts and services. I use the 'Trends' and 'Availability' frequently. Now, I need to generate automatic 'Trends' and/or 'Abailability' and store in a folder (for example), but I don't know if it is possible. Somebody know how can I do it? any idea? Thanks for all :-) >>>>>>>>>>>>>>>>>>>>>>>> Miguel A. Torres Santos PRISACOM - Dept. Sistemas Telf: 91353-7871 e-mail: matorres at prisacom.com >>>>>>>>>>>>>>>>>>>>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From sobrien at ci.bend.or.us Tue Jul 15 17:15:33 2003 From: sobrien at ci.bend.or.us (sobrien at ci.bend.or.us) Date: Tue, 15 Jul 2003 08:15:33 -0700 Subject: Many instances of Nagios running Message-ID: I noticed that Nagios has several hundred processes running, is that normal? nagios 14885 1 0 18:24:10 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 14089 1 0 18:16:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 25797 1 0 06:08:10 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 8320 1 0 08:09:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 2945 1 0 07:18:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 28652 1 0 06:36:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 17968 1 0 04:49:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 24417 1 0 05:54:10 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 8316 1 0 08:09:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 6159 1 0 02:52:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 24845 1 0 05:58:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 8324 1 0 08:09:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 3603 1 0 02:26:10 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 25821 1 0 06:08:10 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 11743 1 0 03:48:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 5825 1 0 07:46:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 17598 1 0 18:52:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 15833 1 0 18:34:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 19321 1 0 00:10:12 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 25785 1 0 06:08:10 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 15828 1 0 18:34:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 13346 1 0 04:03:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4402 1 0 07:32:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 28624 1 0 06:36:10 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 20423 1 0 00:22:10 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 7250 1 0 08:00:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 903 1 0 06:58:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4800 1 0 02:38:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 27454 1 0 06:24:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4832 1 0 07:36:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 10800 1 0 17:42:12 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4412 1 0 07:32:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 20860 1 0 05:18:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 10367 1 0 03:34:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 12150 1 0 17:56:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 53 1 0 01:51:14 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 12924 1 0 18:04:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 11533 1 0 17:50:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 14294 1 0 18:18:10 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 13517 1 0 18:10:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 2959 1 0 07:18:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 10798 1 0 17:42:12 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 9392 1 0 03:24:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 26624 1 0 01:20:12 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 26802 1 0 20:26:11 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gisccs at nus.edu.sg Tue Jul 15 17:18:57 2003 From: gisccs at nus.edu.sg (Chan Chee Seng) Date: Tue, 15 Jul 2003 23:18:57 +0800 Subject: Can't compile nrpe on Solaris 8 Message-ID: Greetings, I tried to compiled nrpe 2.0b4 on a Solaris 8 box but I got the following 2 errors: gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/sys/types.h:45, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from nrpe.c:21: /usr/include/sys/int_types.h:69: conflicting types for `int32_t' ../common/config.h:54: previous declaration of `int32_t' In file included from nrpe.c:22: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: conflicting types for `int32_t' /usr/include/sys/int_types.h:69: previous declaration of `int32_t' In file included from utils.h:35, from nrpe.c:24: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: redefinition of `int32_t' ../common/config.h:54: `int32_t' previously declared here In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/sys/types.h:45, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from utils.c:32: /usr/include/sys/int_types.h:69: conflicting types for `int32_t' ../common/config.h:54: previous declaration of `int32_t' In file included from utils.h:35, from utils.c:33: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: conflicting types for `int32_t' /usr/include/sys/int_types.h:69: previous declaration of `int32_t' make[1]: *** [nrpe] Error 1 Initially the compilation cannot find the ssl includes too. I came across a posting about a similar problem from the nagios-devel archives which showed me how to solved the ssl include problem (Thanks Skip Montanaro ? ) But I can't make sense of how to solve the u_int32_t problem. Can someone send me details of how to solve this? Thanks. Lastly, during the ./configure, it complained that I do not have Kerberos include files. How can I disable Kerberos being detected by configure? Will nrpe still run without Kerberos? ==== part of output from ./configure ==== checking for Kerberos include files... could not find include files ========================================= Thanks for any help rendered. Regards, Chan Chee Seng gisccs at nus.edu.sg From gjfrater at bechtel.com Tue Jul 15 17:45:36 2003 From: gjfrater at bechtel.com (Frater, Greg J) Date: Tue, 15 Jul 2003 08:45:36 -0700 Subject: config.cgi - host dependencies - missing some host devices Message-ID: All, I'm wondering if anyone else has seen this behavior and if it could be a setting somewhere. When running the "host dependencies" section of the config.cgi (under view config) I only get a partial list of hosts and their dependencies. Only my servers are in the list. It looks to be every server but no other devices (switches, ups's, etc). Being all of one type of object is what causes me to think it might be a setting somewhere. My other devices (switches, ups's, etc.) have parents defined as well, and can be seen in the host section of the config.cgi. Any thoughts, ideas? TIA Nagios 1.0 RH 7.3 Thanks, Greg Frater ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Jul 15 18:03:34 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 15 Jul 2003 11:03:34 -0500 Subject: Jabber notification In-Reply-To: References: Message-ID: <16148.9686.529307.588675@montanaro.dyndns.org> Ian> But when I execute this script... Ian> [root at fangio ~/jabber-test]# perl test1.pl Ian> You requested that XML::Stream turn the socket into an SSL socket, but Ian> you don't have the correct version of IO::Socket::SSL v0.81. at Ian> /usr/lib/perl5/site_perl/5.6.1/Net/Jabber/Client.pm line 196 Sounds like you need to use CPAN to update the version of the IO::Socket::SSL package installed on your system. Ian> [root at fangio ~/jabber-test]# rpm -qa | grep ssl Ian> openssl-0.9.6b-18 Ian> docbook-style-dsssl-1.76-1 Ian> mod_ssl-2.8.7-4 Ian> openssl-devel-0.9.6b-18 None of these relate directly to the Perl IO::Socket::SSL module. IO:Socket::SSL is layered upon the libraries and header files in the openssl* rpms. To update/install that package, you can do one of two things. 1. Run CPAN: perl -MCPAN -e shell At the CPAN prompt, issue this command: install IO::Socket::SSL If you've never run CPAN before it will gather some initial information about how you like doing things and what CPAN mirrors you want to use before you get to the CPAN's shell prompt ("cpan> "). CPAN usually works well, though it can be tricky at times. For instance, while writing this I tried the above install command. IO::Socket::SSL depends on Net::SSLeay, which it dutifully tried to install. That generated this warning: *** /usr/bin/openssl appears to be compiled with gcc ... while perl is compiled with cc. Both must be compiled with the same compiler and flags. Mixing and matching compilers is not supported. at Makefile.PL line 137. However, gcc and cc are the same thing on that computer: # cc -v Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.63.1mdk) # gcc -v Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.63.1mdk) Such is life. 2. Assuming there is an RPM on your distribution CD which contains the relevant Perl module, you can track it down and install it. My Mandrake 8.1 system doesn't have it, but then I don't do anything with SSL either. ;-) -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at redpepperracing.com Tue Jul 15 18:12:54 2003 From: tom at redpepperracing.com (Tom Lichti) Date: Tue, 15 Jul 2003 12:12:54 -0400 Subject: /var/log/messages and nagios.log In-Reply-To: <20030715134718.7240.qmail@linuxmail.org> References: <20030715134718.7240.qmail@linuxmail.org> Message-ID: <3F142806.20705@redpepperracing.com> Rivanor P. Soares wrote: > I'll try some help, but being shorter. > > The lines writen in my /var/log/messages are being writen in my /usr/local/nagios/var/nagios.log too. > Everything that happens in messages is done the same in nagios.log. Why this could be? > There is an option in nagios.cfg called 'use_syslog'. If it is set to a non-zero value, it will log to both the nagios.log and syslog. Change it to zero, stop and start nagios, and it will not do it anymore. Tom ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Tue Jul 15 18:25:48 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Tue, 15 Jul 2003 13:25:48 -0300 Subject: /var/log/messages and nagios.log Message-ID: <20030715162549.26787.qmail@linuxmail.org> Tom, I know about this option. But what is happening is that things like crond output, errors from modprobe, logs from iptables, and all other stuff generated to syslog is using my nagios.log like it were the log file 'messages'. Thanks, Rivanor. ----- Original Message ----- From: Tom Lichti Date: Tue, 15 Jul 2003 12:12:54 -0400 To: "Rivanor P. Soares" Subject: Re: [Nagios-users] /var/log/messages and nagios.log > Rivanor P. Soares wrote: > > > I'll try some help, but being shorter. > > > > The lines writen in my /var/log/messages are being writen in my /usr/local/nagios/var/nagios.log too. > > Everything that happens in messages is done the same in nagios.log. Why this could be? > > > > There is an option in nagios.cfg called 'use_syslog'. If it is set to a > non-zero value, it will log to both the nagios.log and syslog. Change it > to zero, stop and start nagios, and it will not do it anymore. > > Tom > Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at redpepperracing.com Tue Jul 15 18:44:03 2003 From: tom at redpepperracing.com (Tom Lichti) Date: Tue, 15 Jul 2003 12:44:03 -0400 Subject: /var/log/messages and nagios.log In-Reply-To: <20030715162549.26787.qmail@linuxmail.org> References: <20030715162549.26787.qmail@linuxmail.org> Message-ID: <3F142F53.6080606@redpepperracing.com> Rivanor P. Soares wrote: > Tom, > > I know about this option. But what is happening is that things like crond output, errors from modprobe, logs from iptables, and all other stuff generated to syslog is using my nagios.log like it were the log file 'messages'. > Okay, now that is seriously odd. One of them isn't a sym-link to the other, perhaps? Or /etc/syslog.conf isn't pointing to the wrong file? Weird. Tom ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrism at geo-synthetics.com Tue Jul 15 19:40:10 2003 From: chrism at geo-synthetics.com (Chris Merkel) Date: Tue, 15 Jul 2003 12:40:10 -0500 Subject: Compiling Graphics CGI's Message-ID: When I installed Nagios, I didn't have GD installed. I do now and I'd like to get statusmap.cgi, trends.cgi and histogram.cgi. How do I compile the individual CGI's? I've spent quite a bit of time getting Nagios monitoring everything on my network and I'm afraid of messing it up. Thanks, Chris ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasghar at celitesystems.com Tue Jul 15 19:53:55 2003 From: jasghar at celitesystems.com (JJ Asghar) Date: Tue, 15 Jul 2003 12:53:55 -0500 Subject: check_dhcp Message-ID: WWVhaCwgd2hlbiB5b3UgdW50YXIgdGhlIGZpbGUgKCBpbiBteSBjYXNlIG5hZ2lvcy1wbHVnaW5z LTEuMy4wKSBpbiB0aGUgL2NvbnRyaWIgZGlyZWN0b3J5IHRoZXJlIGlzIGEgY2hlY2tfZGhjcC5j IGZpbGUsIA0KIA0KeW91IHVzZSB0aGVzZSBjb21tYW5kcyB0aGUgY29tcGlsZSBpdDoNCiANCmJh c2gkIGxzIGNoZWNrX2RoY3AqICAgICAgICNjaGVjayB0byBzZWUgaWYgaXQncyB0aGVyZQ0KYmFz aCQgZ2NjIGNoZWNrX2RoY3AuYw0KYmFzaCQgbXYgYS5vdXQgY2hlY2tfZGhjcA0KYmFzaCQgbXYg Y2hlY2tfZGhjcCAvdXNyL2xvY2FsL25hZ2lvcy9saWJleGUNCiANCm9yIGF0IGxlYXN0IHNvbWV0 aGluZyBsaWtlIHRoYXQuDQogDQptYWtlIHN1cmUgeW91IGluc3RhbGwgdGhlIG5hZ2lvcy1wbHVn aW5zIGl0IGlzIHdoZXJlIGFsbCB0aGUgImV4dHJhIiBwbHVnaW5zIGFyZS4NCiANCi1KSi0NCiAN CiANCg0KCS0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tIA0KCUZyb206IHRyaXN0YW5vIGNhbGxl Z2FybyBbbWFpbHRvOmVtYzJAYXV0aXN0aWNpLm9yZ10gDQoJU2VudDogVHVlIDcvMTUvMjAwMyA4 OjUwIEFNIA0KCVRvOiBKSiBBc2doYXIgDQoJQ2M6IA0KCVN1YmplY3Q6IFJlOiBbTmFnaW9zLXVz ZXJzXSBjaGVja19kaGNwDQoJDQoJDQoNCglKSiBBc2doYXIgd3JvdGU6DQoJDQoJPkkgY29tcGxp ZWQgdGhlIGNoZWNrX2RoY3AuYyBmaWxlLCB3aXRoIGdjYyBhcyByb290IHNvIHRoZSBvd25lcnMg YXJlDQoJPnJvb3QgYW5kIHRoZSBncm91cCBpcyByb290LiBteSBjaGVja2NvbW1hbmRzLmNmZyBo YXMgdGhlIGxpbmUNCgk+DQoJPmRlZmluZSBjb21tYW5kew0KCT4gICAgICAgY29tbWFuZF9uYW1l IGNoZWNrX2RoY3ANCgk+ICAgICAgIGNvbW1hbmRfbGluZSAkVVNFUjEkL2NoZWNrX2RoY3AgLXMg JEFSRzEkIC1yICRBUkcyJCAtaSBldGgwDQoJPiAgICAgICB9DQoJPg0KCT5hbmQgdGhlIHNlcnZp Y2VzLmNmZyBmaWxlIGhhcyAgdGhlIGNvbW1hbmQgbGluZQ0KCT4NCgk+Y2hlY2tfY29tbWFuZCAg ICAgICAgICBjaGVja19kaGNwITEwLjEuMS4zITEwLjEuMS4xODkNCgk+DQoJPmJ1dCBpIHNlZW0g c28gc3RpbGwgZ2V0IHRoZSAiRXJyb3I6IENvdWxkIG5vdCBiaW5kIHNvY2tldCB0byBpbnRlcmZh Y2UNCgk+ZXRoMC4gQ2hlY2sgeW91ciBwcml2aWxlZ2VzLi4uIg0KCT4NCgk+QnV0IGl0J3Mgb3du ZWQgYW5kIGNvbnRyb2xlZCBieSByb290Li4uLi5pJ20gbG9zdA0KCT4NCgk+DQoJPg0KCT4tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoJPlRo aXMgU0YuTmV0IGVtYWlsIHNwb25zb3JlZCBieTogRnJlZSBwcmUtYnVpbHQgQVNQLk5FVCBzaXRl cyBpbmNsdWRpbmcNCgk+RGF0YSBSZXBvcnRzLCBFLWNvbW1lcmNlLCBQb3J0YWxzLCBhbmQgRm9y dW1zIGFyZSBhdmFpbGFibGUgbm93Lg0KCT5Eb3dubG9hZCB0b2RheSBhbmQgZW50ZXIgdG8gd2lu IGFuIFhCT1ggb3IgVmlzdWFsIFN0dWRpbyAuTkVULg0KCT5odHRwOi8vYXNwbmV0LmNsaWNrLXVy bC5jb20vZ28vcHNhMDAxMDAwMDZhdmUvZGlyZWN0O2F0LmFzcF8wNjEyMDNfMDEvMDENCgk+X19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCgk+TmFnaW9zLXVz ZXJzIG1haWxpbmcgbGlzdA0KCT5OYWdpb3MtdXNlcnNAbGlzdHMuc291cmNlZm9yZ2UubmV0DQoJ Pmh0dHBzOi8vbGlzdHMuc291cmNlZm9yZ2UubmV0L2xpc3RzL2xpc3RpbmZvL25hZ2lvcy11c2Vy cw0KCT46OjogUGxlYXNlIGluY2x1ZGUgTmFnaW9zIHZlcnNpb24sIHBsdWdpbiB2ZXJzaW9uICgt dikgYW5kIE9TIHdoZW4gcmVwb3J0aW5nIGFueSBpc3N1ZS4NCgk+Ojo6IE1lc3NhZ2VzIHdpdGhv dXQgc3VwcG9ydGluZyBpbmZvIHdpbGwgcmlzayBiZWluZyBzZW50IHRvIC9kZXYvbnVsbA0KCT4N Cgk+IA0KCT4NCgloaSEgRXhjdXNlIG1lLCBJJ20gcmVhZGluZyB5b3UgaGF2ZSBjb21wbGllZCAi Y2hlY2tfZGhjcC5jIi4uLkkgd291bGQNCglsaWtlIHRvIHVzZSAiY2hlY2tfZG5zIiBlICJjaGVj a19kaGNwIiBidXQgSSdkb24ndCAga25vdyBjb21wbGllZCB0aGVtLg0KCUNhbiB5b3UgaGVscCBt ZT8NCgkNCgkNCgkNCg0K ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Tue Jul 15 21:57:26 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Tue, 15 Jul 2003 15:57:26 -0400 Subject: Distributed Polling Question Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604C980@patton.infosysnetworks.com> I would like to configure Nagios in a distributed polling model, but I want the central server to be running multiple instances of Nagios (i.e. one for each customer so they have their own web interface, etc). The problem I see is that the NSCA client does not have a way to indicate which instance of Nagios to submit the passive check to. Does anyone have any experience with this situation? Thank you, Brian Snead. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jul 15 22:06:43 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 15 Jul 2003 14:06:43 -0600 Subject: Compiling Graphics CGI's Message-ID: Running 'make' without arguments seems to indicate that there is a 'make cgis' option, as shown below: [root at monitor2 nagios-1.1]# 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 [root at monitor2 nagios-1.1]# Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Chris Merkel [mailto:chrism at geo-synthetics.com] > Sent: Tuesday, July 15, 2003 11:40 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Compiling Graphics CGI's > > > When I installed Nagios, I didn't have GD installed. I do now > and I'd like to get statusmap.cgi, trends.cgi and histogram.cgi. > > How do I compile the individual CGI's? I've spent quite a bit > of time getting Nagios monitoring everything on my network > and I'm afraid of messing it up. > > Thanks, > > Chris > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gjfrater at bechtel.com Tue Jul 15 22:31:07 2003 From: gjfrater at bechtel.com (Frater, Greg J) Date: Tue, 15 Jul 2003 13:31:07 -0700 Subject: problem with trend/avail cgi's not looking at archived logs Message-ID: All, Are the trend.cgi, avail.cgi, histogram.cgi etc cgi's supposed to look at log files in the archive directory? Mine are only looking at the current log file which is giving us incorrect metrics. I am trying to determine if this is by design or not. I have searched the mailing list archives and the config files and have not found anything definitive. The cgi's have options for choosing many different time frames (this year, last year, last month, this week, etc.) so are those based on whether those times are in the current log file or not? Any help or experience shedding light on this for me would be greatly appreciated. TIA Thanks, Greg Frater ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Tue Jul 15 22:51:46 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Tue, 15 Jul 2003 16:51:46 -0400 Subject: How can I control host checks after service failure Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC60304F7@patton.infosysnetworks.com> I am polling many services across a wan connection and have the check interval set to 3 minutes. When a service check fails, Nagios starts pounding out sequential host checks to see if the host is alive. The problem is that I want to give the host several minutes to make sure we a) fault isolate any parents that have failed and b) don't fire off false positives because of network load. While reading about how Nagios handles service check scheduling, I came across this note -- "Also of note - when Nagios is check the status of a host, it holds off on doing anything else (executing new service checks, processing other service check results, etc)." So, if I want three minutes before the host is reported as down and the check-host-alive command times out in 10 seconds, I can set the max_check_attempts to 18 (18 x 10sec). But I will not process any other service checks for 3 minutes, so they will become stale. If you can think of some alternatives, please let me know. Thanks Brian. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Tue Jul 15 23:02:15 2003 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 15 Jul 2003 17:02:15 -0400 Subject: Distributed Polling Question References: <8A33B0D59EE5CD459FF98F7C5D49FFC604C980@patton.infosysnetworks.com> Message-ID: <3F146BD7.10707@quadrix.com> The way we handled this was having multiple instances of NSCA running on the machines with the multiple nagios instances. Each nsca is listening on a different port. Then, in your ocsp_command script that wraps send_nsca, include some logic matching the particular service to the appropriate client and then send it to the correct port. Russell Scibetti Brian Snead wrote: >I would like to configure Nagios in a distributed polling model, but I want the central server to be running multiple instances of Nagios (i.e. one for each customer so they have their own web interface, etc). The problem I see is that the NSCA client does not have a way to indicate which instance of Nagios to submit the passive check to. Does anyone have any experience with this situation? > >Thank you, > >Brian Snead. > > >------------------------------------------------------- >This SF.Net email sponsored by: Parasoft >Error proof Web apps, automate testing & more. >Download & eval WebKing and get a free book. >www.parasoft.com/bulletproofapps1 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larry.bills at mci.com Tue Jul 15 23:49:52 2003 From: larry.bills at mci.com (Larry Bills) Date: Tue, 15 Jul 2003 16:49:52 -0500 Subject: Distributed Polling Question In-Reply-To: <8A33B0D59EE5CD459FF98F7C5D49FFC604C980@patton.infosysnetworks.com> References: <8A33B0D59EE5CD459FF98F7C5D49FFC604C980@patton.infosysnetworks.com> Message-ID: <1058305793.10796.18.camel@penguin3.mcilink.com> Easy way is to run NSCA on different ports than the default. Each instance has a different port, such as 5667 (default) 5668, etc. 2 cents.....why not read from data sent to a db with one copy of Nagios, and create your own web interface for each customer from php, java etc, accessable by one copy of Nagios...makes the server breathe easier. Larry Bills n Tue, 2003-07-15 at 14:57, Brian Snead wrote: > I would like to configure Nagios in a distributed polling model, but I want the central server to be running multiple instances of Nagios (i.e. one for each customer so they have their own web interface, etc). The problem I see is that the NSCA client does not have a way to indicate which instance of Nagios to submit the passive check to. Does anyone have any experience with this situation? > > Thank you, > > Brian Snead. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jyao at aav.com.au Wed Jul 16 01:38:50 2003 From: jyao at aav.com.au (Yao, Jack) Date: Wed, 16 Jul 2003 09:38:50 +1000 Subject: check http Message-ID: HI there , I am new to Nagios , trying to use check http command with argument. I can execute it from command like this: ./ check_http -H [hot ip address] -u /bla/bla.html but cannot find the right syntax to put it in services,cfg at check command. Any advise for newbie ??? thanks J -------------- next part -------------- An HTML attachment was scrubbed... URL: From jyao at aav.com.au Wed Jul 16 04:20:55 2003 From: jyao at aav.com.au (Yao, Jack) Date: Wed, 16 Jul 2003 12:20:55 +1000 Subject: check http Message-ID: Hi Moti, Shouldn't it be -U instead of -S in define command ? I tried -S , it complains about no SSL avilable anyway. jack -----Original Message----- From: Moti Levy [mailto:moti at flncs.com] Sent: Wednesday, 16 July 2003 11:37 AM To: Yao, Jack Subject: Re: [Nagios-users] check http in checkcommands.cfg # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ $ARG0$ } # 'check_https' command definition define command{ command_name check_https command_line $USER1$/check_http -H $HOSTADDRESS$ -S $ARG0$ } in services.cfg define service{ host_name ww service_description www is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups admins notification_interval 30 notification_period 24x7 notification_options w,c,r check_command check_http!-u /page.asp -t 180 } this will check page.asp on www server ----- Original Message ----- From: Yao, Jack To: 'nagios-users at lists.sourceforge.net' Sent: Tuesday, July 15, 2003 7:38 PM Subject: [Nagios-users] check http HI there , I am new to Nagios , trying to use check http command with argument. I can execute it from command like this: ./ check_http -H [hot ip address] -u /bla/bla.html but cannot find the right syntax to put it in services,cfg at check command. Any advise for newbie ??? thanks J -------------- next part -------------- An HTML attachment was scrubbed... URL: From phu at uui.com Wed Jul 16 07:19:09 2003 From: phu at uui.com (Phu Nguyen) Date: Tue, 15 Jul 2003 22:19:09 -0700 Subject: build plugin on sparc failed In-Reply-To: <1058269267.20519.813.camel@unixgod.hq.nasa.gov> References: <1058269267.20519.813.camel@unixgod.hq.nasa.gov> Message-ID: <00b301c34b59$c95aced0$0300a8c0@dell> Hi, I'm building nagios plug-in for Solaris8/SPARC, but never got success. Although I have gcc, automake, autoconf installed. I don't know what I miss. What environment did you build with? Etc... gcc version? Any other requirement? Phu Nguyen. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carl Schelin Sent: Tuesday, July 15, 2003 4:41 AM To: Phu Nguyen Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] build plugin on sparc failed It's working for me on Solaris 7. What's the problem? Running configure told me everything that was needed if I wanted to support one feature or another (samba for example for smbclient). Carl On Mon, 2003-07-14 at 18:25, Phu Nguyen wrote: > Hi everyone, > > > > Has any one successful build nagios plug-in v1.3.0 or v1.3.1 on SPARC? > If you do, can you tell me what the requirement for sparc is? > > > > Thank you in advance, > > Phu Nguyen. > > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arbhushan at yahoo.com Wed Jul 16 08:01:20 2003 From: arbhushan at yahoo.com (Ravi Bhushan) Date: Tue, 15 Jul 2003 23:01:20 -0700 (PDT) Subject: Problem with check_nrpe Message-ID: <20030716060120.38109.qmail@web10504.mail.yahoo.com> Hello, I'm trying to monitor remote services like check_disk etc. The error message I get is "CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?". The error message is same, even if I run the check_nrpe command line. My Nagios Server and clients are Solaris 9 and Solaris 8 respectively. My configuration files are as below: Nagios Server: /usr/local/nagios/etc/checkcommands.cfg ------------------------------------------------------ #'check_nrpe' command definition command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ Nagios Server: /usr/local/nagios/etc/services.cfg ------------------------------------------------- define service{ use generic-service host_name Client Name service_description disk_space is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 2 retry_check_interval 1 contact_groups it notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_usr1 } Nagios Client: /etc/inetd.conf ------------------------------ nrpe stream tcp nowait nagios /usr/sbin/tcpd /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/nrpe.cfg --inetd Nagios Client: /etc/services ---------------------------- nrpe 5666/tcp Additional info: ---------------- telnet client_name 5666 (Telnet to port 5666 works). netstat -a | grep nrpe shows *.nrpe *.* 0 0 24576 0 LISTEN client_name.nrpe nagios_server.37016 49640 0 24820 0 TIME_WAIT client_name.nrpe nagios_server.37030 49640 0 24820 0 TIME_WAIT Can you please help me on this or let me know if you need any additional info. thanks and regards -Ravi __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrzej.wisniewski at contium.pl Wed Jul 16 09:00:40 2003 From: andrzej.wisniewski at contium.pl (Andrzej Wisniewski) Date: 16 Jul 2003 09:00:40 +0200 Subject: check_qmail ? Message-ID: <1058338839.4477.40.camel@andy> Hi I'm looking for some plugin to check queue at qmail server. Do you know maybe where can I find it ? Maybe I can check it without plugin ? Tx for any idea :) -- AndY ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crose at amath.unizh.ch Wed Jul 16 09:28:42 2003 From: crose at amath.unizh.ch (Carsten Rose) Date: Wed, 16 Jul 2003 09:28:42 +0200 Subject: check_imap: good parameters ? Message-ID: Hi Folks can anyone tell good parameters of 'check_imap' for "-s" and "-e" ? If I specify none of them, everything is ok, but: with good parameters it may be possible to be a little bit more 'real' testing. -s, --send=STRING String to send to the server -e, --expect=STRING String to expect in server response -W, --wait=INTEGER Seconds to wait between sending string and polling for response Thanks Carsten ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at hotmail.com Wed Jul 16 09:58:32 2003 From: daehenoc at hotmail.com (Greg Vickers) Date: Wed, 16 Jul 2003 17:58:32 +1000 Subject: Authenticated users cross-auth problem Message-ID: Hello all, I have a ticklish problem: >From the manual: Authenticated contacts are granted the following permissions for each host for which they are contacts: * Authorization to view status information for all services on the host The only way I can see for someone to be authenticated for a host is to be authenticated for a service assigned to that host or be a contact for a hostgroup that contains that host. (Is this right?) Therefore: If I have Service A associated with Host A and Contact A is authorized to view the status of Service A, Contact A by default has permission to view the status etc of Host A. If I have Service B associated with Host A and Contact B is authorized to view the status of Service B, Contact B by default has permission to view the status of Host A, AND ANY SERVICES of Host A! Contact B can see the status of Service A, even though Contact B is *not* an authenticated contact of Service A! (Due to Contact B being authorized for Host A) Has anyone else come across this problem, or am not RTFMing properly? There has to be a way to have two services associated with one host and the respective contacts not being able to view the status of the other service. (I have tried assigning the services directly to a host and assigning them via hostgroups, the same undesirable situation occurs.) Please help! Thanks, Greg _________________________________________________________________ Hotmail is now available on Australian mobile phones. Go to http://ninemsn.com.au/mobilecentral/signup.asp ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at id.pl Wed Jul 16 10:18:15 2003 From: nagios at id.pl (Andrzej Wisniewski) Date: 16 Jul 2003 10:18:15 +0200 Subject: Problem with check_nrpe In-Reply-To: <20030716060120.38109.qmail@web10504.mail.yahoo.com> References: <20030716060120.38109.qmail@web10504.mail.yahoo.com> Message-ID: <1058343495.4477.51.camel@andy> > I'm trying to monitor remote services like check_disk > etc. The error message I get is "CHECK_NRPE: Received > 0 bytes. Are we allowed to connect to the host?". The Send body your /etc/nrpe.cfg file yet. Exactly I think about "ALLOWED HOST ADDRESSES" section. Do you have your server IP address there ? -- AndY ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Wed Jul 16 10:30:37 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 16 Jul 2003 09:30:37 +0100 Subject: Authenticated users cross-auth problem Message-ID: Greg, That is working as expected but I found this was a limitation in our environment. I wanted only specific services on a host to be visible to certain contacts. For example, I only want the Unix team to see Unix services, Oracle team to see Oracle databases, etc. I applied this patch to auth.c. I think the authentication should be more modular, but then you need to specify for every service which contacts you want, which complicates the configuration. Ton > -----Original Message----- > From: Greg Vickers [mailto:daehenoc at hotmail.com] > Sent: Wednesday, July 16, 2003 8:59 AM > To: nagios-users at sourceforge.net > Subject: [Nagios-users] Authenticated users cross-auth problem > > > Hello all, > > I have a ticklish problem: > > From the manual: > Authenticated contacts are granted the following permissions > for each host > for which they are contacts: > * Authorization to view status information for all > services on the host > > The only way I can see for someone to be authenticated for a > host is to be > authenticated for a service assigned to that host or be a > contact for a > hostgroup that contains that host. (Is this right?) > > Therefore: > If I have Service A associated with Host A and Contact A is > authorized to > view the status of Service A, Contact A by default has > permission to view > the status etc of Host A. > If I have Service B associated with Host A and Contact B is > authorized to > view the status of Service B, Contact B by default has > permission to view > the status of Host A, AND ANY SERVICES of Host A! > > Contact B can see the status of Service A, even though > Contact B is *not* an > authenticated contact of Service A! (Due to Contact B being > authorized for > Host A) > > Has anyone else come across this problem, or am not RTFMing > properly? There > has to be a way to have two services associated with one host and the > respective contacts not being able to view the status of the > other service. > > (I have tried assigning the services directly to a host and > assigning them > via hostgroups, the same undesirable situation occurs.) > > Please help! > > Thanks, > Greg > > _________________________________________________________________ > Hotmail is now available on Australian mobile phones. Go to > http://ninemsn.com.au/mobilecentral/signup.asp > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -------------- next part -------------- A non-text attachment was scrubbed... Name: auth.c.patch Type: application/octet-stream Size: 605 bytes Desc: not available URL: From jamie.baddeley at vpc.co.nz Wed Jul 16 11:26:12 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 16 Jul 2003 21:26:12 +1200 Subject: Authenticated users cross-auth problem In-Reply-To: References: Message-ID: <200307160920.h6G9KlI23761@spectre.freeparking.co.nz> Hi Greg, Nope you're right on the money. It seems to me that the logic is based around/tied to hostgroup definitions. Partitioned views IMHO are a really nice aspect of Nagios. Make the concept of "Online NOC" work......But it seems far more sensible to make these partitions aligned to services rather than hosts - after all the Nagger is service focussed not host focussed. Maybe if it was tied it to a service dependency definition it'd work better. That'd be a really good reason to create service dependencies for something other than alert-storm prevention.... i.e customer A is dependent of service dependency thread Z & Y. hmmm... jamie On Wed, 16 Jul 2003 19:58, Greg Vickers wrote: > Hello all, > > I have a ticklish problem: > > From the manual: > Authenticated contacts are granted the following permissions for each host > for which they are contacts: > * Authorization to view status information for all services on the host > > The only way I can see for someone to be authenticated for a host is to be > authenticated for a service assigned to that host or be a contact for a > hostgroup that contains that host. (Is this right?) > > Therefore: > If I have Service A associated with Host A and Contact A is authorized to > view the status of Service A, Contact A by default has permission to view > the status etc of Host A. > If I have Service B associated with Host A and Contact B is authorized to > view the status of Service B, Contact B by default has permission to view > the status of Host A, AND ANY SERVICES of Host A! > > Contact B can see the status of Service A, even though Contact B is *not* > an authenticated contact of Service A! (Due to Contact B being authorized > for Host A) > > Has anyone else come across this problem, or am not RTFMing properly? There > has to be a way to have two services associated with one host and the > respective contacts not being able to view the status of the other service. > > (I have tried assigning the services directly to a host and assigning them > via hostgroups, the same undesirable situation occurs.) > > Please help! > > Thanks, > Greg > > _________________________________________________________________ > Hotmail is now available on Australian mobile phones. Go to > http://ninemsn.com.au/mobilecentral/signup.asp > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Wed Jul 16 12:04:15 2003 From: twelsh at square-box.com (Tom Welsh) Date: Wed, 16 Jul 2003 11:04:15 +0100 Subject: Nagios + Novell Message-ID: <000301c34b81$9d464b80$0400a8c0@squarebox.com> Hi all. Can anyone tell me if mrtgext.nlm can support the following whilst interfacing to nagios? Bordermanager, Groupwise, File, NDS, DNS, DHCP Cheers Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hjclaes at web.de Wed Jul 16 12:39:15 2003 From: hjclaes at web.de (Heinz-Josef Claes) Date: 16 Jul 2003 12:39:15 +0200 Subject: Problem installing nagios Message-ID: <1058351954.2081.38.camel@wusel.schnulli.de> Hi, I'm new to nagios and have a problem. Whenever I select something in the web front end, I get: *************************************************************** It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. **************************************************************** I can see no error message about this in the apache or nagios log files. In the apache configuration file I configured: ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI order allow,deny allow from all Alias /nagios/ /usr/share/nagios/ AllowOverride AuthConfig order allow,deny Allow from all Nagios seems to run: /var/log/nagios/nagios.log [1058351828] HOST NOTIFICATION: daemon;router1;DOWN;host-notify-by-epager;CRITICAL - Plugin timed out after 10 seconds /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: daemon;router1;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: daemon;switch3;DOWN;host-notify-by-epager;/bin/ping -n -U -c 1 192.168.1.232 /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: daemon;switch3;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 192.168.1.232 Can anybudy give me a hint? Best regards, -- Heinz-Josef Claes hjclaes at web.de project: http://sourceforge.net/projects/storebackup -> snapshot-like backup to another disk ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Wed Jul 16 13:00:58 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 16 Jul 2003 07:00:58 -0400 Subject: Authenticated users cross-auth problem In-Reply-To: <200307160920.h6G9KlI23761@spectre.freeparking.co.nz> References: <200307160920.h6G9KlI23761@spectre.freeparking.co.nz> Message-ID: <1058353258.4954.4.camel@miles.debisschop.net> On Wed, 2003-07-16 at 05:26, Jamie Baddeley wrote: > Hi Greg, > > Nope you're right on the money. It seems to me that the logic is based > around/tied to hostgroup definitions. > > Partitioned views IMHO are a really nice aspect of Nagios. Make the concept > of "Online NOC" work......But it seems far more sensible to make these > partitions aligned to services rather than hosts - after all the Nagger is > service focussed not host focussed. > > Maybe if it was tied it to a service dependency definition it'd work > better. That'd be a really good reason to create service dependencies for > something other than alert-storm prevention.... > > i.e customer A is dependent of service dependency thread Z & Y. In practice, won't the contact group for the service be a good indicator of who should be authorized to see a service? If Nagios perms were extended to allow access to members associated with a contact group, there would be a rationale way to express this. You woul need to ad login names to the contact or contact group definition. But for some site, that might even be all you need to do. (I haven't needed to do this, so I haven't thought alot about it - forgive me if this could not work for some obvious reason I'm not seeing) -- Karl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Wed Jul 16 13:05:26 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 16 Jul 2003 07:05:26 -0400 Subject: check_imap: good parameters ? In-Reply-To: References: Message-ID: <1058353525.4954.9.camel@miles.debisschop.net> On Wed, 2003-07-16 at 03:28, Carsten Rose wrote: > Hi Folks > > can anyone tell good parameters of 'check_imap' for "-s" and "-e" ? > > If I specify none of them, everything is ok, but: with good parameters > it may be possible to be a little bit more 'real' testing. > > -s, --send=STRING > String to send to the server > -e, --expect=STRING > String to expect in server response -W, --wait=INTEGER > Seconds to wait between sending string and polling for response The default send and expect strings should be fairly easy to read out of the source for check_tcp - near the beginning of the file there's a block of definitions for each of the variants that check_tcp handles. That block includes the send and expect strings for the protocol i fthe differ from those used to check a raw TCP connection. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Wed Jul 16 13:23:32 2003 From: twelsh at square-box.com (Tom Welsh) Date: Wed, 16 Jul 2003 12:23:32 +0100 Subject: Problem installing nagios In-Reply-To: <1058351954.2081.38.camel@wusel.schnulli.de> References: <1058351954.2081.38.camel@wusel.schnulli.de> Message-ID: <000001c34b8c$b0dbb800$0400a8c0@squarebox.com> Take a look at your cgi,cfg and check what you have set for... authorized_for_system_information=nagiosadmin,hamish,angus,morag and other associated authprized_for options Cheers Tom welsh squareBOX technologies ltd twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Heinz-Josef Claes Sent: 16 July 2003 11:39 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem installing nagios Hi, I'm new to nagios and have a problem. Whenever I select something in the web front end, I get: *************************************************************** It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. **************************************************************** I can see no error message about this in the apache or nagios log files. In the apache configuration file I configured: ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI order allow,deny allow from all Alias /nagios/ /usr/share/nagios/ AllowOverride AuthConfig order allow,deny Allow from all Nagios seems to run: /var/log/nagios/nagios.log [1058351828] HOST NOTIFICATION: daemon;router1;DOWN;host-notify-by-epager;CRITICAL - Plugin timed out after 10 seconds /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: daemon;router1;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: daemon;switch3;DOWN;host-notify-by-epager;/bin/ping -n -U -c 1 192.168.1.232 /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: daemon;switch3;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 192.168.1.232 Can anybudy give me a hint? Best regards, -- Heinz-Josef Claes hjclaes at web.de project: http://sourceforge.net/projects/storebackup -> snapshot-like backup to another disk ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Wed Jul 16 13:24:08 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 16 Jul 2003 07:24:08 -0400 Subject: check http In-Reply-To: References: Message-ID: <1058354647.4954.29.camel@miles.debisschop.net> On Tue, 2003-07-15 at 22:20, Yao, Jack wrote: > Hi Moti, > > Shouldn't it be -U instead of -S in define command ? I tried -S , it > complains about no SSL avilable anyway. That just means your OpenSSL development libs were not found during configuration. If you want SSL, check the output from configure, fix what needs to be fixed, then 'make distclean', configure and make again. - Karl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crose at amath.unizh.ch Wed Jul 16 13:29:09 2003 From: crose at amath.unizh.ch (Carsten Rose) Date: Wed, 16 Jul 2003 13:29:09 +0200 Subject: check_imap: good parameters ? In-Reply-To: <1058353525.4954.9.camel@miles.debisschop.net> References: <1058353525.4954.9.camel@miles.debisschop.net> Message-ID: Hi Karl > The default send and expect strings should be fairly easy to read out of > the source for check_tcp - near the beginning of the file there's a > block of definitions for each of the variants that check_tcp handles. asprintf (&SERVICE, "IMAP"); SEND = NULL; asprintf (&EXPECT, "* OK"); Ok, I think that's enough to be sure the service is up and running. Thanks CU Carsten ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crose at amath.unizh.ch Wed Jul 16 13:36:00 2003 From: crose at amath.unizh.ch (Carsten Rose) Date: Wed, 16 Jul 2003 13:36:00 +0200 Subject: Problem installing nagios In-Reply-To: <1058351954.2081.38.camel@wusel.schnulli.de> References: <1058351954.2081.38.camel@wusel.schnulli.de> Message-ID: Hi Heinz-Josef Did you checked cgi.cfg ? If you set (default): use_authentication=1 Then you have to setup Auth on Apache Create: /usr/local/nagios-1.1/share/.htaccess /usr/local/nagios-1.1/sbin/.htaccess Content: AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios-1.1/etc/htpasswd.users require valid-user Create Passwords (first user): /usr/apache/bin/htpasswd -c /usrlocal/nagios-1.1/etc/htpasswd.users Additional users. /usr/apache/bin/htpasswd /opt/nagios-1.1/etc/htpasswd.users crose Or RTFM :-) CU Carsten > Hi, > > I'm new to nagios and have a problem. Whenever I select something in the > web front end, I get: > > *************************************************************** > It appears as though you do not have permission to view information for > any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > **************************************************************** > > I can see no error message about this in the apache or nagios log files. > > In the apache configuration file I configured: > > ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ > > AllowOverride AuthConfig > Options ExecCGI > order allow,deny > allow from all > > > Alias /nagios/ /usr/share/nagios/ > > AllowOverride AuthConfig > order allow,deny > Allow from all > > > > Nagios seems to run: > > /var/log/nagios/nagios.log [1058351828] HOST NOTIFICATION: > daemon;router1;DOWN;host-notify-by-epager;CRITICAL - Plugin timed out > after 10 seconds > /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: > daemon;router1;DOWN;host-notify-by-email;CRITICAL - Plugin timed out > after 10 seconds > /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: > daemon;switch3;DOWN;host-notify-by-epager;/bin/ping -n -U -c 1 > 192.168.1.232 > /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: > daemon;switch3;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 > 192.168.1.232 > > Can anybudy give me a hint? > > Best regards, ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Wed Jul 16 13:39:41 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 16 Jul 2003 23:39:41 +1200 Subject: Authenticated users cross-auth problem In-Reply-To: <1058353258.4954.4.camel@miles.debisschop.net> References: <200307160920.h6G9KlI23761@spectre.freeparking.co.nz> <1058353258.4954.4.camel@miles.debisschop.net> Message-ID: <200307161134.h6GBYGI00336@spectre.freeparking.co.nz> Hmm. I may be confused, but you'd potentially need to construct a new grouping for services wouldn't you? How does your proposed logic deal with a single contact who has access to multiple services across multiple hosts? Or do you assign a contact group to each service? Thats feels like potentially lots of keyboard work for the typical/average nagministrator.... 6 of one - half a dozen of the other really...I've not bothered either way. It just seemed simple to tie a service dependency contruct to a contactgroup. Or perhaps it's better to think about a customer-view group - which can be different to a contact group.... My reality is I've got users looking at services that are actually dependent on each other to deliver something that the PHB's understand - like WWW - You know - expressing stuff in a "meaningful" way. DNS bone is connected to the Firewall bone, which is connected to the Proxy/Cache bone etc etc (you get the idea..) I've been getting creative with service descriptions too - so this additional level of abstraction would be handy. Or maybe it's late and I should sleep. maybe a thread to continue... jamie On Wed, 16 Jul 2003 23:00, Karl DeBisschop wrote: > On Wed, 2003-07-16 at 05:26, Jamie Baddeley wrote: > > Hi Greg, > > > > Nope you're right on the money. It seems to me that the logic is based > > around/tied to hostgroup definitions. > > > > Partitioned views IMHO are a really nice aspect of Nagios. Make the > > concept of "Online NOC" work......But it seems far more sensible to make > > these partitions aligned to services rather than hosts - after all the > > Nagger is service focussed not host focussed. > > > > Maybe if it was tied it to a service dependency definition it'd work > > better. That'd be a really good reason to create service dependencies for > > something other than alert-storm prevention.... > > > > i.e customer A is dependent of service dependency thread Z & Y. > > In practice, won't the contact group for the service be a good indicator > of who should be authorized to see a service? > > If Nagios perms were extended to allow access to members associated with > a contact group, there would be a rationale way to express this. You > woul need to ad login names to the contact or contact group definition. > But for some site, that might even be all you need to do. > > (I haven't needed to do this, so I haven't thought alot about it - > forgive me if this could not work for some obvious reason I'm not > seeing) ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Wed Jul 16 13:50:37 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 16 Jul 2003 07:50:37 -0400 Subject: Compiling Graphics CGI's In-Reply-To: References: Message-ID: <1058356236.14106.8.camel@unixgod.hq.nasa.gov> On Tue, 2003-07-15 at 13:40, Chris Merkel wrote: > When I installed Nagios, I didn't have GD installed. I do now and I'd like > to get statusmap.cgi, trends.cgi and histogram.cgi. > > How do I compile the individual CGI's? I've spent quite a bit of time > getting Nagios monitoring everything on my network and I'm afraid of messing > it up. > I've reinstalled the plug-ins and nagios several times and haven't lost my configuration yet. The only config files that are installed are the sample files and only if you run make install-config. So far, I think only the nagios/etc directory is the one that changes. Back it up first. I'm still puzzling out the statuswrl.cgi trying to download rather than rendering the 3d image so I'm sure I'll be reinstalling it again once I figure it out (I suspect apache). > Thanks, > > Chris > Carl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Wed Jul 16 13:54:22 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 16 Jul 2003 07:54:22 -0400 Subject: build plugin on sparc failed In-Reply-To: <00b301c34b59$c95aced0$0300a8c0@dell> References: <00b301c34b59$c95aced0$0300a8c0@dell> Message-ID: <1058356462.14100.11.camel@unixgod.hq.nasa.gov> What sort of errors are you getting? I'm running gcc 2.95.2, PATH is /usr/local/bin:/usr/ccs/bin:/usr/openwin/bin (plus the normal stuff). Carl On Wed, 2003-07-16 at 01:19, Phu Nguyen wrote: > Hi, > > I'm building nagios plug-in for Solaris8/SPARC, but never got success. > Although I have gcc, automake, autoconf installed. I don't know what I miss. > What environment did you build with? Etc... gcc version? Any other > requirement? > > Phu Nguyen. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carl Schelin > Sent: Tuesday, July 15, 2003 4:41 AM > To: Phu Nguyen > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] build plugin on sparc failed > > It's working for me on Solaris 7. What's the problem? > > Running configure told me everything that was needed if I wanted to > support one feature or another (samba for example for smbclient). > > Carl > > On Mon, 2003-07-14 at 18:25, Phu Nguyen wrote: > > Hi everyone, > > > > > > > > Has any one successful build nagios plug-in v1.3.0 or v1.3.1 on SPARC? > > If you do, can you tell me what the requirement for sparc is? > > > > > > > > Thank you in advance, > > > > Phu Nguyen. > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Wed Jul 16 13:58:33 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 16 Jul 2003 07:58:33 -0400 Subject: Problem installing nagios In-Reply-To: <1058351954.2081.38.camel@wusel.schnulli.de> References: <1058351954.2081.38.camel@wusel.schnulli.de> Message-ID: <1058356713.14106.14.camel@unixgod.hq.nasa.gov> I had the same problem initially. Only the person assigned to the system or service can see the respective item. If you want general access, check your cgi.cfg file. There is a line or two where you can assign total access to all services/hosts. Carl On Wed, 2003-07-16 at 06:39, Heinz-Josef Claes wrote: > Hi, > > I'm new to nagios and have a problem. Whenever I select something in the > web front end, I get: > > *************************************************************** > It appears as though you do not have permission to view information for > any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > **************************************************************** > > I can see no error message about this in the apache or nagios log files. > > In the apache configuration file I configured: > > ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ > > AllowOverride AuthConfig > Options ExecCGI > order allow,deny > allow from all > > > Alias /nagios/ /usr/share/nagios/ > > AllowOverride AuthConfig > order allow,deny > Allow from all > > > > Nagios seems to run: > > /var/log/nagios/nagios.log [1058351828] HOST NOTIFICATION: > daemon;router1;DOWN;host-notify-by-epager;CRITICAL - Plugin timed out > after 10 seconds > /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: > daemon;router1;DOWN;host-notify-by-email;CRITICAL - Plugin timed out > after 10 seconds > /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: > daemon;switch3;DOWN;host-notify-by-epager;/bin/ping -n -U -c 1 > 192.168.1.232 > /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: > daemon;switch3;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 > 192.168.1.232 > > Can anybudy give me a hint? > > Best regards, ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hjclaes at web.de Wed Jul 16 14:08:41 2003 From: hjclaes at web.de (Heinz-Josef Claes) Date: 16 Jul 2003 14:08:41 +0200 Subject: Problem installing nagios In-Reply-To: <000001c34b8c$b0dbb800$0400a8c0@squarebox.com> References: <000001c34b8c$b0dbb800$0400a8c0@squarebox.com> Message-ID: <1058357320.2039.47.camel@wusel.schnulli.de> Thanx a lot, that's it! Also thanx to all the other answers I got. Know that it's running in principle, I only have to check the 500 possibilities to configure nagios :-) Regards, HJC Am Mit, 2003-07-16 um 13.23 schrieb Tom Welsh: > Take a look at your cgi,cfg and check what you have set for... > > authorized_for_system_information=nagiosadmin,hamish,angus,morag and > other associated authprized_for options > > Cheers > > Tom welsh > squareBOX technologies ltd > twelsh at square-box.com > > > > DISCLAIMER: This e-mail contains proprietary information some or all of > which may be legally privileged. It is for the intended recipient only. > If an addressing or transmission error has misdirected this e-mail, > please notify the author by replying to this e-mail. If you are not the > intended recipient you must not use, disclose, distribute, copy, print, > or rely on this e-mail. > > Sender accepts no liability for any damage resulting from the use and/or > acceptation of the content of this e-mail. > > Always scan attachments before opening them. > > The views expressed in this communication may not necessarily be the > views held by squareBOX technologies ltd > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > Heinz-Josef Claes > Sent: 16 July 2003 11:39 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem installing nagios > > Hi, > > I'm new to nagios and have a problem. Whenever I select something in the > web front end, I get: > > *************************************************************** > It appears as though you do not have permission to view information for > any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > **************************************************************** > > I can see no error message about this in the apache or nagios log files. > > In the apache configuration file I configured: > > ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ > > AllowOverride AuthConfig > Options ExecCGI > order allow,deny > allow from all > > > Alias /nagios/ /usr/share/nagios/ > > AllowOverride AuthConfig > order allow,deny > Allow from all > > > > Nagios seems to run: > > /var/log/nagios/nagios.log [1058351828] HOST NOTIFICATION: > daemon;router1;DOWN;host-notify-by-epager;CRITICAL - Plugin timed out > after 10 seconds > /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: > daemon;router1;DOWN;host-notify-by-email;CRITICAL - Plugin timed out > after 10 seconds > /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: > daemon;switch3;DOWN;host-notify-by-epager;/bin/ping -n -U -c 1 > 192.168.1.232 > /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION: > daemon;switch3;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 > 192.168.1.232 > > Can anybudy give me a hint? > > Best regards, ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco at lanzotti.com Wed Jul 16 14:23:42 2003 From: marco at lanzotti.com (Marco Lanzotti) Date: Wed, 16 Jul 2003 14:23:42 +0200 Subject: check skipped at scheduled time Message-ID: <20030716122342.GA11010@yourvoice.com> Hi all, I've a problem in nagios 1.1 Sometimes nagios skips some service checks, so "Next Scheduled Active Check" still be a date in the past and checks will not be executed again. Is this a bug or a missconfiguration? Ciao, Marco. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mksmith at pa.eplus.com Wed Jul 16 15:16:02 2003 From: mksmith at pa.eplus.com (Mitchell K. Smith) Date: Wed, 16 Jul 2003 09:16:02 -0400 Subject: how to wrap long lines in config files Message-ID: <509CCC09F64F4247983A7306863627E7DC457E@exchpa2.pa.eplus.com> I have a host group with many hosts listed. What is the correct syntax for breaking the line into several parts so that it's readable. I tried putting a \ at the end but it didn't like that. Thanks for your help. Mitchell K. Smith ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Wed Jul 16 15:54:08 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Wed, 16 Jul 2003 09:54:08 -0400 Subject: Compiling Graphics CGI's Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604C983@patton.infosysnetworks.com> The reason the statuswrl.cgi 3d downloads is because your browser does not have a virtual 3d plugin installed and doesn't know how to display the file. Brian. -----Original Message----- From: Carl Schelin [mailto:cschelin at hq.nasa.gov] Sent: Wednesday, July 16, 2003 7:51 AM To: Chris Merkel Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Compiling Graphics CGI's On Tue, 2003-07-15 at 13:40, Chris Merkel wrote: > When I installed Nagios, I didn't have GD installed. I do now and I'd like > to get statusmap.cgi, trends.cgi and histogram.cgi. > > How do I compile the individual CGI's? I've spent quite a bit of time > getting Nagios monitoring everything on my network and I'm afraid of messing > it up. > I've reinstalled the plug-ins and nagios several times and haven't lost my configuration yet. The only config files that are installed are the sample files and only if you run make install-config. So far, I think only the nagios/etc directory is the one that changes. Back it up first. I'm still puzzling out the statuswrl.cgi trying to download rather than rendering the 3d image so I'm sure I'll be reinstalling it again once I figure it out (I suspect apache). > Thanks, > > Chris > Carl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Jul 16 16:06:24 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 16 Jul 2003 10:06:24 -0400 Subject: Problem Monitoring A Particular Process Message-ID: <5593DA408212D511B0910002A513501F06558E8D@phsexch20.mgh.harvard.edu> Hi there, I am trying to monitor a particular process on an NT 4 server. The name of the process is ConquestDICOMSe. This is how it appears in the Task Manager window. The syntax that I am using on the Nagios server is: check_nt_process!ConquestDICOMSe Nagios is reporting the process is not running even though it appears in the Task Manager. Any ideas? ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Wed Jul 16 16:14:16 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 16 Jul 2003 10:14:16 -0400 Subject: Compiling Graphics CGI's In-Reply-To: <8A33B0D59EE5CD459FF98F7C5D49FFC604C983@patton.infosysnetworks.com> References: <8A33B0D59EE5CD459FF98F7C5D49FFC604C983@patton.infosysnetworks.com> Message-ID: <1058364856.14100.37.camel@unixgod.hq.nasa.gov> I found a note on google groups mentioning that so I installed an NT plug-in and it still tries to open the cgi. There doesn't appear to be a linux or solaris vrml plug in though. I'll still poke around though. Thanks for the reply. Carl On Wed, 2003-07-16 at 09:54, Brian Snead wrote: > The reason the statuswrl.cgi 3d downloads is because your browser does not have a virtual 3d plugin installed and doesn't know how to display the file. > > Brian. > > -----Original Message----- > From: Carl Schelin [mailto:cschelin at hq.nasa.gov] > Sent: Wednesday, July 16, 2003 7:51 AM > To: Chris Merkel > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Compiling Graphics CGI's > > > On Tue, 2003-07-15 at 13:40, Chris Merkel wrote: > > When I installed Nagios, I didn't have GD installed. I do now and I'd like > > to get statusmap.cgi, trends.cgi and histogram.cgi. > > > > How do I compile the individual CGI's? I've spent quite a bit of time > > getting Nagios monitoring everything on my network and I'm afraid of messing > > it up. > > > > I've reinstalled the plug-ins and nagios several times and haven't lost > my configuration yet. The only config files that are installed are the > sample files and only if you run make install-config. So far, I think > only the nagios/etc directory is the one that changes. Back it up first. > > I'm still puzzling out the statuswrl.cgi trying to download rather than > rendering the 3d image so I'm sure I'll be reinstalling it again once I > figure it out (I suspect apache). > > > Thanks, > > > > Chris > > > Carl > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Jul 16 16:38:42 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 16 Jul 2003 10:38:42 -0400 Subject: FW: Problem Monitoring A Particular Process Message-ID: <5593DA408212D511B0910002A513501F06558E8E@phsexch20.mgh.harvard.edu> > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Wednesday, July 16, 2003 10:06 AM > To: nagios-users at lists.sourceforge.net > Subject: Problem Monitoring A Particular Process > > Hi there, > > I am trying to monitor a particular process on an NT 4 server. The name of > the process is ConquestDICOMSe. This is how it appears in the Task Manager > window. > The syntax that I am using on the Nagios server is: > > check_nt_process!ConquestDICOMSe > > Nagios is reporting the process is not running even though it appears in > the Task Manager. Any ideas? ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKlisowski at era.pl Wed Jul 16 16:51:51 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Wed, 16 Jul 2003 16:51:51 +0200 Subject: Statusmap/circular layout Message-ID: <20AF50E5F611F84993722DC135DF00BC1B15F0@seth.corponet.era.pl> Hi, I've added about 25 servers to my Nagios now, and "Status map"/Circular layout looks very tight (icons lay on each other)? Is it OK or maybe I haven't set up something? Rafal - ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irenes at wolfram.com Wed Jul 16 17:19:52 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Wed, 16 Jul 2003 10:19:52 -0500 (CDT) Subject: host checks, one more time! Message-ID: I'm sorry, I know it's in the documentation, but I need confirmation on my understanding of this function. I just restarted nagios (kill -HUP nagios), as I made some config changes. As the hosts are getting rechecked, I'm getting a "Host Assumed to be up" message. Is this because a restart of this nature retains the previous state, thus not needing to do an actual check at this time? Thanks again for your patience! -Irene ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Wed Jul 16 17:14:17 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Wed, 16 Jul 2003 11:14:17 -0400 Subject: Problem Monitoring A Particular Process Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604C986@patton.infosysnetworks.com> Andrew, The check_nt_process requires an agent on the NT server. Are you running the NRPE agent on the NT box? We have been burned by loading agents on customer production servers, so we have chosen to utilize straight SNMP to monitor the process. This doesn't require anything on the server except for the SNMP service. There is a patch plugin you can download from the plugin page called check_snmp_procs. You can also get disk space utilization and processor utilization directly from snmp. Hope this helps. Brian. -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Wednesday, July 16, 2003 10:06 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem Monitoring A Particular Process Hi there, I am trying to monitor a particular process on an NT 4 server. The name of the process is ConquestDICOMSe. This is how it appears in the Task Manager window. The syntax that I am using on the Nagios server is: check_nt_process!ConquestDICOMSe Nagios is reporting the process is not running even though it appears in the Task Manager. Any ideas? ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crose at amath.unizh.ch Wed Jul 16 17:34:19 2003 From: crose at amath.unizh.ch (Carsten Rose) Date: Wed, 16 Jul 2003 17:34:19 +0200 Subject: User defined icons in statusmap don't appear Message-ID: Hi Folks I try to configure some of the nice icons for display in the statusmap (CGI). But I alwas see the standard questionmark. - No Errors in Apache log. - GD and PNG should work, cause I see some other dynamic generated pictures (Alert Histogram). - The icons are installed under /usr/local/nagios-1.1/share/images/logos with rights "644". - /etc/init.d/nagios restart Details: cgi.cfg: ---------------------------------------- hostextinfo[mathray2]=;SunV880.png;SunV880.jpg;SunV880.png;SunFireV880;; ---------------------------------------- hosts.cfg --------------------------------------- # 'mathray2' host definition define host{ use generic-host host_name mathray2 alias SunRay Server #2 address 130.60.188.9 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } ---------------------------------------- Any ideas ? Thanks a lot CU Carsten ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.irvine at kingcountyjournal.com Wed Jul 16 17:37:39 2003 From: bryan.irvine at kingcountyjournal.com (Bryan Irvine) Date: 16 Jul 2003 08:37:39 -0700 Subject: check skipped at scheduled time In-Reply-To: <20030716122342.GA11010@yourvoice.com> References: <20030716122342.GA11010@yourvoice.com> Message-ID: <1058369859.1965.1.camel@elvis> It's neither a bug or a misconfiguration. It's a feature! My guess is you are looking at the scheduler and seeing things that have already happened. The checks aren't removed from the list just because they are in the past. Just wait for the last thing in the list to get checked and it will refresh all on it's own. --Bryan On Wed, 2003-07-16 at 05:23, Marco Lanzotti wrote: > Hi all, > I've a problem in nagios 1.1 > Sometimes nagios skips some service checks, so "Next Scheduled Active > Check" still be a date in the past and checks will not be executed > again. > Is this a bug or a missconfiguration? > > Ciao, > Marco. > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.heslin at us.mizuho-sc.com Wed Jul 16 17:41:08 2003 From: peter.heslin at us.mizuho-sc.com (Heslin, Peter) Date: Wed, 16 Jul 2003 11:41:08 -0400 Subject: Incompatible libpng versions??? Message-ID: <530FC437A78CD611B7E90002A542ED4B6254A1@chpnexch.fujisec.com> Hello All, I had a problem getting my statusmap, histogram, etc running as I did not have the correct libs on my system. So I installed the correct versions, or so I thought and now I am having another problem. When I try to access the statusmap or histogram cgi, the page comes up, but no images.... The error I receive in my http error log is as follows: libpng warning: Application was compiled with png.h from libpng-1.0.12 libpng warning: Application is running with png.c from libpng-1.2.5 gd-png: fatal libpng error: Incompatible libpng version in application and library it also says the script ends prematurely.... has anyone else run into this conundrum? Thanks... Pete CONFIDENTIAL: This email, including its content and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this email message or disclose its contents to anyone else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc. Email transmission cannot be guaranteed to be secure or error-free. The sender does not accept liability for any errors or omissions of this message due to email transmission. If verification is required please request a hardcopy version. Although we routinely screen for viruses, addressees should check this email and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this email or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read emails sent to and from our server(s). ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Jul 16 17:40:15 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 16 Jul 2003 11:40:15 -0400 Subject: Problem Monitoring A Particular Process Message-ID: <5593DA408212D511B0910002A513501F06558E90@phsexch20.mgh.harvard.edu> Hi Brian, Thanks for your e-amil. The problem has been resolved. The issue was that the process' actual name was ConquestDICOMServer.exe rather than the truncated version that appeared in Task Manager. Once that was corrected, Nagios was able to monitor the process successfully. Regarding the problem you have described: I am running the NSClient program on all our NT boxes. I have found this app to work well in Windows NT and 2000. The documentation is relatively straight-foward. If you are interested in using this client program, here are the url's where you can download it: http://nsclient.ready2run.nl/ http://support.tsmgsoftware.com/ Let me know how things go. -----Original Message----- From: Brian Snead [mailto:BSnead at infosysnetworks.com] Sent: Wednesday, July 16, 2003 11:14 AM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problem Monitoring A Particular Process Andrew, The check_nt_process requires an agent on the NT server. Are you running the NRPE agent on the NT box? We have been burned by loading agents on customer production servers, so we have chosen to utilize straight SNMP to monitor the process. This doesn't require anything on the server except for the SNMP service. There is a patch plugin you can download from the plugin page called check_snmp_procs. You can also get disk space utilization and processor utilization directly from snmp. Hope this helps. Brian. -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Wednesday, July 16, 2003 10:06 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem Monitoring A Particular Process Hi there, I am trying to monitor a particular process on an NT 4 server. The name of the process is ConquestDICOMSe. This is how it appears in the Task Manager window. The syntax that I am using on the Nagios server is: check_nt_process!ConquestDICOMSe Nagios is reporting the process is not running even though it appears in the Task Manager. Any ideas? ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Jul 16 17:51:41 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Wed, 16 Jul 2003 10:51:41 -0500 Subject: how to wrap long lines in config files Message-ID: As painful as this will sound, I don't believe there's a way to wrap long lines in the config files (and still have Nagios understand them). jc > -----Original Message----- > From: Mitchell K. Smith [mailto:mksmith at pa.eplus.com] > Sent: Wednesday, July 16, 2003 8:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] how to wrap long lines in config files > > > I have a host group with many hosts listed. > > What is the correct syntax for breaking the line into several > parts so that it's readable. > I tried putting a \ at the end but it didn't like that. > > Thanks for your help. > > Mitchell K. Smith > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crose at amath.unizh.ch Wed Jul 16 18:02:12 2003 From: crose at amath.unizh.ch (Carsten Rose) Date: Wed, 16 Jul 2003 18:02:12 +0200 Subject: Incompatible libpng versions??? In-Reply-To: <530FC437A78CD611B7E90002A542ED4B6254A1@chpnexch.fujisec.com> References: <530FC437A78CD611B7E90002A542ED4B6254A1@chpnexch.fujisec.com> Message-ID: Hi Peter I run into similar problems on another project. My solution was to have a clear installation. - Check, where libpng is installed (usr/lib) , don't forget the headers (/usr/include) files - Check which png lib is compiled into gd - Check which png lib is called by apache For myself, I compiled and installed png, gd complete new, just to be sure to use the right version. I took care, that gd and apache uses the new version. Your error messsages report, that only the png.h is old. Perhaps it's ok just to install libpng in the right version. HTH Carsten > Hello All, > > I had a problem getting my statusmap, histogram, etc running as I did not > have the correct libs on my system. > > So I installed the correct versions, or so I thought and now I am having > another problem. > > When I try to access the statusmap or histogram cgi, the page comes up, but > no images.... > > The error I receive in my http error log is as follows: > > libpng warning: Application was compiled with png.h from libpng-1.0.12 > libpng warning: Application is running with png.c from libpng-1.2.5 > gd-png: fatal libpng error: Incompatible libpng version in application and > library > > > it also says the script ends prematurely.... > > > has anyone else run into this conundrum? > > Thanks... > > Pete ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Wed Jul 16 18:07:09 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Wed, 16 Jul 2003 13:07:09 -0300 Subject: host checks, one more time! Message-ID: <20030716160709.14984.qmail@linuxmail.org> Irene, This is because you problably set the option "retain_status_information" in value equal to 1. Reading the documentation we can see the following: "This directive is used to determine whether or not status-related information about the host is retained across program restarts. This is only useful if you have enabled state retention using the retain_state_information directive. Value: 0 = disable status information retention, 1 = enable status information retention." Try to change this value to one different from what is in your config now. Then, restart nagios processes and check this out. I hope this resolves your problem. You don't need to thanks the "patience"! We all are here to try to help one each other. :) - Rivanor. ----- Original Message ----- From: Irene Sakellarakis Date: Wed, 16 Jul 2003 10:19:52 -0500 (CDT) To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] host checks, one more time! > I'm sorry, I know it's in the documentation, but I need confirmation on my > understanding of this function. > > I just restarted nagios (kill -HUP nagios), as I made some config changes. > > As the hosts are getting rechecked, I'm getting a "Host Assumed to be up" > message. Is this because a restart of this nature retains the previous > state, thus not needing to do an actual check at this time? > > > Thanks again for your patience! > > -Irene > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at sancho2k.net Wed Jul 16 18:34:20 2003 From: lists at sancho2k.net (lists at sancho2k.net) Date: Wed, 16 Jul 2003 10:34:20 -0600 (MDT) Subject: check_nt diskusage query no status returned Message-ID: <22368.12.160.33.128.1058373260.squirrel@mail.sancho2k.net> Hi all, We came to a sudden and discomforting realization that our disk space checks on NT/2000 boxes using check_nt were not returning status levels as we would expect per the -w and -c switches. Here's our example command: # check_nt -H 10.0.0.3 -w 20% -c 80% -v USEDDISKSPACE -l C C:\ - total: 19.10 Gb - used: 13.94 Gb (73%) - free 5.16 Gb (27%) With the warning threshold we have set here, I would expect the check to return a status other than OK on this. Nagios of course displays OK in the UI even when drive space is sitting at 100% full, 0% free. We've seen an alternative to this in using SNTP but this is not an alternative in our case. Any suggestions? TIA, DS ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crose at amath.unizh.ch Wed Jul 16 18:28:40 2003 From: crose at amath.unizh.ch (Carsten Rose) Date: Wed, 16 Jul 2003 18:28:40 +0200 Subject: User defined icons in statusmap don't appear In-Reply-To: References: Message-ID: Hi again I found the problem: I had to configure in template format, but I used the old one :-( Sorry. CU Carsten Carsten Rose wrote: > Hi Folks > > I try to configure some of the nice icons for display in the statusmap > (CGI). But I alwas see the standard questionmark. > > - No Errors in Apache log. > > - GD and PNG should work, cause I see some other dynamic generated > pictures (Alert Histogram). > > - The icons are installed under /usr/local/nagios-1.1/share/images/logos > with rights "644". > > - /etc/init.d/nagios restart > > Details: > > cgi.cfg: > ---------------------------------------- > hostextinfo[mathray2]=;SunV880.png;SunV880.jpg;SunV880.png;SunFireV880;; > ---------------------------------------- > > > hosts.cfg > --------------------------------------- > # 'mathray2' host definition > define host{ > use generic-host > host_name mathray2 > alias SunRay Server #2 > address 130.60.188.9 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > ---------------------------------------- > > > Any ideas ? > > Thanks a lot > > CU > Carsten > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Wed Jul 16 19:18:50 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 16 Jul 2003 13:18:50 -0400 Subject: Too many systems in statusmap Message-ID: <1058375930.14106.71.camel@unixgod.hq.nasa.gov> Is there a way, when you exclude a group from the statusmap.cgi, to prevent all the other systems that aren't being statused from being displayed as a blank block? In other words, when I exclude the systems that just need hardware support and not admin support, they are showing up on the statusmap.cgi display but as blank spots. Thanks Carl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Phu at uui.com Wed Jul 16 19:30:37 2003 From: Phu at uui.com (Phu Nguyen) Date: Wed, 16 Jul 2003 10:30:37 -0700 Subject: build plugin on sparc failed In-Reply-To: <1058356462.14100.11.camel@unixgod.hq.nasa.gov> References: <1058356462.14100.11.camel@unixgod.hq.nasa.gov> Message-ID: <010401c34bbf$f9131540$0181a8c0@phu> Thanks Carl, I added /usr/ccs/bin and /usr/openwin/bin to the path, then everything works! Thanks a lot, Phu Nguyen. > -----Original Message----- > From: Carl Schelin [mailto:cschelin at hq.nasa.gov] > Sent: Wednesday, July 16, 2003 4:54 AM > To: Phu Nguyen > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] build plugin on sparc failed > > What sort of errors are you getting? I'm running gcc 2.95.2, PATH is > /usr/local/bin:/usr/ccs/bin:/usr/openwin/bin (plus the normal stuff). > > Carl > > On Wed, 2003-07-16 at 01:19, Phu Nguyen wrote: > > Hi, > > > > I'm building nagios plug-in for Solaris8/SPARC, but never got success. > > Although I have gcc, automake, autoconf installed. I don't know what I > miss. > > What environment did you build with? Etc... gcc version? Any other > > requirement? > > > > Phu Nguyen. > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carl > Schelin > > Sent: Tuesday, July 15, 2003 4:41 AM > > To: Phu Nguyen > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] build plugin on sparc failed > > > > It's working for me on Solaris 7. What's the problem? > > > > Running configure told me everything that was needed if I wanted to > > support one feature or another (samba for example for smbclient). > > > > Carl > > > > On Mon, 2003-07-14 at 18:25, Phu Nguyen wrote: > > > Hi everyone, > > > > > > > > > > > > Has any one successful build nagios plug-in v1.3.0 or v1.3.1 on SPARC? > > > If you do, can you tell me what the requirement for sparc is? > > > > > > > > > > > > Thank you in advance, > > > > > > Phu Nguyen. > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps1 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irenes at wolfram.com Wed Jul 16 19:36:54 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Wed, 16 Jul 2003 12:36:54 -0500 (CDT) Subject: host checks, one more time! In-Reply-To: <20030716160709.14984.qmail@linuxmail.org> References: <20030716160709.14984.qmail@linuxmail.org> Message-ID: OK, that's what I figured. Thanks for the info! -Irene On Wed, 16 Jul 2003, Rivanor P. Soares wrote: > Irene, > > This is because you problably set the option "retain_status_information" in value equal to 1. > Reading the documentation we can see the following: > "This directive is used to determine whether or not status-related information about the host is retained across program restarts. This is only useful if you have enabled state retention using the retain_state_information directive. Value: 0 = disable status information retention, 1 = enable status information retention." > > Try to change this value to one different from what is in your config now. Then, restart nagios processes and check this out. > > I hope this resolves your problem. > > You don't need to thanks the "patience"! We all are here to try to help one each other. :) > > - Rivanor. > > ----- Original Message ----- > From: Irene Sakellarakis > Date: Wed, 16 Jul 2003 10:19:52 -0500 (CDT) > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host checks, one more time! > > > I'm sorry, I know it's in the documentation, but I need confirmation on my > > understanding of this function. > > > > I just restarted nagios (kill -HUP nagios), as I made some config changes. > > > > As the hosts are getting rechecked, I'm getting a "Host Assumed to be up" > > message. Is this because a restart of this nature retains the previous > > state, thus not needing to do an actual check at this time? > > > > > > Thanks again for your patience! > > > > -Irene > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > Rivanor P. Soares [w3b_kn0ws] > LPIC-1, CCNA > Sao Paulo - SP > Brazil > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Wed Jul 16 19:47:41 2003 From: sobrien at ci.bend.or.us (sobrien at ci.bend.or.us) Date: Wed, 16 Jul 2003 10:47:41 -0700 Subject: Nagios sending epages ok not emails? Message-ID: Anyone know why Nagios would send epages ok but not emails? I can su nagios and mail -s to myself with no problem.... Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rivanor at linuxmail.org Wed Jul 16 20:36:52 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Wed, 16 Jul 2003 15:36:52 -0300 Subject: Too many systems in statusmap Message-ID: <20030716183653.2042.qmail@linuxmail.org> Carl, I believe it is generated by the way that Nagios access and use the gd library, a graphics library used to create/generate the images. Maybe this could be changed, but probably not safely, switching some functions in nagios core (source). This also could be a good topic for nagios-devel (nagios-devel at lists.sourceforge.net). :) - Rivanor. ----- Original Message ----- From: Carl Schelin Date: 16 Jul 2003 13:18:50 -0400 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Too many systems in statusmap > Is there a way, when you exclude a group from the statusmap.cgi, to > prevent all the other systems that aren't being statused from being > displayed as a blank block? > > In other words, when I exclude the systems that just need hardware > support and not admin support, they are showing up on the statusmap.cgi > display but as blank spots. > > Thanks > > Carl > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Wed Jul 16 21:11:43 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Wed, 16 Jul 2003 16:11:43 -0300 Subject: Statusmap/circular layout Message-ID: <20030716191144.11348.qmail@linuxmail.org> Rafal, Nagios adjust by itself the layout to Status Map for Circular Layout. If you want to have a better look you should adjust some values (2d coords) in your hostexeinfo configuration file to each host. After that you setup Nagios, in cgi.cfg file, to use "user-supplied(defined) coords" by default layout and you will see things like the way you want. - Rivanor. ----- Original Message ----- From: Klisowski_Rafa? Date: Wed, 16 Jul 2003 16:51:51 +0200 To: Subject: [Nagios-users] Statusmap/circular layout > Hi, > I've added about 25 servers to my Nagios now, and "Status map"/Circular layout looks very tight (icons lay on each other)? > Is it OK or maybe I haven't set up something? > > > Rafal > > - > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.loew at steyr-ssf.com Wed Jul 16 22:06:20 2003 From: christian.loew at steyr-ssf.com (Christian =?iso-8859-1?B?TPZ3?=) Date: Wed, 16 Jul 2003 22:06:20 +0200 Subject: Windows Eventlog Addon/Plugin published In-Reply-To: <001601c3491f$c08b6300$0501a8c0@chewbacca> References: <20030711191657.GU3751@soja.ksnet.com.> <001601c3491f$c08b6300$0501a8c0@chewbacca> Message-ID: <20030716200620.GA11980@steyr-ssf.com> On Sun, Jul 13, 2003 at 10:18:36AM +0100, David Clack wrote: > Interesting seeing how other people monitor windows event logs with > nagios. I am using NTsyslog (on NT and 2k) an syslog-ng as syslog-server on a Linux box. With syslog-ng you can define filters, piping throu a (perl-)script and write the output into the nagios-fifo-file > I like this way as it saves having a client on the windows machines. I > just run a batch file every few mins off one of the windows servers & > that dumps the logs off all of them. dumping the eventlog every few minutes? sound a bit ugly Chris ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Wed Jul 16 22:00:45 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Wed, 16 Jul 2003 16:00:45 -0400 Subject: Stale Service Checks Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC60304F9@patton.infosysnetworks.com> I have searched the docs and faqs and have not been able to find an explanation for all the stale service checks I am getting. In my event log, I sometimes get 30 or more of these messages for different services, but when I check the performance of Nagios, I don't have any latency in executing of service checks and the max execution time of a service check seems reasonable (i.e. <10sec). These checks are not passive and are all being completed from a central server. Also, does the stale by 43 seconds in the message below mean it is 43 seconds past the threshold of 75 seconds? 07-16-2003 15:45:48] Warning: The results of service 'Generic_Ping_Response' on host 'NEA_CAMAIL2' are stale by 43 seconds (threshold=75 seconds). I'm forcing an immediate check of the service. Thanks for any info you can give. Brian. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brianj at nvc.net Wed Jul 16 23:23:24 2003 From: brianj at nvc.net (Brian Johnson) Date: Wed, 16 Jul 2003 16:23:24 -0500 Subject: Tactical overview table broke Message-ID: <004801c34be0$7d882de0$fa15a8c0@NVCLT001> Is it just me, or is the services table on the tac.cgi broke... Version 1.1 Anybody else see it, got a fix for it? - Brian J. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Wed Jul 16 23:41:37 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Wed, 16 Jul 2003 18:41:37 -0300 Subject: Decrease network usage (check hosts and services) Message-ID: <20030716214137.20466.qmail@linuxmail.org> Hi folks, Today I check the availability of the hosts doing a generic ping (services.cfg): define service{ host_name * service_description PING check_command check_ping!150.0,30%!500.0,60% max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 } And also I'm doing the following (hosts.cfg): define host{ use generic-host host_name firewall alias Firewall address 10.2.200.73 parents routeswitch check_command check-host-alive But it's generating too much traffic in my network (~14MB in a day). This is not good. What does anyone suggest? -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc at suryo.com Wed Jul 16 23:59:39 2003 From: luc at suryo.com (Luc I. Suryo) Date: Wed, 16 Jul 2003 15:59:39 -0600 Subject: status-map / plugins questions Message-ID: <20030716215939.GA875@gizmo.suryo.com> Hello, - Is it possible that the status-map will change color/status is one or more services of a host is in warning or critical state? now is all green as the host is up but in fact there is/are issue(s), it would nice as the management 'love' cool looking graphics although the SA just have their browser point to the status overview page (or soemthing else) - I made couple plugins they are all based on Sun Solaris spacr systems, not tested on Intel - checking memory / swap : total system (C-program) - checking memory / cpu usage per user (ksh) - checking iowait (ksh) where should i send these? is Karl DeBisschop (kdebisschop at users.sourceforge.net) the correct person/e-mail? would be interrested? (i would like to make them public), and some check them if there is any error/bug too :) example output: $ ./check_solaris -s SWAP OK - 13% currently in used (used 216M out of total 1577M available, free 1361M) $ ./check_solaris -m MEM OK - 56% currently in used (used 436M out of total 768M available, free 332M) $ ./check_iowait -s 2 CRITICAL - disk c0t0d0 : wait queue = 599.9 $ ./check_cpu_user -u luc CHECK_CPU_USER OK - user luc current usage (0.8%) top 2: 0.3% check_cpu_user/1 ; 0.2% prstat/1 ; $ ./check_memory_user -u luc CHECK_MEMORY_USER OK - user luc current usage (18%) top 2: 61M MozillaFirebird/7 ; 9432K dtwm/8 ; thanks -- Kind regards, Luc Suryo ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Wed Jul 16 23:57:33 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Wed, 16 Jul 2003 14:57:33 -0700 Subject: Tactical overview table broke In-Reply-To: <004801c34be0$7d882de0$fa15a8c0@NVCLT001> References: <004801c34be0$7d882de0$fa15a8c0@NVCLT001> Message-ID: <20030716215732.GA15659@UnderGrid.net> Nope you're seeing exactly what everyone else sees that hasn't found the patch on the mailing list and applied it to the source code... Been a known issue for quite awhile since 1.1 was released and is already fixed in CVS... Simple fix is the following in case you don't want to dig through all the ML archives searching for it... Regards, Jeremy diff -urN nagios-1.1/cgi/tac.c nagios-1.1.new/cgi/tac.c --- nagios-1.1/cgi/tac.c 2003-05-11 21:18:56.000000000 -0700 +++ nagios-1.1.new/cgi/tac.c 2003-07-11 12:26:36.000000000 -0700 @@ -1220,10 +1220,8 @@ printf("
\n"); printf("\n"); - /* printf("\n"); printf("\n"); - */ printf("\n"); On Wed, Jul 16, 2003 at 04:23:24PM -0500, Brian Johnson wrote: > Is it just me, or is the services table on the tac.cgi broke... Version 1.1 > > Anybody else see it, got a fix for it? > > - Brian J. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Jul 17 00:02:31 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 16 Jul 2003 17:02:31 -0500 Subject: Decrease network usage (check hosts and services) In-Reply-To: <20030716214137.20466.qmail@linuxmail.org> References: <20030716214137.20466.qmail@linuxmail.org> Message-ID: <16149.52087.299771.867316@montanaro.dyndns.org> Rivanor> But it's generating too much traffic in my network (~14MB in a Rivanor> day). This is not good. What does anyone suggest? Unless your system is frequently unavailable, this seems very high. A ping packet is typically under 100 bytes. Let's assume it's 128 bytes to be generous. Five packets sent would be 640 bytes. Running check_ping every five minutes means it's run 288 times per day, generating under 200 kbytes per host. Is it 14MB for one host or for all hosts you're checking? -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Thu Jul 17 01:39:14 2003 From: sobrien at ci.bend.or.us (sobrien at ci.bend.or.us) Date: Wed, 16 Jul 2003 16:39:14 -0700 Subject: nagios is sending epages, but not email alerts Message-ID: Any one know why nagios will page me but not email, my notifications are set for email and epage?? Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn at greenthing.org Thu Jul 17 03:10:06 2003 From: shawn at greenthing.org (Shawn M. Green) Date: Wed, 16 Jul 2003 20:10:06 -0500 Subject: Email notification problems Message-ID: I have nagios setup & monitoring about 30 hosts on our network. Everything works well except for the email notifications and pages (email SMS) being sent out. Here's a snip from the nagios.log with the particular error: [1058403710] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: Current Users\nHost: Monitoring Server\nAddress: 69.36.xx.xx\nState: WARNING\n\nDate/Time: Wed Jul 16 20:01:50 CDT 2003\n\nAdditional Info:\n\nUSERS WARNING - 5 users currently logged in" | -s "** PROBLEM alert - Monitoring Server/Current Users is WARNING **" 911 at xxxxxxxx.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... Nagios is running on a gentoo machine w/ sendmail installed & running fine (other services sending email thru it just fine). Also installed mailx, as it's not a standard installed package. Any ideas would be appreciated. Shawn ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allan at lxd1.asiandevbank.org Thu Jul 17 04:48:00 2003 From: allan at lxd1.asiandevbank.org (Ako Ito) Date: Thu, 17 Jul 2003 10:48:00 +0800 Subject: nagios problem Message-ID: <005101c34c0d$d88ad990$5a8b17ac@a3gts4> hello.. got a problem on how to customize the look of my nagios 1.1. it is currently installed on redhat 7.3 and dumping the database to a mysql server. problem is can i customize the look of the monitoring tool be on a per application view. because our web developers is providing web applications to internal clients hence it would be easier for helpdesk and developers to view our monitoring tool on a per web application basis rather than the per server and services basis.. example.. webapplication 1 host service status ... ... .... server1 check_tomcat ok server2 check_oracle ok server3 check_ldap ok etc.... can this be achieved in nagios 1.1? thanks and any suggestions are welcome. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpermakay at yahoo.com Thu Jul 17 05:13:08 2003 From: hpermakay at yahoo.com (=?iso-8859-1?q?Haristh=20Permakay?=) Date: Thu, 17 Jul 2003 04:13:08 +0100 (BST) Subject: Nagios sound alert Message-ID: <20030717031308.27603.qmail@web42002.mail.yahoo.com> Hi Guys, I'm having trouble with Nagios sound alert here, can anybody help me to solve this problem? Thanks & Regards, -hp- __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Thu Jul 17 08:38:48 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (DHL BE)) Date: Thu, 17 Jul 2003 08:38:48 +0200 Subject: host checks, one more time! In-Reply-To: References: Message-ID: <3F164478.6060809@dhl.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=86 Irene Sakellarakis wrote: >OK, that's what I figured. Thanks for the info! > >-Irene > >On Wed, 16 Jul 2003, Rivanor P. Soares wrote: > > > >>Irene, >> >>This is because you problably set the option "retain_status_information" in value equal to 1. >>Reading the documentation we can see the following: >>"This directive is used to determine whether or not status-related information about the host is retained across program restarts. This is only useful if you have enabled state retention using the retain_state_information directive. Value: 0 = disable status information retention, 1 = enable status information retention." >> >>Try to change this value to one different from what is in your config now. Then, restart nagios processes and check this out. >> >>I hope this resolves your problem. >> >>You don't need to thanks the "patience"! We all are here to try to help one each other. :) >> >>- Rivanor. >> >>----- Original Message ----- >>From: Irene Sakellarakis >>Date: Wed, 16 Jul 2003 10:19:52 -0500 (CDT) >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] host checks, one more time! >> >> >> >>>I'm sorry, I know it's in the documentation, but I need confirmation on my >>>understanding of this function. >>> >>>I just restarted nagios (kill -HUP nagios), as I made some config changes. >>> >>>As the hosts are getting rechecked, I'm getting a "Host Assumed to be up" >>>message. Is this because a restart of this nature retains the previous >>>state, thus not needing to do an actual check at this time? >>> >>> >>>Thanks again for your patience! >>> >>>-Irene >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: VM Ware >>>With VMware you can run multiple operating systems on a single machine. >>>WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >>>same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >> >>Rivanor P. Soares [w3b_kn0ws] >>LPIC-1, CCNA >>Sao Paulo - SP >>Brazil >> >> >> >> > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From claes at griffel.se Thu Jul 17 09:31:52 2003 From: claes at griffel.se (claes at griffel.se) Date: Thu, 17 Jul 2003 09:31:52 +0200 Subject: Web configuration interface Message-ID: Hi I am looking for a webbased configuration interface for nagios, any ideas? The simpler to use the better:) Regards Claes, Griffel Data ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Thu Jul 17 11:21:22 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Thu, 17 Jul 2003 17:21:22 +0800 Subject: Warning when i want to install Net-SNMP Message-ID: How can i solve this problem? [root at info Net-SNMP-4.0.3]# perl Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite Crypt::DES 2.03 not found. Warning: prerequisite Digest::HMAC 1.00 not found. Warning: prerequisite Digest::SHA1 1.02 not found. Writing Makefile for Net::SNMP [root at info Net-SNMP-4.0.3]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From freddy.frouin at fluxus.net Thu Jul 17 11:44:24 2003 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Thu, 17 Jul 2003 11:44:24 +0200 Subject: Warning when i want to install Net-SNMP In-Reply-To: References: Message-ID: <20030717114424.25647fc4.freddy.frouin@fluxus.net> Hi, http://www.cpan.org/modules/by-module/ Freddy. On Thu, 17 Jul 2003 17:21:22 +0800 "Syed Zulhilmi Tuan Sharif" wrote: > How can i solve this problem? > > > [root at info Net-SNMP-4.0.3]# perl Makefile.PL > Checking if your kit is complete... > Looks good > Warning: prerequisite Crypt::DES 2.03 not found. > Warning: prerequisite Digest::HMAC 1.00 not found. > Warning: prerequisite Digest::SHA1 1.02 not found. > Writing Makefile for Net::SNMP > [root at info Net-SNMP-4.0.3]# > -- Freddy Frouin Responsable Supervision British Telecom / Fluxus 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: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Thu Jul 17 12:19:49 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 17 Jul 2003 06:19:49 -0400 Subject: Too many systems in statusmap In-Reply-To: <20030716183653.2042.qmail@linuxmail.org> References: <20030716183653.2042.qmail@linuxmail.org> Message-ID: <1058437189.14106.103.camel@unixgod.hq.nasa.gov> Rivanor, Thanks! I was considering joining that list as well but hadn't gotten around to it yet. Your comment here and the next one (statusmap) are appreciated. Thanks again, Carl On Wed, 2003-07-16 at 14:36, Rivanor P. Soares wrote: > Carl, > > I believe it is generated by the way that Nagios access and use the gd library, a graphics library used to create/generate the images. Maybe this could be changed, but probably not safely, switching some functions in nagios core (source). > > This also could be a good topic for nagios-devel (nagios-devel at lists.sourceforge.net). :) > > - Rivanor. > > ----- Original Message ----- > From: Carl Schelin > Date: 16 Jul 2003 13:18:50 -0400 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Too many systems in statusmap > > > Is there a way, when you exclude a group from the statusmap.cgi, to > > prevent all the other systems that aren't being statused from being > > displayed as a blank block? > > > > In other words, when I exclude the systems that just need hardware > > support and not admin support, they are showing up on the statusmap.cgi > > display but as blank spots. > > > > Thanks > > > > Carl > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > Rivanor P. Soares [w3b_kn0ws] > LPIC-1, CCNA > Sao Paulo - SP > Brazil ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Thu Jul 17 12:38:06 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Thu, 17 Jul 2003 11:38:06 +0100 Subject: Warning when i want to install Net-SNMP References: Message-ID: <05b401c34c4f$81e6f4b0$03bff40a@Exponentiale.com> *This message was transferred with a trial version of CommuniGate(tm) Pro* Install the modules from CPAN # perl -MCPAN -e'shell' cpan> install Crypt::DES ... cpan> install Digest::HMAC ... cpan> install Digest::SHA1 or download from search.cpan.org, the README has instructions for manual installation. Jim ----- Original Message ----- From: "Syed Zulhilmi Tuan Sharif" To: Sent: Thursday, July 17, 2003 10:21 AM Subject: [Nagios-users] Warning when i want to install Net-SNMP How can i solve this problem? [root at info Net-SNMP-4.0.3]# perl Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite Crypt::DES 2.03 not found. Warning: prerequisite Digest::HMAC 1.00 not found. Warning: prerequisite Digest::SHA1 1.02 not found. Writing Makefile for Net::SNMP [root at info Net-SNMP-4.0.3]# ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Warich at secunet.de Thu Jul 17 12:50:18 2003 From: Warich at secunet.de (Warich, Eyck) Date: Thu, 17 Jul 2003 12:50:18 +0200 Subject: Host-check vs. Host-Service-Check Message-ID: <96C102324EF9D411A49500306E06C8D10203B0D5@eketsv02.cubis.de> Hi there all, i have a small questions concerning host alive checking and how this to be configured (or, what the real semantic difference is): Assuming a host definition, let's say hostA, there are two ways to monitor the presence of this host: 1. define a check_command (check-alive) in the host definition 2. define a service with a check_command (check-alive) and attach the host to it. When i do the first one, nagios complains about no services attached to this host (it is assumed that i simply want to monitor the host for presence, and no further services on it). In addition, it is not possible to build service dependencies for nagios indicating a dependency on the presence of this host. So i switched to the second option, nagios is happy with the definitions and dependencies also work. The question is, for what the check_command in the *host* defintion might be good or useful for? (A second question comes to my mind while i'm writing this: for services there is a configurable time interval the service gets checked (*_check_interval), i didn't find something equal for the host's check command? Which interval is used for host monitoring?) With regards, Eyck Warich. -------------------------------------------------------------- Eyck Warich fon: +49-271-48950-22 secunet Security Networks AG fax: +49-271-48950-50 Office Siegen gsm: +49-171-76199-90 Weidenauer Stra?e 223 - 225 E-Mail: warich at secunet.de D-57076 Siegen (Germany) Web: www.secunet.de ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andreas.piesk at voeb-zvd.de Thu Jul 17 13:09:07 2003 From: andreas.piesk at voeb-zvd.de (Andreas Piesk) Date: 17 Jul 2003 13:09:07 +0200 Subject: Host-check vs. Host-Service-Check In-Reply-To: <96C102324EF9D411A49500306E06C8D10203B0D5@eketsv02.cubis.de> References: <96C102324EF9D411A49500306E06C8D10203B0D5@eketsv02.cubis.de> Message-ID: <1058440147.1050.30.camel@zvd_92.voeb-zvd.de> Am Don, 2003-07-17 um 12.50 schrieb Warich, Eyck: > > So i switched to the second option, nagios is happy with the definitions and > dependencies also work. The question is, for what the check_command in the > *host* defintion might be good or useful for? the host check 'check_alive' is not a regular check like service checks. if a service check indicates a problem, nagios will use 'check_alive' to verify whether the host is up or not. see documentation chapter "Service Check Scheduling" paragraph "Scheduling During Problems " and "Host checks". > (A second question comes to my mind while i'm writing this: for services > there is a configurable time interval the service gets checked > (*_check_interval), i didn't find something equal for the host's check > command? Which interval is used for host monitoring?) see above. there's no regular interval. -ap -- Andreas Piesk Systemadministration E-/M-Commerce -------------------------------------------------------------- V?B-ZVD Bank f?r Zahlungsverkehrsdienstleistungen GmbH Godesberger Allee 88 53175 Bonn Tel.: +49 (0) 228 9377-535 Fax: +49 (0) 228 9377-596 E-Mail: andreas.piesk at voeb-zvd.de Internet: http://www.voeb-zvd.de ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pawel.siwek at sgcib.com Thu Jul 17 13:42:08 2003 From: pawel.siwek at sgcib.com (pawel.siwek at sgcib.com) Date: Thu, 17 Jul 2003 13:42:08 +0200 Subject: Inverting the nagios output Message-ID: A little question.. Nagios is designed as I discovered to monitor whether the services are down.. Me I want to see whether the services are up. I want to see if one port is open in all machines and if it's up make nagios send me notifications. So for me the down status is ok, but nagios when it see that the answer is "Connection refused by host" it generates automatically critical error. I tried to add ./check_tcp -H xxx -p aaa -e Connection refused by host, but it didn't run.... Any ideas? PAwel ****************************************************************** The sender's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. ** This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. *************** L'adresse mail de votre correspondant a change en prenom.nom@ sgcib.com. Il est recommande de mettre a jour votre carnet d'addresse personnel.Pour plus d'informations, aller sur http://www.sgcib.com ** Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, modifie ou falsifie. ****************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Thu Jul 17 13:58:05 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (DHL BE)) Date: Thu, 17 Jul 2003 13:58:05 +0200 Subject: Inverting the nagios output In-Reply-To: References: Message-ID: <3F168F4D.3020103@dhl.com> Use check_tcp together with negate. pawel.siwek at sgcib.com wrote: > > > A little question.. Nagios is designed as I discovered to monitor > whether the services are down.. Me I want to see whether the services > are up. I want to see if one port is open in all machines and if it's > up make nagios send me notifications. > So for me the down status is ok, but nagios when it see that the answer > is "Connection refused by host" it generates automatically critical > error. > I tried to add ./check_tcp -H xxx -p aaa -e Connection refused by host, > but it didn't run.... Any ideas? > > PAwel > > > > > > > > > > > > > > > > > >****************************************************************** >The sender's email address has changed to >firstname.lastname@ sgcib.com. You may want to update your >personal address book. Please see http://www.sgcib.com for more >information. > ** >This message and any attachments (the "message") are confidential >and intended solely for the addressee(s). Any unauthorised use or >dissemination is prohibited. E-mails are susceptible to alteration. >Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates >shall be liable for the message if altered, changed or falsified. > *************** >L'adresse mail de votre correspondant a change en prenom.nom@ sgcib.com. >Il est recommande de mettre a jour votre carnet d'addresse >personnel.Pour plus d'informations, aller sur http://www.sgcib.com > ** >Ce message et toutes les pieces jointes (ci-apres le "message") >sont confidentiels et etablis a l'intention exclusive de ses >destinataires. Toute utilisation ou diffusion non autorisee est >interdite. Tout message electronique est susceptible d'alteration. >La SOCIETE GENERALE et ses filiales declinent toute >responsabilite au titre de ce message s'il a ete altere, modifie >ou falsifie. >****************************************************************** > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Thu Jul 17 14:09:39 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (DHL BE)) Date: Thu, 17 Jul 2003 14:09:39 +0200 Subject: Inverting the nagios output In-Reply-To: References: Message-ID: <3F169203.5020801@dhl.com> Like this: [root at netsaint etc]# ../libexec/check_tcp -H netsaint -p 22 TCP OK - 0 second response time on port 22 [root at netsaint etc]# echo $? 0 [root at netsaint etc]# /usr/src/install/nagios/nagios-plugins-1.3.0/plugins/negate "../libexec/check_tcp -H netsaint -p 22" TCP OK - 0 second response time on port 22 [root at netsaint etc]# echo $? 2 pawel.siwek at sgcib.com wrote: >Do you mean something like this: ./negate | ./check_tcp -H xxx -p yy ?? > > > > >****************************************************************** >The sender's email address has changed to >firstname.lastname@ sgcib.com. You may want to update your >personal address book. Please see http://www.sgcib.com for more >information. > ** >This message and any attachments (the "message") are confidential >and intended solely for the addressee(s). Any unauthorised use or >dissemination is prohibited. E-mails are susceptible to alteration. >Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates >shall be liable for the message if altered, changed or falsified. > *************** >L'adresse mail de votre correspondant a change en prenom.nom@ sgcib.com. >Il est recommande de mettre a jour votre carnet d'addresse >personnel.Pour plus d'informations, aller sur http://www.sgcib.com > ** >Ce message et toutes les pieces jointes (ci-apres le "message") >sont confidentiels et etablis a l'intention exclusive de ses >destinataires. Toute utilisation ou diffusion non autorisee est >interdite. Tout message electronique est susceptible d'alteration. >La SOCIETE GENERALE et ses filiales declinent toute >responsabilite au titre de ce message s'il a ete altere, modifie >ou falsifie. >****************************************************************** > > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lordtm at poczta.onet.pl Thu Jul 17 14:23:05 2003 From: lordtm at poczta.onet.pl (=?ISO-8859-2?Q?Pawe=B3 Siwek?=) Date: Thu, 17 Jul 2003 14:23:05 +0200 Subject: SNMP in Red Hat 9.0 Message-ID: What should I install in RH 90 to be able to check devices via SNMP? regards Pawel ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas at klettke.us Thu Jul 17 14:58:26 2003 From: thomas at klettke.us (Thomas Klettke) Date: 17 Jul 2003 07:58:26 -0500 Subject: Nagios sending epages ok not emails? In-Reply-To: References: Message-ID: <1058446706.26249.4.camel@klettke.us> Any clues in /var/log/maillog ? On Wed, 2003-07-16 at 12:47, sobrien at ci.bend.or.us wrote: > Anyone know why Nagios would send epages ok but not emails? I can su > nagios and mail -s to myself with no problem.... > > Steve O'Brien > City of Bend > Network Administrator > sobrien at ci.bend.or.us > 541-322-6393 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard_Miller at udlp.com Thu Jul 17 15:45:01 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Thu, 17 Jul 2003 08:45:01 -0500 Subject: SNMP in Red Hat 9.0 Message-ID: Pawel, You need to install the net-snmp packages. They may already be installed. Try "rpm-qa | grep snmp" and see what it returns. If it isn't installed, it is probably on the CD. There should be 3 packages. Leonard >>> Pawe (B? Siwek 07/17/03 08:23AM >>> What should I install in RH 90 to be able to check devices via SNMP? regards Pawel ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Thu Jul 17 15:49:32 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Thu, 17 Jul 2003 08:49:32 -0500 Subject: check_nt diskusage query no status returned Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444A800D6@gsmail.govst.edu> Try changing your -w and -c parameters so that they follow the -v and -l parameters. For example, modify your command below to check_nt -H 10.0.0.3 -v USEDDISKSPACE -l C -w 20% -c 80%. That is the proper syntax according to the documentation. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: lists at sancho2k.net [mailto:lists at sancho2k.net] Sent: Wednesday, July 16, 2003 11:34 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nt diskusage query no status returned Hi all, We came to a sudden and discomforting realization that our disk space checks on NT/2000 boxes using check_nt were not returning status levels as we would expect per the -w and -c switches. Here's our example command: # check_nt -H 10.0.0.3 -w 20% -c 80% -v USEDDISKSPACE -l C C:\ - total: 19.10 Gb - used: 13.94 Gb (73%) - free 5.16 Gb (27%) With the warning threshold we have set here, I would expect the check to return a status other than OK on this. Nagios of course displays OK in the UI even when drive space is sitting at 100% full, 0% free. We've seen an alternative to this in using SNTP but this is not an alternative in our case. Any suggestions? TIA, DS ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave at opsource.net Thu Jul 17 15:59:05 2003 From: dave at opsource.net (Dave Breiland) Date: Thu, 17 Jul 2003 06:59:05 -0700 Subject: Decrease network usage (check hosts and services) In-Reply-To: <16149.52087.299771.867316@montanaro.dyndns.org> References: <16149.52087.299771.867316@montanaro.dyndns.org> Message-ID: <001101c34c6b$95ebb510$0c00a8c0@metropolis> Wouldn't "fping" be a good alternative? I believe it only sends one packet. Dave -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Skip Montanaro Sent: Wednesday, July 16, 2003 3:03 PM To: Rivanor P. Soares Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Decrease network usage (check hosts and services) Rivanor> But it's generating too much traffic in my network (~14MB in a Rivanor> day). This is not good. What does anyone suggest? Unless your system is frequently unavailable, this seems very high. A ping packet is typically under 100 bytes. Let's assume it's 128 bytes to be generous. Five packets sent would be 640 bytes. Running check_ping every five minutes means it's run 288 times per day, generating under 200 kbytes per host. Is it 14MB for one host or for all hosts you're checking? -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Thu Jul 17 17:20:17 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Thu, 17 Jul 2003 11:20:17 -0400 Subject: SNMP in Red Hat 9.0 Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604C98A@patton.infosysnetworks.com> There is also a perl module from CPAN called Net::SNMP. It is confusing because the Net-SNMP source also comes with a perl module, but I never got it to install correctly. Net::SNMP works with the plugins disk_by_snmp and check_smnp_procs patch. Hope this helps. Brian -----Original Message----- From: Leonard Miller [mailto:Leonard_Miller at udlp.com] Sent: Thursday, July 17, 2003 9:45 AM To: nagios-users at lists.sourceforge.net; lordtm at poczta.onet.pl Subject: Re: [Nagios-users] SNMP in Red Hat 9.0 Pawel, You need to install the net-snmp packages. They may already be installed. Try "rpm-qa | grep snmp" and see what it returns. If it isn't installed, it is probably on the CD. There should be 3 packages. Leonard >>> Pawe (B? Siwek 07/17/03 08:23AM >>> What should I install in RH 90 to be able to check devices via SNMP? regards Pawel ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Thu Jul 17 17:27:00 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 17 Jul 2003 09:27:00 -0600 Subject: check SNMP plugin won't compile Message-ID: I've just installed Nagios 1.1 on a new RH9 system and am now attempting to compile the plugins (1.3.1). The first time that I attempted this, check_snmp was not compiled due to the fact that the configure script could not locate 'snmpget'. I had installed Net::SNMP perl module via CPAN, although I did not have the NET-SNMP package. I have since downloaded and installed NET-SNMP 5.0.8 and 'snmpget' and 'snmpgetnext' are both located in /usr/local/bin. Unfortunately, the nagios plugins configure script still does not compile the check_snmp plugin, and shows the same error message as before: checking for snmpget... no ** Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins checking for snmpgetnext... no I've done a 'make clean' for the plugins and tried again. I've reinstalled NET-SNMP I've deleted the plugin source directory and untarred and tried again. I've even gone so far as to reboot the box and try again. Looking through the INSTALL, README, and REQUIREMENTS files, I was not able to find anything about specifying the correct path to necessary files. Any assistance is appreciated. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Leonard Miller [mailto:Leonard_Miller at udlp.com] > Sent: Thursday, July 17, 2003 7:45 AM > To: nagios-users at lists.sourceforge.net; lordtm at poczta.onet.pl > Subject: Re: [Nagios-users] SNMP in Red Hat 9.0 > > > Pawel, > You need to install the net-snmp packages. They may already > be installed. Try "rpm-qa | grep snmp" and see what it > returns. If it isn't installed, it is probably on the CD. > There should be 3 packages. > > Leonard > > >>> Pawe (B? Siwek 07/17/03 08:23AM >>> > What should I install in RH 90 to be able to check devices > via SNMP? regards Pawel > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > Novell virtual machines at the same time. Free trial click > here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > Novell virtual machines at the same time. Free trial click > here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SFolo at iss.net Thu Jul 17 17:44:12 2003 From: SFolo at iss.net (Folo, Stuart (ISS Tokyo)) Date: Fri, 18 Jul 2003 00:44:12 +0900 Subject: hostgroup_name with in the services.cfg file Message-ID: <41C71CD5CD1956429953D44D75E96E7D85A29F@tokmaiexcp01.iss.net> Hello, I am currently having issues with the hostgroup_name definition with in the services.cfg file. I can successfully add a single hostgroup to a service, but if I add another hostgroup to the service, I get the following error: Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 202) ***> One or more problems was encountered while processing the config files... I have searched the mailing lists without getting a successful fix for this problem. Any suggestions or corrections would be greatly appreciated. Stuart Folo -------------- next part -------------- An HTML attachment was scrubbed... URL: From freddy.frouin at fluxus.net Thu Jul 17 17:53:25 2003 From: freddy.frouin at fluxus.net (Freddy Frouin) Date: Thu, 17 Jul 2003 17:53:25 +0200 Subject: check SNMP plugin won't compile In-Reply-To: References: Message-ID: <20030717175325.45346175.freddy.frouin@fluxus.net> Hi, Some basic stuff to check: - does your $PATH env var contain /usr/local/bin when you start the ./configure ? - did you look on "./configure --help" to see if some options could be given to help it to find the netsnmp package ? - did you check the configure.in file to look what kind of check it contains concerning net-snmp ? 'Hope this help, Freddy. On Thu, 17 Jul 2003 09:27:00 -0600 "Cook, Garry" wrote: > I've just installed Nagios 1.1 on a new RH9 system and am now attempting to compile the plugins (1.3.1). The first time that I attempted this, check_snmp was not compiled due to the fact that the configure script could not locate 'snmpget'. I had installed Net::SNMP perl module via CPAN, although I did not have the NET-SNMP package. I have since downloaded and installed NET-SNMP 5.0.8 and 'snmpget' and 'snmpgetnext' are both located in /usr/local/bin. Unfortunately, the nagios plugins configure script still does not compile the check_snmp plugin, and shows the same error message as before: > > checking for snmpget... no > ** Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins > checking for snmpgetnext... no > > I've done a 'make clean' for the plugins and tried again. > I've reinstalled NET-SNMP > I've deleted the plugin source directory and untarred and tried again. > I've even gone so far as to reboot the box and try again. > Looking through the INSTALL, README, and REQUIREMENTS files, I was not able to find anything about specifying the correct path to necessary files. > > Any assistance is appreciated. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 303.881.5157 (Mobile) > > > -----Original Message----- > > From: Leonard Miller [mailto:Leonard_Miller at udlp.com] > > Sent: Thursday, July 17, 2003 7:45 AM > > To: nagios-users at lists.sourceforge.net; lordtm at poczta.onet.pl > > Subject: Re: [Nagios-users] SNMP in Red Hat 9.0 > > > > > > Pawel, > > You need to install the net-snmp packages. They may already > > be installed. Try "rpm-qa | grep snmp" and see what it > > returns. If it isn't installed, it is probably on the CD. > > There should be 3 packages. > > > > Leonard > > > > >>> Pawe (B? Siwek 07/17/03 08:23AM >>> > > What should I install in RH 90 to be able to check devices > > via SNMP? regards Pawel > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a > > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > > Novell virtual machines at the same time. Free trial click > > here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a > > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > > Novell virtual machines at the same time. Free trial click > > here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Freddy Frouin Responsable Supervision British Telecom / Fluxus 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: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Thu Jul 17 18:11:43 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Thu, 17 Jul 2003 12:11:43 -0400 Subject: hostgroup_name with in the services.cfg file Message-ID: <5F29693503507B4FB4032686ADF862671ACF8B@mtviny25.mtvi.com> Can you include the service definition? more importantly line 202 of services.cfg. The syntax is hostgroup1,hostgroup2,etc... -----Original Message----- From: Folo, Stuart (ISS Tokyo) [mailto:SFolo at iss.net] Sent: Thursday, July 17, 2003 11:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hostgroup_name with in the services.cfg file Hello, I am currently having issues with the hostgroup_name definition with in the services.cfg file. I can successfully add a single hostgroup to a service, but if I add another hostgroup to the service, I get the following error: Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 202) ***> One or more problems was encountered while processing the config files... I have searched the mailing lists without getting a successful fix for this problem. Any suggestions or corrections would be greatly appreciated. Stuart Folo -------------- next part -------------- An HTML attachment was scrubbed... URL: From SFolo at iss.net Thu Jul 17 18:18:48 2003 From: SFolo at iss.net (Folo, Stuart (ISS Tokyo)) Date: Fri, 18 Jul 2003 01:18:48 +0900 Subject: hostgroup_name with in the services.cfg file Message-ID: <41C71CD5CD1956429953D44D75E96E7D85A2A2@tokmaiexcp01.iss.net> Hello, This is the service definition that I am using. # Service definition define service{ use generic-service ; Name of service template to use hostgroup_name web-servers,dns-servers, service_description eth0 Check is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups nagios notification_interval 3 notification_period 24x7 notification_options c check_command check_nrpe_eth0 } define service{ <-- is line 202 of the services.cfg. Stuart Folo -----Original Message----- From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] Sent: Friday, July 18, 2003 1:12 AM To: Folo, Stuart (ISS Tokyo); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hostgroup_name with in the services.cfg file Can you include the service definition? more importantly line 202 of services.cfg. The syntax is hostgroup1,hostgroup2,etc... -----Original Message----- From: Folo, Stuart (ISS Tokyo) [mailto:SFolo at iss.net] Sent: Thursday, July 17, 2003 11:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hostgroup_name with in the services.cfg file Hello, I am currently having issues with the hostgroup_name definition with in the services.cfg file. I can successfully add a single hostgroup to a service, but if I add another hostgroup to the service, I get the following error: Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 202) ***> One or more problems was encountered while processing the config files... I have searched the mailing lists without getting a successful fix for this problem. Any suggestions or corrections would be greatly appreciated. Stuart Folo -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Thu Jul 17 18:33:55 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 17 Jul 2003 10:33:55 -0600 Subject: Solved: check SNMP plugin won't compile Message-ID: I checked the path and it did contain /usr/local/bin, so then I tried ./configure --help for the NET-SNMP package. I found the parameter --enable-ucd-snmp-compatibility and decided to give that a shot. It worked perfectly. Thanks for the help Freddy. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Freddy Frouin [mailto:freddy.frouin at fluxus.net] > Sent: Thursday, July 17, 2003 9:53 AM > To: Cook, Garry > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check SNMP plugin won't compile > > > Hi, > > Some basic stuff to check: > > - does your $PATH env var contain /usr/local/bin when you > start the ./configure ? > > - did you look on "./configure --help" to see if some > options could > be given to help it to find the netsnmp package ? > > - did you check the configure.in file to look what kind of > check it contains concerning net-snmp ? > > 'Hope this help, Freddy. > > On Thu, 17 Jul 2003 09:27:00 -0600 > "Cook, Garry" wrote: > > > I've just installed Nagios 1.1 on a new RH9 system and am now > > attempting to compile the plugins (1.3.1). The first time that I > > attempted this, check_snmp was not compiled due to the fact > that the > > configure script could not locate 'snmpget'. I had > installed Net::SNMP > > perl module via CPAN, although I did not have the NET-SNMP > package. I > > have since downloaded and installed NET-SNMP 5.0.8 and > 'snmpget' and > > 'snmpgetnext' are both located in /usr/local/bin. > Unfortunately, the > > nagios plugins configure script still does not compile the > check_snmp > > plugin, and shows the same error message as before: > > > > checking for snmpget... no > > ** Get snmpget from http://net-snmp.sourceforge.net to make > check_hpjd > > and check_snmp plugins checking for snmpgetnext... no > > > > I've done a 'make clean' for the plugins and tried again. I've > > reinstalled NET-SNMP I've deleted the plugin source directory and > > untarred and tried again. I've even gone so far as to > reboot the box > > and try again. Looking through the INSTALL, README, and > REQUIREMENTS > > files, I was not able to find anything about specifying the correct > > path to necessary files. > > > > Any assistance is appreciated. > > > > Garry W. Cook, CCNA > > Network Infrastructure Manager > > MACTEC, Inc. - http://www.mactec.com/ > > 303.308.6228 (Office) - 303.881.5157 (Mobile) > > > > > -----Original Message----- > > > From: Leonard Miller [mailto:Leonard_Miller at udlp.com] > > > Sent: Thursday, July 17, 2003 7:45 AM > > > To: nagios-users at lists.sourceforge.net; lordtm at poczta.onet.pl > > > Subject: Re: [Nagios-users] SNMP in Red Hat 9.0 > > > > > > > > > Pawel, > > > You need to install the net-snmp packages. They may already > > > be installed. Try "rpm-qa | grep snmp" and see what it > > > returns. If it isn't installed, it is probably on the CD. > > > There should be 3 packages. > > > > > > Leonard > > > > > > >>> Pawe (B? Siwek 07/17/03 08:23AM >>> > > > What should I install in RH 90 to be able to check devices > > > via SNMP? regards Pawel > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating systems on a > > > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > > > Novell virtual machines at the same time. Free trial click > > > here: http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating systems on a > > > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > > > Novell virtual machines at the same time. Free trial click > > > here: http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single > > machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > > machines at the same time. Free trial click here: > > http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > -- > Freddy Frouin > Responsable Supervision > British Telecom / Fluxus > 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: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoulton at cambridge.org Thu Jul 17 18:46:52 2003 From: amoulton at cambridge.org (Alexei Moulton) Date: Thu, 17 Jul 2003 17:46:52 +0100 Subject: NRPE: could not complete SSL handshake Message-ID: <5.1.1.6.2.20030717173603.0381f540@sun1.cup.cam.ac.uk> Hi, I have just got this working and notice several posts on the list with this error message. As none of the reply's had my particular solution i thought i should share. firstly I'm running check_nrpe from a Solaris 8 machine, and nrpe so far on Solaris 8 and 9 machines. on all Openssl version is 0.9.7b the main problem was that the inetd.conf entry in the README file is wrong for Solaris - here is mine: nrpe stream tcp nowait nagios /usr/local/nagios/sbin/nrpe nrpe -c /usr/local/nagios/etc/nrpe.cfg -i secondly i had to put some symlinks in for the libssl and libcrypto libraries - its worth doing ldd on nrpe to check it can access all the library files it needs. hope that helps somebody sometime :) cheers, Alexei. ------------------------------------------------- Alexei Moulton Systems Developer Cambridge University Press 01223 32 6035 ------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Thu Jul 17 18:57:51 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 17 Jul 2003 12:57:51 -0400 Subject: hostgroup_name with in the services.cfg file In-Reply-To: <41C71CD5CD1956429953D44D75E96E7D85A2A2@tokmaiexcp01.iss.net> References: <41C71CD5CD1956429953D44D75E96E7D85A2A2@tokmaiexcp01.iss.net> Message-ID: <1058461071.14100.346.camel@unixgod.hq.nasa.gov> Take out the trailing comma in the hostgroup_name. Since it's using commas as tokens, the last one will be null because it thinks there are three groups. Carl On Thu, 2003-07-17 at 12:18, Folo, Stuart (ISS Tokyo) wrote: > Hello, > > This is the service definition that I am using. > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > hostgroup_name web-servers,dns-servers, > service_description eth0 Check > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups nagios > notification_interval 3 > notification_period 24x7 > notification_options c > check_command check_nrpe_eth0 > } > > define service{ <-- is line 202 of the services.cfg. > > Stuart Folo > -----Original Message----- > From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] > Sent: Friday, July 18, 2003 1:12 AM > To: Folo, Stuart (ISS Tokyo); > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] hostgroup_name with in the > services.cfg file > > > Can you include the service definition? more importantly line > 202 of services.cfg. The syntax is > hostgroup1,hostgroup2,etc... > -----Original Message----- > From: Folo, Stuart (ISS Tokyo) [mailto:SFolo at iss.net] > Sent: Thursday, July 17, 2003 11:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hostgroup_name with in the > services.cfg file > > > Hello, > > I am currently having issues with the hostgroup_name > definition with in the services.cfg file. I can > successfully add a single hostgroup to a service, but > if I add another hostgroup to the service, I get the > following error: > > Nagios 1.1 > Copyright (c) 1999-2003 Ethan Galstad > (nagios at nagios.org) > Last Modified: 06-02-2003 > License: GPL > > Reading configuration data... > > Error: Service description, host name, or check > command is NULL > > Error: Could not register service (config file > '/usr/local/nagios/etc/services.cfg', line 202) > > ***> One or more problems was encountered while > processing the config files... > > I have searched the mailing lists without getting a > successful fix for this problem. Any suggestions or > corrections would be greatly appreciated. > > Stuart Folo ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Thu Jul 17 18:58:57 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 17 Jul 2003 12:58:57 -0400 Subject: Compiling Graphics CGI's In-Reply-To: References: Message-ID: <1058461136.14100.351.camel@unixgod.hq.nasa.gov> On Wed, 2003-07-16 at 11:15, Chris Merkel wrote: > > I'm still puzzling out the statuswrl.cgi trying to download > > rather than rendering the 3d image so I'm sure I'll be > > reinstalling it again once I figure it out (I suspect apache). > > Thanks for the advice on re-compiling. > > What browser and VRML plugin are you using? The VRML plugin I use is the > Cortona from www.parallelgraphics.com on IE 6. Normally I use Opera but the > plugin doesn't seem to work in there. > I downloaded the Cortona for IE and Netscape. Only the Netscape one works though. Unfortunately there's no VRML plug in for Solaris so setting up the monitoring system on the hosting system is out. > - Chris Thanks, Carl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Thu Jul 17 19:07:35 2003 From: rob at capband.net (Rob Nelson) Date: Thu, 17 Jul 2003 13:07:35 -0400 Subject: hostgroup_name with in the services.cfg file In-Reply-To: <41C71CD5CD1956429953D44D75E96E7D85A2A2@tokmaiexcp01.iss.ne t> References: <41C71CD5CD1956429953D44D75E96E7D85A2A2@tokmaiexcp01.iss.ne t> Message-ID: <5.2.1.1.0.20030717130702.01bc8b60@mail.capband.net> > hostgroup_name web-servers,dns-servers, There should be no comma on the end, it is expecting another hostgroup. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SFolo at iss.net Thu Jul 17 19:08:01 2003 From: SFolo at iss.net (Folo, Stuart (ISS Tokyo)) Date: Fri, 18 Jul 2003 02:08:01 +0900 Subject: hostgroup_name with in the services.cfg file Message-ID: <41C71CD5CD1956429953D44D75E96E7D85A2A3@tokmaiexcp01.iss.net> Carl, I have just tried what you suggested, and it has not worked. Thanks for your suggestion. Stuart -----Original Message----- From: Carl Schelin [mailto:cschelin at hq.nasa.gov] Sent: Friday, July 18, 2003 1:58 AM To: Folo, Stuart (ISS Tokyo) Cc: Hochberg, Keith; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hostgroup_name with in the services.cfg file Take out the trailing comma in the hostgroup_name. Since it's using commas as tokens, the last one will be null because it thinks there are three groups. Carl On Thu, 2003-07-17 at 12:18, Folo, Stuart (ISS Tokyo) wrote: > Hello, > > This is the service definition that I am using. > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > hostgroup_name web-servers,dns-servers, > service_description eth0 Check > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups nagios > notification_interval 3 > notification_period 24x7 > notification_options c > check_command check_nrpe_eth0 > } > > define service{ <-- is line 202 of the services.cfg. > > Stuart Folo > -----Original Message----- > From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] > Sent: Friday, July 18, 2003 1:12 AM > To: Folo, Stuart (ISS Tokyo); > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] hostgroup_name with in the > services.cfg file > > > Can you include the service definition? more importantly line > 202 of services.cfg. The syntax is > hostgroup1,hostgroup2,etc... > -----Original Message----- > From: Folo, Stuart (ISS Tokyo) [mailto:SFolo at iss.net] > Sent: Thursday, July 17, 2003 11:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hostgroup_name with in the > services.cfg file > > > Hello, > > I am currently having issues with the hostgroup_name > definition with in the services.cfg file. I can > successfully add a single hostgroup to a service, but > if I add another hostgroup to the service, I get the > following error: > > Nagios 1.1 > Copyright (c) 1999-2003 Ethan Galstad > (nagios at nagios.org) > Last Modified: 06-02-2003 > License: GPL > > Reading configuration data... > > Error: Service description, host name, or check > command is NULL > > Error: Could not register service (config file > '/usr/local/nagios/etc/services.cfg', line 202) > > ***> One or more problems was encountered while > processing the config files... > > I have searched the mailing lists without getting a > successful fix for this problem. Any suggestions or > corrections would be greatly appreciated. > > Stuart Folo ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at mintoskatingclub.com Thu Jul 17 19:53:13 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Thu, 17 Jul 2003 13:53:13 -0400 (EDT) Subject: check_nt diskusage query no status returned Message-ID: <200307171753.h6HHrDGT001378@webmail2.magma.ca> The order of the switches does not actually matter. The text of the output will always be the same, however the status code returned by the plugin should be 0 for ok, 1 for warning and 2 for error. To check that it is working, simply create a simple perl wrapper to see the return code #!/usr/bin/perl $ret=system(/usr/local/nagios/check_nt -H somehost -w 80 -c 90 -v USEDDISKSPACE -l C"); print "$ret\n"; You'll see the returned text of the command on one line and the return code on the other. The return code from Perl needs to be divided by 256. So you'll see 0 for OK, 256 for WARNING and 512 for CRITICAL. Tim Shouldice http://support.tsmgsoftware.com On Jul 17, "VanZee, Timothy" wrote: > > Try changing your -w and -c parameters so that they follow the -v and -l > parameters. For example, modify your command below to check_nt -H > 10.0.0.3 -v USEDDISKSPACE -l C -w 20% -c 80%. That is the proper syntax > according to the documentation. > > > Tim Van Zee > ITS Network Specialist > Governors State University > > -----Original Message----- > From: lists at sancho2k.net [mailto:lists at sancho2k.net] > Sent: Wednesday, July 16, 2003 11:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nt diskusage query no status returned > > Hi all, > > We came to a sudden and discomforting realization that our disk space > checks on NT/2000 boxes using check_nt were not returning status levels > as > we would expect per the -w and -c switches. Here's our example command: > > # check_nt -H 10.0.0.3 -w 20% -c 80% -v USEDDISKSPACE -l C > > C:\ - total: 19.10 Gb - used: 13.94 Gb (73%) - free 5.16 Gb (27%) > > With the warning threshold we have set here, I would expect the check to > return a status other than OK on this. Nagios of course displays OK in > the > UI even when drive space is sitting at 100% full, 0% free. > > We've seen an alternative to this in using SNTP but this is not an > alternative in our case. > > Any suggestions? > > TIA, > > DS > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Thu Jul 17 19:49:24 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 17 Jul 2003 13:49:24 -0400 Subject: hostgroup_name with in the services.cfg file In-Reply-To: <41C71CD5CD1956429953D44D75E96E7D85A2A3@tokmaiexcp01.iss.net> References: <41C71CD5CD1956429953D44D75E96E7D85A2A3@tokmaiexcp01.iss.net> Message-ID: <1058464163.14107.364.camel@unixgod.hq.nasa.gov> I did a quick check of the object configuration docs and the only place "hostgroup_name" are options is in the hostgroup and hostgroupescalation objects. Are you sure you're using the right keyword? Carl On Thu, 2003-07-17 at 13:08, Folo, Stuart (ISS Tokyo) wrote: > Carl, > > I have just tried what you suggested, and it has not worked. Thanks for > your suggestion. > > Stuart > > -----Original Message----- > From: Carl Schelin [mailto:cschelin at hq.nasa.gov] > Sent: Friday, July 18, 2003 1:58 AM > To: Folo, Stuart (ISS Tokyo) > Cc: Hochberg, Keith; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] hostgroup_name with in the services.cfg file > > > Take out the trailing comma in the hostgroup_name. Since it's using > commas as tokens, the last one will be null because it thinks there are > three groups. > > Carl > > On Thu, 2003-07-17 at 12:18, Folo, Stuart (ISS Tokyo) wrote: > > Hello, > > > > This is the service definition that I am using. > > > > # Service definition > > define service{ > > use generic-service ; Name > > of service template to use > > > > hostgroup_name web-servers,dns-servers, > > service_description eth0 Check > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 3 > > retry_check_interval 1 > > contact_groups nagios > > notification_interval 3 > > notification_period 24x7 > > notification_options c > > check_command check_nrpe_eth0 > > } > > > > define service{ <-- is line 202 of the services.cfg. > > > > Stuart Folo > > -----Original Message----- > > From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] > > Sent: Friday, July 18, 2003 1:12 AM > > To: Folo, Stuart (ISS Tokyo); > > nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] hostgroup_name with in the > > services.cfg file > > > > > > Can you include the service definition? more importantly line > > 202 of services.cfg. The syntax is > > hostgroup1,hostgroup2,etc... > > -----Original Message----- > > From: Folo, Stuart (ISS Tokyo) [mailto:SFolo at iss.net] > > Sent: Thursday, July 17, 2003 11:44 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] hostgroup_name with in the > > services.cfg file > > > > > > Hello, > > > > I am currently having issues with the hostgroup_name > > definition with in the services.cfg file. I can > > successfully add a single hostgroup to a service, but > > if I add another hostgroup to the service, I get the > > following error: > > > > Nagios 1.1 > > Copyright (c) 1999-2003 Ethan Galstad > > (nagios at nagios.org) > > Last Modified: 06-02-2003 > > License: GPL > > > > Reading configuration data... > > > > Error: Service description, host name, or check > > command is NULL > > > > Error: Could not register service (config file > > '/usr/local/nagios/etc/services.cfg', line 202) > > > > ***> One or more problems was encountered while > > processing the config files... > > > > I have searched the mailing lists without getting a > > successful fix for this problem. Any suggestions or > > corrections would be greatly appreciated. > > > > Stuart Folo > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shawn at greenthing.org Thu Jul 17 20:31:50 2003 From: shawn at greenthing.org (Shawn M. Green) Date: Thu, 17 Jul 2003 13:31:50 -0500 Subject: Email notification problems In-Reply-To: <1058451086.29566.13.camel@picard.enterprise.be> References: <1058451086.29566.13.camel@picard.enterprise.be> Message-ID: Hrm, interesting. I figured that it was printf'ing the message & piping it into /bin/mail via the notifications cgi. The -s would work there as the subject line. Or am I mistaken on that assumption? Thanks Shawn On 7/17/03 9:11 AM, "Jeff Verheyen" wrote: > > It looks like that the result of the "printf" command is piped into a > (non existing) " -s " command. > > Look right after the "|" > > > > > > On Thu, 2003-07-17 at 03:10, Shawn M. Green wrote: >> I have nagios setup & monitoring about 30 hosts on our network. Everything >> works well except for the email notifications and pages (email SMS) being >> sent out. Here's a snip from the nagios.log with the particular error: >> >> [1058403710] Warning: Attempting to execute the command "/usr/bin/printf >> "%b" "***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: Current >> Users\nHost: Monitoring Server\nAddress: 69.36.xx.xx\nState: >> WARNING\n\nDate/Time: Wed Jul 16 20:01:50 CDT 2003\n\nAdditional >> Info:\n\nUSERS WARNING - 5 users currently logged in" | -s "** PROBLEM >> alert - Monitoring Server/Current Users is WARNING **" 911 at xxxxxxxx.com" >> resulted in a return code of 127. Make sure the script or binary you are >> trying to execute actually exists... >> >> >> Nagios is running on a gentoo machine w/ sendmail installed & running fine >> (other services sending email thru it just fine). Also installed mailx, as >> it's not a standard installed package. >> >> Any ideas would be appreciated. >> >> Shawn >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: VM Ware >> With VMware you can run multiple operating systems on a single machine. >> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null -- Shawn M. Green shawn at greenthing.org http://greenthing.org ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Thu Jul 17 20:32:50 2003 From: hugo.rebello at dhl.com (Hugo Rebello - DHL IT - BR, SAO) Date: Thu, 17 Jul 2003 15:32:50 -0300 Subject: Management Router Message-ID: <004101c34c91$d4921c20$7f023702@sao2127> Could you help me ? I?d like manage some routers by SNMP protocol. Today I am using the Net:SNMP, but I don?t to get receive information using "check_snmp" only with "check_ifoperstatus". I saw in the Nagios FAQ?s something about this issue with the title "Sending SNMP traps to a management host". Somebody already used this solution ? How can I do to implant it ? Thank you. Hugo ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Thu Jul 17 21:24:48 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Thu, 17 Jul 2003 21:24:48 +0200 Subject: Email notification problems In-Reply-To: ; from shawn@greenthing.org on Thu, Jul 17, 2003 at 01:31:50PM -0500 References: <1058451086.29566.13.camel@picard.enterprise.be> Message-ID: <20030717212447.A1682@hpce.nec.com> Hello, you are not using /bin/mail, you are actually piping it into "-s". Rasmus On Thu, Jul 17, 2003 at 01:31:50PM -0500, Shawn M. Green wrote: > Hrm, interesting. I figured that it was printf'ing the message & piping it > into /bin/mail via the notifications cgi. The -s would work there as the > subject line. > > Or am I mistaken on that assumption? > > Thanks > Shawn > > On 7/17/03 9:11 AM, "Jeff Verheyen" wrote: > > > > > It looks like that the result of the "printf" command is piped into a > > (non existing) " -s " command. > > > > Look right after the "|" > > > > > > > > > > > > On Thu, 2003-07-17 at 03:10, Shawn M. Green wrote: > >> I have nagios setup & monitoring about 30 hosts on our network. Everything > >> works well except for the email notifications and pages (email SMS) being > >> sent out. Here's a snip from the nagios.log with the particular error: > >> > >> [1058403710] Warning: Attempting to execute the command "/usr/bin/printf > >> "%b" "***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: Current > >> Users\nHost: Monitoring Server\nAddress: 69.36.xx.xx\nState: > >> WARNING\n\nDate/Time: Wed Jul 16 20:01:50 CDT 2003\n\nAdditional > >> Info:\n\nUSERS WARNING - 5 users currently logged in" | -s "** PROBLEM > >> alert - Monitoring Server/Current Users is WARNING **" 911 at xxxxxxxx.com" > >> resulted in a return code of 127. Make sure the script or binary you are > >> trying to execute actually exists... > >> > >> > >> Nagios is running on a gentoo machine w/ sendmail installed & running fine > >> (other services sending email thru it just fine). Also installed mailx, as > >> it's not a standard installed package. > >> > >> Any ideas would be appreciated. > >> > >> Shawn ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwaterho at sgi.com Thu Jul 17 21:26:37 2003 From: mwaterho at sgi.com (Mark Waterhouse) Date: Thu, 17 Jul 2003 20:26:37 +0100 Subject: check_by_ssh Message-ID: Does anyone have any examples of the usage of this command I want to be able to check the disk on a remote machine. I've installed the necessary binaries but just cant get it to work. Can someone please post an example. Thanks Mark ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Claus.Rosenberger at rocnet.de Thu Jul 17 21:27:42 2003 From: Claus.Rosenberger at rocnet.de (Claus Rosenberger) Date: Thu, 17 Jul 2003 21:27:42 +0200 (CEST) Subject: check_nagios give a failure Message-ID: <44500.10.20.2.100.1058470062.squirrel@webmail.of.rocnet.de> hi, i installed the newest cvs with the newest plugins, i dont know if i should use the head or the others, i tried both of them. after upgrading i can use the cgi's but i cannot use commands with cgi's that command /usr/lib/nagios/plugins/check_nagios -F /var/log/nagios/status.dat -e 5 -C /usr/sbin/nagios output Nagios problem: located 4 processes, status log updated 1058469897 seconds ago it seems like a permission problem but i checked the cgi.cfg and the permissions in /var/log/nagios. any ideas? thx claus ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Thu Jul 17 21:38:07 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Thu, 17 Jul 2003 14:38:07 -0500 Subject: check_nagios give a failure In-Reply-To: <44500.10.20.2.100.1058470062.squirrel@webmail.of.rocnet.de> References: <44500.10.20.2.100.1058470062.squirrel@webmail.of.rocnet.de> Message-ID: <12656.1209130616$1058471141@news.gmane.org> I recently had a system with GRSecurity in the kernel with /proc restrictions that prevented the webserver from running check_nagios properly. Check_nagios would execute ps, and the /proc restrictions would prevent the webserver from viewing all the processes. Had to add the apache user to group wheel to get it to work, and that really isn't the best choice. ;] Russell On Thu, Jul 17, 2003 at 09:27:42PM +0200, Claus Rosenberger wrote: > hi, > > i installed the newest cvs with the newest plugins, i dont know if i > should use the head or the others, i tried both of them. > > after upgrading i can use the cgi's but i cannot use commands with cgi's > > that command > > /usr/lib/nagios/plugins/check_nagios -F /var/log/nagios/status.dat -e 5 -C > /usr/sbin/nagios > > output > > Nagios problem: located 4 processes, status log updated 1058469897 seconds > ago > > it seems like a permission problem but i checked the cgi.cfg and the > permissions in /var/log/nagios. > > any ideas? > > thx > > claus > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Jul 17 21:46:25 2003 From: benny at bennyvision.com (C. Bensend) Date: Thu, 17 Jul 2003 14:46:25 -0500 Subject: check_by_ssh In-Reply-To: ; from mwaterho@sgi.com on Thu, Jul 17, 2003 at 08:26:37PM +0100 References: Message-ID: <20030717144625.A19980@bennyvision.com> On Thu, Jul 17, 2003 at 08:26:37PM +0100, Mark Waterhouse wrote: > > I want to be able to check the disk on a remote machine. I've installed the > necessary binaries but just cant get it to work. Here's one of the bazillion I use: # 'check_disk_remote' command definition define command{ command_name check_disk_remote command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C '/home/nagios/libexec/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$' } And then the service definition: # Service definition define service{ use generic-service host_name hostname service_description /home is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 3 retry_check_interval 1 contact_groups team notification_interval 0 notification_period 24x7 notification_options u,c,r check_command check_disk_remote!/home!30%!15% } Benny -- "Corpsman: usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Major Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Claus.Rosenberger at rocnet.de Thu Jul 17 22:19:24 2003 From: Claus.Rosenberger at rocnet.de (Claus Rosenberger) Date: Thu, 17 Jul 2003 22:19:24 +0200 (CEST) Subject: check_nagios give a failure In-Reply-To: <20030717193807.GF22671@soja.ksnet.com.> References: <44500.10.20.2.100.1058470062.squirrel@webmail.of.rocnet.de> <20030717193807.GF22671@soja.ksnet.com.> Message-ID: <1103.10.20.10.15.1058473164.squirrel@webmail.of.rocnet.de> It's not the same problem to me. I think i haven't restrictions on /proc. What the group wheel is doing, i use Debian and have no wheel. Claus > I recently had a system with GRSecurity in the kernel with /proc > restrictions that prevented the webserver from running check_nagios > properly. > > Check_nagios would execute ps, and the /proc restrictions would > prevent the webserver from viewing all the processes. > > Had to add the apache user to group wheel to get it to work, and that > really isn't the best choice. ;] > > Russell > > On Thu, Jul 17, 2003 at 09:27:42PM +0200, Claus Rosenberger wrote: >> hi, >> >> i installed the newest cvs with the newest plugins, i dont know if i >> should use the head or the others, i tried both of them. >> >> after upgrading i can use the cgi's but i cannot use commands with cgi's >> >> that command >> >> /usr/lib/nagios/plugins/check_nagios -F /var/log/nagios/status.dat -e 5 >> -C >> /usr/sbin/nagios >> >> output >> >> Nagios problem: located 4 processes, status log updated 1058469897 >> seconds >> ago >> >> it seems like a permission problem but i checked the cgi.cfg and the >> permissions in /var/log/nagios. >> >> any ideas? >> >> thx >> >> claus >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: VM Ware >> With VMware you can run multiple operating systems on a single machine. >> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ch at greenmail.ch Thu Jul 17 22:40:09 2003 From: ch at greenmail.ch (claus) Date: Thu, 17 Jul 2003 22:40:09 +0200 Subject: Authentication problem Message-ID: <3EEF125F00003C80@mail02.agrinet.ch> I have a realy strange problem .... I set up nagios under apache 2.0.45 all the .htaccess and authentication stuff works fine I get a prompt enter user/password get in and see on the web pages "Logged in as ..." But when I try any of the Service Detail, Host Detzail etc. I get: It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. But in the cgi.conf file I configured: use_authentication=0 default_user_name=... (same literal as login user) authorized_for_configuration_information=* authorized_for_system_commands=* authorized_for_all_services=* authorized_for_all_hosts=* authorized_for_all_service_commands=* authorized_for_all_host_commands=* I tested also less permissive configs like: use_authentication=1 default_user_name=guest authorized_for_configuration_information=... (same literal as login user) authorized_for_system_commands=... (same literal as login user) authorized_for_all_services=... (same literal as login user) authorized_for_all_hosts=... (same literal as login user) authorized_for_all_service_commands=... (same literal as login user) authorized_for_all_host_commands=... (same literal as login user) Always the same result. If I call the cgi's on the command line they seem tio work better as soon as I set REQUEST_METHOD="GET" QUERY_STRING="host=all" REMOTE_USER="..." (same literal as login user) /usr/local/nagios/sbin/status.cgi How may I debug the cgi's when running in the server? Is it possible that I have to configure apache2 differently? Thanx and regards, Claus ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Thu Jul 17 22:45:38 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 17 Jul 2003 14:45:38 -0600 Subject: Another check_snmp problem Message-ID: System: RH9; Nagios 1.1; Plugins 1.3.1; NET-SNMP 5.0.8 Problem: I'm attempting to use check_snmp to check the status of ATM circuits on a Cisco Router. However, the check_snmp plugin is reporting that a returned status of "up(1)" is critical. Below is the output from the standard snmpget command, as well as verbose output from the check_snmp command with and without the string to expect. [root at monitor2 libexec]# snmpget -c 10.1.190.1 .1.3.6.1.2.1.2.2.1.8.2 IF-MIB::ifOperStatus.2 = INTEGER: up(1) [root at monitor2 libexec]# ./check_snmp -H 10.1.190.1 -o .1.3.6.1.2.1.2.2.1.8.2 -C -v /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c 10.1.190.1:161 .1.3.6.1.2.1.2.2.1.8.2 RFC1213-MIB::ifOperStatus.2 = INTEGER: up(1) SNMP OK - up(1) [root at monitor2 libexec]# ./check_snmp -H 10.1.190.1 -o .1.3.6.1.2.1.2.2.1.8.2 -C -s "up(1)" -v /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c 10.1.190.1:161 .1.3.6.1.2.1.2.2.1.8.2 RFC1213-MIB::ifOperStatus.2 = INTEGER: up(1) SNMP CRITICAL - *up(1)* I've been killing myself trying to figure this one out today. Any assistance is greatly appreciated. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dick.aseltine at giantloop.com Thu Jul 17 23:15:56 2003 From: dick.aseltine at giantloop.com (Aseltine, Richard) Date: Thu, 17 Jul 2003 17:15:56 -0400 Subject: Compiling NRPE issue with Solaris Message-ID: <6CA85554A071E54FAE763836FA1CD744115C53@mail-be.giantloop.com> I have read the threads on problem compiling NRPE on Solaris. Not that knowledgable in C and need help understanding how to resolve this. I have it down to the following errors and can't get past it. Your help will be extremely helpfull. Thanks in advance. make all cd ./src/; make ; cd .. make[1]: Entering directory `/home/rha/nrpe-2.0b4/src' gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c nrpe.c: In function `main': nrpe.c:198: warning: assignment makes pointer from integer without a cast Undefined first referenced symbol in file SSL_library_init /var/tmp/ccduSV1c.o SSL_CTX_set_cipher_list /var/tmp/ccduSV1c.o SSL_CTX_ctrl /var/tmp/ccduSV1c.o SSL_shutdown /var/tmp/ccduSV1c.o SSL_CTX_free /var/tmp/ccduSV1c.o SSL_load_error_strings /var/tmp/ccduSV1c.o DH_free /var/tmp/ccduSV1c.o get_dh512 /var/tmp/ccduSV1c.o SSL_CTX_new /var/tmp/ccduSV1c.o SSL_set_fd /var/tmp/ccduSV1c.o SSLv23_server_method /var/tmp/ccduSV1c.o SSL_write /var/tmp/ccduSV1c.o SSL_new /var/tmp/ccduSV1c.o SSL_get_error /var/tmp/ccduSV1c.o SSL_free /var/tmp/ccduSV1c.o SSL_read /var/tmp/ccduSV1c.o SSL_accept /var/tmp/ccduSV1c.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 `/home/rha/nrpe-2.0b4/src' *** Compile finished *** If the NRPE daemon and client compiled without any errors, you can continue with installation. The NRPE daemon and client binaries are located in the src/ subdirectory. ** If this is your monitoring host ** - Copy the check_nrpe client to the directory that contains your Nagios plugins. - Create a command definition in your Nagios config file for the NRPE client. See the README file for more info on doing this. ** If this host will be running the NRPE daemon ** - Copy the nrpe daemon to /usr/sbin, /usr/local/nagios or wherever you feel it fits best. - Copy the sample nrpe.cfg config file to /etc, /usr/local/nagios or wherever you feel it fits best. - Modify the /etc/services file and configure NRPE to run under inetd, xinetd, or as a standalone daemon. See the README file for more info on doing this. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ch at greenmail.ch Thu Jul 17 23:31:48 2003 From: ch at greenmail.ch (claus) Date: Thu, 17 Jul 2003 23:31:48 +0200 Subject: Authentication problem Message-ID: <3EEF125F00003C8D@mail02.agrinet.ch> Stupid me !!! chmod -R a+r /usr/local/nagios fixed it !!! Sorry having you bothered. Regards, Claus ----- Original Message ----- From: "claus" To: Sent: Thursday, July 17, 2003 10:40 PM Subject: [Nagios-users] Authentication problem I have a realy strange problem .... I set up nagios under apache 2.0.45 all the .htaccess and authentication stuff works fine I get a prompt enter user/password get in and see on the web pages "Logged in as ..." But when I try any of the Service Detail, Host Detzail etc. I get: It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. But in the cgi.conf file I configured: use_authentication=0 default_user_name=... (same literal as login user) authorized_for_configuration_information=* authorized_for_system_commands=* authorized_for_all_services=* authorized_for_all_hosts=* authorized_for_all_service_commands=* authorized_for_all_host_commands=* I tested also less permissive configs like: use_authentication=1 default_user_name=guest authorized_for_configuration_information=... (same literal as login user) authorized_for_system_commands=... (same literal as login user) authorized_for_all_services=... (same literal as login user) authorized_for_all_hosts=... (same literal as login user) authorized_for_all_service_commands=... (same literal as login user) authorized_for_all_host_commands=... (same literal as login user) Always the same result. If I call the cgi's on the command line they seem tio work better as soon as I set REQUEST_METHOD="GET" QUERY_STRING="host=all" REMOTE_USER="..." (same literal as login user) /usr/local/nagios/sbin/status.cgi How may I debug the cgi's when running in the server? Is it possible that I have to configure apache2 differently? Thanx and regards, Claus ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlin at fxcm.com Thu Jul 17 23:43:22 2003 From: mlin at fxcm.com (FXCM - Mark Lin) Date: Thu, 17 Jul 2003 17:43:22 -0400 Subject: service stale at the first try. Message-ID: Hi group, I have a host with check_ping service check. The host is unreachable by nagios, that I know. The problem is nagios only did a single attempt for the service and it stales. Here's the configuration for that service. check_wanping is just a check_ping with modified parameters to allow longer latency. I hope you see the problem here, if nagios stop at the first attempt, I would never the notification, which is not good. TIA for any help. Mark define service{ host_name hkcenfw1 service_description PING check_command check_wanping max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_nonstatus_information 1 retain_status_information 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups office } _____________________________________________________________________________________________________________________________ FXCM, L.L.C.? assumes no responsibility for errors, inaccuracies or omissions in these materials. FXCM, L.L.C.? does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. FXCM, L.L.C.? shall not be liable for any special, indirect, incidental, or consequential damages, including without limitation losses, lost revenues, or lost profits that may result from these materials. All information contained in this e-mail is strictly confidential and is only intended for use by the recipient. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlin at fxcm.com Thu Jul 17 23:53:30 2003 From: mlin at fxcm.com (FXCM - Mark Lin) Date: Thu, 17 Jul 2003 17:53:30 -0400 Subject: I've created a web based nagios configuration tool. Message-ID: Hi group, Second post of the day. I have created a nagios' web base configuration interface using php and postgres sql. It's currently a module to my company's IT intranet site. If there's a demand for the tool, I can try to separate it out from the intranet and make it standalone. So, please let me know if you have interest. We used some customized concept in our nagios. So if I do make it standalone, I will have a website along with it to explain how we configure our nagios. I also have a perl script that migrates my nagios configuration into database. Let me know. regards, Mark Lin _____________________________________________________________________________________________________________________________ FXCM, L.L.C.? assumes no responsibility for errors, inaccuracies or omissions in these materials. FXCM, L.L.C.? does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. FXCM, L.L.C.? shall not be liable for any special, indirect, incidental, or consequential damages, including without limitation losses, lost revenues, or lost profits that may result from these materials. All information contained in this e-mail is strictly confidential and is only intended for use by the recipient. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jul 18 00:03:21 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Thu, 17 Jul 2003 17:03:21 -0500 Subject: centralized syslogging & notifications Message-ID: Greets to all. Lately I've been pondering/revisiting the whole issue of how best to manage/respond to lines worthy of critical/warning events which show up in /var/log/messages. Here's what I'm doing today: - all hosts log to xloghost (alias for another host) - xloghost is running NRPE client - NRPE kicks off the Perl version of check_log - if match found return string/code to NRPE Sounds good so far. However: - Nagios reports a problem on 'xloghost', not on the host in question - if notifications for host 'foobar' have been disabled, this doesn't stop notifications being relayed by from 'xloghost'; if check_log finds a matching string, it doesn't care about host details Possible steps to improve the situation: - move xloghost (centralized syslogging) to Nagios host - munge check_log (Perl version) to inject proper details into nagios.cmd (reporting on actual host, not xloghost), and run from cron - additional munge to check_log to possibly report first (not last) line of log output Wish list: - when syslog catches multiple lines of related output: - the whole lot would be forwarded to the appropriate contacts via e-mail - a modest snippet gets sent to the pager contacts (longer pages can be split into 2 or 3 chunks and sent as separate pages) - the whole lot gets appended (with a separator) to an HTML file which can be accessed via notes_url Comments? Critiques? Suggestions and improvements? Enlightened input? jc ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jul 18 00:53:10 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Thu, 17 Jul 2003 17:53:10 -0500 Subject: I've created a web based nagios configuration tool. Message-ID: I'd say that if you're offering, then there will definitely be interested parties. Post away. :) jc > -----Original Message----- > From: FXCM - Mark Lin [mailto:mlin at fxcm.com] > Sent: Thursday, July 17, 2003 4:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] I've created a web based nagios configuration > tool. > > > Hi group, > Second post of the day. I have created a nagios' web > base configuration interface using php and postgres sql. > It's currently a module to my company's IT intranet site. If > there's a demand for the tool, I can try to separate it out > from the intranet and make it standalone. So, please let me > know if you have interest. > > We used some customized concept in our nagios. So if I do > make it standalone, I will have a website along with it to > explain how we configure our nagios. I also have a perl > script that migrates my nagios configuration into database. > Let me know. > > > regards, > Mark Lin > > ______________________________________________________________ > _______________________________________________________________ > FXCM, L.L.C.? assumes no responsibility for errors, > inaccuracies or omissions in these materials. FXCM, L.L.C.? > does not warrant the accuracy or completeness of the > information, text, graphics, links or other items contained > within these materials. FXCM, L.L.C.? shall not be liable for > any special, indirect, incidental, or consequential damages, > including without limitation losses, lost revenues, or lost > profits that may result from these materials. All information > contained in this e-mail is strictly confidential and is only > intended for use by the recipient. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m_abacha2 at post.cz Thu Jul 17 19:25:23 2003 From: m_abacha2 at post.cz (MRS.MARIAM SANI ABACHA) Date: Thu, 17 Jul 2003 10:25:23 -0700 Subject: very urgent Message-ID: FROM: MRS.MARIAM SANI ABACHA STRICTLY PRIVATE Dear Sir, PROPOSAL FOR THE RE TRANSFER OF US$45.5 MILLION UNITED STATES DOLLARS. I take liberty to introduce my humble self to you and permit me to write you. I am MRS MARIAM ABACHA (WIDOW) the wife of Late General Sani Abacha Former Head of state of the defunct Military Government of Nigeria, who was killed, while in office in 1998. After these, the Present Democratic Elected Government of OLUSEGUN OBASANJO took over in 1999 as a result of Military misrule over the years, during the tenure of Late General Abacha (my inlaw) he enriched and accumulated a lot of money while in office, but unfortunately for him the man died. This money was lodged in different banks abroad in America, Canada, Europe and Africa. Etc. However, the present Government succeeded in Frozening most of these Accounts and have so far recalled these money back to the country, with exception of the money deposited in a valt with AMICABLE SECURITY COMPANY in Cotonou Republic of Benin undiscovered up til date. And due to sanction placed on the family by the Present Government I can not reach this money nor withdraw it to Nigeria for use. Otherwise, we have jointly decided within the family to relocate this funds out abroad for investment. This is the only ways and means we can utilize this money wisely. Consequently, we beg for your assistance in investing this money ie. Purchase factory (s), Estate and any other viable venture you might suggest. I got your contact through your country (s) Embassy, as a trustworthy and reliable person we believe strongly, you will not disappoint us, we have also agreed to give you 30% of the total amount as share in this business, at the end of the day. Finally, we require the following information to facilitate and normalization of documentation with the Security Company. (a) Your complete name (b) Your Telephone/Fax Numbers (c) Complete Bank Account Numbers and Addresses. Again, all arrangement and logistics of this transaction are in place as you are free and secured in this transaction, you will be glad you did and we shall remain grateful. I most faithfully look forward to hear from you. Thanks in anticipations. Best regards, MRS.MARIAM SANI ABACHA N/B:PLEASE FOR CONFIRMATION CHECK THIS WEB.SITE (www.econdad.org/AbachaLaunch.htm) ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at powered.net Fri Jul 18 03:52:57 2003 From: sourceforge at powered.net (Rainer) Date: Thu, 17 Jul 2003 22:52:57 -0300 Subject: Bandwidth utilization (snmp / cisco router) Message-ID: <6.0.0.8.2.20030717220619.0239b460@pop1.mail.com> Hello, I'm trying to retrieve the average bandwidth utilization (percent) on a cisco router using snmp. What would be the best way to do this? I've been unable to find a cisco mib related to bandwidth percentage (only bits/sec) According to Cisco, the only way to do is this: http://www.cisco.com/warp/public/477/SNMP/calculate_bandwidth_snmp.html (a formula using ifInOctets and ifSpeed) I know this could be done with cricket / rrdtool, but has anyone succeded in doing this using check_snmp or some perl script with net::snmp? (ex. check_traffic_percent with parameters for hostaddress, interface number, community string, and warning/critical percent levels) Thanks in advance. Rainer Alves Unisys Brazil ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gisccs at nus.edu.sg Fri Jul 18 04:15:56 2003 From: gisccs at nus.edu.sg (Chan Chee Seng) Date: Fri, 18 Jul 2003 10:15:56 +0800 Subject: Can't compile nrpe on Solaris 8 Message-ID: Greeting! Thanks for the responses that I got from Jordi Vidal and Skip Montanro. I was directed to download the latest tar tarball from http://nagios.sourceforge.net/download/cvs/nrpe-cvs.tar.gz However the latest tarball (I got version 2.0b5) still have a problem with finding the ssl include path. I have to tweak the configure script (As previously suggested from Skip) like this ==== part of configure script ==== if test -f "$dir/include/openssl/ssl.h"; then found_ssl=yes CFLAGS="$CFLAGS -I$ssldir/include/openssl -I$ssldir/include" ================================== It seems like common/config.h has a difference in the #include directive statements. Incidentally I got openssl from sunfreeware and the include files are installed in /usr/local/ssl/include/openssl. But the good thing is that the u_int32_t problem is gone! :) I am now trying to set up nrpe to do remote monitoring. Thanks again guys. Regards, Chan Chee Seng -----Original Message----- From: Chan Chee Seng Sent: Tuesday, July 15, 2003 11:19 PM To: 'nagios-users at lists.sourceforge.net' Subject: Can't compile nrpe on Solaris 8 Greetings, I tried to compiled nrpe 2.0b4 on a Solaris 8 box but I got the following 2 errors: gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/sys/types.h:45, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from nrpe.c:21: /usr/include/sys/int_types.h:69: conflicting types for `int32_t' ../common/config.h:54: previous declaration of `int32_t' In file included from nrpe.c:22: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: conflicting types for `int32_t' /usr/include/sys/int_types.h:69: previous declaration of `int32_t' In file included from utils.h:35, from nrpe.c:24: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: redefinition of `int32_t' ../common/config.h:54: `int32_t' previously declared here In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/sys/types.h:45, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from utils.c:32: /usr/include/sys/int_types.h:69: conflicting types for `int32_t' ../common/config.h:54: previous declaration of `int32_t' In file included from utils.h:35, from utils.c:33: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here ../common/config.h:54: conflicting types for `int32_t' /usr/include/sys/int_types.h:69: previous declaration of `int32_t' make[1]: *** [nrpe] Error 1 Initially the compilation cannot find the ssl includes too. I came across a posting about a similar problem from the nagios-devel archives which showed me how to solved the ssl include problem (Thanks Skip Montanaro ? ) But I can't make sense of how to solve the u_int32_t problem. Can someone send me details of how to solve this? Thanks. Lastly, during the ./configure, it complained that I do not have Kerberos include files. How can I disable Kerberos being detected by configure? Will nrpe still run without Kerberos? ==== part of output from ./configure ==== checking for Kerberos include files... could not find include files ========================================= Thanks for any help rendered. Regards, Chan Chee Seng gisccs at nus.edu.sg From twfetmarif at meridianplumbing.net Fri Jul 18 04:19:52 2003 From: twfetmarif at meridianplumbing.net (Maria Hofmann) Date: Thu, 17 Jul 2003 19:19:52 -0700 Subject: Livecam Botschaft für Nagiosusers Message-ID: An HTML attachment was scrubbed... URL: From jyao at aav.com.au Fri Jul 18 07:07:01 2003 From: jyao at aav.com.au (Yao, Jack) Date: Fri, 18 Jul 2003 15:07:01 +1000 Subject: localhost.localdomain Message-ID: Hi therte , this might not quite directly related to Nagios though. I try to change the network setting of my Nagios server by changing the host alias from localhost.localdomain to be servername.mydomain.com.au. [from /etc/host] Once I've done that , the email notification has never get sent out, even if when there is somethng wrong. Can anyne tell me what did I do wrong ? Thanks Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From james at lovedthanlost.net Fri Jul 18 08:01:21 2003 From: james at lovedthanlost.net (James Turnbull) Date: Fri, 18 Jul 2003 16:01:21 +1000 Subject: localhost.localdomain References: Message-ID: <012b01c34cf2$0383c5f0$3201a8c0@iih.usyd.edu.au> Message---- Original Message ---- From: Yao, Jack To: 'nagios-users at lists.sourceforge.net' Sent: Friday, July 18, 2003 3:07 PM Subject: [Nagios-users] localhost.localdomain > Hi therte , > > this might not quite directly related to Nagios though. I try to > change the network setting of my Nagios server by changing the host > alias from localhost.localdomain to be servername.mydomain.com.au. > [from /etc/host] > > Once I've done that , the email notification has never get sent out, > even if when there is somethng wrong. What is the contents of your contacts.cfg file? Are the email addresses correct in there? Is other email working from your machine? Regards James -------------- next part -------------- An HTML attachment was scrubbed... URL: From jyao at aav.com.au Fri Jul 18 07:56:46 2003 From: jyao at aav.com.au (Yao, Jack) Date: Fri, 18 Jul 2003 15:56:46 +1000 Subject: localhost.localdomain Message-ID: yeah , the contacts.cfg file is okay. Because it was working before when the alias was localhot.localdomain , once I change the host alias to be myservername.mydomain.com , it stop sending any notification. I just changed it back to be localhost.localdomain again , and it does actually sending out notification once I've done that.... But I want it to be myserver.mydomain.com instead any thoughts? Jack -----Original Message----- From: James Turnbull [mailto:james at lovedthanlost.net] Sent: Friday, 18 July 2003 4:01 PM To: Yao, Jack; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] localhost.localdomain ---- Original Message ---- From: Yao, Jack To: 'nagios-users at lists.sourceforge.net' Sent: Friday, July 18, 2003 3:07 PM Subject: [Nagios-users] localhost.localdomain > Hi therte , > > this might not quite directly related to Nagios though. I try to > change the network setting of my Nagios server by changing the host > alias from localhost.localdomain to be servername.mydomain.com.au. > [from /etc/host] > > Once I've done that , the email notification has never get sent out, > even if when there is somethng wrong. What is the contents of your contacts.cfg file? Are the email addresses correct in there? Is other email working from your machine? Regards James -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Fri Jul 18 08:16:25 2003 From: teng at dataway.com (Tedman Eng) Date: Thu, 17 Jul 2003 23:16:25 -0700 Subject: Bandwidth utilization (snmp / cisco router) References: <6.0.0.8.2.20030717220619.0239b460@pop1.mail.com> Message-ID: Look into using apan. http://apan.sourceforge.net The net-usage example can be extended with cisco's formula. HP Openview also gives a similar formula to calculate bandwidth (as a percentage of the interface's max rate). The apan plugins are written in shell script, so should be easy to modify. If it works well, maybe contribute the changes back to the apan project :) Cheers "Rainer" wrote in message news:6.0.0.8.2.20030717220619.0239b460 at pop1.mail.com... > Hello, > > I'm trying to retrieve the average bandwidth utilization (percent) on a > cisco router using snmp. > What would be the best way to do this? I've been unable to find a cisco mib > related to bandwidth percentage (only bits/sec) > According to Cisco, the only way to do is this: > http://www.cisco.com/warp/public/477/SNMP/calculate_bandwidth_snmp.html (a > formula using > ifInOctets and ifSpeed) > I know this could be done with cricket / rrdtool, but has anyone succeded > in doing this using check_snmp or some perl script with net::snmp? (ex. > check_traffic_percent with parameters for hostaddress, interface number, > community string, and warning/critical percent levels) > > Thanks in advance. > > Rainer Alves > Unisys Brazil > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creator at mindcreations.com Fri Jul 18 08:16:54 2003 From: creator at mindcreations.com (Creator) Date: Fri, 18 Jul 2003 08:16:54 +0200 Subject: R: I've created a web based nagios configuration tool. In-Reply-To: References: Message-ID: <001901c34cf4$2f5a3cc0$7100a8c0@mindcreations.com> That is very interesting. Please go ahead with you project :) > -----Messaggio originale----- > Da: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Per conto > di FXCM - Mark Lin > Inviato: gioved? 17 luglio 2003 23.54 > A: nagios-users at lists.sourceforge.net > Oggetto: [Nagios-users] I've created a web based nagios > configuration tool. > > > Hi group, > Second post of the day. I have created a nagios' web > base configuration interface using php and postgres sql. > It's currently a module to my company's IT intranet site. If > there's a demand for the tool, I can try to separate it out > from the intranet and make it standalone. So, please let me > know if you have interest. > > We used some customized concept in our nagios. So if I do > make it standalone, I will have a website along with it to > explain how we configure our nagios. I also have a perl > script that migrates my nagios configuration into database. > Let me know. > > > regards, > Mark Lin > > ______________________________________________________________ > _______________________________________________________________ > FXCM, L.L.C.? assumes no responsibility for errors, > inaccuracies or omissions in these materials. FXCM, L.L.C.? > does not warrant the accuracy or completeness of the > information, text, graphics, links or other items contained > within these materials. FXCM, L.L.C.? shall not be liable for > any special, indirect, incidental, or consequential damages, > including without limitation losses, lost revenues, or lost > profits that may result from these materials. All information > contained in this e-mail is strictly confidential and is only > intended for use by the recipient. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > Novell virtual machines at the same time. Free trial click > here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Jul 18 08:42:14 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 18 Jul 2003 18:42:14 +1200 Subject: Another check_snmp problem In-Reply-To: References: Message-ID: <200307180636.h6I6aiI29852@spectre.freeparking.co.nz> Hi Garry, I seem to recall a similar problem myself in the distant past. From memory there was a problem with a MIB file in /usr/share/snmp/mibs/ I think I removed an offending mib that I had placed there and everything came right..... hth jamie On Fri, 18 Jul 2003 08:45, Cook, Garry wrote: > System: RH9; Nagios 1.1; Plugins 1.3.1; NET-SNMP 5.0.8 > > Problem: I'm attempting to use check_snmp to check the status of ATM > circuits on a Cisco Router. However, the check_snmp plugin is reporting > that a returned status of "up(1)" is critical. Below is the output from > the standard snmpget command, as well as verbose output from the > check_snmp command with and without the string to expect. > > [root at monitor2 libexec]# snmpget -c 10.1.190.1 > .1.3.6.1.2.1.2.2.1.8.2 > IF-MIB::ifOperStatus.2 = INTEGER: up(1) > > [root at monitor2 libexec]# ./check_snmp -H 10.1.190.1 -o > .1.3.6.1.2.1.2.2.1.8.2 -C -v > /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c > 10.1.190.1:161 .1.3.6.1.2.1.2.2.1.8.2 > RFC1213-MIB::ifOperStatus.2 = INTEGER: up(1) > > SNMP OK - up(1) > > [root at monitor2 libexec]# ./check_snmp -H 10.1.190.1 -o > .1.3.6.1.2.1.2.2.1.8.2 -C -s "up(1)" -v > /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c > 10.1.190.1:161 .1.3.6.1.2.1.2.2.1.8.2 > RFC1213-MIB::ifOperStatus.2 = INTEGER: up(1) > > SNMP CRITICAL - *up(1)* > > I've been killing myself trying to figure this one out today. Any > assistance is greatly appreciated. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 303.881.5157 (Mobile) > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Jul 18 08:48:25 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 18 Jul 2003 18:48:25 +1200 Subject: centralized syslogging & notifications In-Reply-To: References: Message-ID: <200307180642.h6I6grI30216@spectre.freeparking.co.nz> Hi Jim, Having syslog on the same host as nagios IMHO is a good idea. Faffing around with syslog's conf to copy the right messages to nagios_host syslog instead of a full move is an alternative. I assume you've looked at check_log2? jamie On Fri, 18 Jul 2003 10:03, Carroll, Jim P wrote: > Greets to all. > > Lately I've been pondering/revisiting the whole issue of how best to > manage/respond to lines worthy of critical/warning events which show > up in /var/log/messages. Here's what I'm doing today: > > - all hosts log to xloghost (alias for another host) > - xloghost is running NRPE client > - NRPE kicks off the Perl version of check_log > - if match found return string/code to NRPE > > Sounds good so far. However: > > - Nagios reports a problem on 'xloghost', not on the host in question > - if notifications for host 'foobar' have been disabled, this doesn't > stop notifications being relayed by from 'xloghost'; if check_log finds > a matching string, it doesn't care about host details > > Possible steps to improve the situation: > > - move xloghost (centralized syslogging) to Nagios host > - munge check_log (Perl version) to inject proper details into nagios.cmd > (reporting on actual host, not xloghost), and run from cron > - additional munge to check_log to possibly report first (not last) > line of log output > > Wish list: > > - when syslog catches multiple lines of related output: > - the whole lot would be forwarded to the appropriate contacts > via e-mail > - a modest snippet gets sent to the pager contacts (longer pages > can be split into 2 or 3 chunks and sent as separate pages) > - the whole lot gets appended (with a separator) to an HTML file > which can be accessed via notes_url > > Comments? Critiques? Suggestions and improvements? Enlightened input? > > jc > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gillian.bennett at celentia.com Fri Jul 18 09:47:39 2003 From: gillian.bennett at celentia.com (gb) Date: 18 Jul 2003 17:47:39 +1000 Subject: help with web and cgi authentication Message-ID: <1058514461.2200.69.camel@rh-possum> Hi, I am running rh9 fully patched on intel, and have just installed nagios. I have set up the web config as per the suggestions in the doco, but am having some problems with the authentication. I have included the 2 stanza's in the httpd.conf file, I have set up a .htaccess file as recommended and then generated the htpasswd.users file as well, containing the names that will be using this monitor. nagios itself is working just fine. As a long time user of netsaint, it wasn't such a hard jump, and now my karma is much happier. ;) However, when I fire up the web interface, I get a message "It appears as though you do not have permission ..." blah blah blah. When I see the "Logged in as " string, it contains a ? , not a real name. Is this the problem? I am starting up an IE6 session on a windows 2000 box to attempt the web connection. I am not asked to log into the web interface, so what have I done wrong? thanks, Gillian ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Fri Jul 18 10:21:43 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Fri, 18 Jul 2003 10:21:43 +0200 Subject: log to database Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi I seem to remember someone posting recently that he/she wrote an event handler to log data (events/status) to a db (I think MySQL). Could that someone, or anyone else who did anything similar, please send me a copy of the code. I've been looking through the archives but can't seem to find the relevant post. Thanx :) fred ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Jul 18 10:35:37 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 18 Jul 2003 20:35:37 +1200 Subject: localhost.localdomain In-Reply-To: References: Message-ID: <200307180830.h6I8UkI04598@spectre.freeparking.co.nz> leave localhost.localdomain in. add myservername.mydomain.com so it's like this: 127.0.0.1 myservername.mydomain.com localhost.localdomain redhat right? jamie On Fri, 18 Jul 2003 17:56, you wrote: > yeah , the contacts.cfg file is okay. Because it was working before when > the alias was localhot.localdomain , once I change the host alias to be > myservername.mydomain.com , it stop sending any notification. I just > changed it back to be localhost.localdomain again , and it does actually > sending out notification once I've done that.... > > But I want it to be myserver.mydomain.com instead > any thoughts? > > Jack > > > -----Original Message----- > From: James Turnbull [mailto:james at lovedthanlost.net] > Sent: Friday, 18 July 2003 4:01 PM > To: Yao, Jack; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] localhost.localdomain > > > ---- Original Message ---- > From: Yao, Jack > To: 'nagios-users at lists.sourceforge.net' > Sent: Friday, July 18, 2003 3:07 PM > Subject: [Nagios-users] localhost.localdomain > > > Hi therte , > > > > this might not quite directly related to Nagios though. I try to > > change the network setting of my Nagios server by changing the host > > alias from localhost.localdomain to be servername.mydomain.com.au. > > [from /etc/host] > > > > Once I've done that , the email notification has never get sent out, > > even if when there is somethng wrong. > > What is the contents of your contacts.cfg file? Are the email addresses > correct in there? Is other email working from your machine? > > Regards > > James ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Jul 18 10:36:17 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 18 Jul 2003 20:36:17 +1200 Subject: localhost.localdomain In-Reply-To: References: Message-ID: <200307180830.h6I8UlI04599@spectre.freeparking.co.nz> leave localhost.localdomain in. add myservername.mydomain.com so it's like this: 127.0.0.1 myservername.mydomain.com localhost.localdomain redhat right? jamie On Fri, 18 Jul 2003 17:56, Yao, Jack wrote: > yeah , the contacts.cfg file is okay. Because it was working before when > the alias was localhot.localdomain , once I change the host alias to be > myservername.mydomain.com , it stop sending any notification. I just > changed it back to be localhost.localdomain again , and it does actually > sending out notification once I've done that.... > > But I want it to be myserver.mydomain.com instead > any thoughts? > > Jack > > > -----Original Message----- > From: James Turnbull [mailto:james at lovedthanlost.net] > Sent: Friday, 18 July 2003 4:01 PM > To: Yao, Jack; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] localhost.localdomain > > > ---- Original Message ---- > From: Yao, Jack > To: 'nagios-users at lists.sourceforge.net' > Sent: Friday, July 18, 2003 3:07 PM > Subject: [Nagios-users] localhost.localdomain > > > Hi therte , > > > > this might not quite directly related to Nagios though. I try to > > change the network setting of my Nagios server by changing the host > > alias from localhost.localdomain to be servername.mydomain.com.au. > > [from /etc/host] > > > > Once I've done that , the email notification has never get sent out, > > even if when there is somethng wrong. > > What is the contents of your contacts.cfg file? Are the email addresses > correct in there? Is other email working from your machine? > > Regards > > James ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Jul 18 10:46:09 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 18 Jul 2003 20:46:09 +1200 Subject: help with web and cgi authentication In-Reply-To: <1058514461.2200.69.camel@rh-possum> References: <1058514461.2200.69.camel@rh-possum> Message-ID: <200307180840.h6I8egI05222@spectre.freeparking.co.nz> yep. ? is the problem. you need to closely at the http conf and find the part that has stuff like allow, order etc. you'll probably find that apache is acting too liberally at moment. hth jamie On Fri, 18 Jul 2003 19:47, gb wrote: > Hi, > > I am running rh9 fully patched on intel, and have just installed nagios. > I have set up the web config as per the suggestions in the doco, but am > having some problems with the authentication. > > I have included the 2 stanza's in the httpd.conf file, I have set up a > .htaccess file as recommended and then generated the htpasswd.users file > as well, containing the names that will be using this monitor. nagios > itself is working just fine. As a long time user of netsaint, it wasn't > such a hard jump, and now my karma is much happier. ;) > > However, when I fire up the web interface, I get a message > "It appears as though you do not have permission ..." blah blah blah. > > When I see the "Logged in as " string, it contains a ? , not a real > name. Is this the problem? I am starting up an IE6 session on a windows > 2000 box to attempt the web connection. I am not asked to log into the > web interface, so what have I done wrong? > > thanks, Gillian > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Claus.Rosenberger at rocnet.de Fri Jul 18 11:08:34 2003 From: Claus.Rosenberger at rocnet.de (Claus Rosenberger) Date: Fri, 18 Jul 2003 11:08:34 +0200 (CEST) Subject: log to database In-Reply-To: References: Message-ID: <47356.10.20.2.100.1058519314.squirrel@webmail.of.rocnet.de> thats for postgresql -------------------- # define the service event-handler define command{ command_name write-db-entry-service command_line /usr/bin/printf "%b" "insert into nagiosevents (ne_times t,ne_host,ne_service,ne_ip,ne_errtxt,ne_errstatus) values (unixtime2pgtime($TIME T$),'$HOSTNAME$','$SERVICEDESC$','$HOSTADDRESS$','$OUTPUT$','$SERVICESTATE$')" | /usr/bin/psql -U nagios erp } # define the host event-handler define command{ command_name write-db-entry-host command_line /usr/bin/printf "%b" "insert into nagiosevents (ne_times t,ne_host,ne_ip,ne_errtxt,ne_errstatus) values (unixtime2pgtime($TIMET$),'$HOSTN AME$','$HOSTADDRESS$','$OUTPUT$','$HOSTSTATE$')" | /usr/bin/psql -U nagios erp } # create a simple table and funktion to convert unix-time CREATE TABLE "nagiosevents" ( "ne_timest" timestamp NOT NULL, "ne_host" varchar(75) NOT NULL, "ne_service" varchar(128), "ne_ip" varchar(15) NOT NULL, "ne_errtxt" varchar(1024) NOT NULL, "ne_errstatus" varchar(16) NOT NULL ); GRANT ALL ON TABLE "nagiosevents" TO nagios; CREATE FUNCTION unixtime2pgtime(integer) returns timestamp as 'select \'epoch\'::timestamp + ($1 || \'seconds\')::interval;' language 'sql'; good luck, you have to change some things for mysql perhaps claus > -------------------------------------- > Please visit www.tiscali.co.za > -------------------------------------- > Hi > > I seem to remember someone posting recently that he/she wrote an event > handler to log data (events/status) to a db (I think MySQL). Could that > someone, or anyone else who did anything similar, please send me a copy of > the code. > > I've been looking through the archives but can't seem to find the relevant > post. > > Thanx > > :) > fred > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ch at greenmail.ch Fri Jul 18 11:25:47 2003 From: ch at greenmail.ch (claus) Date: Fri, 18 Jul 2003 11:25:47 +0200 Subject: help with web and cgi authentication Message-ID: <3EEF125F00003D4A@mail02.agrinet.ch> I had the same just yesterday ... http://article.gmane.org/gmane.network.nagios.user/12048 Could it be local disk access since apache runs under another uer ? Regards, Claus ----- Original Message ----- From: "Jamie Baddeley" To: ; Sent: Friday, July 18, 2003 10:46 AM Subject: Re: [Nagios-users] help with web and cgi authentication > yep. ? is the problem. > > you need to closely at the http conf and find the part that has stuff like > allow, order etc. > > you'll probably find that apache is acting too liberally at moment. > > hth > > jamie > > On Fri, 18 Jul 2003 19:47, gb wrote: > > Hi, > > > > I am running rh9 fully patched on intel, and have just installed nagios. > > I have set up the web config as per the suggestions in the doco, but am > > having some problems with the authentication. > > > > I have included the 2 stanza's in the httpd.conf file, I have set up a > > .htaccess file as recommended and then generated the htpasswd.users file > > as well, containing the names that will be using this monitor. nagios > > itself is working just fine. As a long time user of netsaint, it wasn't > > such a hard jump, and now my karma is much happier. ;) > > > > However, when I fire up the web interface, I get a message > > "It appears as though you do not have permission ..." blah blah blah. > > > > When I see the "Logged in as " string, it contains a ? , not a real > > name. Is this the problem? I am starting up an IE6 session on a windows > > 2000 box to attempt the web connection. I am not asked to log into the > > web interface, so what have I done wrong? > > > > thanks, Gillian ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Warich at secunet.de Fri Jul 18 11:34:44 2003 From: Warich at secunet.de (Warich, Eyck) Date: Fri, 18 Jul 2003 11:34:44 +0200 Subject: I've created a web based nagios configuration tool. Message-ID: <96C102324EF9D411A49500306E06C8D10203B0EE@eketsv02.cubis.de> Hi Mark, is it somewhat like nagat (also such a tool)? DB-support sounds good :-)). ew+ > -----Original Message----- > From: FXCM - Mark Lin [mailto:mlin at fxcm.com] > Sent: Thursday, July 17, 2003 11:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] I've created a web based nagios > configuration tool. > > > Hi group, > Second post of the day. I have created a nagios' web > base configuration interface using php and postgres sql. > It's currently a module to my company's IT intranet site. If > there's a demand for the tool, I can try to separate it out > from the intranet and make it standalone. So, please let me > know if you have interest. > > We used some customized concept in our nagios. So if I do > make it standalone, I will have a website along with it to > explain how we configure our nagios. I also have a perl > script that migrates my nagios configuration into database. > Let me know. > > > regards, > Mark Lin > > ______________________________________________________________ > _______________________________________________________________ > FXCM, L.L.C.(r) assumes no responsibility for errors, > inaccuracies or omissions in these materials. FXCM, L.L.C.(r) > does not warrant the accuracy or completeness of the > information, text, graphics, links or other items contained > within these materials. FXCM, L.L.C.(r) shall not be liable for > any special, indirect, incidental, or consequential damages, > including without limitation losses, lost revenues, or lost > profits that may result from these materials. All information > contained in this e-mail is strictly confidential and is only > intended for use by the recipient. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Fri Jul 18 08:58:56 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Fri, 18 Jul 2003 07:58:56 +0100 Subject: check_nagios give a failure Message-ID: What's /var/log/nagios/status.dat? Isn't it called status.log? > -----Original Message----- > From: Claus Rosenberger [mailto:Claus.Rosenberger at rocnet.de] > Sent: Thursday, July 17, 2003 8:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nagios give a failure > > > hi, > > i installed the newest cvs with the newest plugins, i dont know if i > should use the head or the others, i tried both of them. > > after upgrading i can use the cgi's but i cannot use commands > with cgi's > > that command > > /usr/lib/nagios/plugins/check_nagios -F > /var/log/nagios/status.dat -e 5 -C > /usr/sbin/nagios > > output > > Nagios problem: located 4 processes, status log updated > 1058469897 seconds > ago > > it seems like a permission problem but i checked the cgi.cfg and the > permissions in /var/log/nagios. > > any ideas? > > thx > > claus This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Jul 18 12:49:05 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 18 Jul 2003 06:49:05 -0400 Subject: check SNMP plugin won't compile In-Reply-To: <20030717175325.45346175.freddy.frouin@fluxus.net> References: <20030717175325.45346175.freddy.frouin@fluxus.net> Message-ID: <1058525344.19453.2.camel@miles.debisschop.net> On Thu, 2003-07-17 at 11:53, Freddy Frouin wrote: > Hi, > > Some basic stuff to check: > > - does your $PATH env var contain /usr/local/bin when you > start the ./configure ? This should be done. > - did you look on "./configure --help" to see if some options could > be given to help it to find the netsnmp package ? > > - did you check the configure.in file to look what kind of > check it contains concerning net-snmp ? > > 'Hope this help, Freddy. You need 'make distclean' and then run ./configure again -- 'make clean' does not remove the cahed information about your system. -- Karl > On Thu, 17 Jul 2003 09:27:00 -0600 > "Cook, Garry" wrote: > > > I've just installed Nagios 1.1 on a new RH9 system and am now attempting to compile the plugins (1.3.1). The first time that I attempted this, check_snmp was not compiled due to the fact that the configure script could not locate 'snmpget'. I had installed Net::SNMP perl module via CPAN, although I did not have the NET-SNMP package. I have since downloaded and installed NET-SNMP 5.0.8 and 'snmpget' and 'snmpgetnext' are both located in /usr/local/bin. Unfortunately, the nagios plugins configure script still does not compile the check_snmp plugin, and shows the same error message as before: > > > > checking for snmpget... no > > ** Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins > > checking for snmpgetnext... no > > > > I've done a 'make clean' for the plugins and tried again. > > I've reinstalled NET-SNMP > > I've deleted the plugin source directory and untarred and tried again. > > I've even gone so far as to reboot the box and try again. > > Looking through the INSTALL, README, and REQUIREMENTS files, I was not able to find anything about specifying the correct path to necessary files. > > > > Any assistance is appreciated. > > > > Garry W. Cook, CCNA > > Network Infrastructure Manager > > MACTEC, Inc. - http://www.mactec.com/ > > 303.308.6228 (Office) - 303.881.5157 (Mobile) > > > > > -----Original Message----- > > > From: Leonard Miller [mailto:Leonard_Miller at udlp.com] > > > Sent: Thursday, July 17, 2003 7:45 AM > > > To: nagios-users at lists.sourceforge.net; lordtm at poczta.onet.pl > > > Subject: Re: [Nagios-users] SNMP in Red Hat 9.0 > > > > > > > > > Pawel, > > > You need to install the net-snmp packages. They may already > > > be installed. Try "rpm-qa | grep snmp" and see what it > > > returns. If it isn't installed, it is probably on the CD. > > > There should be 3 packages. > > > > > > Leonard > > > > > > >>> Pawe (B?? Siwek 07/17/03 08:23AM >>> > > > What should I install in RH 90 to be able to check devices > > > via SNMP? regards Pawel > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating systems on a > > > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > > > Novell virtual machines at the same time. Free trial click > > > here: http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating systems on a > > > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > > > Novell virtual machines at the same time. Free trial click > > > here: http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gisccs at nus.edu.sg Fri Jul 18 13:27:51 2003 From: gisccs at nus.edu.sg (Chan Chee Seng) Date: Fri, 18 Jul 2003 19:27:51 +0800 Subject: CHECK_NRPE: Error - Could not complete SSL handshake. Message-ID: Greetings, I have successfully compiled nrpe 2.0b5 for Solaris 8 on both the Nagios and remote hosts. I am now setting up the nrpe on the Nagios host and the remote host. First I ran nrpe as a daemon on the remote host like this: ./nrpe -c nrpe.cfg -d When I ran on the Nagios host with this command: /usr/local/nagios/libexec/check_nrpe -H remote_host -c check_load I get this: DISK OK [60955924 kB (35%) free on /dev/dsk/c1t5d0s0] This is fine. However if on the remote host I configured nrpe to run under inetd by setting the inetd.conf like this: # nagios nrpe daemon (taken from a tip from Jordi Vidal) nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -- -c /usr/local/nagios/nrpe.cfg -i And when I run the above check_nrpe command I would get: CHECK_NRPE: Error - Could not complete SSL handshake. I have no idea why as I have not changed the nrpe.cfg file which switching nrpe from daemon to inetd mode. Thanks for any help rendered. Regards, Chan Chee Seng gisccs at nus.edu.sg -------------- next part -------------- An HTML attachment was scrubbed... URL: From Claus.Rosenberger at rocnet.de Fri Jul 18 14:30:19 2003 From: Claus.Rosenberger at rocnet.de (Claus Rosenberger) Date: Fri, 18 Jul 2003 14:30:19 +0200 (CEST) Subject: check_nagios give a failure In-Reply-To: References: Message-ID: <53796.10.20.2.100.1058531419.squirrel@webmail.of.rocnet.de> In the new nagios-2.0a1 the format of status.sav has changed (the name of this file too, from .log -> .sav). Here a patch if somebody want to use the plugins with 2.0a1. --- nagios-plugins-200307180514/plugins/check_nagios.c Tue Apr 8 00:53:48 2003 +++ nagios-plugins-2.0-new/plugins/check_nagios.c Fri Jul 18 14:27:23 2003 @@ -84,11 +84,14 @@ /* get the date/time of the last item updated in the log */ while (fgets (input_buffer, MAX_INPUT_BUFFER - 1, fp)) { - temp_ptr = strtok (input_buffer, "]"); - temp_entry_time = - (temp_ptr == NULL) ? 0L : strtoul (temp_ptr + 1, NULL, 10); - if (temp_entry_time > latest_entry_time) - latest_entry_time = temp_entry_time; + temp_ptr = strtok (input_buffer, "\0"); + if(strstr(temp_ptr,"last_update")!=NULL){ + temp_entry_time=strtoul(strchr(temp_ptr,'=')+1,NULL,10); + if (temp_entry_time > latest_entry_time) { + latest_entry_time = temp_entry_time; + } + } } fclose (fp); claus > What's /var/log/nagios/status.dat? Isn't it called status.log? > >> -----Original Message----- >> From: Claus Rosenberger [mailto:Claus.Rosenberger at rocnet.de] >> Sent: Thursday, July 17, 2003 8:28 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] check_nagios give a failure >> >> >> hi, >> >> i installed the newest cvs with the newest plugins, i dont know if i >> should use the head or the others, i tried both of them. >> >> after upgrading i can use the cgi's but i cannot use commands >> with cgi's >> >> that command >> >> /usr/lib/nagios/plugins/check_nagios -F >> /var/log/nagios/status.dat -e 5 -C >> /usr/sbin/nagios >> >> output >> >> Nagios problem: located 4 processes, status log updated >> 1058469897 seconds >> ago >> >> it seems like a permission problem but i checked the cgi.cfg and the >> permissions in /var/log/nagios. >> >> any ideas? >> >> thx >> >> claus > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From master_markus at linuxmail.org Fri Jul 18 15:14:38 2003 From: master_markus at linuxmail.org (Mark Anthony Sioting) Date: Fri, 18 Jul 2003 21:14:38 +0800 Subject: Nagios Newbie Message-ID: <20030718131438.30929.qmail@linuxmail.org> Dear Sirs, We are using a linux server running Nagios. From a windows 98 client there's no problem accessing Nagios. But from Linux clients, there's a problem. The problem is whenever we run Nagios on the browsers, Mozilla, Netscape the sound alarm as soon as it started goes on indefinitely. One linux workstation has a Redhat 9 installed. Please help... Thanks in advance.... Mark Anthony C. Sioting -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ReedJC at ldschurch.org Fri Jul 18 16:44:43 2003 From: ReedJC at ldschurch.org (Jeffery Reed) Date: Fri, 18 Jul 2003 08:44:43 -0600 Subject: help with web and cgi authentication Message-ID: I had the same problem upon installation of Nagios on a Red Hat 9 box. Check the ownership and rights on the .htaccess files. I assigned the nagios group and user as the owner of the files and made sure that Read rights were granted to the file accordingly. This solved my problem. Hope it helps. Jeff ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Fri Jul 18 16:46:38 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 18 Jul 2003 09:46:38 -0500 Subject: escalations & vacations Message-ID: <16152.2126.232076.754443@montanaro.dyndns.org> How does Nagios handle inavailability of a contact, say, while out on vacation? I still have a lot of machines which aren't grouped together, so haven't taken the time to set up chains of escalations for them, even though a particular machine may have primary, secondary and tertiary contacts. Let me make this more concrete. Suppose I have a machine named logan with three administrators, nick (primary), barry (secondary) and tom (tertiary). Nick goes on vacation. How should I handle that? Aside from fiddling things so that barry is primary, what can I do? Is there some way to structure the escalation information for that machine so that it is trivial to adapt to the temporary change? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Fri Jul 18 16:47:15 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Fri, 18 Jul 2003 09:47:15 -0500 Subject: centralized syslogging & notifications In-Reply-To: References: Message-ID: <34612.3598669239$1058540357@news.gmane.org> I swear I'm repeating myself. ;] Every time someone brings up log monitoring, I've mentioned that using passive notification through Nagios is a great idea, otherwise its the wrong tool for the job. My implementation is to forward all syslogs to a syslog server running syslog-ng, with a directory hierarchy for host logs. See www.campin.net. Next up, use LogSentry or LogMuncher (which requires a patch) to apply ignore/warn/critical dictionaries against the log files. Reports then get mailed out to you with anything not in the ignore dictionary (to handle messages you haven't seen before), anything in the warn dictionary, and I mail crit entries to my pager. This could be rerouted to Nagios via passive check, but I don't bother. Russell On Thu, Jul 17, 2003 at 05:03:21PM -0500, Carroll, Jim P wrote: > Greets to all. > > Lately I've been pondering/revisiting the whole issue of how best to > manage/respond to lines worthy of critical/warning events which show > up in /var/log/messages. Here's what I'm doing today: > > - all hosts log to xloghost (alias for another host) > - xloghost is running NRPE client > - NRPE kicks off the Perl version of check_log > - if match found return string/code to NRPE > > Sounds good so far. However: > > - Nagios reports a problem on 'xloghost', not on the host in question > - if notifications for host 'foobar' have been disabled, this doesn't > stop notifications being relayed by from 'xloghost'; if check_log finds > a matching string, it doesn't care about host details > > Possible steps to improve the situation: > > - move xloghost (centralized syslogging) to Nagios host > - munge check_log (Perl version) to inject proper details into nagios.cmd > (reporting on actual host, not xloghost), and run from cron > - additional munge to check_log to possibly report first (not last) > line of log output > > Wish list: > > - when syslog catches multiple lines of related output: > - the whole lot would be forwarded to the appropriate contacts > via e-mail > - a modest snippet gets sent to the pager contacts (longer pages > can be split into 2 or 3 chunks and sent as separate pages) > - the whole lot gets appended (with a separator) to an HTML file > which can be accessed via notes_url > > Comments? Critiques? Suggestions and improvements? Enlightened input? > > jc > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CGill at NewWorldApps.com Fri Jul 18 17:25:17 2003 From: CGill at NewWorldApps.com (Chris Gill) Date: Fri, 18 Jul 2003 11:25:17 -0400 Subject: Slipping Schedule Queue Message-ID: <48F26311AF9C9943926CA0CD204BC214BB09A8@nwa-srv-01.newworldapps.com> Hi All, I've got a problem that seems to resemble some other issues people have had here, but I'm not sure exactly what the 'correct' resolution is. I've got a Nagios system (P3 500, 128Mb mem) checking 96 services on 43 hosts. This is a test bed system to make sure Nagios can replace our existing system (a custom-job built around What's Up Gold). So far, Nagios has been great, but we've got a problem with the scheduling queue slipping. What I mean by this is that items in the scheduling queue wind up having a 'next check' date in the past, but have never been checked. I think this problem may be related to our use of APAN to do graphing (31 of the 96 services). The APAN service checks have a "normal_check_interval" of a minute. I have a feeling this is making Nagios run those checks more frequently, and push other checks off. I find this strange, since I've set no limit to the number of simultaneous checks that can run, and so I'd expect the scheduling queue to be followed. To test this, I had been running even *more* APAN checks (74 of 139), and the queue would wind up getting delayed by an hour or more. Strangely, a few of the services that wind up behind schedule are the APAN checks, although it's largely checks of network services that get delayed. This doesn't appear to be a hardware or network load problem, and from what I've read in the list archives, this sort of thing can happen independent of hardware load. What then, is the way to get around this? We'd really like to keep running APAN checks on most of our hosts to get longer term trend graphs. Is there a different package that doesn't have this queue-hosing effect? Thanks. ----------------------------------------- Christopher P. Gill, Systems Engineer, New World Apps cgill at newworldapps.com 703-856-7268 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Schimpke at Lenze.de Fri Jul 18 18:14:38 2003 From: Schimpke at Lenze.de (Schimpke, Dr. Thomas / bhn) Date: Fri, 18 Jul 2003 18:14:38 +0200 Subject: serial notification of contacts by call Message-ID: <8F01360CDDF8F6438FA2F3D5396796FB8EDA44@zde008.lenze.com> Hi all, I'd like to set up nagios, so that each member of a contactgroup gets a call on his mobile phone. I use vboxputty to do the work, which works OK. The problem seems to be, that nagios tries to call all members of that contact group at the same time. From the nagios log file: [1058538003] SERVICE NOTIFICATION: thomas_call_work;eulep01;P01/saparch FS;CRITICAL;notify-by-call;DO IT [1058538003] Warning: Attempting to execute the command "/usr/sbin/sudo /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 215xxx [1058538003] SERVICE NOTIFICATION: rz_call_work;eulep01;P01/saparch FS;CRITICAL;notify-by-call;DO IT [1058538003] Warning: Attempting to execute the command "/usr/sbin/sudo /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 130xxx [1058538003] SERVICE NOTIFICATION: matthias_call_work;eulep01;P01/saparch FS;CRITICAL;notify-by-call;DO IT [1058538003] Warning: Attempting to execute the command "/usr/sbin/sudo /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 126xxx [1058538003] SERVICE NOTIFICATION: thomas_call_home;eulep01;P01/saparch FS;CRITICAL;direct-call-service;DO IT [1058538033] SERVICE NOTIFICATION: holger_call_home;eulep01;P01/saparch FS;CRITICAL;notify-by-call;DO IT [1058538034] Warning: Attempting to execute the command "/usr/sbin/sudo /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 001xxxxxxx etc. I took a look at the source code and found, that for a notification my_system() is called, which essentially forks() and executes the command (vboxgetty in this case). vboxgetty does not wait (to my knowledge), if the originator line is busy, but returns emmidiately with an error. So only one contact of the contactgroup gets notified. Is there a way to tweak nagios so, that each contact is notified in turn ? Things look bad..I know... Thanks in advance, Thomas ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmusone at shatterit.com Fri Jul 18 18:30:06 2003 From: mmusone at shatterit.com (Mark Musone) Date: Fri, 18 Jul 2003 12:30:06 -0400 Subject: serial notification of contacts by call In-Reply-To: <8F01360CDDF8F6438FA2F3D5396796FB8EDA44@zde008.lenze.com> References: <8F01360CDDF8F6438FA2F3D5396796FB8EDA44@zde008.lenze.com> Message-ID: <000601c34d49$d945af80$3301a8c0@usa.shatterit.com> A quick fix is to have nagios send email to a "callout" userid.. Then procmail or whatever mail filter you want to parse and vboxputty Out.. The wonderful thing about mail programs is that they handle queueing and serialization automagically.. You can even re-queue it if the phone is busy or fails for some reason! Hope to help, Mark -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Schimpke, Dr. Thomas / bhn Sent: Friday, July 18, 2003 12:15 PM To: Nagios User List (nagios-users at lists.sourceforge.net) Subject: [Nagios-users] serial notification of contacts by call Hi all, I'd like to set up nagios, so that each member of a contactgroup gets a call on his mobile phone. I use vboxputty to do the work, which works OK. The problem seems to be, that nagios tries to call all members of that contact group at the same time. From the nagios log file: [1058538003] SERVICE NOTIFICATION: thomas_call_work;eulep01;P01/saparch FS;CRITICAL;notify-by-call;DO IT [1058538003] Warning: Attempting to execute the command "/usr/sbin/sudo /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 215xxx [1058538003] SERVICE NOTIFICATION: rz_call_work;eulep01;P01/saparch FS;CRITICAL;notify-by-call;DO IT [1058538003] Warning: Attempting to execute the command "/usr/sbin/sudo /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 130xxx [1058538003] SERVICE NOTIFICATION: matthias_call_work;eulep01;P01/saparch FS;CRITICAL;notify-by-call;DO IT [1058538003] Warning: Attempting to execute the command "/usr/sbin/sudo /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 126xxx [1058538003] SERVICE NOTIFICATION: thomas_call_home;eulep01;P01/saparch FS;CRITICAL;direct-call-service;DO IT [1058538033] SERVICE NOTIFICATION: holger_call_home;eulep01;P01/saparch FS;CRITICAL;notify-by-call;DO IT [1058538034] Warning: Attempting to execute the command "/usr/sbin/sudo /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 001xxxxxxx etc. I took a look at the source code and found, that for a notification my_system() is called, which essentially forks() and executes the command (vboxgetty in this case). vboxgetty does not wait (to my knowledge), if the originator line is busy, but returns emmidiately with an error. So only one contact of the contactgroup gets notified. Is there a way to tweak nagios so, that each contact is notified in turn ? Things look bad..I know... Thanks in advance, Thomas ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joel at zonepro.fr Fri Jul 18 18:53:06 2003 From: joel at zonepro.fr (Jo=?ISO-8859-1?B?6w==?=l Guened) Date: Fri, 18 Jul 2003 18:53:06 +0200 Subject: Host down vs up Message-ID: Hi, I have a difficulty to understand something. When a service (eg. ftp) is down, the host is down too. And then, when a service comes UP, the host stay DOWN ! In my config file (hosts.cfg), I put check_command check-host-alive How can I restore the process to up without restarting Nagios ? Many servers have a firewall and can?t be ping, Can be the reason ? Thanks for your help, Joe -- Joel Guened mail : joel at zonepro.fr zonepro? france - Op?rateur de solutions Internet Bat 104 - 50, avenue du Pr?sident Wilson 93210 La Plaine Saint-Denis T?l?phone :+33 1 49 17 40 92 T?l?copie : +33 1 49 17 40 91 Technique : 0 892 702 602 zonepro? france copyright 1998-2003 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mooney at pnl.gov Fri Jul 18 18:55:15 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Fri, 18 Jul 2003 09:55:15 -0700 Subject: serial notification of contacts by call Message-ID: What I did (for different reasons - I wanted to bundle all notifications within a time period, that way I could get dozens, not hundred of e-mails :) was to write a couple simple perl scripts, one takes nagios notification messages (very like notify-by-email), and writes them to a spool. The other takes the spool and processes it. That would allow the outside program to handle the syncronization of the message delivery without having to worry about the asyncrounous fork and forget nature of nagios. The usual caveats about file locking and so forth apply. > -----Original Message----- > From: Schimpke, Dr. Thomas / bhn [mailto:Schimpke at Lenze.de] > Sent: Friday, July 18, 2003 9:15 AM > To: Nagios User List (nagios-users at lists.sourceforge.net) > Subject: [Nagios-users] serial notification of contacts by call > > > Hi all, > > I'd like to set up nagios, so that each member of a > contactgroup gets a call > on his mobile phone. I use vboxputty to do the work, which > works OK. The > problem seems to be, that nagios tries to call all members of > that contact > group at the same time. From the nagios log file: > > > [1058538003] SERVICE NOTIFICATION: > thomas_call_work;eulep01;P01/saparch > FS;CRITICAL;notify-by-call;DO IT > [1058538003] Warning: Attempting to execute the command > "/usr/sbin/sudo > /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 215xxx > [1058538003] SERVICE NOTIFICATION: rz_call_work;eulep01;P01/saparch > FS;CRITICAL;notify-by-call;DO IT > [1058538003] Warning: Attempting to execute the command > "/usr/sbin/sudo > /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 130xxx > [1058538003] SERVICE NOTIFICATION: > matthias_call_work;eulep01;P01/saparch > FS;CRITICAL;notify-by-call;DO IT > [1058538003] Warning: Attempting to execute the command > "/usr/sbin/sudo > /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 126xxx > [1058538003] SERVICE NOTIFICATION: > thomas_call_home;eulep01;P01/saparch > FS;CRITICAL;direct-call-service;DO IT > [1058538033] SERVICE NOTIFICATION: > holger_call_home;eulep01;P01/saparch > FS;CRITICAL;notify-by-call;DO IT > [1058538034] Warning: Attempting to execute the command > "/usr/sbin/sudo > /usr/sbin/vboxputty -r 40 -t 40 -d /dev/ttyI0 -c 001xxxxxxx > > etc. > > I took a look at the source code and found, that for a notification > my_system() is called, which essentially forks() and executes > the command > (vboxgetty in this case). vboxgetty does not wait (to my > knowledge), if the > originator line is busy, but returns emmidiately with an > error. So only one > contact of the contactgroup gets notified. > > Is there a way to tweak nagios so, that each contact is > notified in turn ? > Things look bad..I know... > > Thanks in advance, > > Thomas > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Jul 18 19:04:35 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 18 Jul 2003 12:04:35 -0500 Subject: Host down vs up Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7BE0@mismail.ena.com> > -----Original Message----- > From: Jo?l Guened [mailto:joel at zonepro.fr] > Sent: Friday, July 18, 2003 11:53 AM > To: nagios-users at lists.sourceforge.net > > Hi, > > I have a difficulty to understand something. > > When a service (eg. ftp) is down, the host is down too. And then, when a > service comes UP, the host stay DOWN ! > > In my config file (hosts.cfg), I put check_command check-host-alive > > How can I restore the process to up without restarting Nagios ? > > Many servers have a firewall and can?t be ping, Can be the reason ? Yes, this is likely the reason for your difficulty. As detailed in several places in the documentation and FAQ's, Nagios does not check host status until a service on that host fails. It assumes the host is up if a service on that host is up. That is why the host *appears* up until a service failure forces a check, which would fail because it's behind the firewall. All seems well until the service recovers and nagios attempts to check the host again but it is _still_ unable to successfully check the host because of the firewall so you end up with a weird, but accurate as far as nagios is concerned, view of your host and it's services with the services up but the host down (unreachable in this case). Here are a few possible solutions, some better than others -- 1) Change your check-host-alive command to something that does work through the firewall. 2) Allow ICMP ping through the firewall to your destination host from your monitoring host. 3) Change your check-host-alive command to check_dummy and have it always return OK. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From idavidso at juniper.net Fri Jul 18 19:33:27 2003 From: idavidso at juniper.net (Ian Davidson) Date: Fri, 18 Jul 2003 18:33:27 +0100 Subject: Jabber notification Message-ID: I THINK I'm making progress with this. I've devised a slightly different perl script which when run manually produces the correct jabber output. # ./test3.pl idavidso at jabber.company.net "Test Message" We are connected to the server... We are disconnected from the server... [root at fangio ~/jabber-test]# At this point a chat window appears with the message "Test Message" in. However I can't work out what command_line is miscommands.cfg to put to get an alert generated properly. I've setup a contact with a pager email address (idavidso at jabber.company.net) which I'm hoping would appear as $ARG[0]. I've tried... command_line /usr/local/nagios/test3.pl $CONTACTPAGER$ "Service: $SERVICEDESC$, Host: $HOSTNAME$, State: $SERVICESTATE$, Date: $DATETIME$" ...and also tried putting some stuff in manually... command_line /usr/bin/printf "%b" "Nagios report" | /usr/local/nagios/test3.pl idavidso at jabber.company.net "Test Message" ...but absolutely nothing happens. Here's the script... #!/usr/bin/perl #use strict; use Net::Jabber qw(Client); use Net::Jabber qw(Message) ; use Net::Jabber qw(Protocol) ; use Net::Jabber qw(Presence) ; #These are the variables called later in the script use constant RECIPIENT => $ARGV[0]; use constant SERVER => 'jabber.company.net'; use constant PORT => 5223; use constant USER => 'my-username'; use constant PASSWORD => 'my-passwd'; use constant RESOURCE => 'my-nickname'; use constant MESSAGE => $ARGV[1]; use constant MAXWAIT => 2 ; my $len = scalar @ARGV; #if there are no arguements given in the command, display the format if ($len ne 2) { die "Usage...\n notify [jabberid] [message]\n"; } my @field=split(/,/,$ARGV[0]); $Con = new Net::Jabber::Client(); $Con->Connect(hostname=>"jabber.juniper.net",port=>5223,ssl=>1); if ($Con->Connected()) { print "We are connected to the server...\n"; } # Verify authentication has occured correctly my @result = $Con->AuthSend( "username" => USER,"password" => PASSWORD,"resource" => RESOURCE ); if ($result[0] ne "ok") { die "Ident/Auth with server failed: $result[0] - $result[1]\n"; } #Send message $Con->MessageSend(to=> RECIPIENT, subject=>"Notification", body=>MESSAGE, type=>'chat', thread=>"ABC123" ); #my $message = Net::Jabber::Message->new(); #$message->SetMessage( "to" => "icatlin at jabber.juniper.net", # "subject" => "Notification", # "type" => "chat", # "body" => MESSAGE); # # $Con->Send($message); sleep(MAXWAIT); $Con->Disconnect(); print "We are disconnected from the server...\n"; exit; > -----Original Message----- > From: Skip Montanaro [mailto:skip at pobox.com] > Sent: 15 July 2003 17:04 > To: Ian Davidson > Cc: Fred Jordan; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Jabber notification > > > > Ian> But when I execute this script... > Ian> [root at fangio ~/jabber-test]# perl test1.pl > Ian> You requested that XML::Stream turn the socket into > an SSL socket, but > Ian> you don't have the correct version of > IO::Socket::SSL v0.81. at > Ian> /usr/lib/perl5/site_perl/5.6.1/Net/Jabber/Client.pm line 196 > > Sounds like you need to use CPAN to update the version of the > IO::Socket::SSL package installed on your system. > > Ian> [root at fangio ~/jabber-test]# rpm -qa | grep ssl > Ian> openssl-0.9.6b-18 > Ian> docbook-style-dsssl-1.76-1 > Ian> mod_ssl-2.8.7-4 > Ian> openssl-devel-0.9.6b-18 > > None of these relate directly to the Perl IO::Socket::SSL > module. IO:Socket::SSL is layered upon the libraries and > header files in the > openssl* rpms. > > To update/install that package, you can do one of two things. > > 1. Run CPAN: > > perl -MCPAN -e shell > > At the CPAN prompt, issue this command: > > install IO::Socket::SSL > > If you've never run CPAN before it will gather some > initial information > about how you like doing things and what CPAN mirrors you > want to use > before you get to the CPAN's shell prompt ("cpan> "). > > CPAN usually works well, though it can be tricky at times. > For instance, > while writing this I tried the above install command. > IO::Socket::SSL > depends on Net::SSLeay, which it dutifully tried to install. That > generated this warning: > > *** /usr/bin/openssl appears to be compiled with gcc > ... while perl is > compiled with cc. Both must be compiled with the > same compiler and > flags. Mixing and matching compilers is not supported. at > Makefile.PL line 137. > > However, gcc and cc are the same thing on that computer: > > # cc -v > Reading specs from > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs > gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.63.1mdk) > # gcc -v > Reading specs from > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs > gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.63.1mdk) > > Such is life. > > 2. Assuming there is an RPM on your distribution CD which contains the > relevant Perl module, you can track it down and install > it. My Mandrake > 8.1 system doesn't have it, but then I don't do anything with SSL > either. ;-) > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > Got spam? http://spambayes.sf.net/ > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ReedJC at ldschurch.org Fri Jul 18 20:45:22 2003 From: ReedJC at ldschurch.org (Jeffery Reed) Date: Fri, 18 Jul 2003 12:45:22 -0600 Subject: How do I configure Nagios to send SNMP to HP Openview Message-ID: I am very novice at this stuff and have no background with Perl scripting. I have attempted to search for a possible example of a script and MIB for use with SNMP traps sent to Hp Openview, but have had little luck. I use Openview as a central data collection station for all of my monitoring tools. I just need to get the SNMP info from Nagios to Openview. I realize that I must use Net-snmp or something similar, but I would appreciate any help that can be sent my way. I run Nagios 1.1 on a Red Hat 9.0 installation. Thanks, Jeff ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From mattw at heimdall.org Fri Jul 18 23:24:45 2003 From: mattw at heimdall.org (Matt V. Williams) Date: Fri, 18 Jul 2003 16:24:45 -0500 Subject: Problem with notifications Message-ID: <69A217A1CAE65C4790FC44DD580FE5CFAEF6@fenrir.valhalla.heimdall.org> We've been running Nagios on RedHat for a while now and everything was working great with it until about 3 weeks ago when we started seeing something very odd happening with our notifications. Both the notify-by-email and notify-by-epager started sending out messages with only a from address. No subject or message body is included. They are getting to the right email addresses so variables are being passed but that's it. Here is my notify-by-email from the misccommands.cfg file: define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } As you can see this is the same command that is in the sample and was working before. Does anybody have any idea why this might be happening? Thank You Matt Williams Systems Engineer Onvoy, Inc -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge at powered.net Sat Jul 19 00:00:14 2003 From: sourceforge at powered.net (Rainer) Date: Fri, 18 Jul 2003 19:00:14 -0300 Subject: 'parents' and network latency Message-ID: <6.0.0.8.2.20030718183434.022b47d8@pop1.mail.com> Hello, Let's assume I have a "deep" network topology (with many parent hosts above the Nagios box), such as: Nagios Server => Switch 01 => Switch 02 => Firewall => Packet Shaper => Router => ... When the 'parents' directive is properly setup and "Switch 01" goes down, check-host-alive tells me it went down, and supresses notifications for all the other hosts. Now, if "Switch 01" if heavely loaded and my fping service finds out it has a 500ms rta, all other hosts above it (switch 02, firewall etc) will have response times equal or bigger than 500ms. My question is, in this scenario, how can I supress critical messages from the fping service regarding all other hosts which are slow because of switch 01 ? (having fping figure out that, since the host above it is slow, it doesn't need to notify me about all other hosts) Perhaps this could be implemented in a future Nagios version (an option in nagios.cfg such as "apply_parents_directive_to_network_latency") PS: This could be accomplished with service dependency (maybe?), but it wouldn't be practical since I would have to create several dependency checks for each parent host, which would make it really hard to maintain. Regards, Rainer Alves Unisys Brazil ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at powered.net Sat Jul 19 00:38:03 2003 From: sourceforge at powered.net (Rainer) Date: Fri, 18 Jul 2003 19:38:03 -0300 Subject: Bandwidth utilization (snmp / cisco router) Message-ID: <6.0.0.8.2.20030718193730.022b47d8@wheresmymailserver.com> Hello Jeyri, That's exactly what I was looking for, thanks. I didn't find it earlier because it isn't included with nagios-plugins. This one should be included at least in the contrib dir. Adrian (the script author), just wanted to let you know that you forgot to include the actual perl script in version 0.91b (I'm using the one from 0.90b). By the way, your site and http://www.nagios.org/download/extras.php only list v0.90b... are you publishing the script somewhere else? Maybe you could share this with the rest of us, since it looks very promising. Regards, Rainer Alves Unisys Brazil At 12:35 18/7/2003, Jeyri Bautista wrote: >Hi, > >I?m using the check_traffic plugin, and this run very well. > >Jeyri > >At 10:52 p.m. 17/07/2003 -0300, you wrote: >>Hello, >> >>I'm trying to retrieve the average bandwidth utilization (percent) on a >>cisco router using snmp. >>What would be the best way to do this? I've been unable to find a cisco >>mib related to bandwidth percentage (only bits/sec) >>According to Cisco, the only way to do is this: >>http://www.cisco.com/warp/public/477/SNMP/calculate_bandwidth_snmp.html >>(a formula using >>ifInOctets and ifSpeed) >>I know this could be done with cricket / rrdtool, but has anyone succeded >>in doing this using check_snmp or some perl script with net::snmp? (ex. >>check_traffic_percent with parameters for hostaddress, interface number, >>community string, and warning/critical percent levels) >> >>Thanks in advance. >> >>Rainer Alves >>Unisys Brazil ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sat Jul 19 04:25:55 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Fri, 18 Jul 2003 22:25:55 -0400 Subject: Adding more advanced correlation to nagios with sec (any interest?) In-Reply-To: Your message of "Fri, 11 Jul 2003 15:04:16 +1000." <20030711150412.B84683@IPAustralia.Gov.AU> References: <20030711150412.B84683@IPAustralia.Gov.AU> Message-ID: <200307190225.h6J2PtcM009392@mx1.cs.umb.edu> Hello. I apologize for taking so long to respond to you. Things at work have been really hectic. In message <20030711150412.B84683 at IPAustralia.Gov.AU>, Stanley Hopcroft writes: >On Sat, Jun 28, 2003 at 03:48:16PM -0400, John P. Rouillard wrote: >> However, I have some things that I want to do that are not easily >> done within nagios. E.G. >> >> If a system jumpstart is in progress, ignore warnings about high >> interface usage (on one interface), or dropped packets (on the >> hub). >> >> If an index operation of the HTTP server is in progress, ignore >> warnings about the http interface being slow. >> >> I also want to show a host/service down if a given system went down, >> (as determined by a syslog message) but I want the report done >> ONLY if the system isn't back up in 5 minutes. >> >> Note that none of the rebooting, indexing, or jumpstarting operations >> occur at fixed times, so I can't schedule these in advance. > [...] >However, please would you spell what events and their origin are >correlated by Sec to avoid spurious alarms in these cases - especially >the first two. Is Sec correlating plugin failures with syslog messages ? For the first, I have a tftp daemon that logs via syslog. A child sec (invoked via the spawn action) watches the /var/adm/messages file, and sends a message "jumpstart_in_progress_on_16_net" to the parent sec that is handling the nagios alerts. This causes suppression of the warnings until a target file is retrieved near the end of the jumpstart which resets the context allowing the events to pass. The last problem is handled by generating a 5 minute HOSTNAME_REBOOTING context/flag when the reboot syslog message is received. The existance of this context enables a suppress rule that gobbles all of the events for the rebooting device. After 5 minutes or the arrival of a "system up" syslog entry, the context is destroyed. If the host is still down nagios's next poll of the device will cause sec to pass the events to nagios for reporting. The HTTP index program is started from a shell script that sends a trap when the indexing operation starts and stops. >> I have a method of integrating sec >> into nagios to handle these issues and more. >> >> Using sec to process traps (or other passive checks) is straight >> forward. The trap collector running from snmptrapd just dumps the trap >> report (formatted as a nagios passive service check) into sec's input >> fifo and then sec processes it, and reports it (if needed) into the >> nagios.cmd pipe. [...] >Sec has become for me, the standard way of providing event and trap >handlers. > >For example, I have a general host and service handler that updates a >MySQL DB with the outage interval. To do this it must retain state (and >does so with a Perl hash tied to a DB file) so it can determine if there >has been a transition and if so, how long it was. > >This would probably be easier to do with Sec contexts. One way to handle it is to store the start and stop times for the event in a context's event store using the add command with %u (the current time as number of seconds since Jan 1 1970). Then report these to an external shell script, and have it subtract them to get duration of the outage. With the ability to trigger perl programs, you could probably do it all within sec and remove the need for an external program. >> However for polled items, it more difficult. I don't want to have a >> flapping service where the plugin determines that there is a problem, >> nagios reacts to that, and then sec reacts to that (being fed its info >> by an event handler) by clearing the service because sec determines >> that there is not yet a problem. This leads to a flapping service as >> nagios and sec disagree on what is a true problem, and leads to >> spurious notifications because I can't put in a high >> max_check_attempts and have nagios respond to sec when it has a real >> problem (unless I define yet another service yech). >> >> What I did was write a plugin in perl (sec_filter) that runs the >> nagios command (sort of like check_ssh). It always passes the output >> of the plugin to sec's input pipe. However, depending on the flags >> given to the sec_filter script, it will exit: >> >> with an "ignore OK" code, and no output >> with an "ignore ERROR" code, and no output >> with the exit code and output of the plugin >> >> I have chosen exit status of 5 for "ignore OK" and 6 for "ignore >> ERROR". (It looks like code 4 is used internally for pending states, >> and I didn't want to use that number hence my choice of 5 and 6.) >> >> The reason for these new codes is to make nagios not change any status >> for the polled service based on the poll. The new status will be sent >> to it by a passive check command generated from sec. >> >> That is I want nagios to be a (almost) dumb poller and to let sec >> filter all the data. > >If I understand correctly, the proposal is > >1 When Nag schedules a service check, of any and all service checks, it > in fact execs sec_filter with the real plugin name and flags that > determine sec_filters behaviour by allowing it to either Correct. > 1.1 treat the service as a normal Nag service (a 'polled' service, for > which no event correlation by Sec is necessary) Almost. It may or may not be correlated by Sec. It's just that you want the initial report to be recorded in/acted on by Nag. Sec may still clear the event. > 1.2 treat the service as requiring Sec processing to accurately > determine the service state. Sec will get the plugin output and > use this with other Sec inputs and Sec context to determine the > service state Correct. >2 Sec_filter writes > > 2.1 For those services requiring Sec, I would say: for those services (service events) being reported only via Sec, > 2.1.1 An event to Sec > > 2.1.2 One of the new status codes to Nagios > > 2.2 Otherwise, in the case of 'polled' services, the usual Nag status > codes and plugin output are written to Nags input queue Correct. >3 Nag processes former status codes with no changes (i.e. CRITICAL leads >to the check being repeated retry_interval and if the state persists to >Notification), but those with the new code of IGNORE_ERROR are >recognised as requiring retry at the retry_interval but _no_ other >processing. Exactly. However, it looks like I don't have that quite down in my code yet. I sometimes have services dropping into an unknown state when sec is suppressing a report, but I am not sure why. >4 Sec will eventually submit a PROCESS_SERVICE_CHECK_RESULT to the Nag >input queue (for the services that have formerly been reported as >IGNORE_\w+. Yes. It will usually submit the OK state, but there is no requirement for that. Maybe this is where the unknown state is coming from? Is there a default "freshness" on polled items that results in an unknown state? >My remarks are > >1 This _may_ be better done in the Nag core. Nag could be equipped with > configuration directives for Sec processing so that Nag itself could > submit the event to Sec (rather than the plugin sec_filter). This > saves an extra fork. I agree with this. It could be generalized to allow diversion of the plugin's report to an arbitrary file/pipe/program in addition to or instead of sending it to nagios. Another network monitoring package that I use has no method of intercepting the events between the time they are generated and the time they are acted upon by the core. This leads to a lot of useless event traffic running through the system. >2 I am not sure how your proposal relates to the embedded Perl stuff > (where each plugin is called as a function from the Nagios address > space). > I currently use a subroutine call in sec_filter to lock the sec input file so I don't screw up the data. This is probably unnecessary since the size of the data is small enough that it should be an atomic write, but I prefer to be safe. However sec_filter would probably have to be modified to be embedded perl safe. > This is probably trivial since sec_filter simply becomes another Perl > plugin that Nag calls (and sec_filter 'requires' the real Perl plugin so > that re-compilation of the real plugin is avoided Hmm, will that work, does require keep it in the same name/function space? Also the sec_filter would have to be rewritten to detect that it is running a perl script, and require it's argument. Currently sec_filter can run any nagios plugin. I think this is an argument for putting the diversion mechanism in the core. >3 I like the bit about making Sec processing optional (depending on the > options specified to sec_filter) I see two uses for optional processing: you may want use the plugin output to affect correlation of other services and not have itself processed/correlated by sec (as you mention above). This allows service, cluster and other dependencies to be implemented in sec rather then in nagios. Triggering Nag's event handlers (especially in soft state). While you can run commands from Sec as well, the soft/hard state and number of calls is handled better from Nagios. These event handlers can be written to provide additional info to sec. It will result in flapping (flipping) service states as nagios and sec disagree about the state of the service, but with properly set retries, and nagios's soft and hard states it may be useful. >For me, I am quite happy with Nags processing of most services. I can't >say that the scenarios you mention are problematic for me. However, I >would very much like the option of event correlation when required. > >> I have set it up so that sec itself is a passive nagios service, and >> automatically sends notifications to nagios, as well as nagios being >> able to poll the sec service if its data gets stale. >> >> So is anybody interested in my mods (about 30 lines) to nagios to >> support this, and my plugin? > >This needs the comment of the Nagios developer. It sounds attractive to >me however. I haven't seen any signs of interest from the Nagios developer(s). I'm not even sure of they are interested in/know of this patch. As I said I still have a few issues to work out, and I think the developer(s) could do a cleaner implementation of my patch to add the ignore OK and ignore ERROR functionality. Obvious to implement this in the core would be something that the developers would need to be involved in since it is a larger job than I have done. >I am sorry if these remarks are stupid or based on misunderstanding. I >think I would need to see the mods for a better (marginally) response. > >It may simply be worth posting them to Nagios-Devel. AFAIK this is not >on the Nag road map so it simply may be a golden opportunity for a big >benefit. Your remarks are correct. I'll try to pull the patches and things together in the next couple of weeks. It's still got that annoying unknown state issue, but it doesn't look like I will be able to do more work on it. >Finally, you have identified a good area for future development. Root >cause analysis and event correlation is one area that commercial >products can claim superiority. The funny part is that sec was written as a lower cost alternative to HPOV's correlation engine. I have had at least one report that it is easier to use then HPOV's commercial tool. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 From solomolo90 at hotmail.com Sat Jul 19 08:21:25 2003 From: solomolo90 at hotmail.com (solo molo) Date: Sat, 19 Jul 2003 06:21:25 +0000 Subject: R: I've created a web based nagios configuration tool. Message-ID: I'd like to see it. >From: "Creator" >To: "'FXCM - Mark Lin'" >, >Subject: R: [Nagios-users] I've created a web based nagios configuration >tool. >Date: Fri, 18 Jul 2003 08:16:54 +0200 > >That is very interesting. Please go ahead with you project :) > > > -----Messaggio originale----- > > Da: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] Per conto > > di FXCM - Mark Lin > > Inviato: gioved? 17 luglio 2003 23.54 > > A: nagios-users at lists.sourceforge.net > > Oggetto: [Nagios-users] I've created a web based nagios > > configuration tool. > > > > > > Hi group, > > Second post of the day. I have created a nagios' web > > base configuration interface using php and postgres sql. > > It's currently a module to my company's IT intranet site. If > > there's a demand for the tool, I can try to separate it out > > from the intranet and make it standalone. So, please let me > > know if you have interest. > > > > We used some customized concept in our nagios. So if I do > > make it standalone, I will have a website along with it to > > explain how we configure our nagios. I also have a perl > > script that migrates my nagios configuration into database. > > Let me know. > > > > > > regards, > > Mark Lin > > > > ______________________________________________________________ > > _______________________________________________________________ > > FXCM, L.L.C.? assumes no responsibility for errors, > > inaccuracies or omissions in these materials. FXCM, L.L.C.? > > does not warrant the accuracy or completeness of the > > information, text, graphics, links or other items contained > > within these materials. FXCM, L.L.C.? shall not be liable for > > any special, indirect, incidental, or consequential damages, > > including without limitation losses, lost revenues, or lost > > profits that may result from these materials. All information > > contained in this e-mail is strictly confidential and is only > > intended for use by the recipient. > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a > > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > > Novell virtual machines at the same time. Free trial click > > here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fjordan at hcssun01.hcs.net Sat Jul 19 13:44:20 2003 From: fjordan at hcssun01.hcs.net (Fred Jordan) Date: Sat, 19 Jul 2003 07:44:20 -0400 (EDT) Subject: Jabber notification In-Reply-To: References: Message-ID: Ian, Sorry to take till today to respond; been busy with the Cisco IOS vulnerability issue. Guess you being at juniper.net you can only smile... Here is my misccommands.cfg entry: # 'notify-by-jabber' command definition define command{ command_name notify-by-jabber command_line /usr/bin/printf "Service: $SERVICEDESC$, Host: $HOSTNAME$, State: $SERVICESTATE$, Date: $DATETIME$" | /usr/local/nagios/notify-by-jabber.pl } My script, notify-by-jabber.pl, sends a message to the "message of the day" as opposed to your script which sends a message to a single user. Not being real good on the jabber server side so please excuse the lame question, but would you know how to send a message to a paticular conference room? Or is there such a thing as a alias or group of users on a jabber server? Reason I wasn't wanting to send to individual users is I thought it would error out if the user my script was sending to wasn't logged into the jabber server at the time the script fired off. Also, would rather send 1 message to all on the jabber server, instead of 10 to 20 messages to all of the people who may be logged into the jabber server. I eamiled my notify-by-jabber.pl script to this list earlier, but can send it to you if you missed it or need to see it again. Thanks Ian, Fred On Fri, 18 Jul 2003, Ian Davidson wrote: > I THINK I'm making progress with this. I've devised a slightly different > perl script which when run manually produces the correct jabber output. > > # ./test3.pl idavidso at jabber.company.net "Test Message" > We are connected to the server... > We are disconnected from the server... > [root at fangio ~/jabber-test]# > > At this point a chat window appears with the message "Test Message" in. > > However I can't work out what command_line is miscommands.cfg to put to > get an alert generated properly. I've setup a contact with a pager email > address (idavidso at jabber.company.net) which I'm hoping would appear as > $ARG[0]. > > I've tried... > > command_line /usr/local/nagios/test3.pl $CONTACTPAGER$ > "Service: $SERVICEDESC$, Host: $HOSTNAME$, State: $SERVICESTATE$, > Date: $DATETIME$" > > ...and also tried putting some stuff in manually... > > command_line /usr/bin/printf "%b" "Nagios report" | > /usr/local/nagios/test3.pl idavidso at jabber.company.net "Test > Message" > > ...but absolutely nothing happens. > > Here's the script... > > > #!/usr/bin/perl > #use strict; > use Net::Jabber qw(Client); > use Net::Jabber qw(Message) ; > use Net::Jabber qw(Protocol) ; > use Net::Jabber qw(Presence) ; > > #These are the variables called later in the script > use constant RECIPIENT => $ARGV[0]; > use constant SERVER => 'jabber.company.net'; > use constant PORT => 5223; > use constant USER => 'my-username'; > use constant PASSWORD => 'my-passwd'; > use constant RESOURCE => 'my-nickname'; > use constant MESSAGE => $ARGV[1]; > use constant MAXWAIT => 2 ; > > > my $len = scalar @ARGV; > > #if there are no arguements given in the command, display the format > if ($len ne 2) { > die "Usage...\n notify [jabberid] [message]\n"; > } > > my @field=split(/,/,$ARGV[0]); > > $Con = new Net::Jabber::Client(); > > $Con->Connect(hostname=>"jabber.juniper.net",port=>5223,ssl=>1); > > if ($Con->Connected()) { > print "We are connected to the server...\n"; > } > > # Verify authentication has occured correctly > my @result = $Con->AuthSend( "username" => USER,"password" => > PASSWORD,"resource" => RESOURCE ); > if ($result[0] ne "ok") { > die "Ident/Auth with server failed: $result[0] - $result[1]\n"; > } > > #Send message > $Con->MessageSend(to=> RECIPIENT, > subject=>"Notification", > body=>MESSAGE, > type=>'chat', > thread=>"ABC123" > ); > > > > #my $message = Net::Jabber::Message->new(); > #$message->SetMessage( "to" => "icatlin at jabber.juniper.net", > # "subject" => "Notification", > # "type" => "chat", > # "body" => MESSAGE); > # > # $Con->Send($message); > > sleep(MAXWAIT); > > $Con->Disconnect(); > print "We are disconnected from the server...\n"; > exit; > > > -----Original Message----- > > From: Skip Montanaro [mailto:skip at pobox.com] > > Sent: 15 July 2003 17:04 > > To: Ian Davidson > > Cc: Fred Jordan; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Jabber notification > > > > > > > > Ian> But when I execute this script... > > Ian> [root at fangio ~/jabber-test]# perl test1.pl > > Ian> You requested that XML::Stream turn the socket into > > an SSL socket, but > > Ian> you don't have the correct version of > > IO::Socket::SSL v0.81. at > > Ian> /usr/lib/perl5/site_perl/5.6.1/Net/Jabber/Client.pm line 196 > > > > Sounds like you need to use CPAN to update the version of the > > IO::Socket::SSL package installed on your system. > > > > Ian> [root at fangio ~/jabber-test]# rpm -qa | grep ssl > > Ian> openssl-0.9.6b-18 > > Ian> docbook-style-dsssl-1.76-1 > > Ian> mod_ssl-2.8.7-4 > > Ian> openssl-devel-0.9.6b-18 > > > > None of these relate directly to the Perl IO::Socket::SSL > > module. IO:Socket::SSL is layered upon the libraries and > > header files in the > > openssl* rpms. > > > > To update/install that package, you can do one of two things. > > > > 1. Run CPAN: > > > > perl -MCPAN -e shell > > > > At the CPAN prompt, issue this command: > > > > install IO::Socket::SSL > > > > If you've never run CPAN before it will gather some > > initial information > > about how you like doing things and what CPAN mirrors you > > want to use > > before you get to the CPAN's shell prompt ("cpan> "). > > > > CPAN usually works well, though it can be tricky at times. > > For instance, > > while writing this I tried the above install command. > > IO::Socket::SSL > > depends on Net::SSLeay, which it dutifully tried to install. That > > generated this warning: > > > > *** /usr/bin/openssl appears to be compiled with gcc > > ... while perl is > > compiled with cc. Both must be compiled with the > > same compiler and > > flags. Mixing and matching compilers is not supported. at > > Makefile.PL line 137. > > > > However, gcc and cc are the same thing on that computer: > > > > # cc -v > > Reading specs from > > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs > > gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.63.1mdk) > > # gcc -v > > Reading specs from > > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs > > gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.63.1mdk) > > > > Such is life. > > > > 2. Assuming there is an RPM on your distribution CD which contains the > > relevant Perl module, you can track it down and install > > it. My Mandrake > > 8.1 system doesn't have it, but then I don't do anything with SSL > > either. ;-) > > > > -- > > Skip Montanaro > > Got gigs? http://www.musi-cal.com/ > > Got spam? http://spambayes.sf.net/ > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmcclure at andhosting.com Sat Jul 19 18:18:49 2003 From: bmcclure at andhosting.com (Ben McClure) Date: Sat, 19 Jul 2003 11:18:49 -0500 (CDT) Subject: 500 error Message-ID: <63420.216.170.136.6.1058631529.squirrel@www.andhosting.com> An HTML attachment was scrubbed... URL: From teng at dataway.com Sat Jul 19 19:11:42 2003 From: teng at dataway.com (Tedman Eng) Date: Sat, 19 Jul 2003 10:11:42 -0700 Subject: 'parents' and network latency References: <6.0.0.8.2.20030718183434.022b47d8@pop1.mail.com> Message-ID: We monitor globally dispersed systems, and some of the more extreme locations have really bad network connections. We implemented Nagios it this way, which may be helpful to try in your situation. I increased the critical threshold on the check_ping (lets say Switch01 is in Siberia and recieves bad pings all the time, so I make it use check_ping!1500,50%,2500,75%) Then, use Switch01's check_ping service as the template name for each of the children's service check commands. They'll all inherit the tuned ping thresholds. "Rainer" wrote in message news:6.0.0.8.2.20030718183434.022b47d8 at pop1.mail.com... > Hello, > > Let's assume I have a "deep" network topology (with many parent hosts above > the Nagios box), such as: > > Nagios Server => Switch 01 => Switch 02 => Firewall => Packet Shaper => > Router => ... > > When the 'parents' directive is properly setup and "Switch 01" goes down, > check-host-alive tells me it went down, and supresses notifications for all > the other hosts. > Now, if "Switch 01" if heavely loaded and my fping service finds out it has > a 500ms rta, all other hosts above it (switch 02, firewall etc) will have > response times equal or bigger than 500ms. > My question is, in this scenario, how can I supress critical messages from > the fping service regarding all other hosts which are slow because of > switch 01 ? (having fping figure out that, since the host above it is slow, > it doesn't need to notify me about all other hosts) > Perhaps this could be implemented in a future Nagios version (an option in > nagios.cfg such as "apply_parents_directive_to_network_latency") > > PS: This could be accomplished with service dependency (maybe?), but it > wouldn't be practical since I would have to create several dependency > checks for each parent host, which would make it really hard to maintain. > > Regards, > Rainer Alves > Unisys Brazil > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From renaud_paquay at skynet.be Sat Jul 19 20:47:15 2003 From: renaud_paquay at skynet.be (Renaud Paquay) Date: Sat, 19 Jul 2003 20:47:15 +0200 Subject: install problem Message-ID: <200307192047.15870.renaud_paquay@skynet.be> Hi everyone, I'm having troubles installing nagios 1.1 on my RedHat 9.0 I typed ./configure and everything seemed to be all right, then I writed make all as told in the INSTALLING file and everything compiled correctly. But when I executed the make install command, I had an error message: [root at localhost nagios-1.1]# make install cd ./base && make install make[1]: Entre dans le r?pertoire `/DATA/nagios-1.1/base' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin /usr/bin/install: usager invalide `nagios' make[1]: *** [install] Erreur 1 make[1]: Quitte le r?pertoire `/DATA/nagios-1.1/base' make: *** [install] Erreur 2 [root at localhost nagios-1.1]# Does anyone know what I could do ? Thanks Renaud Paquay renaud_paquay at skynet.be ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at powered.net Sat Jul 19 21:22:59 2003 From: sourceforge at powered.net (Rainer) Date: Sat, 19 Jul 2003 16:22:59 -0300 Subject: install problem In-Reply-To: <200307192047.15870.renaud_paquay@skynet.be> References: <200307192047.15870.renaud_paquay@skynet.be> Message-ID: <6.0.0.8.2.20030719162032.022c63f0@localhost> [root at localhost]# useradd nagios (this will create a nagios user in /etc/passwd and a nagios group in /etc/groups) Regards, Rainer Alves Unisys Brazil At 15:47 19/7/2003, Renaud Paquay wrote: >Hi everyone, > >I'm having troubles installing nagios 1.1 on my RedHat 9.0 > >I typed ./configure and everything seemed to be all right, >then I writed make all as told in the INSTALLING file and everything compiled >correctly. >But when I executed the make install command, I had an error message: > >[root at localhost nagios-1.1]# make install >cd ./base && make install >make[1]: Entre dans le r?pertoire `/DATA/nagios-1.1/base' >/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin >/usr/bin/install: usager invalide `nagios' >make[1]: *** [install] Erreur 1 >make[1]: Quitte le r?pertoire `/DATA/nagios-1.1/base' >make: *** [install] Erreur 2 >[root at localhost nagios-1.1]# > >Does anyone know what I could do ? > >Thanks >Renaud Paquay >renaud_paquay at skynet.be ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.verheyen at ampersant.be Sat Jul 19 21:25:11 2003 From: jeff.verheyen at ampersant.be (Jeff Verheyen) Date: 19 Jul 2003 21:25:11 +0200 Subject: install problem In-Reply-To: <200307192047.15870.renaud_paquay@skynet.be> References: <200307192047.15870.renaud_paquay@skynet.be> Message-ID: <1058642711.18756.1.camel@localhost.localdomain> Did you add the user and group 'nagios'? On Sat, 2003-07-19 at 20:47, Renaud Paquay wrote: > Hi everyone, > > I'm having troubles installing nagios 1.1 on my RedHat 9.0 > > I typed ./configure and everything seemed to be all right, > then I writed make all as told in the INSTALLING file and everything compiled > correctly. > But when I executed the make install command, I had an error message: > > [root at localhost nagios-1.1]# make install > cd ./base && make install > make[1]: Entre dans le r?pertoire `/DATA/nagios-1.1/base' > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > /usr/bin/install: usager invalide `nagios' > make[1]: *** [install] Erreur 1 > make[1]: Quitte le r?pertoire `/DATA/nagios-1.1/base' > make: *** [install] Erreur 2 > [root at localhost nagios-1.1]# > > Does anyone know what I could do ? > > Thanks > Renaud Paquay > renaud_paquay at skynet.be > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Ampersant bvba - Jeff Verheyen Dr. Jacobsstraat 3 - 2570 DUFFEL - Belgium Tel: +32 15 32 36 19 - Fax: +32 15 32 37 90 Email: jeff.verheyen at ampersant.be Website: http://www.ampersant.be/ ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Sun Jul 20 00:18:35 2003 From: skip at pobox.com (Skip Montanaro) Date: Sat, 19 Jul 2003 17:18:35 -0500 Subject: 500 error In-Reply-To: <63420.216.170.136.6.1058631529.squirrel@www.andhosting.com> References: <63420.216.170.136.6.1058631529.squirrel@www.andhosting.com> Message-ID: <16153.50107.740125.366471@montanaro.dyndns.org> Ben> I get a 500 Internal Server Error and when I look in the log it Ben> says: Premature end of script headers. What should I do? Well, if these were written in Python or Perl I'd suggest you look in your web server's error log for a traceback. You might still look to see if the CGI script printed something to stderr before bailing out. Just a wild ass guess: If your CGI scripts are dynamically linked, make sure the CGI environment contains the information necessary to find the various shared libraries (LD_LIBRARY_PATH or /etc/ld.so.conf+ldconfig, etc). -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dick.aseltine at giantloop.com Sun Jul 20 01:03:33 2003 From: dick.aseltine at giantloop.com (Aseltine, Richard) Date: Sat, 19 Jul 2003 19:03:33 -0400 Subject: check_ping problem Message-ID: <6CA85554A071E54FAE763836FA1CD74411A32C@mail-be.giantloop.com> I have one host that fails check_ping when configure in a service group with 10 other hosts in nagios server. The 10 other hosts return a OK status. From the command line with the same arguments check_ping returns a OK status on the host that fails. This host does live behind a firewall but it seems to me that since its works fine from the command line then it should work from the nagios detail page. What am I missing hear? ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steveh at eecs.umich.edu Sun Jul 20 10:05:13 2003 From: steveh at eecs.umich.edu (Steve Hsieh) Date: Sun, 20 Jul 2003 04:05:13 -0400 Subject: host notification only if multiple hosts critical? Message-ID: <172b01c34e95$b4bdb110$bc7ba8c0@psyduck> Hello, Is it possible to configure a notification only if multiple hosts or services are in critical? For example, send notification only if host_a AND host_b AND host_c are in critical? I've found variations of this question posted to the mailing list, but no answer. Is there a better way than to write a custom plugin that does all of the logic within the plugin? Thanks. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brian.Rectanus at vt.edu Sun Jul 20 11:01:08 2003 From: Brian.Rectanus at vt.edu (Brian Rectanus) Date: 20 Jul 2003 05:01:08 -0400 Subject: Some questions before switching to nagios Message-ID: <1058691668.19592.35.camel@razor.rectanus.net> Hello, I am currently monitoring our systems here with mon. As we are expanding our systems and services, mon is getting too complex to maintain. Nagios looks like a nice alternative, but at first glance, I see a limitation in what can be returned from a plugin. It seems that only a single line of output is read from the plugin. This seems very limiting to me. Currently, with mon, I get both a summary (one line) and details (as many lines as you want, in any format). For example, for a disk freespace problem, I would get a summary of say 'hostname disk freespace low' and a detail listing the filesystems with problems. Another example would be a load problem: sumarry: 'hostname has high load', and the detail would list the load and the top 10 processes at the time of measurment with their cooresponding CPU/mem usage. This is very useful as our pagers would get the simple summary and you could check your email or the mon web page for the details. I did a quick search in the FAQ and archives, but did not turn up anything overly intersting on this subject. For me this is a required feature and I cannot imagine why such a limitation would be imposed, so my first thought is that I must be overlooking something. So, my questions are: Is this truly a limitation with nagios? If it is, the is there a way to work around this? If need be, is there intrest in this feature being added to nagios (by me) and would a patch be accepted? Thanks, -Brian -- Brian Rectanus Information Tech Spec III -- DBA Virginia Tech, DBMS Blacksburg, VA -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From karl at debisschop.net Sun Jul 20 15:44:51 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 20 Jul 2003 09:44:51 -0400 Subject: Some questions before switching to nagios In-Reply-To: <1058691668.19592.35.camel@razor.rectanus.net> References: <1058691668.19592.35.camel@razor.rectanus.net> Message-ID: <1058708691.9065.29.camel@miles.debisschop.net> On Sun, 2003-07-20 at 05:01, Brian Rectanus wrote: > Hello, > I am currently monitoring our systems here with mon. As we are > expanding our systems and services, mon is getting too complex to > maintain. Nagios looks like a nice alternative, but at first glance, I > see a limitation in what can be returned from a plugin. It seems that > only a single line of output is read from the plugin. This seems very > limiting to me. Currently, with mon, I get both a summary (one line) > and details (as many lines as you want, in any format). For example, > for a disk freespace problem, I would get a summary of say 'hostname > disk freespace low' and a detail listing the filesystems with problems. You already get all this data in the summary line of check_disk. > Another example would be a load problem: sumarry: 'hostname has high > load', and the detail would list the load and the top 10 processes at > the time of measurment with their cooresponding CPU/mem usage. Check_load does not return this info. Check_cpu is not a core plugin, and also does not provide this info. But either could provide several processes in the return string if they chose to, on one line of course. It would be a simpe matter to place a filter before the mail client to reformat some special token as a "\n" > This is very useful as our pagers would get the simple summary and you could > check your email or the mon web page for the details. > > I did a quick search in the FAQ and archives, but did not turn up > anything overly intersting on this subject. For me this is a required > feature and I cannot imagine why such a limitation would be imposed, so > my first thought is that I must be overlooking something. > > So, my questions are: Is this truly a limitation with nagios? Is it part of the current design? Yes. Is it a limitation? Depends on your perspective, I guess, but I'll go out on a limb and agree with you, albeit I think it is smaller than you suggest. > If it is, is there a way to work around this? None that I know of. > If need be, is there intrest in this feature being added to > nagios (by me) and would a patch be accepted? To patch the system, nagios would need to accept more data. IIRC, in the 2.0 version currently in devlopment, the way nagios accepts messages from plugins has been changed so much larger data segmants can be managed. So the sort of extension you suggest maybe could be done. Of course, the plugins themselves would also need to produce this extended data. As a plugin maintainer, I would support adding this as a standard option to the plugins. I also feel that it should be an option because some peaple may be heavily optimizing their performance, and may not want the bandwidth penalty (imagine an install that has a modom as a failover interface, for instance - bandwidth might matter) -- Karl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ch at greenmail.ch Sun Jul 20 16:11:57 2003 From: ch at greenmail.ch (claus) Date: Sun, 20 Jul 2003 16:11:57 +0200 Subject: Monitoring a (squid) proxy Message-ID: <046901c34ec8$e164ef20$8701a8c0@descom.local> Hello out there, I am trying to monitor our proxy using nagios. I would like to retrieve a page through the proxy in order to make shure everything works fine. We use squid as proxy. I tried check_http and check_tcp but neither gave me the result I hoped to get. Did anyone manage monitoring a page through a proxy? Is there another check mechanism around for that purpose? Thank you and regards, Claus ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christoph.ball at ball-netz.de Sun Jul 20 22:25:31 2003 From: christoph.ball at ball-netz.de (Christoph Ball) Date: Sun, 20 Jul 2003 22:25:31 +0200 Subject: hostinfo.pl and serviceinfo.pl Message-ID: <002401c34efd$27d79c80$0100060a@cba2kws> Hallo everyone, I want to use the hostinfo.pl and serviceinfo.pl to save further information on hosts and services. But I cound not find the nessesary files in my installation or in any Nagios documentation. Help is very much appreceaded. Thanks Christoph -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge at powered.net Sun Jul 20 23:17:39 2003 From: sourceforge at powered.net (Rainer) Date: Sun, 20 Jul 2003 18:17:39 -0300 Subject: hostinfo.pl and serviceinfo.pl In-Reply-To: <002401c34efd$27d79c80$0100060a@cba2kws> References: <002401c34efd$27d79c80$0100060a@cba2kws> Message-ID: <6.0.0.8.2.20030720181652.023d85c0@localhost> http://nagios.sourceforge.net/docs/1_0/xedtemplate.html Rainer At 17:25 20/7/2003, Christoph Ball wrote: >Hallo everyone, >I want to use the hostinfo.pl and serviceinfo.pl to save further >information on hosts and services. >But I cound not find the nessesary files in my installation or in any >Nagios documentation. >Help is very much appreceaded. >Thanks > >Christoph ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Jul 21 00:48:32 2003 From: mpowell at ena.com (Marc Powell) Date: Sun, 20 Jul 2003 17:48:32 -0500 Subject: Monitoring a (squid) proxy Message-ID: <5DB017510818EC468B05BD7BD9EACF8303A778EF@mismail.ena.com> I currently monitor over 150 proxies with the following command definition -- define command{ command_name check_caching command_line $USER1$/check_http -H www.yahoo.com -I $HOSTADDRESS$ --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u http://www.yahoo.com -R \/HTML } -- Marc -----Original Message----- From: claus [mailto:ch at greenmail.ch] Sent: Sun 7/20/2003 9:11 AM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Monitoring a (squid) proxy Hello out there, I am trying to monitor our proxy using nagios. I would like to retrieve a page through the proxy in order to make shure everything works fine. We use squid as proxy. I tried check_http and check_tcp but neither gave me the result I hoped to get. Did anyone manage monitoring a page through a proxy? Is there another check mechanism around for that purpose? Thank you and regards, Claus ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From raven at paradise.net.nz Mon Jul 21 01:33:11 2003 From: raven at paradise.net.nz (raven at paradise.net.nz) Date: Mon, 21 Jul 2003 11:33:11 +1200 (NZST) Subject: problem with custom notifcation Message-ID: <1058743991.3f1b26b7af3ca@www.paradise.net.nz> Greetings i have a small problem with a custom notification(vicq). the command seems to run from the command line but not from nagios. /usr/bin/printf "%b" "msg icqnumber\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$"\n.\n" | /usr/local/bin/vicq -b -o has any body have any ideas how to get this to work? Thanks for any help Colin ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Jul 21 06:53:39 2003 From: teng at dataway.com (Tedman Eng) Date: Sun, 20 Jul 2003 21:53:39 -0700 Subject: problem with custom notifcation References: <1058743991.3f1b26b7af3ca@www.paradise.net.nz> Message-ID: login as the nagios user and try running it from the command line from there. Maybe something in your environment that the script needs to set for itself? I'm not familiar with the vicq application, but make sure it works in the nagios user's environment too. wrote in message news:1058743991.3f1b26b7af3ca at www.paradise.net.nz... > Greetings > > i have a small problem with a custom notification(vicq). > the command seems to run from the command line but not from nagios. > > /usr/bin/printf "%b" "msg icqnumber\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$"\n.\n" | /usr/local/bin/vicq -b -o > > has any body have any ideas how to get this to work? > > Thanks for any help > > Colin > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Jul 21 07:02:54 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 21 Jul 2003 15:02:54 +1000 Subject: Nagios limitation on size of PLUGINOUPUT. In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Sun, Jul 20, 2003 at 08:16:46PM -0700 References: Message-ID: <20030721150250.E50373@IPAustralia.Gov.AU> Dear Sir, I am writing to supplement Mr De Bisschops answer about this and say, > From: Brian Rectanus > To: nagios-users at lists.sourceforge.net > It seems that only a single line of output is read from the plugin. > This seems very limiting to me. and so it did to me once upon a time. However, the people who get alerted by Nagios at this site do _not_ want or expect Nag to diagnose the problem for them. All they want is to be alerted to . the problems existance . the rough location of the problem (in 'this' service for example). and then they dive in and use the problem solving techniques that work best for them. So while I ran Netsaint and Nag for a while with a local patch that would read the plugin ouput to eof (very trivial patch to checks.c), I no longer think it worthwhile to maintain the patch and the risk of it's side effects. So, while such a patch is feasable and easy, however as Mr De Bisschop has noted, it is best left as an option because of the performance hit. Nagios performance (being able to poll vast numbers of services in a timely manner) is probably more important to most Nag users than the amount of fault information it returns. But don't listen to someone who is not the Nagios developer: send your patch to Nagios-devel. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ch at greenmail.ch Mon Jul 21 09:21:30 2003 From: ch at greenmail.ch (claus) Date: Mon, 21 Jul 2003 09:21:30 +0200 Subject: Monitoring a (squid) proxy References: <5DB017510818EC468B05BD7BD9EACF8303A778EF@mismail.ena.com> Message-ID: <006d01c34f58$b4b764e0$8701a8c0@descom.local> [Nagios-users] Monitoring a (squid) proxyAbsolutely fantastic !!! Thanx a lot, Claus ----- Original Message ----- From: Marc Powell To: claus ; nagios-users at lists.sourceforge.net Sent: Monday, July 21, 2003 12:48 AM Subject: RE: [Nagios-users] Monitoring a (squid) proxy I currently monitor over 150 proxies with the following command definition -- define command{ command_name check_caching command_line $USER1$/check_http -H www.yahoo.com -I $HOSTADDRESS$ --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u http://www.yahoo.com -R \/HTML } -- Marc -----Original Message----- From: claus [mailto:ch at greenmail.ch] Hello out there, I am trying to monitor our proxy using nagios. I would like to retrieve a page through the proxy in order to make shure everything works fine. We use squid as proxy. I tried check_http and check_tcp but neither gave me the result I hoped to get. Did anyone manage monitoring a page through a proxy? Is there another check mechanism around for that purpose? Thank you and regards, Claus ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raven at paradise.net.nz Mon Jul 21 09:47:47 2003 From: raven at paradise.net.nz (Colin Murray) Date: Mon, 21 Jul 2003 19:47:47 +1200 Subject: problem with custom notifcation In-Reply-To: References: <1058743991.3f1b26b7af3ca@www.paradise.net.nz> Message-ID: <5.1.1.6.0.20030721194520.00bb4fb0@pop3.paradise.net.nz> At 09:53 p.m. 20/07/2003 -0700, Tedman Eng wrote: >login as the nagios user and try running it from the command line from >there. Maybe something in your environment that the script needs to set for >itself? I'm not familiar with the vicq application, but make sure it works >in the nagios user's environment too. > > > wrote in message >news:1058743991.3f1b26b7af3ca at www.paradise.net.nz... > > Greetings > > > > i have a small problem with a custom notification(vicq). > > the command seems to run from the command line but not from nagios. > > > > /usr/bin/printf "%b" "msg icqnumber\nNotification Type: > > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: > > $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: >$DATETIME$\n\nAdditional > > Info:\n\n$OUTPUT$"\n.\n" | /usr/local/bin/vicq -b -o > > > > has any body have any ideas how to get this to work? > > > > Thanks for any help > > > > Colin Hi Tired that even tired as the apache user works fine from the command line but no go from Nagios Colin ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Mon Jul 21 12:36:32 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Mon, 21 Jul 2003 18:36:32 +0800 Subject: host notification only if multiple hosts critical? In-Reply-To: <172b01c34e95$b4bdb110$bc7ba8c0@psyduck> References: <172b01c34e95$b4bdb110$bc7ba8c0@psyduck> Message-ID: <200307211836.36615.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Have a look at host dependency - http://nagios.sourceforge.net/docs/1_0/dependencies.html. Perhaps you may want to set up a dummy parent host. Jasmine On Sunday 20 July 2003 16:05, Steve Hsieh wrote: > Hello, > > Is it possible to configure a notification only if multiple hosts or > services are in critical? For example, send notification only if host_a AND > host_b AND host_c are in critical? I've found variations of this question > posted to the mailing list, but no answer. Is there a better way than to > write a custom plugin that does all of the logic within the plugin? > > Thanks. > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/G8IwNgvTa7Hj2AURAlq4AJ0SZkUzdg8E3HMp4GqOP7ll+l5dsACfTCmv bEH2RAgimI0c3KB22jtXcdw= =xAz3 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emc2 at autistici.org Mon Jul 21 12:55:34 2003 From: emc2 at autistici.org (3s) Date: Mon, 21 Jul 2003 12:55:34 +0200 Subject: Reporting Notifications Message-ID: <3F1BC6A6.1030307@autistici.org> I get this message: "Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-19-2003-00.log' for reading! " What is the problem? the permissions in /usr/local/nagios/var/archives are "777", the same in "/usr/local/nagios/var/". Someone can help me? ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Jul 21 14:12:27 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 21 Jul 2003 07:12:27 -0500 Subject: Reporting Notifications Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D47DD@mismail.ena.com> How about the permissions on that specific file? -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: 3s To: nagios-users at lists.sourceforge.net Sent: Mon Jul 21 05:55:34 2003 Subject: [Nagios-users] Reporting Notifications I get this message: "Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-19-2003-00.log' for reading! " What is the problem? the permissions in /usr/local/nagios/var/archives are "777", the same in "/usr/local/nagios/var/". Someone can help me? ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From emc2 at autistici.org Mon Jul 21 14:47:59 2003 From: emc2 at autistici.org (3s) Date: Mon, 21 Jul 2003 14:47:59 +0200 Subject: Reporting Notifications In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D47DD@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83032D47DD@mismail.ena.com> Message-ID: <3F1BE0FF.8010500@autistici.org> Marc Powell wrote: > How about the permissions on that specific file? > > > -- > Marc > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > "Error: Cannot open log file > '/usr/local/nagios/var/archives/nagios-07-19-2003-00.log' for reading! " > > What is the problem? the permissions in /usr/local/nagios/var/archives > are "777", the same in "/usr/local/nagios/var/". > Someone can help me? > Thanks in advance...The permission for /nagios-07-19-2003-00.log/is the same, 777! I've controlled my configuration files but I don't know to find the error. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ben at atomicmatrix.net Mon Jul 21 15:21:53 2003 From: ben at atomicmatrix.net (Ben Goodwin) Date: Mon, 21 Jul 2003 08:21:53 -0500 (CDT) Subject: timeperiods Message-ID: <1857.132.183.76.128.1058793713.squirrel@www.atomicmatrix.net> Either I'm blind or I've hit a bug.. so I need another set of eyes on this ... I'm getting paged a couple times in the 1AM timeframe for a service I've tried to tell not to page during that time. I can't figure out why it still is ... help! :-) Nagios 1.1 by the way. Thanks - -=| Ben ======= (generic-service defines a check_period of 24x7; I'm (hopefully) overriding it in the Ace Admin service definition) define timeperiod{ timeperiod_name excludebackups alias 24x7 Except Backup Periods sunday 00:00-00:55,02:00-03:55,04:35-24:00 monday 00:00-00:55,02:00-03:55,04:35-24:00 tuesday 00:00-00:55,02:00-03:55,04:35-24:00 wednesday 00:00-00:55,02:00-03:55,04:35-24:00 thursday 00:00-00:55,02:00-03:55,04:35-24:00 friday 00:00-00:55,02:00-03:55,04:35-24:00 saturday 00:00-00:55,02:00-03:55,04:35-24:00 } define service{ use generic-service hostgroup_name securid service_description ACE Admin check_command check_tcp!5550 check_period excludebackups } define hostgroup{ hostgroup_name securid alias SecurID/ACE Servers contact_groups oncall members host1,host2 } define host{ use generic-host host_name host1 alias host1.domain.com address 1.2.3.4 parents parent1 } define host{ use generic-host host_name host2 alias host2.domain.com address 1.2.3.5 parents parent2 } ***** Nagios 1.0 ***** Notification Type: PROBLEM Service: ACE Admin Host: host1.domain.com Address: 1.2.3.4 State: CRITICAL Date/Time: Sat Jul 19 01:06:35 EDT 2003 Additional Info: Connection refused by host ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From claus.helbing at descom-consulting.ch Mon Jul 21 15:17:52 2003 From: claus.helbing at descom-consulting.ch (Claus Helbing) Date: Mon, 21 Jul 2003 15:17:52 +0200 Subject: UPS in a network Message-ID: <037401c34f8a$7ddf8e70$8701a8c0@descom.local> Hello, I have another question ... I have 2 UPS's in the network that I introduced as host and these ping fine. Then I found the check_ups plugin that can talk to the "Newtork UPS Tools" of http://www.exploits.org/nuts/ But it seems that the NUTS speak only to UPSs connected to a serial port :-( Is there anyone that managed to get more information that just ping of an UPS? Mine is an APEC SMART UPS. Thanx and regards, Claus ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irenes at wolfram.com Mon Jul 21 15:58:22 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Mon, 21 Jul 2003 08:58:22 -0500 (CDT) Subject: Reporting Notifications In-Reply-To: <3F1BE0FF.8010500@autistici.org> References: <3F1BE0FF.8010500@autistici.org> Message-ID: You might want to check how often you're rotating your logs. I had a similar problem. I set the rotation to monthly, then back to weekly. While trying to browse through the weekly logs, I would get the same error. It was because that particular week didn't exist... -Irene On Mon, 21 Jul 2003, 3s wrote: > Marc Powell wrote: > > > How about the permissions on that specific file? > > > > > > -- > > Marc > > > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > > > "Error: Cannot open log file > > '/usr/local/nagios/var/archives/nagios-07-19-2003-00.log' for reading! " > > > > What is the problem? the permissions in /usr/local/nagios/var/archives > > are "777", the same in "/usr/local/nagios/var/". > > Someone can help me? > > > Thanks in advance...The permission for /nagios-07-19-2003-00.log/is the > same, 777! > I've controlled my configuration files but I don't know to find the error. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Pete.Shelfo at itron.com Mon Jul 21 16:02:24 2003 From: Pete.Shelfo at itron.com (Shelfo, Pete) Date: Mon, 21 Jul 2003 10:02:24 -0400 Subject: Strange Check_Snmp Issue Message-ID: <5038D89BA36AB94F8025722996882EE701063A59@raleigh-mx1.eis.itron.com> I am running Nagios 1.0 on Redhat 8 with the latest NSClient on Windows 2000 servers. Everything was functioning perfectly until I configured NIS on my Redhat 8 server. When NIS is started only one of my Windows servers fails on only one type of check_snmp command. When NIS is started my Compaq RAID disk checks (3 instances of such) bombs out on a Compaq server. All the other Compaq Windows servers have the same check (different OID though) and are working fine. I have updated my plugins, NSClient and the Compaq management agents. If I walk the MIB tree with a third party app I can see the check and display the results. If I use check_snmp on the command line in Redhat 8 it does not come back with any results - just the error message that it can't locate the snmp data. What does NIS have to do with the RAID check_snmp check on one type of server??????? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jsm at inpro.net Mon Jul 21 16:06:33 2003 From: jsm at inpro.net (Jeff McKeon) Date: 21 Jul 2003 10:06:33 -0400 Subject: logs dissapering Message-ID: <1058796392.23211.27.camel@rh80-jsm.telaurus.net> Nagios ver 1.0 Nov 24, 2002 I've got some disturbing behavior, my nagios logs are empty for days at a time, all of them, Event, Notifications, alert history etc. They seem to delete whenever the day rolls over... I can see all of today's events but not the past 3-4 days. the logs are empty, not even the hourly "auto save of retension date completed successfully" Any ideas as to what is going on here or where I should look? thanks, -- Jeff McKeon ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From list.nagios-users=W+vduneg5OqcvWdFBKKxig at public.gmane.org Mon Jul 21 16:37:01 2003 From: list.nagios-users=W+vduneg5OqcvWdFBKKxig at public.gmane.org (xavier renaut) Date: Mon, 21 Jul 2003 10:37:01 -0400 Subject: check_nt diskusage query no status returned ... checking return status In-Reply-To: <200307171753.h6HHrDGT001378@webmail2.magma.ca> References: <200307171753.h6HHrDGT001378@webmail2.magma.ca> Message-ID: <20030721143701.GK5654@natch.8d.com> On Thu, Jul 17, 2003 at 01:53:13PM -0400, Tim Shouldice wrote: |The order of the switches does not actually matter. The text of the output will always be |the same, however the status code returned by the plugin should be 0 for ok, 1 for |warning and 2 for error. To check that it is working, simply create a simple perl wrapper |to see the return code | |#!/usr/bin/perl |$ret=system(/usr/local/nagios/check_nt -H somehost -w 80 -c 90 -v USEDDISKSPACE -l C"); |print "$ret\n"; | |You'll see the returned text of the command on one line and the return code on the other. |The return code from Perl needs to be divided by 256. So you'll see 0 for OK, 256 for |WARNING and 512 for CRITICAL. | |Tim Shouldice |http://support.tsmgsoftware.com | another way to get the return status is $ echo $? ex : $ ls /eoau $ echo $? 1 yet another way (coolest !) is to use zsh and a prompt like this : export PROMPT="$(echo '%B%(?..[%?] )%b%n@%U%m%u> ')" xavier=RBUIKZetp+8 at public.gmane.org> ls /eoau ls: /eoau: No such file or directory [1] xavier=RBUIKZetp+8 at public.gmane.org> that way the return value is always printed in the prompt if different from 0. bye -- xavier ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Claus.Rosenberger at rocnet.de Mon Jul 21 16:45:44 2003 From: Claus.Rosenberger at rocnet.de (Claus Rosenberger) Date: Mon, 21 Jul 2003 16:45:44 +0200 (CEST) Subject: logs dissapering In-Reply-To: <1058796392.23211.27.camel@rh80-jsm.telaurus.net> References: <1058796392.23211.27.camel@rh80-jsm.telaurus.net> Message-ID: <49861.10.20.2.100.1058798744.squirrel@webmail.of.rocnet.de> Perhaps the rotation of log failed. Check the permissions of the archive directory. Claus > Nagios ver 1.0 Nov 24, 2002 > > I've got some disturbing behavior, my nagios logs are empty for days at > a time, all of them, Event, Notifications, alert history etc. They seem > to delete whenever the day rolls over... I can see all of today's > events but not the past 3-4 days. the logs are empty, not even the > hourly "auto save of retension date completed successfully" > > Any ideas as to what is going on here or where I should look? > > thanks, > > > -- > Jeff McKeon > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Mon Jul 21 16:51:13 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Mon, 21 Jul 2003 11:51:13 -0300 Subject: "Easier" tool for Nagios configuration (to the customer) Message-ID: <20030721145113.15072.qmail@linuxmail.org> Wich one is the most useful and pratical tool for Nagios configuring, through a web interface, or something like that? Soon, when I leave my customer it will be useful for him. I've tried Nagmin (but it doesn't change the config files directly, just in the 'nagios' base in MySQL, right?), I tried NagiosWeb (but it was extremely don't recommended) and finally I discover recently Nagat. Which one is the most viable? Thanks! -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Mon Jul 21 16:55:08 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Mon, 21 Jul 2003 10:55:08 -0400 Subject: check_tcp send and expect strings Message-ID: <016801c34f98$6d67ac40$f805ff0a@tekniq> Has anyone been successful in sending login strings (-s switch) through check_tcp, for example sending a username and password to a ftp server or pop server and using the expect (-e) switch to check the status? I'd like to eliminate our interpreted ftp and pop plugins, but I can't seem to get check_tcp to function in this manner properly. It may just be a limitation with check_tcp. If so, I'll just continue doing what I'm doing now. Thanks for your time, Jason Lancaster Intranet Administrator, Affinity Internet http://www.affinity.com ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Jul 21 17:26:01 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 21 Jul 2003 10:26:01 -0500 Subject: logs dissapering Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7BF3@mismail.ena.com> How is disk space on that machine. Could you have been low? -- Marc > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Monday, July 21, 2003 9:07 AM > To: Nagios List > > Nagios ver 1.0 Nov 24, 2002 > > I've got some disturbing behavior, my nagios logs are empty for days at > a time, all of them, Event, Notifications, alert history etc. They seem > to delete whenever the day rolls over... I can see all of today's > events but not the past 3-4 days. the logs are empty, not even the > hourly "auto save of retension date completed successfully" > > Any ideas as to what is going on here or where I should look? > > thanks, > > > -- > Jeff McKeon > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Mon Jul 21 17:35:32 2003 From: sobrien at ci.bend.or.us (sobrien at ci.bend.or.us) Date: Mon, 21 Jul 2003 08:35:32 -0700 Subject: Any way to have Nagios send epages only when host or service is critical (not for warnings?) Message-ID: I want to have nagios only page people when services or hosts are critical, I only want email when they are in a warning state. TIA Steve O'Brien -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlancaster at affinity.com Mon Jul 21 18:21:15 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Mon, 21 Jul 2003 12:21:15 -0400 Subject: Any way to have Nagios send epages only when host or service is critical (not for warnings?) References: Message-ID: <01b701c34fa4$1c4f5d60$f805ff0a@tekniq> Yes, this type of functionality defined in the contacts.cfg service_notification_options and host_notification_options. Read http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact ----- Original Message ----- From: sobrien at ci.bend.or.us To: nagios-users at lists.sourceforge.net Sent: Monday, July 21, 2003 11:35 Subject: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) I want to have nagios only page people when services or hosts are critical, I only want email when they are in a warning state. TIA Steve O'Brien -------------- next part -------------- An HTML attachment was scrubbed... URL: From tecnofg at hotmail.com Mon Jul 21 18:57:10 2003 From: tecnofg at hotmail.com (=?iso-8859-1?Q?Luis_Mu=F1oz?=) Date: Mon, 21 Jul 2003 11:57:10 -0500 Subject: using mysql with nagios Message-ID: Godd mornig, i am trying to use mysql to maintain nagios comments status etc, but , for example , when i create the tables into the database mysql complains because i dont know what names are for each column for example mysql>use nagios Database changed mysql> create table servicedowntime; ERROR 1113: A table must have at least 1 column mysql> then i supose to guess mysql> create table servicedowntime(servicedowntime varchar(20) not null); but i didnt find anything related to because i configured cgi.cfg and resource.cfg and compiled nagios with mysql support tanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From rivanor at linuxmail.org Mon Jul 21 19:07:59 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Mon, 21 Jul 2003 14:07:59 -0300 Subject: Decrease network usage (check hosts and services) Message-ID: <20030721170800.30473.qmail@linuxmail.org> I also can do this with 'ping', to send only one packet. But look at the statistics (from NTop): Network Traffic: Total Data (Sent+Received) Host: gerenciamento Data: 105,8 MB / 40,1 % from total traffic analyzed TCP: 24,0 MB UDP: 1,6 MB ICMP: 79,6 MB Being measured since July 18, from now. And maybe I mismatch the values (~14 MB in a day). Sorry! :) But the values above are for all the hosts being checked (total: 95 hosts). If I didn't make myself clear about all the situation, let me know. Thanks - Rivanor. ----- Original Message ----- From: "Dave Breiland" Date: Thu, 17 Jul 2003 06:59:05 -0700 To: , "''Rivanor P. Soares''" Subject: RE: [Nagios-users] Decrease network usage (check hosts and services) > Wouldn't "fping" be a good alternative? I believe it only sends one packet. > > > Dave > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Skip > Montanaro > Sent: Wednesday, July 16, 2003 3:03 PM > To: Rivanor P. Soares > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Decrease network usage (check hosts and > services) > > > > Rivanor> But it's generating too much traffic in my network (~14MB in a > Rivanor> day). This is not good. What does anyone suggest? > > Unless your system is frequently unavailable, this seems very high. A ping > packet is typically under 100 bytes. Let's assume it's 128 bytes to be > generous. Five packets sent would be 640 bytes. Running check_ping every > five minutes means it's run 288 times per day, generating under 200 kbytes > per host. Is it 14MB for one host or for all hosts you're checking? > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > Got spam? http://spambayes.sf.net/ > > -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nemir at mindless.com Mon Jul 21 19:07:16 2003 From: nemir at mindless.com (nemir nemiria) Date: Tue, 22 Jul 2003 03:07:16 +1000 Subject: checking if a custom service is running? Message-ID: <20030721170716.91271.qmail@mail.com> Hi there... I am really unsure if this is hard or easy or how to go about accomplishing this... I run a particular service on a Linux server, sessmgr, and I am wondering how to get something that would check to see that it was running. Is the best way to do this to write a new plugin? I am pretty much a programming newbie, having about 15 hours of python scriupting to my name thus far. Would python be inappropriate to use to write a plugin? IS the best way to do so to parse the output of ps -axu | grep sessmgr? Or even simpler still, ps -aux | grep -c sessmgr, where any non-zero response is a critical failure? I guess I want to know if someone might have already invented this wheel and published something that I could adapt to the purpose before I go about building one myself. TIA Nemir -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Mon Jul 21 19:43:46 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Mon, 21 Jul 2003 14:43:46 -0300 Subject: Statusmap logical organization Message-ID: <20030721174347.22124.qmail@linuxmail.org> I configured the 'parents' directive like the documentation tells me to do ("Parent hosts are typically routers, switches, firewalls, etc. that lie between the monitoring host and a remote hosts...") But if I do it like this, things don't go right when I am using the "User-supplied coords" layout method. The structure of my network seems completely wrong. So, I changed as many as I could the 'parents' directives, reaching the layout I want, the real look my network has. My question is, is this right? Or should I keep the right parents in hosts.cfg? Thank you. -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mp at xmission.com Mon Jul 21 20:02:19 2003 From: mp at xmission.com (Myke Place) Date: Mon, 21 Jul 2003 12:02:19 -0600 Subject: Orphaned checks kill Nagios Message-ID: <20030721180218.GA10811@xmission.com> Hello, I am seeing a problem with Nagios wherin enabling check_for_orphaned_services causes the list of nagios procs to grow uncontrollably until the box dies. When the orphaned services check is enabled, hundreds of warnings will appear that indicate that Nagios is rescheduling checks for orphaned services. It would appear that enabled the check for orhphaned services does not respect the max_concurrent_checks setting. Is this the desired behavior? I am primarily using NRPE to do remote checks, we have about 600 checks done this way. Has anybody else seen this behavior or can anybody comment on possible fixes? -mp ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Mon Jul 21 20:50:58 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G) Date: Mon, 21 Jul 2003 13:50:58 -0500 Subject: Multiple Host Downtime Message-ID: <516DA7BE5D87C8469D89F150CA0B491101B6A4CA@PDAWB02C.ad.sprint.com> I hope I'm not attempting to re-create the wheel, but I was going to put together a page where I could schedule multiple hosts or services for downtime without having to go through the screen one at a time. My question is, how do I get at the variables that the compiled CGI scripts use for who is currently logged in? The C programs use a variable called 'com_author' and was wondering how I could get it. For this script I plan to use PHP, but that should matter. Stanley G. Martin System Administrator Sprint - EIS3 Customer Care 913.762.8667 913.221.8241 PCS Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ric at nkn.net Mon Jul 21 20:58:06 2003 From: ric at nkn.net (Ric Moseley) Date: Mon, 21 Jul 2003 13:58:06 -0500 Subject: thousands of temp files In-Reply-To: <20030721180218.GA10811@xmission.com> References: <20030721180218.GA10811@xmission.com> Message-ID: <01de01c34fba$0568c710$1bd010ac@theplanet.com> I am running nagios1.0 on freebsd and it is generating thousands of embedded temp files in my /tmp directory. Anyone have any idea why I am getting theses. mbeddedCEp30z embeddedOifDOA embeddeddzRh9V Thanks. Ric. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amen at oreilly.com Mon Jul 21 21:01:07 2003 From: amen at oreilly.com (Bob Amen) Date: Mon, 21 Jul 2003 12:01:07 -0700 Subject: UPS in a network References: <037401c34f8a$7ddf8e70$8701a8c0@descom.local> Message-ID: <3F1C3873.2010209@oreilly.com> Claus Helbing wrote: > Hello, > > I have another question ... > I have 2 UPS's in the network that I introduced as host and > these ping fine. Then I found the check_ups plugin that can > talk to the "Newtork UPS Tools" of http://www.exploits.org/nuts/ > But it seems that the NUTS speak only to UPSs connected to a serial port :-( > > Is there anyone that managed to get more information that just > ping of an UPS? Mine is an APEC SMART UPS. If your SMART UPS has an SNMP process running, you can use check_apc_ups.pl which is in the contrib directory in the nagios plugins distribution. I'm using that script and it works quite well. It even reports the time remaining on battery. Cheers, Bob -- Bob Amen O'Reilly & Associates, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nemir at mindless.com Mon Jul 21 18:58:46 2003 From: nemir at mindless.com (nemir nemiria) Date: Tue, 22 Jul 2003 02:58:46 +1000 Subject: A question about webserver checks Message-ID: <20030721165846.25695.qmail@mail.com> hiya. I am running a webserver with several websites all running from the same IP Address, and this has got me to thinking 'bout how the check http(s) job works... Potentially the third website on the list may fail while the other 9 are running along like a train. Is it possible for the agent to determine if one single site went down, rather than the entire apache (or IIS for that matter) service? TIA nemir -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Mon Jul 21 21:28:11 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 21 Jul 2003 15:28:11 -0400 Subject: Losing Servers/Services Message-ID: <1058815685.14100.557.camel@unixgod.hq.nasa.gov> Server: Solaris 7, Apache 1.3.20, Ben-SSL/1.44, Nagios 1.1, Plug-ins 1.3.1 Workstation1: Solaris 7, Netscape 4.77 Workstation2: Mandrake 9.1, Mozilla 1.3.1 Workstation3: Windows 200, IE 6.0.2800.1106 Problem: The number of hosts and services change with Service Detail and Host Detail refreshes. Hosts/Services I've removed are still ghosting around. First I added the print queues (etc/printers.cfg) after whipping up a smbclient shell script. The number of services in Service Detail and Host Detail changed from 609 to 139 and it appeard that the printers weren't being monitored any more. After a bunch of warnings were e-mailed to me so I set active_checks_enabled=0. Second I had 13 or so hosts that were not production systems so didn't need to be monitored. I created a new template; generic-service-down and set active_checks_enabled=0. I changed the use line in each of the down servers. Third, when I got in this morning there were some 5,000 e-mails waiting for me. About 4,500 of them were status checks from the printers and the disabled servers. I removed printers.cfg from nagios.cfg. Fourth I added a new server this morning and just had a PING service. I also removed the 13 disabled hosts from hostgroups, hosts and services. I commented out all of the printers but one and added printers.cfg back in to nagios.cfg. When I bring up the 3d status map, the new server is grayed out and says no information is available. Clicking on the grayed out server will refresh the information on 3d status map. The status.sav file had the new server in it but not in status.log. After a few minutes, it rolled out of the status.sav file. If I refresh the Service Detail or Host Detail page, the new server will show up but after the auto-refresh, the number of hosts/services dropps from 115/119 to 114/117. In a few minutes it drops to 112/115. I've flushed the disk/memory cache from my browsers and just like the refresh, the first page is ok but following refreshes will drop the number of servers/services down. I'm getting down in the dirt on this and figure this is about the time to post a query. Thanks in advance. Carl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Jul 21 21:41:26 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 21 Jul 2003 14:41:26 -0500 Subject: Losing Servers/Services Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7C25@mismail.ena.com> You have multiple copies of nagios running. Stop all of them then restart nagios. -- marc > -----Original Message----- > From: Carl Schelin [mailto:cschelin at hq.nasa.gov] > Sent: Monday, July 21, 2003 2:28 PM > To: nagios-users at lists.sourceforge.net > > Server: Solaris 7, Apache 1.3.20, Ben-SSL/1.44, Nagios 1.1, Plug-ins > 1.3.1 > > Workstation1: Solaris 7, Netscape 4.77 > Workstation2: Mandrake 9.1, Mozilla 1.3.1 > Workstation3: Windows 200, IE 6.0.2800.1106 > > Problem: The number of hosts and services change with Service Detail and > Host Detail refreshes. Hosts/Services I've removed are still ghosting > around. > > First I added the print queues (etc/printers.cfg) after whipping up a > smbclient shell script. The number of services in Service Detail and > Host Detail changed from 609 to 139 and it appeard that the printers > weren't being monitored any more. > > After a bunch of warnings were e-mailed to me so I set > active_checks_enabled=0. > > Second I had 13 or so hosts that were not production systems so didn't > need to be monitored. I created a new template; generic-service-down and > set active_checks_enabled=0. I changed the use line in each of the down > servers. > > Third, when I got in this morning there were some 5,000 e-mails waiting > for me. About 4,500 of them were status checks from the printers and the > disabled servers. I removed printers.cfg from nagios.cfg. > > Fourth I added a new server this morning and just had a PING service. I > also removed the 13 disabled hosts from hostgroups, hosts and services. > I commented out all of the printers but one and added printers.cfg back > in to nagios.cfg. > > When I bring up the 3d status map, the new server is grayed out and says > no information is available. Clicking on the grayed out server will > refresh the information on 3d status map. > > The status.sav file had the new server in it but not in status.log. > After a few minutes, it rolled out of the status.sav file. > > If I refresh the Service Detail or Host Detail page, the new server will > show up but after the auto-refresh, the number of hosts/services dropps > from 115/119 to 114/117. In a few minutes it drops to 112/115. > > I've flushed the disk/memory cache from my browsers and just like the > refresh, the first page is ok but following refreshes will drop the > number of servers/services down. > > I'm getting down in the dirt on this and figure this is about the time > to post a query. > > Thanks in advance. > > Carl > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Jul 21 21:39:25 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 21 Jul 2003 14:39:25 -0500 Subject: A question about webserver checks Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7C24@mismail.ena.com> Check_http --help The -I, -H and -u flags are what you are looking for. -- Marc > -----Original Message----- > From: nemir nemiria [mailto:nemir at mindless.com] > Sent: Monday, July 21, 2003 11:59 AM > To: nagios-users at lists.sourceforge.net > > hiya. > > > I am running a webserver with several websites all running from the same > IP Address, and this has got me to thinking 'bout how the check http(s) > job works... Potentially the third website on the list may fail while > the other 9 are running along like a train. Is it possible for the agent > to determine if one single site went down, rather than the entire apache > (or IIS for that matter) service? > > TIA > > > nemir > -- > __________________________________________________________ > Sign-up for your own FREE Personalized E-mail at Mail.com > http://www.mail.com/?sr=signup > > CareerBuilder.com has over 400,000 jobs. Be smarter about your job search > http://corp.mail.com/careers > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.irvine at kingcountyjournal.com Mon Jul 21 20:25:01 2003 From: bryan.irvine at kingcountyjournal.com (Bryan Irvine) Date: 21 Jul 2003 11:25:01 -0700 Subject: using mysql with nagios In-Reply-To: References: Message-ID: <1058811901.2323.17.camel@elvis> I might recommend against this. I was considering using using a postgresql db to maintain a cluster of nagios systems that we have running on multiple networks and have them all report to the same system, but when you read the nagios 2 doc's, db support is going to be pulled out. So if I ever upgrade to 2.0 I will have to ditch the db anyway. I might recommend just staying with the text files method. just my 2 cents... --Bryan On Mon, 2003-07-21 at 09:57, Luis Mu?oz wrote: > Godd mornig, > i am trying to use mysql to maintain nagios comments status etc, but , > for example , when i create the tables into the database mysql > complains because i dont know what names are for each column for > example > > > mysql>use nagios > Database changed > mysql> create table servicedowntime; > ERROR 1113: A table must have at least 1 column > mysql> > > then i supose to guess > > mysql> create table servicedowntime(servicedowntime varchar(20) not > null); > > but i didnt find anything related to because i configured cgi.cfg and > resource.cfg and compiled nagios with mysql support > > tanks ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Mon Jul 21 21:52:48 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 21 Jul 2003 15:52:48 -0400 Subject: Losing Servers/Services In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E7C25@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E7C25@mismail.ena.com> Message-ID: <1058817168.14100.568.camel@unixgod.hq.nasa.gov> On Mon, 2003-07-21 at 15:41, Marc Powell wrote: > You have multiple copies of nagios running. Stop all of them then > restart nagios. > doh [slaps forehead]. And I've seen other messages here but didn't connect it. I guess I'll have to stop "/etc/init.d/nagios restart" and stop, verify, start from now on. Thanks, it seems to be working now. > -- > marc Carl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christoph.ball at ball-netz.de Mon Jul 21 22:01:54 2003 From: christoph.ball at ball-netz.de (Christoph Ball) Date: Mon, 21 Jul 2003 22:01:54 +0200 Subject: hostinfo.pl and serviceinfo.pl Message-ID: <002a01c34fc3$01741e30$0100060a@cba2kws> Hello Rainer, hello everyone, thanks for the advise - but this didn't help me, because I could not find the nessesary *.pl files. Please tell me where I can find the hostinfo.pl and the serviceinfo.pl and how to config these files. Thanks Christoph http://nagios.sourceforge.net/docs/1_0/xedtemplate.html Rainer At 17:25 20/7/2003, Christoph Ball wrote: >Hallo everyone, >I want to use the hostinfo.pl and serviceinfo.pl to save further >information on hosts and services. >But I cound not find the nessesary files in my installation or in any >Nagios documentation. >Help is very much appreceaded. >Thanks > >Christoph -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Mon Jul 21 22:09:19 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 21 Jul 2003 14:09:19 -0600 Subject: check_ifstatus timeout problem Message-ID: Using check_ifstatus v.1.3 I'm seeing timeouts from some of my routers. The error reported is: ERROR: No snmp response from 10.1.222.1. (alarm timeout) My question is this, how do I increase the timeout value for this plugin? As a temporary workaround I've commented out the timeout code completely: # Just in case of problems, let's not hang Nagios #$SIG{'ALRM'} = sub { # print ("ERROR: No snmp response from $hostname (alarm timeout)\n"); # exit $ERRORS{"UNKNOWN"}; #}; #alarm($TIMEOUT); Although I'm guessing that this was added for good reason and should probably be left in. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Mon Jul 21 21:04:46 2003 From: ric at nkn.net (Ric Moseley) Date: Mon, 21 Jul 2003 14:04:46 -0500 Subject: checking if a custom service is running? In-Reply-To: <20030721170716.91271.qmail@mail.com> References: <20030721170716.91271.qmail@mail.com> Message-ID: <01e001c34fba$f3e924c0$1bd010ac@theplanet.com> Use nagios_statd found the nagios download page or here http://www.twoevils.org/files/netsaint_statd/ Ric. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nemir nemiria Sent: Monday, July 21, 2003 12:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] checking if a custom service is running? Hi there... I am really unsure if this is hard or easy or how to go about accomplishing this... I run a particular service on a Linux server, sessmgr, and I am wondering how to get something that would check to see that it was running. Is the best way to do this to write a new plugin? I am pretty much a programming newbie, having about 15 hours of python scriupting to my name thus far. Would python be inappropriate to use to write a plugin? IS the best way to do so to parse the output of ps -axu | grep sessmgr? Or even simpler still, ps -aux | grep -c sessmgr, where any non-zero response is a critical failure? I guess I want to know if someone might have already invented this wheel and published something that I could adapt to the purpose before I go about building one myself. TIA Nemir -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Mon Jul 21 23:32:04 2003 From: jsm at inpro.net (Jeff McKeon) Date: 21 Jul 2003 17:32:04 -0400 Subject: logs dissapering In-Reply-To: <49861.10.20.2.100.1058798744.squirrel@webmail.of.rocnet.de> References: <1058796392.23211.27.camel@rh80-jsm.telaurus.net> <49861.10.20.2.100.1058798744.squirrel@webmail.of.rocnet.de> Message-ID: <1058823124.23211.29.camel@rh80-jsm.telaurus.net> Permissions are fine, disk space is plentiful.. Is this perhaps a bug that is addressed in ver 1.1? On Mon, 2003-07-21 at 10:45, Claus Rosenberger wrote: > Perhaps the rotation of log failed. Check the permissions of the archive > directory. > > Claus > > > Nagios ver 1.0 Nov 24, 2002 > > > > I've got some disturbing behavior, my nagios logs are empty for days at > > a time, all of them, Event, Notifications, alert history etc. They seem > > to delete whenever the day rolls over... I can see all of today's > > events but not the past 3-4 days. the logs are empty, not even the > > hourly "auto save of retension date completed successfully" > > > > Any ideas as to what is going on here or where I should look? > > > > thanks, > > > > > > -- > > Jeff McKeon > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jeff McKeon ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Mon Jul 21 21:23:31 2003 From: sobrien at ci.bend.or.us (sobrien at ci.bend.or.us) Date: Mon, 21 Jul 2003 12:23:31 -0700 Subject: Fw: Any way to have Nagios send epages only when host or service is critical (not for warnings?) Message-ID: Anyone have a solution for the issue of wanting to be notified of warnings but only wanting to paged when the service/host goes critical? Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 ----- Forwarded by Steve OBrien/Bend on 07/21/2003 12:20 PM ----- "Jason Lancaster" 07/21/2003 09:50 AM To cc Subject Re: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Hmm, you've stumped me. I can think of work-arounds but I cannot think of a direct way to do this within Nagios. -You could add another contact and into contacts.cfg. Contact1: jlancaster Contact2: jlancaster-pager I would then define different host and service notification options for each. Personally, I never envisioned needing this but it's a major limitation on Nagios templates and in my current database implementation. Doh. -You could also write a wrapper for the pager notification command and search the $HOSTSTATE$ variable for critical notifications. -Additionally, you could take the second workaround a step further and create a more advanced contact notification module. I know I have seen discussions with regards to the development and use of more advanced notification systems before on this list. You might want to post a followup to your first post reiterating what you said to me below. (You're welcome to post what I wrote too) Let me know what you come up with. Jason Lancaster Intranet Administrator, Affinity Internet http://www.affinity.com ----- Original Message ----- From: sobrien at ci.bend.or.us To: Jason Lancaster Sent: Monday, July 21, 2003 12:21 Subject: Re: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) That appears to be a setting for notifying only when host is in a particular state. I want to know when the warning states occur but I only want them emailed, I do not want to be paged. I only want to be paged when it is critical. Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 "Jason Lancaster" 07/21/2003 09:21 AM To, cc SubjectRe: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Yes, this type of functionality defined in the contacts.cfg service_notification_options and host_notification_options. Read http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact ----- Original Message ----- From: sobrien at ci.bend.or.us To: nagios-users at lists.sourceforge.net Sent: Monday, July 21, 2003 11:35 Subject: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) I want to have nagios only page people when services or hosts are critical, I only want email when they are in a warning state. TIA Steve O'Brien -------------- next part -------------- An HTML attachment was scrubbed... URL: From webid at cfl.rr.com Tue Jul 22 02:38:15 2003 From: webid at cfl.rr.com (Scot L. Harris) Date: 21 Jul 2003 20:38:15 -0400 Subject: [Nagiosplug-help] help to compile nrpe 2.0 b 4 on linux In-Reply-To: <1058830698.28385.19.camel@lathe> References: <66150DEA041C2D4CA39D7096B032126C010F9FF4@exchange.supportcomm.com.br> <1058830698.28385.19.camel@lathe> Message-ID: <1058834295.28263.40.camel@lathe> On Mon, 2003-07-21 at 19:38, Scot L. Harris wrote: > Looks like you need to install the openssl package on those systems. > while copying the include files got you past the first issue the fact > that the libraries appear to be missing are the what tell me you don't > have openssl installed. > > Check by doing an rpm -qa and grep for openssl. Compare the results of > that between the systems that work and the ones that don't. If you find > as I suspect that the openssl packages are not installed then install > them and try rebuilding the nagios package on those. > > On Mon, 2003-07-21 at 14:51, Iber? Luiz Di Tizio Junior wrote: > > Hi, > > My name is Ibere, I am a brasilian network administrator, and I ?m trying to implement nagios in my office. > > > > I had compile without problems nrpe in 6 linux boxes, but in 3 boxes I had this problem when I try to "make all" : > > gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/kerberos/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl nrpe.c utils.c > > In file included from ../common/config.h:190, > > from ../common/common.h:24, > > from nrpe.c:21: > > /usr/local/ssl/include/openssl/rsa.h:62: openssl/asn1.h: No such file or directory > > /usr/local/ssl/include/openssl/rsa.h:65: openssl/bio.h: No such file or directory > > /usr/local/ssl/include/openssl/rsa.h:67: openssl/bn.h: No such file or directory > > /usr/local/ssl/include/openssl/rsa.h:68: openssl/crypto.h: No such file or directory > > /usr/local/ssl/include/openssl/rsa.h:69: openssl/ossl_typ.h: No such file or directory > > In file included from ../common/config.h:191, > > from ../common/common.h:24, > > from nrpe.c:21: > > /usr/local/ssl/include/openssl/crypto.h:68: openssl/stack.h: No such file or directory > > <------------------------------------------------------------------------------------> > > > > I try to copy all include files to a directory bellow > > mkdir /usr/local/ssl/include/openssl/openssl > > cp /usr/local/ssl/include/openssl /usr/local/ssl/include/openssl/openssl > > > > and tried to compile again, and the error change to: > > > > [root at wa07 nrpe-2.0b4]# make all > > cd ./src/; make ; cd .. > > make[1]: Entering directory `/home/jose.santos/nrpe-2.0b4/src' > > gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/kerberos/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl nrpe.c utils.c > > /tmp/ccTEbUBC.o: In function `get_dh512': > > /home/jose.santos/nrpe-2.0b4/src/dh.h:19: undefined reference to `DH_new' > > /home/jose.santos/nrpe-2.0b4/src/dh.h:20: undefined reference to `BN_bin2bn' > > /home/jose.santos/nrpe-2.0b4/src/dh.h:21: undefined reference to `BN_bin2bn' > > /home/jose.santos/nrpe-2.0b4/src/dh.h:23: undefined reference to `DH_free' > > /tmp/ccTEbUBC.o: In function `main': > > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:188: undefined reference to `SSL_library_init' > > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:189: undefined reference to `SSL_library_init' > > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:190: undefined reference to `SSLv23_server_method' > > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:191: undefined reference to `SSL_load_error_strings' > > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:192: undefined reference to `SSL_CTX_new' > > /home/jose.santos/nrpe-2.0b4/src/nrpe.c:197: undefined reference to `SSL_CTX_set_cipher_list' > > <------------------------------------------------------------------------------------> > > > > Please, what I am doing wrong ?? > > Thanks a lot. > > > > Iber? Luiz Di Tizio Jr. > > ibere.tizio at supportcomm.com.br > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Nagiosplug-help mailing list > > Nagiosplug-help at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > > ::: Please include plugins version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null -- Scot L. Harris ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nemir at mindless.com Tue Jul 22 05:24:47 2003 From: nemir at mindless.com (nemir nemiria) Date: Tue, 22 Jul 2003 13:24:47 +1000 Subject: notification escalation...? Message-ID: <20030722032448.20931.qmail@mail.com> Hi there. I understand that I can set notifications to recur at the notification interval. This is good. I am wondering if I can take this one step further and escalate the notification if the hard non-OK state is not resolved within a certain period, e.g, one hour? if it isn't presently implemented, could it be? thanks and regards, nemir -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brianj at nvc.net Tue Jul 22 07:41:16 2003 From: brianj at nvc.net (Brian Johnson) Date: Tue, 22 Jul 2003 00:41:16 -0500 Subject: Any way to have Nagios send epages only when host or service is critical (not for warnings?) References: Message-ID: <004901c35013$dee92d50$0200a8c0@xavier> OK... I just started using Nagios last week and find it to be FANTASTIC. Even I know the answer to this one. RTFM!!! Services - http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service Hosts - http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host Notifications - http://nagios.sourceforge.net/docs/1_0/notifications.html This information is in the referenced documentation. Please read it before just bailing out to the list. ----- Original Message ----- From: sobrien at ci.bend.or.us To: nagios-users at lists.sourceforge.net Sent: Monday, July 21, 2003 2:23 PM Subject: Fw: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Anyone have a solution for the issue of wanting to be notified of warnings but only wanting to paged when the service/host goes critical? Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 ----- Forwarded by Steve OBrien/Bend on 07/21/2003 12:20 PM ----- "Jason Lancaster" 07/21/2003 09:50 AM To cc Subject Re: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Hmm, you've stumped me. I can think of work-arounds but I cannot think of a direct way to do this within Nagios. -You could add another contact and into contacts.cfg. Contact1: jlancaster Contact2: jlancaster-pager I would then define different host and service notification options for each. Personally, I never envisioned needing this but it's a major limitation on Nagios templates and in my current database implementation. Doh. -You could also write a wrapper for the pager notification command and search the $HOSTSTATE$ variable for critical notifications. -Additionally, you could take the second workaround a step further and create a more advanced contact notification module. I know I have seen discussions with regards to the development and use of more advanced notification systems before on this list. You might want to post a followup to your first post reiterating what you said to me below. (You're welcome to post what I wrote too) Let me know what you come up with. Jason Lancaster Intranet Administrator, Affinity Internet http://www.affinity.com ----- Original Message ----- From: sobrien at ci.bend.or.us To: Jason Lancaster Sent: Monday, July 21, 2003 12:21 Subject: Re: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) That appears to be a setting for notifying only when host is in a particular state. I want to know when the warning states occur but I only want them emailed, I do not want to be paged. I only want to be paged when it is critical. Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 "Jason Lancaster" 07/21/2003 09:21 AM To, cc SubjectRe: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Yes, this type of functionality defined in the contacts.cfg service_notification_options and host_notification_options. Read http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact ----- Original Message ----- From: sobrien at ci.bend.or.us To: nagios-users at lists.sourceforge.net Sent: Monday, July 21, 2003 11:35 Subject: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) I want to have nagios only page people when services or hosts are critical, I only want email when they are in a warning state. TIA Steve O'Brien -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasmine.chua at securecirt.com Tue Jul 22 08:52:31 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 22 Jul 2003 14:52:31 +0800 Subject: configuring nrpe 2.0 Message-ID: <200307221452.32703.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys I tried upgrading to the new nrpe 2.0 and have problems configuring it to pass arguments remotely. Anyone knows how to configure it properly? In nrpe.cfg: command[check_users]=/usr/nagios/libexec/check_users -w $$ARG1$ -c $$ARG2$ Testing from command line: # /usr/nagios/libexec/check_nrpe -H xx.xx.xx.xx -c check_users -a 3 5 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. Logs say: Jul 22 06:32:56 nrpe[17120]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Jul 22 06:32:56 nrpe[17121]: Starting up daemon Jul 22 06:32:59 nrpe[17124]: Error: Request contained command arguments! Jul 22 06:32:59 nrpe[17124]: Client request was invalid, bailing out... Thanks and Best Regards, Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/HN8vNgvTa7Hj2AURAukZAJsHRMqHSMLa9LBOkgYaFGdmLDuzeACglkAJ YtIILyIILu0GvSFFcqahHRQ= =Tetf -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKlisowski at era.pl Tue Jul 22 09:03:47 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Tue, 22 Jul 2003 09:03:47 +0200 Subject: Host down/up Message-ID: <20AF50E5F611F84993722DC135DF00BC1B15F9@seth.corponet.era.pl> Hi, How to set Nagios to notify me with critical when host is down and set notification 'green' ;-) when host is up? I set to 'check-host-alive' with max_check_attempts=10. So it works, host is turned green. What shoul I set to turn it green when it's up again? -- Rafal - ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at designit.com.au Tue Jul 22 09:41:04 2003 From: karl at designit.com.au (Karl Latiss) Date: 22 Jul 2003 17:41:04 +1000 Subject: configuring nrpe 2.0 In-Reply-To: <200307221452.32703.jasmine.chua@securecirt.com> References: <200307221452.32703.jasmine.chua@securecirt.com> Message-ID: <1058859664.1643.17.camel@darkstar.internal.designit.com.au> That's probably the double $$ signs in front of the ARG's Try removing one of them and see how you go. On Tue, 2003-07-22 at 16:52, Jasmine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi guys > > I tried upgrading to the new nrpe 2.0 and have problems configuring it to pass > arguments remotely. Anyone knows how to configure it properly? > > In nrpe.cfg: > command[check_users]=/usr/nagios/libexec/check_users -w $$ARG1$ -c $$ARG2$ > > Testing from command line: > > # /usr/nagios/libexec/check_nrpe -H xx.xx.xx.xx -c check_users -a 3 5 > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for > error messages. > > Logs say: > Jul 22 06:32:56 nrpe[17120]: INFO: SSL/TLS initialized. All network traffic > will be encrypted. > Jul 22 06:32:56 nrpe[17121]: Starting up daemon > Jul 22 06:32:59 nrpe[17124]: Error: Request contained command arguments! > Jul 22 06:32:59 nrpe[17124]: Client request was invalid, bailing out... > > Thanks and Best Regards, > > Jasmine > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE/HN8vNgvTa7Hj2AURAukZAJsHRMqHSMLa9LBOkgYaFGdmLDuzeACglkAJ > YtIILyIILu0GvSFFcqahHRQ= > =Tetf > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Tue Jul 22 10:42:07 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Tue, 22 Jul 2003 16:42:07 +0800 Subject: problems with fping plugin Message-ID: I face this problems when im trying to install Nagios1.1 for the 2nd time... in the different box the 1st time installation was succesfull. But for the second time i had this problems .. i have try to solve it on whole day but still cannot.. My situation like this.. i have install fping to make sure i have no problems when install nagios-plugin1.3.1. but when i run the ./configure script it said that fping still dont install in my system (a)... but i have install it many times after i get this notification ...(b) i have locate the fping and its have been installed. But the problem still remain.. anyone can help me? (a) checking for fping... no ** Get fping from http://www.fping.com in order to make check_fping plugin (b) /usr/local/nagios/sbin/fping -------------------------------------------- Second Question is about nagios-plugin in RPM format - if i want to try this rpm , what about the ./configure script. ? Hope anyone can help me here -------------- next part -------------- An HTML attachment was scrubbed... URL: From ch at greenmail.ch Tue Jul 22 11:03:33 2003 From: ch at greenmail.ch (claus) Date: Tue, 22 Jul 2003 11:03:33 +0200 Subject: UPS in a network References: <037401c34f8a$7ddf8e70$8701a8c0@descom.local> <3F1C3873.2010209@oreilly.com> Message-ID: <00ec01c35030$20a74030$8701a8c0@descom.local> Yes it speaks SNMP :-) I will give it a try ... thank you. Cheers, Claus ----- Original Message ----- From: "Bob Amen" To: "Claus Helbing" Cc: Sent: Monday, July 21, 2003 9:01 PM Subject: Re: [Nagios-users] UPS in a network > Claus Helbing wrote: > > Hello, > > > > I have another question ... > > I have 2 UPS's in the network that I introduced as host and > > these ping fine. Then I found the check_ups plugin that can > > talk to the "Newtork UPS Tools" of http://www.exploits.org/nuts/ > > But it seems that the NUTS speak only to UPSs connected to a serial port :-( > > > > Is there anyone that managed to get more information that just > > ping of an UPS? Mine is an APEC SMART UPS. > > > If your SMART UPS has an SNMP process running, you can use > check_apc_ups.pl which is in the contrib directory in the nagios plugins > distribution. I'm using that script and it works quite well. It even > reports the time remaining on battery. > > Cheers, > Bob > -- > Bob Amen > O'Reilly & Associates, Inc. > http://www.ora.com/ > http://www.oreilly.com/ > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Tue Jul 22 11:35:50 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Tue, 22 Jul 2003 21:35:50 +1200 Subject: Saintmap for Nagios In-Reply-To: <20030721145113.15072.qmail@linuxmail.org> References: <20030721145113.15072.qmail@linuxmail.org> Message-ID: <200307220930.h6M9U6Y11529@spectre.freeparking.co.nz> Hi, Has anyone ever hacked at Saintmap to make it usable for Nagios? Cheers jamie ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco at lanzotti.com Tue Jul 22 12:14:47 2003 From: marco at lanzotti.com (Marco Lanzotti) Date: Tue, 22 Jul 2003 12:14:47 +0200 Subject: check skipped at scheduled time In-Reply-To: <1058369859.1965.1.camel@elvis> References: <20030716122342.GA11010@yourvoice.com> <1058369859.1965.1.camel@elvis> Message-ID: <20030722101447.GA30934@yourvoice.com> On Wed, Jul 16, 2003 at 08:37:39AM -0700, Bryan Irvine wrote: > My guess is you are looking at the scheduler and seeing things that have > already happened. The checks aren't removed from the list just because > they are in the past. Just wait for the last thing in the list to get > checked and it will refresh all on it's own. This is the Service State Information at 07-22-2003 12:09:00 : Current Status: OK Status Information: c:\ - total: 8.51 Gb - used: 2.08 Gb (24%) - free 6.43 Gb (76%) Current Attempt: 1/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 07-16-2003 15:43:58 Status Data Age: 5d 20h 24m 52s Next Scheduled Active Check: 07-16-2003 15:45:58 Latency: < 1 second Check Duration: < 1 second Last State Change: 06-26-2003 17:50:27 Current State Duration: 25d 18h 18m 23s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? NO Percent State Change: 0.00% In Scheduled Downtime? NO Last Update: 07-22-2003 12:08:49 Note "Last Check Time", "Next Scheduled Active Check" and "Last Update". I'm sure the service is not checked because the host is down! Ciao, Marco ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Tue Jul 22 12:55:15 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 22 Jul 2003 06:55:15 -0400 Subject: problems with fping plugin In-Reply-To: References: Message-ID: <1058871315.24837.6.camel@miles.debisschop.net> On Tue, 2003-07-22 at 04:42, Syed Zulhilmi Tuan Sharif wrote: > I face this problems when im trying to install Nagios1.1 for the 2nd > time... in the different box > the 1st time installation was succesfull. But for the second time i > had this problems .. i have try to solve it on whole day but still > cannot.. > My situation like this.. i have install fping to make sure i have no > problems when install nagios-plugin1.3.1. > > but when i run the ./configure script it said that fping still dont > install in my system (a)... but i have install it many times after i > get this notification ...(b) i have locate the fping and its have been > installed. But the problem still remain.. anyone can help me? > > (a) > checking for fping... no > ** Get fping from http://www.fping.com in order to make check_fping > plugin > > (b) > /usr/local/nagios/sbin/fping is /usr/local/nagios/sbin/ in your search path when you configure? You may also need to 'make distclean' > -------------------------------------------- > Second Question is about nagios-plugin in RPM format > - if i want to try this rpm , what about the ./configure script. ? > > Hope anyone can help me here If your system is looks like a typical RedHat 9 sustem, the RPMs should work - configure is run when the RPM is made. (If I let my system look unlike a RedHat 9 system, that will also cause problems, since I made the binary RPMs.) You can also rum 'rpmbuild -ta nagios-plugins-1.3.1.tar.gz to make your own RPMs. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKlisowski at era.pl Tue Jul 22 13:58:44 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Tue, 22 Jul 2003 13:58:44 +0200 Subject: Host definition: check_command Message-ID: <20AF50E5F611F84993722DC135DF00BC1B15FB@seth.corponet.era.pl> As documantaion for check_command says: "If you leave this argument blank, the host will not be checked - Nagios will always assume the host is up.". So I left this blank but when starting Nagios I receive an error "Could not add object property in file '/usr/local/nagios/etc/hosts.cfg'". Only with this argument filled nagios starting properly. What's wrong? -- Rafal ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Tue Jul 22 14:31:00 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 22 Jul 2003 20:31:00 +0800 Subject: configuring nrpe 2.0 In-Reply-To: <1058859664.1643.17.camel@darkstar.internal.designit.com.au> References: <200307221452.32703.jasmine.chua@securecirt.com> <1058859664.1643.17.camel@darkstar.internal.designit.com.au> Message-ID: <200307222031.04660.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > On Tuesday 22 July 2003 15:41, you wrote: > That's probably the double $$ signs in front of the ARG's > > Try removing one of them and see how you go. Hi Karl Thanks for your email. I tried it with a single '$' at first till I saw this link. Anyway, both ways dont work. Translate this link below in google to English. http://perso.ifsic.univ-rennes1.fr/angelini/GPL/NRPE/SECURITE.txt Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/HS6HNgvTa7Hj2AURAh+0AKCI5v597zES9L9BQSqnxkEGeqTjIgCdHRgE 7QihUnG5elVzd6vuNRpPwqM= =XtyZ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.eduardo at estacio.br Tue Jul 22 14:54:27 2003 From: c.eduardo at estacio.br (Eddy) Date: Tue, 22 Jul 2003 09:54:27 -0300 Subject: fork() error. The check will be rescheduled. References: Message-ID: <192c01c35050$62410560$31150a0a@estacio.domain> Hello i have this problem in my eventlog Warning: The check of service 'PING' on host 'smtp' could not be performed due to a fork() error. The check will be rescheduled. any can help ??? ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Tue Jul 22 15:20:18 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Tue, 22 Jul 2003 09:20:18 -0400 Subject: Host definition: check_command References: <20AF50E5F611F84993722DC135DF00BC1B15FB@seth.corponet.era.pl> Message-ID: <002801c35053$febf6690$f805ff0a@tekniq> If you leave it blank but still define the option, Nagios will die. Delete the entire line. ----- Original Message ----- From: "Klisowski Rafa?" To: Sent: Tuesday, July 22, 2003 7:58 Subject: [Nagios-users] Host definition: check_command As documantaion for check_command says: "If you leave this argument blank, the host will not be checked - Nagios will always assume the host is up.". So I left this blank but when starting Nagios I receive an error "Could not add object property in file '/usr/local/nagios/etc/hosts.cfg'". Only with this argument filled nagios starting properly. What's wrong? -- Rafal ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Tue Jul 22 15:17:55 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Tue, 22 Jul 2003 09:17:55 -0400 Subject: Any way to have Nagios send epages only when host or service is critical (not for warnings?) References: <004901c35013$dee92d50$0200a8c0@xavier> Message-ID: <001d01c35053$a9cbcfc0$f805ff0a@tekniq> The problem described does not have a work-around listed on any of those pages -- they are general references for basic configuration and information on how nagios works. What the original post stated and what I obliviously missed as well, was the fact that they wanted different rules to govern the pager notification than the email notification. Nagios' host and service notification_options filters globally for both email and pager notifications. The only true workaround would be to build a more advanced add-on to Nagios to handle notifications based on additional filters. I've seen talk of other notification apps around here... -Jason ----- Original Message ----- From: Brian Johnson To: nagios-users at lists.sourceforge.net Sent: Tuesday, July 22, 2003 1:41 Subject: Re: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) OK... I just started using Nagios last week and find it to be FANTASTIC. Even I know the answer to this one. RTFM!!! Services - http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service Hosts - http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host Notifications - http://nagios.sourceforge.net/docs/1_0/notifications.html This information is in the referenced documentation. Please read it before just bailing out to the list. ----- Original Message ----- From: sobrien at ci.bend.or.us To: nagios-users at lists.sourceforge.net Sent: Monday, July 21, 2003 2:23 PM Subject: Fw: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Anyone have a solution for the issue of wanting to be notified of warnings but only wanting to paged when the service/host goes critical? Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 ----- Forwarded by Steve OBrien/Bend on 07/21/2003 12:20 PM ----- "Jason Lancaster" 07/21/2003 09:50 AM To cc Subject Re: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Hmm, you've stumped me. I can think of work-arounds but I cannot think of a direct way to do this within Nagios. -You could add another contact and into contacts.cfg. Contact1: jlancaster Contact2: jlancaster-pager I would then define different host and service notification options for each. Personally, I never envisioned needing this but it's a major limitation on Nagios templates and in my current database implementation. Doh. -You could also write a wrapper for the pager notification command and search the $HOSTSTATE$ variable for critical notifications. -Additionally, you could take the second workaround a step further and create a more advanced contact notification module. I know I have seen discussions with regards to the development and use of more advanced notification systems before on this list. You might want to post a followup to your first post reiterating what you said to me below. (You're welcome to post what I wrote too) Let me know what you come up with. Jason Lancaster Intranet Administrator, Affinity Internet http://www.affinity.com ----- Original Message ----- From: sobrien at ci.bend.or.us To: Jason Lancaster Sent: Monday, July 21, 2003 12:21 Subject: Re: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) That appears to be a setting for notifying only when host is in a particular state. I want to know when the warning states occur but I only want them emailed, I do not want to be paged. I only want to be paged when it is critical. Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 "Jason Lancaster" 07/21/2003 09:21 AM To, cc SubjectRe: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Yes, this type of functionality defined in the contacts.cfg service_notification_options and host_notification_options. Read http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact ----- Original Message ----- From: sobrien at ci.bend.or.us To: nagios-users at lists.sourceforge.net Sent: Monday, July 21, 2003 11:35 Subject: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) I want to have nagios only page people when services or hosts are critical, I only want email when they are in a warning state. TIA Steve O'Brien -------------- next part -------------- An HTML attachment was scrubbed... URL: From r.ford at pindar.com Tue Jul 22 15:24:43 2003 From: r.ford at pindar.com (Rob Ford) Date: 22 Jul 2003 14:24:43 +0100 Subject: nrpe giving garbled information in status info Message-ID: <3141728682r.ford@pindar.com> Hopefully somebody will be able to help? I have installed Nagios 1.1 on a Sun 220R running Solaris 8, so far it is working really well and I have it monitoring public services on a number of servers. I am keen to start monitoring various private services and have installed the nrpe 1.8 client, I have looked through the various help files and forums and I'm pretty sure I have it running correctly. If I run ./check_nrpe - H eris -p 5666 it gives me a version If I run... ./check_nrpe -H eris -p 5666 -c rootdisk x??????U?h - this is what I get I am running nrpe as a daemon and I have tried installing version 2 but couldn't get it to compile. All the private plugins work fine when I run them locally on my nagios server. The servers are on the same LAN and there are no firewalls in between. I have looked through the maliing-lists and a couple of people have had the same problem, but haven't mentioned any resolution Can anyone help me? Regards Rob ********************************************************************** This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error, you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Security Warning: Please note that this email has been created in the knowledge that the internet email is not a 100% secure communications medium. We advise that you understand and observe this lack of security when emailing us. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. If you have received this email in error please notify: postmaster at pindar.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Jul 22 15:44:56 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 22 Jul 2003 08:44:56 -0500 Subject: Any way to have Nagios send epages only when host or service is critical (not for warnings?) In-Reply-To: <004901c35013$dee92d50$0200a8c0@xavier> References: <004901c35013$dee92d50$0200a8c0@xavier> Message-ID: <16157.16344.347804.401520@montanaro.dyndns.org> Steve> Anyone have a solution for the issue of wanting to be notified of Steve> warnings but only wanting to paged when the service/host goes Steve> critical? Brian> OK... I just started using Nagios last week and find it to be Brian> FANTASTIC. Even I know the answer to this one. RTFM!!! ... Brian> This information is in the referenced documentation. Please read Brian> it before just bailing out to the list. Perhaps the OP had already RTFM'd. It wasn't obvious to me how to go about doing this after looking at the docs you referenced. I see mentions of lots of filters which the notification must pass through, but nothing jumps out at me as a way to establish a filter so that I am paged only if the event is critical, but sent email for warnings and critical events. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From info at aih.de Tue Jul 22 15:48:47 2003 From: info at aih.de (AIH Service GmbH) Date: Tue, 22 Jul 2003 15:48:47 +0200 Subject: Shedule Checking a Group together Message-ID: <017d01c35057$f9c10820$6a01a8c0@arcom1> hello list, i'm quite new to nagios and i have a problem with is not described in the manual or faq. is it possible to force nagios to do all checks for a hostgroup within a few seconds? the background is that i'm monitoring some remote servers via isdn dialup line. the check should be done every hour an all checks should be done with in 20 or 30 seconds to prevend our router to dial up to often. is there a solution to do this. if not i have to setup a further nagios server within the remote network. 2. problem is the ping test via the isdn dial up line. is it possible to ignore the fist 2 pings, to let the route establish the connection? thank you andreas husemann ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Rennie at Hess.com Tue Jul 22 16:10:04 2003 From: Steve.Rennie at Hess.com (Rennie, Steve) Date: Tue, 22 Jul 2003 15:10:04 +0100 Subject: 2 nagios servers, 1 website? Message-ID: We would like to set-up 2 nagios servers each monitoring a geographically local group of clients. Given this set-up would it be possible to view all information from a single website? Any advice /experience appreciated. Thanks Steve Rennie Global IT Infrastructure Technical Computing Amerada Hess Ltd, Scott House, Hareness Road, Altens, Aberdeen AB1 4LE Tel: +44 (0)1224 243385 Mobile: 07880 786944 Email: steve.rennie at hess.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasonm at kelman.com Tue Jul 22 16:20:41 2003 From: jasonm at kelman.com (Jason Marshall) Date: Tue, 22 Jul 2003 08:20:41 -0600 (MDT) Subject: nrpe giving garbled information in status info In-Reply-To: <3141728682r.ford@pindar.com> References: <3141728682r.ford@pindar.com> Message-ID: > ./check_nrpe -H eris -p 5666 -c rootdisk > x??????U?h - this is what I get I got this while I had the nrpe-based check running on the server, but no check_whatever script was present on the machine that was supposed to be running it. Replace check_whatever with whatever the script in nrpe.cfg is called for rootdisk service... --- 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: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From r.ford at pindar.com Tue Jul 22 17:06:43 2003 From: r.ford at pindar.com (Rob Ford) Date: 22 Jul 2003 16:06:43 +0100 Subject: nrpe giving garbled information in status info Message-ID: <3141734802r.ford@pindar.com> I've got the check_disk script on the target machine in /usr/local/nagios/libexec/check_disk and the rootdisk line in my nrpe.cfg is as follows: command[rootdisk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p / Is that what you mean? Regards Rob On 7/22/2003 3:20 PM, Jason Marshall wrote: >> ./check_nrpe -H eris -p 5666 -c rootdisk >> x??????U?h - this is what I get > >I got this while I had the nrpe-based check running on the server, >but no >check_whatever script was present on the machine that was supposed >to be >running it. Replace check_whatever with whatever the script in nrpe.cfg >is called for rootdisk service... > >--- >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 email and its attachments are intended for the above named only and may be confidential. If they have come to you in error, you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Security Warning: Please note that this email has been created in the knowledge that the internet email is not a 100% secure communications medium. We advise that you understand and observe this lack of security when emailing us. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. If you have received this email in error please notify: postmaster at pindar.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason.payne at iland.com Tue Jul 22 17:15:27 2003 From: jason.payne at iland.com (Jason Payne - iLand Internet Solutions Corp.) Date: Tue, 22 Jul 2003 10:15:27 -0500 Subject: 2 nagios servers, 1 website? Message-ID: <7A626FF425518246801C933014AA98F009D3D8@hou-ex01.IHTX.ILAND.COM> The next step would be web integrated nagios server failover status and centralized nagios command issuing. Wouldn't that rule... weezle -----Original Message----- From: Rennie, Steve [mailto:Steve.Rennie at Hess.com] Sent: Tuesday, July 22, 2003 9:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 2 nagios servers, 1 website? We would like to set-up 2 nagios servers each monitoring a geographically local group of clients. Given this set-up would it be possible to view all information from a single website? Any advice /experience appreciated. Thanks Steve Rennie Global IT Infrastructure Technical Computing Amerada Hess Ltd, Scott House, Hareness Road, Altens, Aberdeen AB1 4LE Tel: +44 (0)1224 243385 Mobile: 07880 786944 Email: steve.rennie at hess.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasonm at kelman.com Tue Jul 22 17:21:17 2003 From: jasonm at kelman.com (Jason Marshall) Date: Tue, 22 Jul 2003 09:21:17 -0600 (MDT) Subject: nrpe giving garbled information in status info In-Reply-To: <3141734802r.ford@pindar.com> References: <3141734802r.ford@pindar.com> Message-ID: > I've got the check_disk script on the target machine in /usr/local/nagios/libexec/check_disk and the rootdisk line in my nrpe.cfg is as follows: > command[rootdisk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p / > Is that what you mean? Yes, that's what I mean. You're 101% sure it's in the place you say it is, is executable, and spits out non-gibberish when you run it on the target machine, right? > > Regards > Rob > > On 7/22/2003 3:20 PM, Jason Marshall wrote: > >> ./check_nrpe -H eris -p 5666 -c rootdisk > >> x??????U?h - this is what I get > > > >I got this while I had the nrpe-based check running on the server, > >but no > >check_whatever script was present on the machine that was supposed > >to be > >running it. Replace check_whatever with whatever the script in nrpe.cfg > >is called for rootdisk service... > > > >--- > >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 email and its attachments are intended for the above > named only and may be confidential. If they have come to > you in error, you must take no action based on them, nor > must you copy or show them to anyone; please reply to this > email and highlight the error. > Security Warning: Please note that this email has been > created in the knowledge that the internet email is not a > 100% secure communications medium. We advise that you > understand and observe this lack of security when emailing us. > Viruses: Although we have taken steps to ensure that this > email and attachments are free from any virus, we advise > that in keeping with good computing practice the recipient > should ensure they are actually virus free. > If you have received this email in error please notify: > postmaster at pindar.com > ********************************************************************** > --- 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: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brianj at nvc.net Tue Jul 22 17:34:14 2003 From: brianj at nvc.net (Brian Johnson) Date: Tue, 22 Jul 2003 10:34:14 -0500 Subject: Any way to have Nagios send epages only when host or service is critical (not for warnings?) In-Reply-To: References: Message-ID: <004001c35066$b4925100$fa15a8c0@NVCLT001> I disagree. I think the answer is there and can be easily done. i.e. define contact{ contact_name steve-pager alias Steve's pager service_notification_period 24x7 host_notification_period 24x7 service_notification_options c host_notification_options d service_notification_commands notify-by-pager host_notification_commands host-notify-by-pager pager 555-5555 at steves.pager.gateway.tld } define contact{ contact_name steve-email alias Steve's email service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email steve at email.tld } I think you want an easier way to do it. I would agree that probably could be easier. I'm of the mind that posting to a list for advice on FREE software should be done only when a bug is found or when the documentation lacks any solution. Just my 2c - Brian J. -----Original Message----- From: sobrien at ci.bend.or.us [mailto:sobrien at ci.bend.or.us] Sent: Tuesday, July 22, 2003 9:46 AM To: Brian Johnson Subject: Re: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) You need to RTFQ, it's not covered in the manual. Steve O'Brien "Brian Johnson" 07/21/2003 08:34 PM To cc SubjectRe: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) OK... I just started using Nagios last week and find it to be FANTASTIC. Even I know the answer to this one. RTFM!!! Services - http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service Hosts - http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host Notifications - http://nagios.sourceforge.net/docs/1_0/notifications.html This information is in the referenced documentation. Please read it before just bailing out to the list. ----- Original Message ----- From: sobrien at ci.bend.or.us To: nagios-users at lists.sourceforge.net Sent: Monday, July 21, 2003 2:23 PM Subject: Fw: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Anyone have a solution for the issue of wanting to be notified of warnings but only wanting to paged when the service/host goes critical? Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 ----- Forwarded by Steve OBrien/Bend on 07/21/2003 12:20 PM ----- "Jason Lancaster" 07/21/2003 09:50 AM To cc SubjectRe: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Hmm, you've stumped me. I can think of work-arounds but I cannot think of a direct way to do this within Nagios. -You could add another contact and into contacts.cfg. Contact1: jlancaster Contact2: jlancaster-pager I would then define different host and service notification options for each. Personally, I never envisioned needing this but it's a major limitation on Nagios templates and in my current database implementation. Doh. -You could also write a wrapper for the pager notification command and search the $HOSTSTATE$ variable for critical notifications. -Additionally, you could take the second workaround a step further and create a more advanced contact notification module. I know I have seen discussions with regards to the development and use of more advanced notification systems before on this list. You might want to post a followup to your first post reiterating what you said to me below. (You're welcome to post what I wrote too) Let me know what you come up with. Jason Lancaster Intranet Administrator, Affinity Internet http://www.affinity.com ----- Original Message ----- From: sobrien at ci.bend.or.us To: Jason Lancaster Sent: Monday, July 21, 2003 12:21 Subject: Re: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) That appears to be a setting for notifying only when host is in a particular state. I want to know when the warning states occur but I only want them emailed, I do not want to be paged. I only want to be paged when it is critical. Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 "Jason Lancaster" 07/21/2003 09:21 AM To, cc SubjectRe: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) Yes, this type of functionality defined in the contacts.cfg service_notification_options and host_notification_options. Read http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact ----- Original Message ----- From: sobrien at ci.bend.or.us To: nagios-users at lists.sourceforge.net Sent: Monday, July 21, 2003 11:35 Subject: [Nagios-users] Any way to have Nagios send epages only when host or service is critical (not for warnings?) I want to have nagios only page people when services or hosts are critical, I only want email when they are in a warning state. TIA Steve O'Brien ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jul 22 18:04:12 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 22 Jul 2003 10:04:12 -0600 Subject: Changing statusmap.cgi Message-ID: It's been requested that I make the icons in statusmap.cgi larger, so that they can be viewed from across the room on a 42" flatpanel in the NOC. This was relatively simple, I just changed the scaling factor in statusmap.c, recompiled the cgis, and copied statusmap.cgi to the sbin/ directory. Now I've had a request to make the icons change color when a host is down. This looks to be a little more difficult. Looking through statusmap.c, I can see the code that causes the links to change color, although I don't think this would be feasible with pre-cooked images. However, if I created images such as router_blue.png and router_red.png, it probably wouldn't be to hard to code in the changes to switch between images based on the status of the host, right? This is definitely beyond me, perhaps someone else has already done such a thing, or is right now thinking 'Oh yeah, that's easy enough to do.'? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Indrani.Kar at geind.ge.com Tue Jul 22 18:10:58 2003 From: Indrani.Kar at geind.ge.com (Kar, Indrani (EM, GECIS)) Date: Tue, 22 Jul 2003 12:10:58 -0400 Subject: help !! Message-ID: <69AD8DBF0A5AD711BC2C000347420525053DF687@hyd10xbindge.geind.ge.com> Hi, I am pretty new to Linux . I had installed Nagios on Redhat and had it working but had to shift to Gentoo. Once I have shifted , the external commands are not working . Everytime I try to submit it gives TCP error /communication problem . Have checked and found that Apache is running under "nagios" and have configured the permissions on "rw" accordingly but it does not work .. if anyone has any suggestions .. it would be great . I also compared the configs of httpd.conf ( in redhat) and apache.conf ( in gentoo) and they r the same ... Thanks Indrani ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc at suryo.com Tue Jul 22 18:32:12 2003 From: luc at suryo.com (Luc I. Suryo) Date: Tue, 22 Jul 2003 10:32:12 -0600 Subject: nrpe giving garbled information in status info In-Reply-To: <3141734802r.ford@pindar.com> References: <3141734802r.ford@pindar.com> Message-ID: <20030722163212.GA18706@gizmo.suryo.com> Rob Ford wrote at Tue, Jul 22, 2003 at 04:06:43PM +0100: > I've got the check_disk script on the target machine in /usr/local/nagios/libexec/check_disk and the rootdisk line in my nrpe.cfg is as follows: > > command[rootdisk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p / hm that should have been (not?) command[rootdisk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/.../... is you try the command /usr/local/nagios/libexec/check_disk -w 10% -c 5% -p / on the client what do you get? mine looks like this: command[check_disk_system]=/usr/local/etc/nagios/libexec/check_disk -w 15% -c 5% --partition=/dev/ds k/c0t0d0s0 we using Sun OS > > On 7/22/2003 3:20 PM, Jason Marshall wrote: > >> ./check_nrpe -H eris -p 5666 -c rootdisk > >> x??????U?h - this is what I get > > > >I got this while I had the nrpe-based check running on the server, > >but no > >check_whatever script was present on the machine that was supposed > >to be > >running it. Replace check_whatever with whatever the script in nrpe.cfg > >is called for rootdisk service... > > > >--- > >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 email and its attachments are intended for the above > named only and may be confidential. If they have come to > you in error, you must take no action based on them, nor > must you copy or show them to anyone; please reply to this > email and highlight the error. > Security Warning: Please note that this email has been > created in the knowledge that the internet email is not a > 100% secure communications medium. We advise that you > understand and observe this lack of security when emailing us. > Viruses: Although we have taken steps to ensure that this > email and attachments are free from any virus, we advise > that in keeping with good computing practice the recipient > should ensure they are actually virus free. > If you have received this email in error please notify: > postmaster at pindar.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null --- End of r.ford at pindar.com's quote --- -- Kind regards, Luc Suryo - The box says: Win98, WinNT or BETTER. That's why I installed Solaris x86. - ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Tue Jul 22 19:46:13 2003 From: td3201 at yahoo.com (Terry) Date: Tue, 22 Jul 2003 10:46:13 -0700 (PDT) Subject: (no subject) Message-ID: <20030722174613.46572.qmail@web80508.mail.yahoo.com> Hi, I have a service that has a scheduled maintenence period from 1am-4am. During this maintenence period, I still want notifications to go out but only to a certain contact, not the normal contact. Then when the maintenence period is over, I want it to go back to normal. Right now, I am accomplishing this with two services. I want to consolidate them into 1: I have two timeperiods for this piece: define timeperiod{ timeperiod_name nonmaintenence alias Non-Maintenence Period sunday 00:00-01:00,04:15-23:59 monday 00:00-01:00,04:15-23:59 tuesday 00:00-01:00,04:15-23:59 wednesday 00:00-01:00,04:15-23:59 thursday 00:00-01:00,04:15-23:59 friday 00:00-01:00,04:15-23:59 saturday 00:00-01:00,04:15-23:59 } define timeperiod{ timeperiod_name maintenence alias Maintenence Period sunday 01:00-04:15 monday 01:00-04:15 tuesday 01:00-04:15 wednesday 01:00-04:15 thursday 01:00-04:15 friday 01:00-04:15 saturday 01:00-04:15 } Here are my services: define service{ use generic-service host_name foows01 service_description SLS-Non-Maintenence is_volatile 0 check_period nonmaintenence max_check_attempts 1 contact_groups warning,critical notification_interval 5 notification_period nonmaintenence notification_options w,u,c,r check_command check_sls!foo } define service{ use generic-service host_name foows01 service_description SLS-Maintenence is_volatile 0 check_period maintenence max_check_attempts 1 contact_groups warning-critical-no-pager notification_interval 5 notification_period maintenence notification_options w,u,c,r check_command check_sls!foo } >From this information, you can see that I am sending the notifications to different groups based on the service being ran. Basically, I want to send out notifications based on the timeperiod....is this possible? Thanks! ===== Terry __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doc at neonova.net Tue Jul 22 20:06:54 2003 From: doc at neonova.net (Jeff Smith) Date: Tue, 22 Jul 2003 14:06:54 -0400 Subject: Standard Nagios Load AVG? Message-ID: <3F1D7D3E.1000804@neonova.net> I've got Nagios up and running on a Dual PIII 1.2 system with 1gig RAM. I'm currently monitoring about 200 hosts with 1000 services. The load on this server varies anywhere from 5.00 to 198.00 (highest I've witnessed it) with a 20 minute average of around 40.00. As I've not seen anyone else on the list mention their respective load averages on their boxen I was just wondering if this was normal. Thanks, Jeff -- Jeffrey Smith Operations Neonova Network Services doc at neonova.net 919.460.3330 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Tue Jul 22 19:44:02 2003 From: rob at capband.net (Rob Nelson) Date: Tue, 22 Jul 2003 13:44:02 -0400 Subject: Any way to have Nagios send epages only when host or service is critical (not for warnings?) In-Reply-To: <004001c35066$b4925100$fa15a8c0@NVCLT001> References: Message-ID: <5.2.1.1.0.20030722134231.015aba90@mail.capband.net> >I'm of the mind that posting to a list for advice on FREE software should be >done only when a bug is found or when the documentation lacks any solution. > >You need to RTFQ, it's not covered in the manual. I think the problem is that the manual covers the answer, but doesn't give example configs. That's what someone like me needs to help out. It would probably help everyone who uses the stuff - we're all very busy, and if we can save 30 minutes for everyone in learning how to do something, that's worth a few hours up front. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Tue Jul 22 20:26:34 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Tue, 22 Jul 2003 14:26:34 -0400 Subject: Standard Nagios Load AVG? Message-ID: <5F29693503507B4FB4032686ADF862671ACFCA@mtviny25.mtvi.com> I am running a distributed environment (one collector with 2 slaves using nsca). I have over 300 hosts and 2600 service checks. The servers are about the same specs as yours... my load never goes above 1.00 on any of the hosts. Before I added a second slave I did have load issues on the collector which was doing both active and passive checks... this resulted from stale nagios processes after a restart. When you restart nagios do you check for stale processes that need to be killed? -----Original Message----- From: Jeff Smith [mailto:doc at neonova.net] Sent: Tuesday, July 22, 2003 2:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Standard Nagios Load AVG? I've got Nagios up and running on a Dual PIII 1.2 system with 1gig RAM. I'm currently monitoring about 200 hosts with 1000 services. The load on this server varies anywhere from 5.00 to 198.00 (highest I've witnessed it) with a 20 minute average of around 40.00. As I've not seen anyone else on the list mention their respective load averages on their boxen I was just wondering if this was normal. Thanks, Jeff -- Jeffrey Smith Operations Neonova Network Services doc at neonova.net 919.460.3330 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlin at fxcm.com Tue Jul 22 21:03:40 2003 From: mlin at fxcm.com (FXCM - Mark Lin) Date: Tue, 22 Jul 2003 15:03:40 -0400 Subject: Web based configuration tools for Nagios is online now Message-ID: Hi group, I have mentioned in last week about the web based configuration tool I created for my company. I got some people showing interest, so I took the time to separate it out from my company's intranet and make it stand alone. I have to say this first tho. The tool was designed for my company's nagios implementation. The scripts I designed probably would NOT work right out of the box for you(Instruction for modifying is on the site). I setup a forum on the site so you can post your question and suggestion, I'll try my best to accomodate people's request. So, here it is: http://www.topdawgs.com/nagios/ Cheers, Mark Lin _____________________________________________________________________________________________________________________________ FXCM, L.L.C.? assumes no responsibility for errors, inaccuracies or omissions in these materials. FXCM, L.L.C.? does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. FXCM, L.L.C.? shall not be liable for any special, indirect, incidental, or consequential damages, including without limitation losses, lost revenues, or lost profits that may result from these materials. All information contained in this e-mail is strictly confidential and is only intended for use by the recipient. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Jul 22 22:20:15 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Tue, 22 Jul 2003 15:20:15 -0500 Subject: notification escalation...? Message-ID: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#serviceescalation http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#hostgroupescalation jc -----Original Message----- From: nemir nemiria [mailto:nemir at mindless.com] Sent: Monday, July 21, 2003 10:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notification escalation...? Hi there. I understand that I can set notifications to recur at the notification interval. This is good. I am wondering if I can take this one step further and escalate the notification if the hard non-OK state is not resolved within a certain period, e.g, one hour? if it isn't presently implemented, could it be? thanks and regards, nemir -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Jul 22 22:24:01 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Tue, 22 Jul 2003 15:24:01 -0500 Subject: fork() error. The check will be rescheduled. Message-ID: Sounds like your Nagios host is running out of resources. How many hosts/services are you monitoring? What CPU does your Nagios host have? Memory? Swap? You might want to review this page: http://nagios.sourceforge.net/docs/1_0/tuning.html jc -----Original Message----- From: Eddy [mailto:c.eduardo at estacio.br] Sent: Tuesday, July 22, 2003 7:54 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] fork() error. The check will be rescheduled. Hello i have this problem in my eventlog Warning: The check of service 'PING' on host 'smtp' could not be performed due to a fork() error. The check will be rescheduled. any can help ??? ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Tue Jul 22 22:45:37 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Tue, 22 Jul 2003 16:45:37 -0400 Subject: controlling host check sensitivity Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604C990@patton.infosysnetworks.com> I need some ideas on slowing down the notification process when a service fails. After reading and re-reading the docs, it looks like Nagios immediately starts ping the host if a service fails. It does this rapidfire up to the max_check_attempts setting. Each check takes about 10 seconds, so if you have max_check_attempts set to 10, it take 100 seconds before sending a notification. The sites I am monitoring are connected via microwave and are subject to rain fade, etc. The host is not really down. I have all the parents setup, but the upstream hosts (routers) have not failed yet. What I want to do is to give the hosts 3 -5 minutes to recover before sending notifications. Anyone have an idea? One idea was to set the max_check_attempts to 30. But no other checks execute until the state of the host is determined. Once it recovers or fails finally, all my other service checks show as stale and then immediately execute causing other problems. Please send me your ideas. Brian. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoandrade at deloitte.com.br Tue Jul 22 23:08:44 2003 From: leoandrade at deloitte.com.br (Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)) Date: Tue, 22 Jul 2003 18:08:44 -0300 Subject: check_nrpe SSL error Message-ID: <190E5F64C065D511B7120002555822CE0447B532@brspo0400.br.deloitte.com> Hi all, I'm getting SSL errors all the time i try to make check_nrpe 2.0.. first, in a redhat box with ssl 0.9.6 it did'nt work, maybe because of the openssl version. now in a redhat 9 box with ssl 0.9.7a i got errors again.. if i compile check_nrpe without ssl and try to use it with nrpe_nt i get "could not complete ssl handshake" error here's the redhat 9 error: [root at ftp nrpe-2.0b4]# make all cd ./src/; make ; cd .. make[1]: Entering directory `/root/nrpe-2.0b4/src' gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/kerberos/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl nrpe.c utils.c /tmp/cczhgDDM.o(.text+0x6): In function `get_dh512': /root/nrpe-2.0b4/src/dh.h:19: undefined reference to `DH_new' /tmp/cczhgDDM.o(.text+0x1d):/root/nrpe-2.0b4/src/dh.h:20: undefined reference to `BN_bin2bn' /tmp/cczhgDDM.o(.text+0x31):/root/nrpe-2.0b4/src/dh.h:21: undefined reference to `BN_bin2bn' /tmp/cczhgDDM.o(.text+0x4b):/root/nrpe-2.0b4/src/dh.h:23: undefined reference to `DH_free' /tmp/cczhgDDM.o(.text+0x213): In function `main': /root/nrpe-2.0b4/src/nrpe.c:252: undefined reference to `SSL_CTX_free' /tmp/cczhgDDM.o(.text+0x2ca):/root/nrpe-2.0b4/src/nrpe.c:188: undefined reference to `SSL_library_init' /tmp/cczhgDDM.o(.text+0x2cf):/root/nrpe-2.0b4/src/nrpe.c:189: undefined reference to `SSL_library_init' /tmp/cczhgDDM.o(.text+0x2d4):/root/nrpe-2.0b4/src/nrpe.c:190: undefined reference to `SSLv23_server_method' /tmp/cczhgDDM.o(.text+0x2de):/root/nrpe-2.0b4/src/nrpe.c:191: undefined reference to `SSL_load_error_strings' /tmp/cczhgDDM.o(.text+0x2ec):/root/nrpe-2.0b4/src/nrpe.c:192: undefined reference to `SSL_CTX_new' /tmp/cczhgDDM.o(.text+0x306):/root/nrpe-2.0b4/src/nrpe.c:197: undefined reference to `SSL_CTX_set_cipher_list' /tmp/cczhgDDM.o(.text+0x31d):/root/nrpe-2.0b4/src/nrpe.c:199: undefined reference to `SSL_CTX_ctrl' /tmp/cczhgDDM.o(.text+0x326):/root/nrpe-2.0b4/src/nrpe.c:200: undefined reference to `DH_free' /tmp/cczhgDDM.o(.text+0xf73): In function `handle_connection': /root/nrpe-2.0b4/src/nrpe.c:779: undefined reference to `SSL_shutdown' /tmp/cczhgDDM.o(.text+0xf7f):/root/nrpe-2.0b4/src/nrpe.c:810: undefined reference to `SSL_free' /tmp/cczhgDDM.o(.text+0x1121):/root/nrpe-2.0b4/src/nrpe.c:930: undefined reference to `SSL_shutdown' /tmp/cczhgDDM.o(.text+0x112d):/root/nrpe-2.0b4/src/nrpe.c:931: undefined reference to `SSL_free' /tmp/cczhgDDM.o(.text+0x1170):/root/nrpe-2.0b4/src/nrpe.c:926: undefined reference to `SSL_write' /tmp/cczhgDDM.o(.text+0x13be):/root/nrpe-2.0b4/src/nrpe.c:764: undefined reference to `SSL_shutdown' /tmp/cczhgDDM.o(.text+0x13ca):/root/nrpe-2.0b4/src/nrpe.c:765: undefined reference to `SSL_free' /tmp/cczhgDDM.o(.text+0x13f8):/root/nrpe-2.0b4/src/nrpe.c:754: undefined reference to `SSL_read' /tmp/cczhgDDM.o(.text+0x140b):/root/nrpe-2.0b4/src/nrpe.c:725: undefined reference to `SSL_new' /tmp/cczhgDDM.o(.text+0x1424):/root/nrpe-2.0b4/src/nrpe.c:726: undefined reference to `SSL_set_fd' /tmp/cczhgDDM.o(.text+0x1430):/root/nrpe-2.0b4/src/nrpe.c:727: undefined reference to `SSL_accept' /tmp/cczhgDDM.o(.text+0x1447):/root/nrpe-2.0b4/src/nrpe.c:728: undefined reference to `SSL_get_error' collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/root/nrpe-2.0b4/src' *** Compile finished *** If the NRPE daemon and client compiled without any errors, you can continue with installation. The NRPE daemon and client binaries are located in the src/ subdirectory. ** If this is your monitoring host ** - Copy the check_nrpe client to the directory that contains your Nagios plugins. - Create a command definition in your Nagios config file for the NRPE client. See the README file for more info on doing this. ** If this host will be running the NRPE daemon ** - Copy the nrpe daemon to /usr/sbin, /usr/local/nagios or wherever you feel it fits best. - Copy the sample nrpe.cfg config file to /etc, /usr/local/nagios or wherever you feel it fits best. - Modify the /etc/services file and configure NRPE to run under inetd, xinetd, or as a standalone daemon. See the README file for more info on doing this. at redhat 7.3 i got this: [root at monitor nrpe-2.0b4]# make all cd ./src/; make ; cd .. make[1]: Entering directory `/root/nrpe-2.0b4/src' gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/kerberos/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl nrpe.c utils.c In file included from ../common/config.h:190, from ../common/common.h:24, from nrpe.c:21: /usr/local/ssl/include/openssl/rsa.h:69:30: openssl/ossl_typ.h: No such file or directory In file included from ../common/config.h:192, from ../common/common.h:24, from nrpe.c:21: /usr/local/ssl/include/openssl/dh.h:71:30: openssl/ossl_typ.h: No such file or directory In file included from ../common/config.h:194, from ../common/common.h:24, from nrpe.c:21: /usr/local/ssl/include/openssl/ssl.h:179:26: openssl/kssl.h: No such file or directory In file included from ../common/config.h:196, from ../common/common.h:24, from nrpe.c:21: /usr/local/ssl/include/openssl/rand.h:63:30: openssl/ossl_typ.h: No such file or directory In file included from ../common/config.h:190, from ../common/common.h:24, from utils.c:32: /usr/local/ssl/include/openssl/rsa.h:69:30: openssl/ossl_typ.h: No such file or directory In file included from ../common/config.h:192, from ../common/common.h:24, from utils.c:32: /usr/local/ssl/include/openssl/dh.h:71:30: openssl/ossl_typ.h: No such file or directory In file included from ../common/config.h:194, from ../common/common.h:24, from utils.c:32: /usr/local/ssl/include/openssl/ssl.h:179:26: openssl/kssl.h: No such file or directory In file included from ../common/config.h:196, from ../common/common.h:24, from utils.c:32: /usr/local/ssl/include/openssl/rand.h:63:30: openssl/ossl_typ.h: No such file or directory make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/root/nrpe-2.0b4/src' *** Compile finished *** If the NRPE daemon and client compiled without any errors, you can continue with installation. The NRPE daemon and client binaries are located in the src/ subdirectory. ** If this is your monitoring host ** - Copy the check_nrpe client to the directory that contains your Nagios plugins. - Create a command definition in your Nagios config file for the NRPE client. See the README file for more info on doing this. ** If this host will be running the NRPE daemon ** - Copy the nrpe daemon to /usr/sbin, /usr/local/nagios or wherever you feel it fits best. - Copy the sample nrpe.cfg config file to /etc, /usr/local/nagios or wherever you feel it fits best. - Modify the /etc/services file and configure NRPE to run under inetd, xinetd, or as a standalone daemon. See the README file for more info on doing this. any ideas ??? Thanks in advance, Leonardo ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Jul 23 00:19:28 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P) Date: Tue, 22 Jul 2003 17:19:28 -0500 Subject: fork() error. The check will be rescheduled. Message-ID: Please follow-up all replies to the nagios-users list. fork() isn't a bug in Nagios at all. It's how well (or how poorly) you've tuned Nagios. And there's no practical limit to the number of hosts or services that you define; your system will run out of steam long before you hit any such limit. It doens't sound like you've got too many hosts or services defined. However, it's possible that it's checking too frequently. Please refer to the tuning link I provided in my first e-mail. And make absolutely certain that when you stop Nagios, that *all* the nagios procs have exited. HTH. jc -----Original Message----- From: Eddy [mailto:c.eduardo at estacio.br] Sent: Tuesday, July 22, 2003 4:46 PM To: Carroll, Jim P Subject: Re: [Nagios-users] fork() error. The check will be rescheduled. Hello, Tks for your help! Sorry my bad english because i'm brazilian man :) for() error message is a "bug" for nagios??? have a limit host for check? I have 384 hosts! I have this Checked 409 services. Checked 384 hosts. Checked 74 host groups. Checked 23 contacts. Checked 15 contact groups. Checked 2 service escalations. Checked 2 host group escalations. 1GB Memory , 2 CPU's, 2GB SWAP, I'm using hp-ux (UNIX) Sem mais, Carlos Eduardo Dionizio Analista de Suporte - UNIX Universidade Est?cio de S? Diretoria de Tecnologia da Informa??o ----- Original Message ----- From: "Carroll, Jim P" To: "Eddy" ; Sent: Tuesday, July 22, 2003 5:24 PM Subject: RE: [Nagios-users] fork() error. The check will be rescheduled. > Sounds like your Nagios host is running out of resources. > > How many hosts/services are you monitoring? What CPU does your Nagios > host have? Memory? Swap? > > You might want to review this page: > > http://nagios.sourceforge.net/docs/1_0/tuning.html > > jc > > -----Original Message----- > From: Eddy [mailto:c.eduardo at estacio.br] > Sent: Tuesday, July 22, 2003 7:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] fork() error. The check will be rescheduled. > > > Hello i have this problem in my eventlog > > Warning: The check of service 'PING' on host 'smtp' could not be performed > due to a fork() error. The check will be rescheduled. > any can help ??? > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swhitney at journyx.com Wed Jul 23 01:01:14 2003 From: swhitney at journyx.com (Scott Whitney) Date: Tue, 22 Jul 2003 18:01:14 -0500 Subject: Parent/child config Message-ID: <015a01c350a5$27096960$aa64a8c0@journyx2000.int.journyx.com> Today, my local Cisco router went down. Call it hw-router. :) Well, I have a bunch of machines defined as "coloc-host". Here's what the foo.cfg file says: ------------------ define host { use coloc-host host_name foo alias foo address vvv.xxx.yyy.zzz } ----------------- Here's what the hosts.cfg file says: ------------------ define host { name coloc-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 1 notification_period 24x7 notification_options d,u,r parents sw-router, hw-router, coloc-router register 0 } -------------------------- Well, when hw-router went down, when it came back up, I got about a dozen pages telling me that each of the coloc hosts was down, and then back up. I thought it wasn't supposed to do this to me, based on the config above. Any help would be appreciated. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jul 23 04:40:17 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 23 Jul 2003 12:40:17 +1000 Subject: RFC 1 Check_Open_Connections 2 SLA attribute for templates. In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Tue, Jul 22, 2003 at 11:06:09AM -0700 References: Message-ID: <20030723124009.A55430@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to request your comments on 1 A plugin to check that the number of open TCP connections is less than a threshold. This plugin is inspired by the Orcallator monitor of 'Number of Open TCP connections' and made essential by my employers famous name application server (name withheld since this is a family program) dieing early one morning when the hosts limit was breached. It is . implemented in Perl . not portable (basically its a Netstat filter that needs to know the Netstat format of the host) . easy to hack because it is so-so thin Here is the sample output (Sol version). [asterix]/usr/home/nagios$ perl/check_open_connections Ok. Number of open TCP connections (362) less than threshold. Top connectors: 10.0.100.201 108, 10.0.100.65 49, 192.168.101.210 27, 192.168.102.210 24, 192.168.103.210 22. [asterix]/usr/home/nagios$ perl/check_open_connections -h check_open_connections (netsaint-plugins 1.2.9-4) 1.3 The netsaint 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) 2003 Stanley Hopcroft Perl check of open TCP connections Returns OK if the number of open TCP Connections (ie those in the etsablished state) is less than or equal to MAX_OPEN_CONNECTIONS Usage: check_open_connections -V, --version Plugin version. -d, --debug Debugging output. -h, --help This stuff. Send email to netsaint-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to netsaintplug-devel at lists.sourceforge.net [asterix]/usr/home/nagios$ uname -a SunOS asterix 5.8 Generic_108528-20 sun4u sparc 2 A new SLA attribute to the template configuration. The SLA attribute would have values like those of the check period or notification period (eg 24x7, workhours etc) or plain percentages (eg 99.99) It is for add-on projects to be able to compute SLA conformance by comparing the Nag measured availability with that required by the SLA. Computing SLA conformance then becomes 1 either compare the OK% (from the Nag avail.cgi) with the percentage value Or 2 the much more challenging one (that is probably optional or best left for later) for SLAs phrased like 'workhours', Modify avail.cgi to check if outage intervals lie inside an SLA period and compute the SLA appropriately. In the latter case, the SLA attribute may have to contain more data like '99.5% of workhours'. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LAT at gmanetwork.com Wed Jul 23 05:31:13 2003 From: LAT at gmanetwork.com (Trinidad, Leovino A.) Date: Wed, 23 Jul 2003 11:31:13 +0800 Subject: Service Comments Message-ID: Hi! Just want to ask for help regarding nagios service comments. I was able to activate (made it work well) nagios with mysql and able to add/delete to nagios database. My problem is the comment data is not displayed on the web. What could be the problem? I already set the authentication in cgi. Regards, LAT "This Message may contain confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you received this message in error please notify your Mail Administrator and delete this message immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of GMA Network, Inc." -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at debisschop.net Wed Jul 23 06:03:31 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 23 Jul 2003 00:03:31 -0400 Subject: RFC 1 Check_Open_Connections 2 SLA attribute for templates. In-Reply-To: <20030723124009.A55430@IPAustralia.Gov.AU> References: <20030723124009.A55430@IPAustralia.Gov.AU> Message-ID: <1058933011.26544.1.camel@miles.debisschop.net> On Tue, 2003-07-22 at 22:40, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > I am writing to request your comments on > > 1 A plugin to check that the number of open TCP connections is less than > a threshold. > > This plugin is inspired by the Orcallator monitor of 'Number of Open TCP > connections' and made essential by my employers famous name application > server (name withheld since this is a family program) dieing early one > morning when the hosts limit was breached. > > It is > > . implemented in Perl > > . not portable (basically its a Netstat filter that needs to know the > Netstat format of the host) > > . easy to hack because it is so-so thin > > Here is the sample output (Sol version). > > [asterix]/usr/home/nagios$ perl/check_open_connections > Ok. Number of open TCP connections (362) less than threshold. Top > connectors: 10.0.100.201 108, 10.0.100.65 49, 192.168.101.210 27, > 192.168.102.210 24, 192.168.103.210 22. If you have SNMP on the host in question, you can just use check_snmp. I think most implementations provide this in their MIB. Certainly net-snmp does. This solution has the advantage of being portable. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Jul 23 06:20:20 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 22 Jul 2003 21:20:20 -0700 Subject: hostinfo.pl and serviceinfo.pl References: <002a01c34fc3$01741e30$0100060a@cba2kws> Message-ID: I think this is the hostinfo.pl which you mention: http://nagios.sourceforge.net/docs/1_0/xedtemplate.html define hostextinfo{ host_name netware1 notes_url http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 icon_image novell40.png icon_image_alt IntranetWare 4.11 vrml_image novell40.png statusmap_image novell40.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } The example notes_url link points to a hostinfo.pl script. This link can actually be to any CGI, perl script (ie hostinfo.pl), or static HTML page, but you have to make it yourself. The link can also be to a ticketing system, intranet page, or anything else. "Christoph Ball" wrote in message news:002a01c34fc3$01741e30$0100060a at cba2kws... Hello Rainer, hello everyone, thanks for the advise - but this didn't help me, because I could not find the nessesary *.pl files. Please tell me where I can find the hostinfo.pl and the serviceinfo.pl and how to config these files. Thanks Christoph http://nagios.sourceforge.net/docs/1_0/xedtemplate.html Rainer At 17:25 20/7/2003, Christoph Ball wrote: >Hallo everyone, >I want to use the hostinfo.pl and serviceinfo.pl to save further >information on hosts and services. >But I cound not find the nessesary files in my installation or in any >Nagios documentation. >Help is very much appreceaded. >Thanks > >Christoph -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jul 23 06:38:25 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 23 Jul 2003 14:38:25 +1000 Subject: RFC 1 Check_Open_Connections 2 SLA attribute for templates. In-Reply-To: <1058933011.26544.1.camel@miles.debisschop.net>; from karl@debisschop.net on Wed, Jul 23, 2003 at 12:03:31AM -0400 References: <20030723124009.A55430@IPAustralia.Gov.AU> <1058933011.26544.1.camel@miles.debisschop.net> Message-ID: <20030723143820.B55430@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, Jul 23, 2003 at 12:03:31AM -0400, Karl DeBisschop wrote: > > [asterix]/usr/home/nagios$ perl/check_open_connections > > Ok. Number of open TCP connections (362) less than threshold. Top > > connectors: 10.0.100.201 108, 10.0.100.65 49, 192.168.101.210 27, > > 192.168.102.210 24, 192.168.103.210 22. > > If you have SNMP on the host in question, you can just use check_snmp. I > think most implementations provide this in their MIB. Certainly net-snmp > does. > > This solution has the advantage of being portable. > Quite right. In this case, SNMP wasn't an option. > -- > Karl > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Wed Jul 23 08:14:18 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Wed, 23 Jul 2003 14:14:18 +0800 Subject: overhead of active checks Message-ID: <200307231414.19902.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys I am just curious how do you measure that the overhead of active checks is higher than passive checks? It's under one of the points in the following URL. http://nagios.sourceforge.net/docs/1_0/tuning.html - --Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Hie6NgvTa7Hj2AURAvyJAJ42eczSgk7ncB7PQV2S9BSLqasdvgCgiUvC 9qhg+y6u7NNkyr9VhhAorMo= =gnwT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ch at greenmail.ch Wed Jul 23 09:37:42 2003 From: ch at greenmail.ch (claus) Date: Wed, 23 Jul 2003 09:37:42 +0200 Subject: check_nrpe SSL error References: <190E5F64C065D511B7120002555822CE0447B532@brspo0400.br.deloitte.com> Message-ID: <012101c350ed$4ceeb750$8701a8c0@descom.local> Hello, On my hosts I solved this issue by mutaly connecting the hosts using ssh and accepting the certificate when asked. In that way I got the initial certificates. Hope this helps, Claus ----- Original Message ----- From: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)" > "could not complete ssl handshake" error ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From claus.helbing at descom-consulting.ch Wed Jul 23 11:03:50 2003 From: claus.helbing at descom-consulting.ch (Claus Helbing) Date: Wed, 23 Jul 2003 11:03:50 +0200 Subject: check_nrpe SSL error References: <190E5F64C065D511B7120002555822CE0447B532@brspo0400.br.deloitte.com> <012101c350ed$4ceeb750$8701a8c0@descom.local> Message-ID: <02ad01c350f9$570ca0b0$8701a8c0@descom.local> hmmm.... I just got another of these myself and the problem was the allowed_hosts=x.x.x.x setting in the /usr/local/nagios/etc/nrpe.cfg file that was still "127.0.0.1" ... Regards, Claus ----- Original Message ----- From: "claus" To: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)" ; Sent: Wednesday, July 23, 2003 9:37 AM Subject: Re: [Nagios-users] check_nrpe SSL error Hello, On my hosts I solved this issue by mutaly connecting the hosts using ssh and accepting the certificate when asked. In that way I got the initial certificates. Hope this helps, Claus ----- Original Message ----- From: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)" > "could not complete ssl handshake" error ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Wed Jul 23 12:13:59 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Wed, 23 Jul 2003 12:13:59 +0200 Subject: mysterious problem Message-ID: <5.0.2.1.2.20030723120738.01cd6c20@195.220.107.3> i don t understand what hapenned i install nagios on all work fine today i start nagios and it don t ping my hosts , services seems to not work i have " return code 127 "for many services . hosts information is " no output" i don t understand if somedoby can help me thanks. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Wed Jul 23 12:57:56 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Wed, 23 Jul 2003 12:57:56 +0200 Subject: mysterious problem Message-ID: <5.0.2.1.2.20030723125520.01cd7480@195.220.107.3> Nagios version : 1.3.1 Nagios plugins :1.3.1 OS :linux redhat 7.2 i don t understand what hapenned i install nagios on all work fine today i start nagios and it don t ping my hosts , services seems to not work i have " return code 127 "for many services . hosts information is " no output" i don t understand if somedoby can help me thanks. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Wed Jul 23 14:10:52 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Wed, 23 Jul 2003 14:10:52 +0200 Subject: mysterious problem Message-ID: <5.0.2.1.2.20030723141018.01cccbc0@195.220.107.3> Nagios version : 1.3.1 Nagios plugins :1.3.1 OS :linux redhat 7.2 i don t understand what hapenned i install nagios on all work fine today i start nagios and it don t ping my hosts , services seems to not work i have " return code 127 "for many services . hosts information is " no output" i don t understand if somedoby can help me thanks. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Wed Jul 23 15:19:04 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Wed, 23 Jul 2003 14:19:04 +0100 Subject: Service Escalations and notification_interval Message-ID: <006201c3511c$fd867f10$fb00a8c0@office.toastedmedia.net> Hi, I've written a couple of programs - one that does notification via MSN, and one via SMS. I used the following the service-escalation configuration on a service: define serviceescalation { host_name myhost service_description myservice first_notification 1 last_notification 0 contact_groups admins-msn notification_interval 1 } define serviceescalation { host_name myhost service_description myservice first_notification 1 last_notification 0 contact_groups admins-sms notification_interval 120 } Now I kinda wish that I'd read the documentation a little more carefully ;) It was meant to notify the admins via MSN regulary, but only send out a notification via SMS once every two hours. But of course, what actually happens is that it uses the smallest notification_interval for both the contact-groups. (Just as well I was only testing this to my phone!). So I have two questions: a) Is it possible to define two, overlapping, service escalations for one service, with different notification_intervalS? Or will I have to duplicate the service defination? b) Why is it that the notifcations occured once every five minutes, not once every minute as the notification_interval suggests? Is this a multiplier of some other value? A look at services.cfg suggests it's 'notification_interval x normal_check_interval' since normal_check_interval is the only property with a value of five. Sam ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Christine_Kronberg at genua.de Wed Jul 23 15:16:09 2003 From: Christine_Kronberg at genua.de (Christine Kronberg) Date: Wed, 23 Jul 2003 15:16:09 +0200 (CEST) Subject: ocsp_command not working? In-Reply-To: <5.0.2.1.2.20030723141018.01cccbc0@195.220.107.3> References: <5.0.2.1.2.20030723141018.01cccbc0@195.220.107.3> Message-ID: Hi, Playing around with nagios 1.1 I tried to set up a distributed nagios host using the nsca addon. I configured the distributed nagios host according to he manual, setting obsess_over_services=1 ocsp_command=submit_check_result When calling submit_check_result manually (with the specific arguments) the info is send to the nagios central host just fine. Yet that distributed nagios host never bothers to use the submit_check_result script (updates are done by nagios; at least the status.log is updated regularly). I have read that other people are using this and it works, so obviously I overlooked something. Can someone please assist? Thanky in advance, Chris Kronberg. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From r.ford at pindar.com Wed Jul 23 15:23:54 2003 From: r.ford at pindar.com (Rob Ford) Date: 23 Jul 2003 14:23:54 +0100 Subject: nrpe giving garbled information in status info Message-ID: <3141815032r.ford@pindar.com> Ah.....what I actually did was compile nagios/nagios-plugins on my sparc/solaris box and then tried to transfer the plugins accross to my intel/solaris box. Then of course when I tried to run them locally it said it couldn't execute...which I assumed was standard. And when I ported them to my sparc box it said the same...but that was because I had the permissions wrong, I changed those and it worked instantly. So I need to compile the plugins on my intel box and then yell Doh!!! very loudly But many thanks for your help it is much appreciated. Regards Rob On 7/22/2003 4:21 PM, Jason Marshall wrote: >> I've got the check_disk script on the target machine in /usr/local/nagios/libexec/check_disk >and the rootdisk line in my nrpe.cfg is as follows: >> command[rootdisk]=/usr/local/nagios/libexec/check_disk -w 10% -c >5% -p / >> Is that what you mean? > >Yes, that's what I mean. You're 101% sure it's in the place you >say it >is, is executable, and spits out non-gibberish when you run it on >the >target machine, right? > >> >> Regards >> Rob >> >> On 7/22/2003 3:20 PM, Jason Marshall wrote: >> >> ./check_nrpe -H eris -p 5666 -c rootdisk >> >> x??????U?h - this is what I get >> > >> >I got this while I had the nrpe-based check running on the server, > >> >but no >> >check_whatever script was present on the machine that was supposed > >> >to be >> >running it. Replace check_whatever with whatever the script in >nrpe.cfg >> >is called for rootdisk service... >> > >> >--- >> >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 email and its attachments are intended for the above >> named only and may be confidential. If they have come to >> you in error, you must take no action based on them, nor >> must you copy or show them to anyone; please reply to this >> email and highlight the error. >> Security Warning: Please note that this email has been >> created in the knowledge that the internet email is not a >> 100% secure communications medium. We advise that you >> understand and observe this lack of security when emailing us. >> Viruses: Although we have taken steps to ensure that this >> email and attachments are free from any virus, we advise >> that in keeping with good computing practice the recipient >> should ensure they are actually virus free. >> If you have received this email in error please notify: >> postmaster at pindar.com >> ********************************************************************** >> > >--- >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: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines >at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gary.Blydenburgh at ftid.com Wed Jul 23 15:28:49 2003 From: Gary.Blydenburgh at ftid.com (Gary.Blydenburgh at ftid.com) Date: Wed, 23 Jul 2003 09:28:49 -0400 Subject: Author value in Acknowledgements Message-ID: Is there a way to grab the Author name in the Acknowledgement notification? There is a group in my company that needs everything forwarded to their own home-grown alert system. I have writing an PERL script to do so, but I'd like to have my message contain the username of the person acknowledging the error. -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Wed Jul 23 15:37:02 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 23 Jul 2003 07:37:02 -0600 Subject: check_nrpe SSL error Message-ID: I was receiving this error just yesterday. I was able to fix it by making the nagios account the owner of my nrpe.cfg file and nrpe binary. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Claus Helbing [mailto:claus.helbing at descom-consulting.ch] > Sent: Wednesday, July 23, 2003 3:04 AM > To: Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo); > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_nrpe SSL error > > > hmmm.... > > I just got another of these myself and the problem was the > allowed_hosts=x.x.x.x > setting in the /usr/local/nagios/etc/nrpe.cfg file that was > still "127.0.0.1" ... > > Regards, > Claus > > ----- Original Message ----- > From: "claus" > To: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)" > ; > Sent: Wednesday, July 23, 2003 9:37 AM > Subject: Re: [Nagios-users] check_nrpe SSL error > > > Hello, > > On my hosts I solved this issue by mutaly connecting > the hosts using ssh and accepting the certificate when asked. > In that way I got the initial certificates. > > Hope this helps, > Claus > > ----- Original Message ----- > From: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)" > > > > "could not complete ssl handshake" error > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > Novell virtual machines at the same time. Free trial click > here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ReedJC at ldschurch.org Wed Jul 23 15:52:10 2003 From: ReedJC at ldschurch.org (Jeffery Reed) Date: Wed, 23 Jul 2003 07:52:10 -0600 Subject: Script to forward info via SNMP? Message-ID: Can anyone point me to a script that will allow me to send information gathered by Nagios to a Management system such as HP Openview via the SNMP protocol. I realize that net-snmp provides the ability, but I am inexperienced in scripting and would appreciate your help. Thanks, Jeff ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From rivanor at linuxmail.org Wed Jul 23 15:58:20 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Wed, 23 Jul 2003 10:58:20 -0300 Subject: Question on Nagios use Message-ID: <20030723135820.19006.qmail@linuxmail.org> Hi Les, Take a look, from Nagios FAQ: - F0028 Sending SNMP traps to a management host [1] - F0029 Receiving SNMP traps [2] - F0094 Where can I find a list of SNMP MIBs for use in monitoring? [3] [1]- http://www.nagios.org/faqs/viewfaq.php?faq_id=28 [2]- http://www.nagios.org/faqs/viewfaq.php?faq_id=29 [3]- http://www.nagios.org/faqs/viewfaq.php?faq_id=94 Read this and be happy! :) Regards, - Rivanor. ----- Original Message ----- From: Les Date: Wed, 23 Jul 2003 07:30:36 -0500 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question on Nagios use > Do I have to have a client installed to monitor anything with Nagios. > I > just want to monitor Cisco and Motorola devices with snmp. Will > Nagios do this or do I need to look at something else. Thanks in > advance. -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Wed Jul 23 16:14:18 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Wed, 23 Jul 2003 10:14:18 -0400 Subject: Service Escalations and notification_interval Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604C991@patton.infosysnetworks.com> The reason it happens every five minutes is because notifications don't occur unless a service check is performed. Therefore, nothing has changed to kick off a notification until the check is performed. You asked if you could have different notification intervals for the same service. I think you can if you use host group notifications and have the service belong to two hostgroups. Hope this helps, I am struggling with controlling notifications right now myself. Brian. -----Original Message----- From: Sam Stickland [mailto:sam_ml at spacething.org] Sent: Wednesday, July 23, 2003 9:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service Escalations and notification_interval Hi, I've written a couple of programs - one that does notification via MSN, and one via SMS. I used the following the service-escalation configuration on a service: define serviceescalation { host_name myhost service_description myservice first_notification 1 last_notification 0 contact_groups admins-msn notification_interval 1 } define serviceescalation { host_name myhost service_description myservice first_notification 1 last_notification 0 contact_groups admins-sms notification_interval 120 } Now I kinda wish that I'd read the documentation a little more carefully ;) It was meant to notify the admins via MSN regulary, but only send out a notification via SMS once every two hours. But of course, what actually happens is that it uses the smallest notification_interval for both the contact-groups. (Just as well I was only testing this to my phone!). So I have two questions: a) Is it possible to define two, overlapping, service escalations for one service, with different notification_intervalS? Or will I have to duplicate the service defination? b) Why is it that the notifcations occured once every five minutes, not once every minute as the notification_interval suggests? Is this a multiplier of some other value? A look at services.cfg suggests it's 'notification_interval x normal_check_interval' since normal_check_interval is the only property with a value of five. Sam ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Wed Jul 23 16:17:56 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Wed, 23 Jul 2003 16:17:56 +0200 Subject: problem with check Message-ID: <5.0.2.1.2.20030723161558.01ccd100@195.220.107.3> nagios 1.3.1 plugins 1.3.1 OS linux redhat 7.2 nagios don t perform any check i dont find why i see that the last check was made two days ago if somebody can help me thanks ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Wed Jul 23 16:49:50 2003 From: networks at wi.rr.com (Networks) Date: 23 Jul 2003 09:49:50 -0500 Subject: Changing Minimum Downtime In-Reply-To: <3F1BE0FF.8010500@autistici.org> References: <5DB017510818EC468B05BD7BD9EACF83032D47DD@mismail.ena.com> <3F1BE0FF.8010500@autistici.org> Message-ID: <1058971790.16450.3.camel@elijah> Is there a way to change the default of 2hrs for minimum down time? I looked through both the manual and config files, but didn't find anything. Thanks, Josh ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Wed Jul 23 16:37:18 2003 From: jsm at inpro.net (Jeff McKeon) Date: 23 Jul 2003 10:37:18 -0400 Subject: logs dissapering In-Reply-To: <1058823124.23211.29.camel@rh80-jsm.telaurus.net> References: <1058796392.23211.27.camel@rh80-jsm.telaurus.net> <49861.10.20.2.100.1058798744.squirrel@webmail.of.rocnet.de> <1058823124.23211.29.camel@rh80-jsm.telaurus.net> Message-ID: <1058971037.23211.41.camel@rh80-jsm.telaurus.net> Does anyone have any info on this??? On Mon, 2003-07-21 at 17:32, Jeff McKeon wrote: > Permissions are fine, disk space is plentiful.. Is this perhaps a bug > that is addressed in ver 1.1? > > On Mon, 2003-07-21 at 10:45, Claus Rosenberger wrote: > > Perhaps the rotation of log failed. Check the permissions of the archive > > directory. > > > > Claus > > > > > Nagios ver 1.0 Nov 24, 2002 > > > > > > I've got some disturbing behavior, my nagios logs are empty for days at > > > a time, all of them, Event, Notifications, alert history etc. They seem > > > to delete whenever the day rolls over... I can see all of today's > > > events but not the past 3-4 days. the logs are empty, not even the > > > hourly "auto save of retension date completed successfully" > > > > > > Any ideas as to what is going on here or where I should look? > > > > > > thanks, > > > > > > > > > -- > > > Jeff McKeon > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating systems on a single machine. > > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > -- Jeff McKeon ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Wed Jul 23 17:32:25 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Wed, 23 Jul 2003 16:32:25 +0100 Subject: Service Escalations and notification_interval References: <8A33B0D59EE5CD459FF98F7C5D49FFC604C991@patton.infosysnetworks.com> Message-ID: <001a01c3512f$9e720090$fb00a8c0@office.toastedmedia.net> Thanks the reply, I understand what you are saying about the notifications not occuring unless a service check is preformed, but the retry_check_interval is 1. The service templateit is based on is: defineservice { name standard-service use generic-service register 0; is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r } Surely that means that it will check the service once a minute once it is critical? Unless the notification_interval is based on the normal_check_interval? I'll look into trying the hostgroup escalations for the escalation problem, but it doesn't seem the most optimal solution, just a workaround. Sam ----- Original Message ----- From: "Brian Snead" To: Sent: Wednesday, July 23, 2003 3:14 PM Subject: RE: [Nagios-users] Service Escalations and notification_interval > The reason it happens every five minutes is because notifications don't occur unless a service check is performed. Therefore, nothing has changed to kick off a notification until the check is performed. > > You asked if you could have different notification intervals for the same service. I think you can if you use host group notifications and have the service belong to two hostgroups. > > Hope this helps, I am struggling with controlling notifications right now myself. > > Brian. > > -----Original Message----- > From: Sam Stickland [mailto:sam_ml at spacething.org] > Sent: Wednesday, July 23, 2003 9:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service Escalations and notification_interval > > > Hi, > > I've written a couple of programs - one that does notification via MSN, and > one via SMS. > > I used the following the service-escalation configuration on a service: > > define serviceescalation { > host_name myhost > service_description myservice > first_notification 1 > last_notification 0 > contact_groups admins-msn > notification_interval 1 > } > > define serviceescalation { > host_name myhost > service_description myservice > first_notification 1 > last_notification 0 > contact_groups admins-sms > notification_interval 120 > } > > Now I kinda wish that I'd read the documentation a little more carefully ;) > It was meant to notify the admins via MSN regulary, but only send out a > notification via SMS once every two hours. But of course, what actually > happens is that it uses the smallest notification_interval for both the > contact-groups. (Just as well I was only testing this to my phone!). > > So I have two questions: > > a) Is it possible to define two, overlapping, service escalations for one > service, with different notification_intervalS? Or will I have to duplicate > the service defination? > > b) Why is it that the notifcations occured once every five minutes, not once > every minute as the notification_interval suggests? Is this a multiplier of > some other value? A look at services.cfg suggests it's > 'notification_interval x normal_check_interval' since normal_check_interval > is the only property with a value of five. > > Sam > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kin-Ho.Kwan at hxti.com Wed Jul 23 17:54:46 2003 From: Kin-Ho.Kwan at hxti.com (Kin-Ho Kwan) Date: Wed, 23 Jul 2003 11:54:46 -0400 Subject: Error on comiling Nagios Message-ID: <3F1EAFC6.4000208@hxti.com> Hi all, When I try to compile Nagios 1.1, I got an error message when I "make all" undefined reference to gdImageCreateFromJpeg I am installing Nagios on Redhat 7.1 with gd 1.8.4 Is there any clue on that? Thanks -- Kin-Ho Kwan Software Engineer Hx Technologies Kin-Ho.Kwan at hxti.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Wed Jul 23 18:08:45 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 23 Jul 2003 12:08:45 -0400 Subject: Question about reports Message-ID: <5.1.0.14.0.20030723120719.00b598f8@pop.icnet.com.ve> Hi, I want to know if is possible export the availability reports from nagios to excel or other tool. Thanks Jeyri ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From js at irishbroadband.ie Wed Jul 23 18:22:50 2003 From: js at irishbroadband.ie (John Senior) Date: Wed, 23 Jul 2003 17:22:50 +0100 Subject: Getting a quick text summary from Nagios? In-Reply-To: <4F9AFFC2D6F9CD43A1F29A57B3248D0F1BF479@dubsrv01.irishbroadband.ie> References: <4F9AFFC2D6F9CD43A1F29A57B3248D0F1BF479@dubsrv01.irishbroadband.ie> Message-ID: <4F9AFFC2D6F9CD43A1F29A57B3248D0F088ACA@dubsrv01.irishbroadband.ie> Hi folks, I'm looking for an easy way to pull a quick summary from Nagios. I want to be able to SMS our server and get it to spit back a quick overview - i.e. there's nothing wrong, or there are 5 hosts down and 6 service outages etc. Has anyone done this already? Cheers, John. -- John Senior -------------- next part -------------- An HTML attachment was scrubbed... URL: From DTerrell at Delphi-Tech.com Wed Jul 23 19:24:02 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 23 Jul 2003 13:24:02 -0400 Subject: Nagios + mysql DB Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDC59@NJ-2K-Email1.delphi-tech.com> HI all, Just wondering if anyone has experience with Nagios using a database backend and if there are really any benefits to it. I'm considering changing over my three nagios boxes but would like to know if the support will be there in the future releases and if it's really worth it! TIA, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmartens at cityofevanston.org Wed Jul 23 21:08:38 2003 From: jmartens at cityofevanston.org (Jason Martens) Date: 23 Jul 2003 14:08:38 -0500 Subject: Nagios + mysql DB In-Reply-To: <880E60DA7286AB4CBEECB01B169A63BD055BDC59@NJ-2K-Email1.delphi-tech.com> References: <880E60DA7286AB4CBEECB01B169A63BD055BDC59@NJ-2K-Email1.delphi-tech.com> Message-ID: <1058987318.4188.25.camel@localhost.localdomain> Database support will be dropped in version 2.0. http://www.nagios.org/upcoming.php For that reason, you probably don't want to start using it now... Jason Martens City of Evanston On Wed, 2003-07-23 at 12:24, DTerrell at Delphi-Tech.com wrote: > HI all, > > Just wondering if anyone has experience with Nagios using a > database backend and if there are really any benefits to it. > I'm considering changing over my three nagios boxes but would > like to know if the support will be there in the future > releases and if it's really worth it! > > TIA, > > Dave > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danslists at conpoint.com Wed Jul 23 23:23:29 2003 From: danslists at conpoint.com (Dan Spray) Date: Wed, 23 Jul 2003 16:23:29 -0500 Subject: Problem with Ping service trends Message-ID: <309765CC7547D7119FF30050DA7A3BD7204F78@EXCH> Hello, I have a ping service on a host that if I view the trends report it shows that it has always been red or critical. The ping service is okay but the trends graph shows that it isn't. Is there a way to reset the graph or make it start showing correctly? Thanks in advance, Dan -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE < http://www.conpoint.com/> Voice - 402.371.4530 x208 Fax - 402.371.4515 "The trouble with doing anything right the first time is that nobody appreciates how difficult it was!" -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From larry.bills at mci.com Wed Jul 23 23:28:38 2003 From: larry.bills at mci.com (Larry Bills) Date: Wed, 23 Jul 2003 16:28:38 -0500 Subject: Nagios + mysql DB (Get it Right!) In-Reply-To: <1058987318.4188.25.camel@localhost.localdomain> References: <880E60DA7286AB4CBEECB01B169A63BD055BDC59@NJ-2K-Email1.delphi-tech.com> <1058987318.4188.25.camel@localhost.localdomain> Message-ID: <1058995718.1621.245.camel@penguin3.mcilink.com> This statement is not entirely true...the text says and always has...that db support MAY be dropped in version 3.0, not 2.0 as many relay here. Also if one would read further...it says: " Please note that I do not plan on yanking the current DB support out of Nagio unless it can be done in a better way using the event broker daemon (which should appear in 2.x). So what that means is there should be DB integration in some manner or another - its not completely disappearing." Ethan and others go to a lot of trouble to provide this information to us, please let us read and relay ACCURATE information to others. 2 cents Larry Bills On Wed, 2003-07-23 at 14:08, Jason Martens wrote: > Database support will be dropped in version 2.0. > http://www.nagios.org/upcoming.php > > For that reason, you probably don't want to start using it now... > > Jason Martens > City of Evanston > > On Wed, 2003-07-23 at 12:24, DTerrell at Delphi-Tech.com wrote: > > HI all, > > > > Just wondering if anyone has experience with Nagios using a > > database backend and if there are really any benefits to it. > > I'm considering changing over my three nagios boxes but would > > like to know if the support will be there in the future > > releases and if it's really worth it! > > > > TIA, > > > > Dave > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gilbert.G at noc.phxinternet.net Thu Jul 24 00:55:48 2003 From: Gilbert.G at noc.phxinternet.net (Gilbert T. Gutierrez, Jr.) Date: Wed, 23 Jul 2003 15:55:48 -0700 Subject: Missing CGIs - Nagios 1.1 Message-ID: I have seen other posts mentioning missing CGI files (trends.cgi and statusmap.cgi). When I was trying out Nagios 1.0, I had the files, and when I compiled Nagios 1.1, I no longer had the files. Here is what I did to make the repair. Gilbert T. Gutierrez, Jr. 1. I made all of the files with 'make' 2. Edited the file cgi/Makefile at the line beginning 'CGIS=' adding the 2 CGI's to the list of CGI's to compile. ---------ORIGINAL LINE------------- CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi $(CGIEXTRAS) ---------MODIFIED LINE---------- CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi trends.cgi statusmap.cgi $(CGIEXTRAS) 3. I re-ran 'make' and the CGI's were compiled. SYSTEM: FreeBSD 4.8 utilizing the ports tree. --- [ This E-mail was scanned for viruses by Phoenix Internet ] [ Phoenix Internet www.phoenixinternet.net ] ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gilbert.G at phoenixmail.com Thu Jul 24 00:57:45 2003 From: Gilbert.G at phoenixmail.com (Gilbert T. Gutierrez, Jr.) Date: Wed, 23 Jul 2003 15:57:45 -0700 Subject: Nagios 1.1 - Missing CGIs Message-ID: I have seen other posts mentioning missing CGI files (trends.cgi and statusmap.cgi). When I was trying out Nagios 1.0, I had the files, and when I compiled Nagios 1.1, I no longer had the files. Here is what I did to make the repair. Gilbert T. Gutierrez, Jr. 1. I made all of the files with 'make' 2. Edited the file cgi/Makefile at the line beginning 'CGIS=' adding the 2 CGI's to the list of CGI's to compile. ---------ORIGINAL LINE------------- CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi $(CGIEXTRAS) ---------MODIFIED LINE---------- CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi trends.cgi statusmap.cgi $(CGIEXTRAS) 3. I re-ran 'make' and the CGI's were compiled. SYSTEM: FreeBSD 4.8 utilizing the ports tree. --- [ This E-mail was scanned for viruses by Phoenix Internet ] [ Phoenix Internet www.phoenixinternet.net ] ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.johnson at shinetech.com Thu Jul 24 03:13:33 2003 From: mark.johnson at shinetech.com (mark.johnson at shinetech.com) Date: Thu, 24 Jul 2003 11:13:33 +1000 (EST) Subject: J2EE (SunOne) monitoring Message-ID: <1059009213.3f1f32bdb0ecf@shinemail.shinetech.com> I am interested in monitoring a J2EE application server. In this instance it is SunOne, but I would be interested in anything people have done in any applicaion server (JBoss, 9iAS, WebSphere, Weblogic, etc). If anyone can help me out that would be great. Cheers, Mark ----------------------------------------------- Shine Technologies - A Passion For Excellence http://www.ShineTech.com ----------------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Thu Jul 24 03:43:06 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Thu, 24 Jul 2003 09:43:06 +0800 Subject: logs dissapering In-Reply-To: <1058971037.23211.41.camel@rh80-jsm.telaurus.net> References: <1058796392.23211.27.camel@rh80-jsm.telaurus.net> <1058823124.23211.29.camel@rh80-jsm.telaurus.net> <1058971037.23211.41.camel@rh80-jsm.telaurus.net> Message-ID: <200307240943.07713.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 23 July 2003 22:37, Jeff McKeon wrote: > Does anyone have any info on this??? hmm interesting problem.. Did you check to make sure that this is set to 1 in nagios.cfg? retain_state_information=1 Maybe you would like to post your nagios.cfg together with the permissions of all nagios log files. Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/HzmqNgvTa7Hj2AURAlhhAKCFwAtERAi0y1CMkqpelB9y7G8u/QCfZKtZ jAKEudHLS9G0sPi7BhJ/dPo= =AB5K -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at btuniverse.com Thu Jul 24 07:08:46 2003 From: anthony at btuniverse.com (qwert) Date: Wed, 23 Jul 2003 22:08:46 -0700 Subject: error when starting nagios In-Reply-To: <20030715070508.28906.qmail@web40003.mail.yahoo.com> References: <20030715070508.28906.qmail@web40003.mail.yahoo.com> Message-ID: I get the same error. Are you using FreeBSD? i also get this error when trying to start the nagios daemon: bash-2.05b# /usr/local/etc/rc.d/nagios.sh start cgi.cfg-sample Starting network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock I can not find the lock file Have you fixed your issue? bheng qute wrote: > hi, > > i received this error when i run nagios.. > > Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing > Error: Could not create external command file > '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (17) -> File > exists. If this file already exists and you are sure that another copy > of Nagios is not running, you should delete this file. > Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing > Bailing out due to errors encountered while trying to open the external > command file for reading... (PID=1664) > > i already treid to delete the nagios.log but still received that error? > anybody can help? please... thanks. > > - bianx > > > ------------------------------------------------------------------------ > Do you Yahoo!? > SBC Yahoo! DSL > > - Now only $29.95 per month! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Jul 24 07:35:42 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 23 Jul 2003 22:35:42 -0700 Subject: Slipping Schedule Queue References: <48F26311AF9C9943926CA0CD204BC214BB09A8@nwa-srv-01.newworldapps.com> Message-ID: I had this problem too, and finally solved it by fiddling with the inter-check delay. Read this doc and calculate your own inter-check delay using a smaller 'average' instead of using the 's' method. http://nagios.sourceforge.net/docs/1_0/checkscheduling.html#service_interlea ving ------- snip ---------- inter_check_delay_method=s n = Don't use any delay - schedule all service checks to run immediately (i.e. at the same time!) d = Use a "dumb" delay of 1 second between service checks s = Use a "smart" delay calculation to spread service checks out evenly (default) x.xx = Use a user-supplied inter-check delay of x.xx seconds ------------------------ The 's'mart method uses a formula that takes into account the total time needed for the checks and spreads it out evenly amongst all the services. This works well in an ideal situation, where all the checks run at the same frequency. However, you want to weigh the check interval more heavily towards the most frequent check (in this case, 1 minute). So for an easy solution, use your shortest check interval as the 'normal'. Calculate the inter_check_delay using one minute per check for all services. This will yield 96 / 92^2 = .0101... seconds * 60 seconds = .625 inter-check-delay = .625 If 96 services need to run, they will all finish in 60 seconds. One check runs every .625 seconds. Initially. After the first run, they will spread out (according to their next scheduled time interval). But now, your system can accomodate the need to run them all within the same minute. Every five minutes, the 5-minute checks and the APAN-checks overlap, so you'll need to run 96 checks during that minute. If you add more services, be sure to recalculate and apply the new number. "Chris Gill" wrote in message news:48F26311AF9C9943926CA0CD204BC214BB09A8 at nwa-srv-01.newworldapps.com... > Hi All, > I've got a problem that seems to resemble some other issues people > have had here, but I'm not sure exactly what the 'correct' resolution is. > I've got a Nagios system (P3 500, 128Mb mem) checking 96 services on 43 > hosts. This is a test bed system to make sure Nagios can replace our > existing system (a custom-job built around What's Up Gold). So far, Nagios > has been great, but we've got a problem with the scheduling queue slipping. > What I mean by this is that items in the scheduling queue wind up having a > 'next check' date in the past, but have never been checked. > I think this problem may be related to our use of APAN to do > graphing (31 of the 96 services). The APAN service checks have a > "normal_check_interval" of a minute. I have a feeling this is making Nagios > run those checks more frequently, and push other checks off. I find this > strange, since I've set no limit to the number of simultaneous checks that > can run, and so I'd expect the scheduling queue to be followed. To test > this, I had been running even *more* APAN checks (74 of 139), and the queue > would wind up getting delayed by an hour or more. Strangely, a few of the > services that wind up behind schedule are the APAN checks, although it's > largely checks of network services that get delayed. > This doesn't appear to be a hardware or network load problem, and > from what I've read in the list archives, this sort of thing can happen > independent of hardware load. > What then, is the way to get around this? We'd really like to keep > running APAN checks on most of our hosts to get longer term trend graphs. Is > there a different package that doesn't have this queue-hosing effect? > Thanks. > > ----------------------------------------- > Christopher P. Gill, Systems Engineer, New World Apps > cgill at newworldapps.com > 703-856-7268 > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From info at aih.de Thu Jul 24 07:58:23 2003 From: info at aih.de (AIH Service GmbH) Date: Thu, 24 Jul 2003 07:58:23 +0200 Subject: Nagios 1.1 - Missing CGIs References: Message-ID: <006501c351a8$97a00c70$6a01a8c0@arcom1> Hello, the answer is right in the FAQ of Nagios. http://www.nagios.org/faqs/viewfaq.php?faq_id=55&expand=false&showdesc=true Andreas Husemann AIH Service GmbH Germany ----- Original Message ----- From: "Gilbert T. Gutierrez, Jr." To: Sent: Thursday, July 24, 2003 12:57 AM Subject: [Nagios-users] Nagios 1.1 - Missing CGIs > I have seen other posts mentioning missing CGI files (trends.cgi and > statusmap.cgi). When I was trying out Nagios 1.0, I had the files, and when > I compiled Nagios 1.1, I no longer had the files. Here is what I did to > make the repair. > > Gilbert T. Gutierrez, Jr. > > 1. I made all of the files with 'make' > 2. Edited the file cgi/Makefile at the line beginning 'CGIS=' adding the 2 > CGI's to the list of CGI's to compile. > > ---------ORIGINAL LINE------------- > CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi > outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi > $(CGIEXTRAS) > > ---------MODIFIED LINE---------- > CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi > outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi > trends.cgi statusmap.cgi $(CGIEXTRAS) > > 3. I re-ran 'make' and the CGI's were compiled. > > SYSTEM: > FreeBSD 4.8 utilizing the ports tree. > > --- > [ This E-mail was scanned for viruses by Phoenix Internet ] > [ Phoenix Internet www.phoenixinternet.net ] > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From list at aih.de Thu Jul 24 08:12:05 2003 From: list at aih.de (AIH Mailing Lists Account) Date: Thu, 24 Jul 2003 08:12:05 +0200 Subject: Question about Notification Message-ID: <00b201c351aa$81feb770$6a01a8c0@arcom1> Hello List, i wonder when Nagios starts notification. We use Nagios 1.1 and if I understood the manual right, the notification should start after the max_check_attempts. normal_check_interval 3 max_check_attempts 5 retry_check_interval 1 As I understood the man, Nagios should do 5 more checks with an delay of 1 minute before sending a notification? Are I'm wrong? If i'm wrong, how can i force nagios the check the service 4 or 5 times before sending any notification. Next question: I've seen this question before on the list, but no answer was given. Is it possible to send warnings only per mail and critical events per mail and pager? Thank you in advance Andreas Husemann AIH Service GmbH Germany ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jyao at aav.com.au Thu Jul 24 08:22:17 2003 From: jyao at aav.com.au (Yao, Jack) Date: Thu, 24 Jul 2003 16:22:17 +1000 Subject: error when starting nagios Message-ID: Are you on redhat 8.0 ? Want to try to start nagios using this: Service nagios start Jack -----Original Message----- From: qwert [mailto:anthony at btuniverse.com] Sent: Thursday, 24 July 2003 3:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: error when starting nagios I get the same error. Are you using FreeBSD? i also get this error when trying to start the nagios daemon: bash-2.05b# /usr/local/etc/rc.d/nagios.sh start cgi.cfg-sample Starting network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock I can not find the lock file Have you fixed your issue? bheng qute wrote: > hi, > > i received this error when i run nagios.. > > Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for > writing > Error: Could not create external command file > '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (17) -> File > exists. If this file already exists and you are sure that another copy > of Nagios is not running, you should delete this file. > Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing > Bailing out due to errors encountered while trying to open the external > command file for reading... (PID=1664) > > i already treid to delete the nagios.log but still received that > error? > anybody can help? please... thanks. > > - bianx > > > ---------------------------------------------------------------------- > -- > Do you Yahoo!? > SBC Yahoo! DSL > > - Now only $29.95 per month! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Thu Jul 24 08:36:31 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Thu, 24 Jul 2003 08:36:31 +0200 Subject: Question about reports In-Reply-To: <5.1.0.14.0.20030723120719.00b598f8@pop.icnet.com.ve> References: <5.1.0.14.0.20030723120719.00b598f8@pop.icnet.com.ve> Message-ID: <3F1F7E6F.1050808@dhl.com> I have written a shell script that dumps this data in a MySQL database every month. Data can then be used in Excel/Access/... through ODBC. It is based on the avail.cgi, which you can run from the command line. Jeyri Bautista wrote: > Hi, > > I want to know if is possible export the availability reports from > nagios to excel or other tool. > > Thanks > > Jeyri > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Thu Jul 24 08:35:16 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Thu, 24 Jul 2003 08:35:16 +0200 Subject: Question about Notification In-Reply-To: <00b201c351aa$81feb770$6a01a8c0@arcom1> References: <00b201c351aa$81feb770$6a01a8c0@arcom1> Message-ID: <3F1F7E24.6070202@dhl.com> AIH Mailing Lists Account wrote: >Hello List, > >i wonder when Nagios starts notification. We use Nagios 1.1 and if I >understood the manual right, the notification should start after the >max_check_attempts. > >normal_check_interval 3 >max_check_attempts 5 >retry_check_interval 1 > >As I understood the man, Nagios should do 5 more checks with an delay of 1 >minute before sending a notification? Are I'm wrong? >If i'm wrong, how can i force nagios the check the service 4 or 5 times >before sending any notification. > You are right. >Next question: >I've seen this question before on the list, but no answer was given. Is it >possible to send warnings only per mail and critical events per mail and >pager? > Not that I can think of... Tough it might be possible using notification escalation if you create multiple contacts. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Thu Jul 24 09:43:26 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Thu, 24 Jul 2003 09:43:26 +0200 Subject: check don t work Message-ID: <5.0.2.1.2.20030724093401.01cd0c40@195.220.107.3> nagios 1.3.1 plugins 1.3.1 OS linux redhat 7.2 the probleme i have is that nagios don t perform any checks i verify it with ethereal i have the same problem at home , nagios don t ping a host although i can ping it if someone have an idea thanks ps there is another problem when i stop nagios , to restart i have to delete before the var/rw/nagios.cmd file and when i want to perform check i have to change the mode of this file ( and after there is no check that is perform ) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Thu Jul 24 09:40:42 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Thu, 24 Jul 2003 15:40:42 +0800 Subject: error when starting nagios Message-ID: try to create the nagios.lock file by using touch command look what i have done when im facing this problems [root at info etc]# /etc/rc.d/init.d/nagios status No lock file found in /usr/local/nagios//var/nagios.lock [root at info etc]# cd .. [root at info nagios]# ls bin etc include lib man sbin share var [root at info nagios]# cd var/ [root at info var]# ls archives rw [root at info var]# touch nagios.lock [root at info var]# ls archives nagios.lock rw [root at info var]# /etc/rc.d/init.d/nagios status ps: error: List of process IDs must follow -p. usage: ps -[Unix98 options] ps [BSD-style options] ps --[GNU-style long options] ps --help for a command summary [root at info var]# /etc/rc.d/init.d/nagios start Starting network monitor: nagios PID TTY TIME CMD 12955 ? 00:00:00 nagios [root at info var]# -----Original Message----- From: qwert [mailto:anthony at btuniverse.com] Sent: Thursday, 24 July 2003 3:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: error when starting nagios I get the same error. Are you using FreeBSD? i also get this error when trying to start the nagios daemon: bash-2.05b# /usr/local/etc/rc.d/nagios.sh start cgi.cfg-sample Starting network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock I can not find the lock file Have you fixed your issue? bheng qute wrote: > hi, > > i received this error when i run nagios.. > > Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for > writing > Error: Could not create external command file > '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (17) -> File > exists. If this file already exists and you are sure that another copy > of Nagios is not running, you should delete this file. > Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing > Bailing out due to errors encountered while trying to open the external > command file for reading... (PID=1664) > > i already treid to delete the nagios.log but still received that > error? > anybody can help? please... thanks. > > - bianx > > > ---------------------------------------------------------------------- > -- > Do you Yahoo!? > SBC Yahoo! DSL > > - Now only $29.95 per month! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Thu Jul 24 09:55:43 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Thu, 24 Jul 2003 09:55:43 +0200 Subject: Question about reports References: <5.1.0.14.0.20030723120719.00b598f8@pop.icnet.com.ve> Message-ID: <001d01c351b8$fc50c550$8200a8c0@JDLAPTOP> Helo Jeyri Yes you can export the reports in CSV format. Read the "Tip" text that shows when you are about to select which hostgroups/hosts/services you want a report on. Regards Johannes Dagemark OP5 AB ----- Original Message ----- From: "Jeyri Bautista" To: Sent: Wednesday, July 23, 2003 6:08 PM Subject: [Nagios-users] Question about reports > Hi, > > I want to know if is possible export the availability reports from nagios > to excel or other tool. > > Thanks > > Jeyri > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Thu Jul 24 10:04:05 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Thu, 24 Jul 2003 10:04:05 +0200 Subject: Question about Notification References: <00b201c351aa$81feb770$6a01a8c0@arcom1> Message-ID: <004201c351ba$26cf42b0$8200a8c0@JDLAPTOP> Hello Andreas ----- Original Message ----- From: "AIH Mailing Lists Account" To: Sent: Thursday, July 24, 2003 8:12 AM Subject: [Nagios-users] Question about Notification > Hello List, > > i wonder when Nagios starts notification. We use Nagios 1.1 and if I > understood the manual right, the notification should start after the > max_check_attempts. > > normal_check_interval 3 > max_check_attempts 5 > retry_check_interval 1 > > As I understood the man, Nagios should do 5 more checks with an delay of 1 > minute before sending a notification? Are I'm wrong? > If i'm wrong, how can i force nagios the check the service 4 or 5 times > before sending any notification. This is correctly understood > > Next question: > I've seen this question before on the list, but no answer was given. Is it > possible to send warnings only per mail and critical events per mail and > pager? Just create 2 contacts # contact1, send warnings only per mail define contact{ contact_name contact1 alias contact1 service_notification_period 24x7 host_notification_period 24x7 service_notification_options w host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email emailaddress at host.com } # contact2, send critical per email & pager define contact{ contact_name contact2 alias contact2 service_notification_period 24x7 host_notification_period 24x7 service_notification_options c host_notification_options d,u service_notification_commands notify-by-pager host_notification_commands host-notify-by-pager pager 12312313123 } I hope you get something out of this. Regards Johannes Dagemark OP5 AB > > Thank you in advance > Andreas Husemann > AIH Service GmbH > Germany > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From info at aih.de Thu Jul 24 10:22:23 2003 From: info at aih.de (AIH Service GmbH) Date: Thu, 24 Jul 2003 10:22:23 +0200 Subject: Question about Notification References: <00b201c351aa$81feb770$6a01a8c0@arcom1> <3F1F7E24.6070202@dhl.com> Message-ID: <00fd01c351bc$b5837a60$6a01a8c0@arcom1> > AIH Mailing Lists Account wrote: > > >Hello List, > > > >i wonder when Nagios starts notification. We use Nagios 1.1 and if I > >understood the manual right, the notification should start after the > >max_check_attempts. > > > >normal_check_interval 3 > >max_check_attempts 5 > >retry_check_interval 1 > > > >As I understood the man, Nagios should do 5 more checks with an delay of 1 > >minute before sending a notification? Are I'm wrong? > >If i'm wrong, how can i force nagios the check the service 4 or 5 times > >before sending any notification. > > > You are right. But i get a Host Notification direct after the first fail. There is no 5 minutes delay as it should be? Any ideas? Andreas Husemann AIH Service GmbH ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Thu Jul 24 09:47:08 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Thu, 24 Jul 2003 09:47:08 +0200 Subject: problem with check Message-ID: <5.0.2.1.2.20030724094523.01cd30d0@195.220.107.3> there is another strange thing when nagios start a few second after , he print password : on the command prompt ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From info at aih.de Thu Jul 24 10:32:41 2003 From: info at aih.de (AIH Service GmbH) Date: Thu, 24 Jul 2003 10:32:41 +0200 Subject: Question about Notification References: <00b201c351aa$81feb770$6a01a8c0@arcom1> <004201c351ba$26cf42b0$8200a8c0@JDLAPTOP> Message-ID: <011601c351be$26321b80$6a01a8c0@arcom1> > > Hello List, > > > > i wonder when Nagios starts notification. We use Nagios 1.1 and if I > > understood the manual right, the notification should start after the > > max_check_attempts. > > > > normal_check_interval 3 > > max_check_attempts 5 > > retry_check_interval 1 > > > > As I understood the man, Nagios should do 5 more checks with an delay of 1 > > minute before sending a notification? Are I'm wrong? > > If i'm wrong, how can i force nagios the check the service 4 or 5 times > > before sending any notification. > > This is correctly understood Thats fine, but it seems not to work in that way. I get a notification after the first attempt. In my config there should be a delay of at least 5 minutes between first failure detect and first notification but it isn't. Is there a difference between Plugin timeout and "normal" Critical State? I'm not sure, but i think i get notified if the check_ping plugin timed out?! > > > > > Next question: > > I've seen this question before on the list, but no answer was given. Is it > > possible to send warnings only per mail and critical events per mail and > > pager? > > Just create 2 contacts > > # contact1, send warnings only per mail > define contact{ > contact_name contact1 > alias contact1 > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email emailaddress at host.com > } > > # contact2, send critical per email & pager > define contact{ > contact_name contact2 > alias contact2 > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options c > host_notification_options d,u > service_notification_commands notify-by-pager > host_notification_commands host-notify-by-pager > pager 12312313123 > } > > I hope you get something out of this. Sure, that so simple. Thank you very much. Andreas Husemann AIH Service GmbH Germany ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LAT at gmanetwork.com Thu Jul 24 10:50:44 2003 From: LAT at gmanetwork.com (Trinidad, Leovino A.) Date: Thu, 24 Jul 2003 16:50:44 +0800 Subject: help Message-ID: Regards, LEOVINO A. TRINIDAD, JR. Information and Communications Technology Dept. GMA Network, Inc. -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Thursday, July 24, 2003 11:16 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #1581 - 35 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Service Comments (Trinidad, Leovino A.) 2. Re: RFC 1 Check_Open_Connections 2 SLA attribute for templates. (Karl DeBisschop) 3. Re: Re: hostinfo.pl and serviceinfo.pl (Tedman Eng) 4. Re: RFC 1 Check_Open_Connections 2 SLA attribute for templates. (Stanley Hopcroft) 5. overhead of active checks (Jasmine) 6. Re: check_nrpe SSL error (claus) 7. Re: check_nrpe SSL error (Claus Helbing) 8. mysterious problem (Basile Mathieu) 9. mysterious problem (Basile Mathieu) 10. mysterious problem (Basile Mathieu) 11. Question on Nagios use (Les) 12. ocsp_command not working? (Christine Kronberg) 13. Service Escalations and notification_interval (Sam Stickland) 14. Re: nrpe giving garbled information in status info (Rob Ford) 15. Author value in Acknowledgements (Gary.Blydenburgh at ftid.com) 16. RE: check_nrpe SSL error (Cook, Garry) 17. Script to forward info via SNMP? (Jeffery Reed) 18. Re: Question on Nagios use (Rivanor P. Soares) 19. RE: Service Escalations and notification_interval (Brian Snead) 20. problem with check (Basile Mathieu) 21. Re: logs dissapering (Jeff McKeon) 22. Changing Minimum Downtime (Networks) 23. Re: Service Escalations and notification_interval (Sam Stickland) 24. Error on comiling Nagios (Kin-Ho Kwan) 25. Question about reports (Jeyri Bautista) 26. Getting a quick text summary from Nagios? (John Senior) 27. Nagios + mysql DB (DTerrell at Delphi-Tech.com) 28. Re: Nagios + mysql DB (Jason Martens) 29. Problem with Ping service trends (Dan Spray) 30. Re: Nagios + mysql DB (Get it Right!) (Larry Bills) 31. Missing CGIs - Nagios 1.1 (Gilbert T. Gutierrez, Jr.) 32. Nagios 1.1 - Missing CGIs (Gilbert T. Gutierrez, Jr.) 33. J2EE (SunOne) monitoring (mark.johnson at shinetech.com) 34. Re: logs dissapering (Jasmine) --__--__-- Message: 1 From: "Trinidad, Leovino A." To: nagios-users at lists.sourceforge.net Date: Wed, 23 Jul 2003 11:31:13 +0800 Subject: [Nagios-users] Service Comments This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C350CA.DDF172B0 Content-Type: text/plain Hi! Just want to ask for help regarding nagios service comments. I was able to activate (made it work well) nagios with mysql and able to add/delete to nagios database. My problem is the comment data is not displayed on the web. What could be the problem? I already set the authentication in cgi. Regards, LAT "This Message may contain confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you received this message in error please notify your Mail Administrator and delete this message immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of GMA Network, Inc." ------_=_NextPart_001_01C350CA.DDF172B0 Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Hi!

 

Just want to ask for help regarding nagios service comments. I was able to activate (made it work well) nagios with mysql and = able to add/delete to nagios database. My problem = is the comment data is not displayed on the web. What could be the problem? I = already set the authentication in cgi.

 

Regards,

 

LAT



"This Message may contain = confidential information intended only for

the use of the addressee named = above. If you are not the intended

recipient of this message you are = hereby notified that any use,

dissemination, distribution or = reproduction of this message is

prohibited. If you received this = message in error please notify your

Mail Administrator and delete this = message immediately. Any views

expressed in this message are those = of the individual sender and may

not necessarily reflect the views = of GMA Network, Inc."



------_=_NextPart_001_01C350CA.DDF172B0-- --__--__-- Message: 2 Subject: Re: [Nagios-users] RFC 1 Check_Open_Connections 2 SLA attribute for templates. From: Karl DeBisschop To: Stanley Hopcroft Cc: Nagios Users Date: 23 Jul 2003 00:03:31 -0400 On Tue, 2003-07-22 at 22:40, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > I am writing to request your comments on > > 1 A plugin to check that the number of open TCP connections is less than > a threshold. > > This plugin is inspired by the Orcallator monitor of 'Number of Open TCP > connections' and made essential by my employers famous name application > server (name withheld since this is a family program) dieing early one > morning when the hosts limit was breached. > > It is > > . implemented in Perl > > . not portable (basically its a Netstat filter that needs to know the > Netstat format of the host) > > . easy to hack because it is so-so thin > > Here is the sample output (Sol version). > > [asterix]/usr/home/nagios$ perl/check_open_connections > Ok. Number of open TCP connections (362) less than threshold. Top > connectors: 10.0.100.201 108, 10.0.100.65 49, 192.168.101.210 27, > 192.168.102.210 24, 192.168.103.210 22. If you have SNMP on the host in question, you can just use check_snmp. I think most implementations provide this in their MIB. Certainly net-snmp does. This solution has the advantage of being portable. -- Karl --__--__-- Message: 3 To: nagios-users at lists.sourceforge.net From: "Tedman Eng" Date: Tue, 22 Jul 2003 21:20:20 -0700 Organization: Dataway, Inc. Subject: [Nagios-users] Re: Re: hostinfo.pl and serviceinfo.pl This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C35097.0E52D860 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I think this is the hostinfo.pl which you mention: http://nagios.sourceforge.net/docs/1_0/xedtemplate.html define hostextinfo{ host_name netware1 notes_url = http://webserver.localhost.localdomain/hostinfo.pl?host=3Dnetware1 icon_image novell40.png=20 icon_image_alt IntranetWare 4.11 vrml_image novell40.png statusmap_image novell40.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } The example notes_url link points to a hostinfo.pl script. This link = can actually be to any CGI, perl script (ie hostinfo.pl), or static HTML = page, but you have to make it yourself. The link can also be to a = ticketing system, intranet page, or anything else. "Christoph Ball" wrote in message = news:002a01c34fc3$01741e30$0100060a at cba2kws... Hello Rainer, hello everyone, thanks for the advise - but this didn't help me, because I could not = find the nessesary *.pl files. Please tell me where I can find the hostinfo.pl and the serviceinfo.pl = and how to config these files. Thanks Christoph http://nagios.sourceforge.net/docs/1_0/xedtemplate.html Rainer At 17:25 20/7/2003, Christoph Ball wrote: >Hallo everyone, >I want to use the hostinfo.pl and serviceinfo.pl to save further >information on hosts and services. >But I cound not find the nessesary files in my installation or in any >Nagios documentation. >Help is very much appreceaded. >Thanks > >Christoph ------=_NextPart_000_001E_01C35097.0E52D860 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I think this is the hostinfo.pl which = you=20 mention:
 
http://n= agios.sourceforge.net/docs/1_0/xedtemplate.html
define hostextinfo{
	host_name	netware1
	notes_url	=
http://webserver.localhost.localdomain/hostinfo.pl?host=3Dnetware1
	icon_image	novell40.png=20
	icon_image_alt	IntranetWare 4.11
	vrml_image	novell40.png
	statusmap_image	novell40.gd2
	2d_coords	100,250
	3d_coords	100.0,50.0,75.0
	}
The example notes_url link points to a = hostinfo.pl=20 script.  This link can actually be to any CGI, perl script (ie=20 hostinfo.pl), or static HTML page, but you have to make it = yourself. =20 The link can also be to a ticketing system, intranet page, or anything=20 else.
 
"Christoph Ball" <christoph.ball at ball-netz.de>=20 wrote in message news:002a01c34fc3$01= 741e30$0100060a at cba2kws...
Hello Rainer,=20 hello everyone,
thanks for the advise - but this didn't help me, = because I=20 could not find
the nessesary *.pl files.
Please tell me where I = can find=20 the hostinfo.pl and the serviceinfo.pl and
how to config these=20 files.

Thanks

Christoph

http://nagios.sourceforge.net/docs/1_0/xedtemplate.html

Rainer


At 17:25 = 20/7/2003, Christoph=20 Ball wrote:
>Hallo everyone,
>I want to use the = hostinfo.pl and=20 serviceinfo.pl to save further
>information on hosts and=20 services.
>But I cound not find the nessesary files in my = installation=20 or in any
>Nagios documentation.
>Help is very much=20 = appreceaded.
>Thanks
>
>Christoph

------=_NextPart_000_001E_01C35097.0E52D860-- --__--__-- Message: 4 Date: Wed, 23 Jul 2003 14:38:25 +1000 From: Stanley Hopcroft To: Karl DeBisschop Cc: Nagios Users Subject: Re: [Nagios-users] RFC 1 Check_Open_Connections 2 SLA attribute for templates. Dear Sir, I am writing to thank you for your letter and say, On Wed, Jul 23, 2003 at 12:03:31AM -0400, Karl DeBisschop wrote: > > [asterix]/usr/home/nagios$ perl/check_open_connections > > Ok. Number of open TCP connections (362) less than threshold. Top > > connectors: 10.0.100.201 108, 10.0.100.65 49, 192.168.101.210 27, > > 192.168.102.210 24, 192.168.103.210 22. > > If you have SNMP on the host in question, you can just use check_snmp. I > think most implementations provide this in their MIB. Certainly net-snmp > does. > > This solution has the advantage of being portable. > Quite right. In this case, SNMP wasn't an option. > -- > Karl > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. --__--__-- Message: 5 From: Jasmine To: nagios-users at lists.sourceforge.net Date: Wed, 23 Jul 2003 14:14:18 +0800 Subject: [Nagios-users] overhead of active checks =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys I am just curious how do you measure that the overhead of active checks is= =20 higher than passive checks? It's under one of the points in the following=20 URL. http://nagios.sourceforge.net/docs/1_0/tuning.html =2D --Jasmine=20 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Hie6NgvTa7Hj2AURAvyJAJ42eczSgk7ncB7PQV2S9BSLqasdvgCgiUvC 9qhg+y6u7NNkyr9VhhAorMo=3D =3DgnwT =2D----END PGP SIGNATURE----- --__--__-- Message: 6 From: "claus" To: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)" , Subject: Re: [Nagios-users] check_nrpe SSL error Date: Wed, 23 Jul 2003 09:37:42 +0200 Hello, On my hosts I solved this issue by mutaly connecting the hosts using ssh and accepting the certificate when asked. In that way I got the initial certificates. Hope this helps, Claus ----- Original Message -----=20 From: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)" = > "could not complete ssl handshake" error --__--__-- Message: 7 From: "Claus Helbing" To: "Andrade, Leonardo F. Buonsanti de \(BR - Sao Paulo\)" , Subject: Re: [Nagios-users] check_nrpe SSL error Date: Wed, 23 Jul 2003 11:03:50 +0200 hmmm.... I just got another of these myself and the problem was the=20 allowed_hosts=3Dx.x.x.x setting in the /usr/local/nagios/etc/nrpe.cfg file that was still = "127.0.0.1" ... Regards, Claus ----- Original Message -----=20 From: "claus" To: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)" = ; Sent: Wednesday, July 23, 2003 9:37 AM Subject: Re: [Nagios-users] check_nrpe SSL error Hello, On my hosts I solved this issue by mutaly connecting the hosts using ssh and accepting the certificate when asked. In that way I got the initial certificates. Hope this helps, Claus ----- Original Message -----=20 From: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)" = > "could not complete ssl handshake" error --__--__-- Message: 8 Date: Wed, 23 Jul 2003 12:13:59 +0200 To: nagios-users at lists.sourceforge.net From: Basile Mathieu Subject: [Nagios-users] mysterious problem i don t understand what hapenned i install nagios on all work fine today i start nagios and it don t ping my hosts , services seems to not work i have " return code 127 "for many services . hosts information is " no output" i don t understand if somedoby can help me thanks. --__--__-- Message: 9 Date: Wed, 23 Jul 2003 12:57:56 +0200 To: nagios-users at lists.sourceforge.net From: Basile Mathieu Subject: [Nagios-users] mysterious problem Nagios version : 1.3.1 Nagios plugins :1.3.1 OS :linux redhat 7.2 i don t understand what hapenned i install nagios on all work fine today i start nagios and it don t ping my hosts , services seems to not work i have " return code 127 "for many services . hosts information is " no output" i don t understand if somedoby can help me thanks. --__--__-- Message: 10 Date: Wed, 23 Jul 2003 14:10:52 +0200 To: nagios-users at lists.sourceforge.net From: Basile Mathieu Subject: [Nagios-users] mysterious problem Nagios version : 1.3.1 Nagios plugins :1.3.1 OS :linux redhat 7.2 i don t understand what hapenned i install nagios on all work fine today i start nagios and it don t ping my hosts , services seems to not work i have " return code 127 "for many services . hosts information is " no output" i don t understand if somedoby can help me thanks. --__--__-- Message: 11 Date: Wed, 23 Jul 2003 07:30:36 -0500 From: Les To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question on Nagios use Do I have to have a client installed to monitor anything with Nagios. I just want to monitor Cisco and Motorola devices with snmp. Will Nagios do this or do I need to look at something else. Thanks in advance. --__--__-- Message: 12 Date: Wed, 23 Jul 2003 15:16:09 +0200 (CEST) From: Christine Kronberg To: Subject: [Nagios-users] ocsp_command not working? Hi, Playing around with nagios 1.1 I tried to set up a distributed nagios host using the nsca addon. I configured the distributed nagios host according to he manual, setting obsess_over_services=1 ocsp_command=submit_check_result When calling submit_check_result manually (with the specific arguments) the info is send to the nagios central host just fine. Yet that distributed nagios host never bothers to use the submit_check_result script (updates are done by nagios; at least the status.log is updated regularly). I have read that other people are using this and it works, so obviously I overlooked something. Can someone please assist? Thanky in advance, Chris Kronberg. --__--__-- Message: 13 From: "Sam Stickland" To: Date: Wed, 23 Jul 2003 14:19:04 +0100 Subject: [Nagios-users] Service Escalations and notification_interval Hi, I've written a couple of programs - one that does notification via MSN, and one via SMS. I used the following the service-escalation configuration on a service: define serviceescalation { host_name myhost service_description myservice first_notification 1 last_notification 0 contact_groups admins-msn notification_interval 1 } define serviceescalation { host_name myhost service_description myservice first_notification 1 last_notification 0 contact_groups admins-sms notification_interval 120 } Now I kinda wish that I'd read the documentation a little more carefully ;) It was meant to notify the admins via MSN regulary, but only send out a notification via SMS once every two hours. But of course, what actually happens is that it uses the smallest notification_interval for both the contact-groups. (Just as well I was only testing this to my phone!). So I have two questions: a) Is it possible to define two, overlapping, service escalations for one service, with different notification_intervalS? Or will I have to duplicate the service defination? b) Why is it that the notifcations occured once every five minutes, not once every minute as the notification_interval suggests? Is this a multiplier of some other value? A look at services.cfg suggests it's 'notification_interval x normal_check_interval' since normal_check_interval is the only property with a value of five. Sam --__--__-- Message: 14 Date: 23 Jul 2003 14:23:54 +0100 From: Rob Ford Subject: Re: [Nagios-users] nrpe giving garbled information in status info To: Jason Marshall , Reply-To: Rob Ford Ah.....what I actually did was compile nagios/nagios-plugins on my sparc/= solaris box and then tried to transfer the plugins accross to my intel/= solaris box. Then of course when I tried to run them locally it said it = couldn't execute...which I assumed was standard. And when I ported them to my sparc box it said the same...but that was = because I had the permissions wrong, I changed those and it worked = instantly. So I need to compile the plugins on my intel box and then yell = Doh!!! very loudly But many thanks for your help it is much appreciated. Regards Rob On 7/22/2003 4:21 PM, Jason Marshall wrote: >> I've got the check_disk script on the target machine in /usr/local/= nagios/libexec/check_disk=20 >and the rootdisk line in my nrpe.cfg is as follows: >> command[rootdisk]=3D/usr/local/nagios/libexec/check_disk -w 10% -c=20 >5% -p / >> Is that what you mean? > >Yes, that's what I mean. You're 101% sure it's in the place you=20 >say it >is, is executable, and spits out non-gibberish when you run it on=20 >the >target machine, right? > >>=20 >> Regards >> Rob >>=20 >> On 7/22/2003 3:20 PM, Jason Marshall wrote: >> >> ./check_nrpe -H eris -p 5666 -c rootdisk >> >> x=BC=A8=DF=BC=A8=DFU=F4h - this is what I get >> > >> >I got this while I had the nrpe-based check running on the server,=20 > >> >but no >> >check_whatever script was present on the machine that was supposed=20 > >> >to be >> >running it. Replace check_whatever with whatever the script in=20 >nrpe.cfg >> >is called for rootdisk service... >> > >> >--- >> >Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary,=20 >AB,=20 >> >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:=20 >> > Self confidence my friends call it." -Edgar Allan Poe >> > >> > >> > >> > >>=20 >>=20 >>=20 >> ********************************************************************** >> This email and its attachments are intended for the above=20 >> named only and may be confidential. If they have come to=20 >> you in error, you must take no action based on them, nor=20 >> must you copy or show them to anyone; please reply to this=20 >> email and highlight the error. >> Security Warning: Please note that this email has been=20 >> created in the knowledge that the internet email is not a=20 >> 100% secure communications medium. We advise that you=20 >> understand and observe this lack of security when emailing us. >> Viruses: Although we have taken steps to ensure that this=20 >> email and attachments are free from any virus, we advise=20 >> that in keeping with good computing practice the recipient=20 >> should ensure they are actually virus free. >> If you have received this email in error please notify: >> postmaster at pindar.com >> ********************************************************************** >>=20 > >--- >Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB,=20 >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:=20 > Self confidence my friends call it." -Edgar Allan Poe > > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines=20 >at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when=20 >reporting any issue.=20 >::: Messages without supporting info will risk being sent to /dev/null > > --__--__-- Message: 15 To: nagios-users at lists.sourceforge.net From: Gary.Blydenburgh at ftid.com Date: Wed, 23 Jul 2003 09:28:49 -0400 Subject: [Nagios-users] Author value in Acknowledgements This is a multipart message in MIME format. --=_alternative 0049FFC085256D6C_= Content-Type: text/plain; charset="US-ASCII" Is there a way to grab the Author name in the Acknowledgement notification? There is a group in my company that needs everything forwarded to their own home-grown alert system. I have writing an PERL script to do so, but I'd like to have my message contain the username of the person acknowledging the error. --=_alternative 0049FFC085256D6C_= Content-Type: text/html; charset="US-ASCII"
Is there a way to grab the Author name in the Acknowledgement notification?  There is a group in my company that needs everything forwarded to their own home-grown alert system.  I have writing an PERL script to do so, but I'd like to have my message contain the username of the person acknowledging the error. --=_alternative 0049FFC085256D6C_=-- --__--__-- Message: 16 Subject: RE: [Nagios-users] check_nrpe SSL error Date: Wed, 23 Jul 2003 07:37:02 -0600 From: "Cook, Garry" To: "Claus Helbing" , "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)" , I was receiving this error just yesterday. I was able to fix it by making the nagios account the owner of my nrpe.cfg file and nrpe binary. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile)=20 > -----Original Message----- > From: Claus Helbing [mailto:claus.helbing at descom-consulting.ch]=20 > Sent: Wednesday, July 23, 2003 3:04 AM > To: Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo);=20 > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_nrpe SSL error >=20 >=20 > hmmm.... >=20 > I just got another of these myself and the problem was the=20 > allowed_hosts=3Dx.x.x.x > setting in the /usr/local/nagios/etc/nrpe.cfg file that was=20 > still "127.0.0.1" ... >=20 > Regards, > Claus >=20 > ----- Original Message -----=20 > From: "claus" > To: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)"=20 > ; > Sent: Wednesday, July 23, 2003 9:37 AM > Subject: Re: [Nagios-users] check_nrpe SSL error >=20 >=20 > Hello, >=20 > On my hosts I solved this issue by mutaly connecting > the hosts using ssh and accepting the certificate when asked.=20 > In that way I got the initial certificates. >=20 > Hope this helps, > Claus >=20 > ----- Original Message -----=20 > From: "Andrade, Leonardo F. Buonsanti de (BR - Sao Paulo)"=20 > >=20 > > "could not complete ssl handshake" error >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a=20 > single machine. WITHOUT REBOOTING! Mix Linux / Windows /=20 > Novell virtual machines at the same time. Free trial click=20 > here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS=20 > when reporting any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null >=20 --__--__-- Message: 17 Date: Wed, 23 Jul 2003 07:52:10 -0600 From: "Jeffery Reed" To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Script to forward info via SNMP? This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_D688FA0C.A9C8BC4D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Can anyone point me to a script that will allow me to send information = gathered by Nagios to a Management system such as HP Openview via the SNMP = protocol. I realize that net-snmp provides the ability, but I am = inexperienced in scripting and would appreciate your help. =20 Thanks, =20 Jeff ---------------------------------------------------------------------------= --- This message may contain confidential information, and is intended only for= = the use of the individual(s) to whom it is addressed. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --=_D688FA0C.A9C8BC4D Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Description: HTML
Can anyone point me to a script that will allow me to send information= =20 gathered by Nagios to a Management system such as HP Openview via the SNMP= =20 protocol.  I realize that net-snmp provides the ability, but I am=20 inexperienced in scripting and would appreciate your help.
 
Thanks,
 
Jeff

------------------------------------------------------------------------= ------
This message may contain confidential information, and is intended only for= = the use of the individual(s) to whom it is addressed.


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D

--=_D688FA0C.A9C8BC4D-- --__--__-- Message: 18 From: "Rivanor P. Soares" To: "Les" , nagios-users at lists.sourceforge.net Date: Wed, 23 Jul 2003 10:58:20 -0300 Subject: Re: [Nagios-users] Question on Nagios use Hi Les, Take a look, from Nagios FAQ: - F0028 Sending SNMP traps to a management host [1] - F0029 Receiving SNMP traps [2] - F0094 Where can I find a list of SNMP MIBs for use in monitoring? [3] [1]- http://www.nagios.org/faqs/viewfaq.php?faq_id=28 [2]- http://www.nagios.org/faqs/viewfaq.php?faq_id=29 [3]- http://www.nagios.org/faqs/viewfaq.php?faq_id=94 Read this and be happy! :) Regards, - Rivanor. ----- Original Message ----- From: Les Date: Wed, 23 Jul 2003 07:30:36 -0500 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question on Nagios use > Do I have to have a client installed to monitor anything with Nagios. > I > just want to monitor Cisco and Motorola devices with snmp. Will > Nagios do this or do I need to look at something else. Thanks in > advance. -- Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze --__--__-- Message: 19 Subject: RE: [Nagios-users] Service Escalations and notification_interval Date: Wed, 23 Jul 2003 10:14:18 -0400 From: "Brian Snead" To: The reason it happens every five minutes is because notifications don't = occur unless a service check is performed. Therefore, nothing has = changed to kick off a notification until the check is performed. You asked if you could have different notification intervals for the = same service. I think you can if you use host group notifications and = have the service belong to two hostgroups. Hope this helps, I am struggling with controlling notifications right = now myself. Brian. -----Original Message----- From: Sam Stickland [mailto:sam_ml at spacething.org] Sent: Wednesday, July 23, 2003 9:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service Escalations and notification_interval Hi, I've written a couple of programs - one that does notification via MSN, = and one via SMS. I used the following the service-escalation configuration on a service: define serviceescalation { host_name myhost service_description myservice first_notification 1 last_notification 0 contact_groups admins-msn notification_interval 1 } define serviceescalation { host_name myhost service_description myservice first_notification 1 last_notification 0 contact_groups admins-sms notification_interval 120 } Now I kinda wish that I'd read the documentation a little more carefully = ;) It was meant to notify the admins via MSN regulary, but only send out a notification via SMS once every two hours. But of course, what actually happens is that it uses the smallest notification_interval for both the contact-groups. (Just as well I was only testing this to my phone!). So I have two questions: a) Is it possible to define two, overlapping, service escalations for = one service, with different notification_intervalS? Or will I have to = duplicate the service defination? b) Why is it that the notifcations occured once every five minutes, not = once every minute as the notification_interval suggests? Is this a multiplier = of some other value? A look at services.cfg suggests it's 'notification_interval x normal_check_interval' since = normal_check_interval is the only property with a value of five. Sam ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 20 Date: Wed, 23 Jul 2003 16:17:56 +0200 To: nagios-users at lists.sourceforge.net From: Basile Mathieu Subject: [Nagios-users] problem with check nagios 1.3.1 plugins 1.3.1 OS linux redhat 7.2 nagios don t perform any check i dont find why i see that the last check was made two days ago if somebody can help me thanks --__--__-- Message: 21 Subject: Re: [Nagios-users] logs dissapering From: Jeff McKeon To: Nagios List Organization: Date: 23 Jul 2003 10:37:18 -0400 Does anyone have any info on this??? On Mon, 2003-07-21 at 17:32, Jeff McKeon wrote: > Permissions are fine, disk space is plentiful.. Is this perhaps a bug > that is addressed in ver 1.1? > > On Mon, 2003-07-21 at 10:45, Claus Rosenberger wrote: > > Perhaps the rotation of log failed. Check the permissions of the archive > > directory. > > > > Claus > > > > > Nagios ver 1.0 Nov 24, 2002 > > > > > > I've got some disturbing behavior, my nagios logs are empty for days at > > > a time, all of them, Event, Notifications, alert history etc. They seem > > > to delete whenever the day rolls over... I can see all of today's > > > events but not the past 3-4 days. the logs are empty, not even the > > > hourly "auto save of retension date completed successfully" > > > > > > Any ideas as to what is going on here or where I should look? > > > > > > thanks, > > > > > > > > > -- > > > Jeff McKeon > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating systems on a single machine. > > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > -- Jeff McKeon --__--__-- Message: 22 From: Networks To: nagios-users at lists.sourceforge.net Date: 23 Jul 2003 09:49:50 -0500 Subject: [Nagios-users] Changing Minimum Downtime Is there a way to change the default of 2hrs for minimum down time? I looked through both the manual and config files, but didn't find anything. Thanks, Josh --__--__-- Message: 23 From: "Sam Stickland" To: Subject: Re: [Nagios-users] Service Escalations and notification_interval Date: Wed, 23 Jul 2003 16:32:25 +0100 Thanks the reply, I understand what you are saying about the notifications not occuring unless a service check is preformed, but the retry_check_interval is 1. The service templateit is based on is: defineservice { name standard-service use generic-service register 0; is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r } Surely that means that it will check the service once a minute once it is critical? Unless the notification_interval is based on the normal_check_interval? I'll look into trying the hostgroup escalations for the escalation problem, but it doesn't seem the most optimal solution, just a workaround. Sam ----- Original Message ----- From: "Brian Snead" To: Sent: Wednesday, July 23, 2003 3:14 PM Subject: RE: [Nagios-users] Service Escalations and notification_interval > The reason it happens every five minutes is because notifications don't occur unless a service check is performed. Therefore, nothing has changed to kick off a notification until the check is performed. > > You asked if you could have different notification intervals for the same service. I think you can if you use host group notifications and have the service belong to two hostgroups. > > Hope this helps, I am struggling with controlling notifications right now myself. > > Brian. > > -----Original Message----- > From: Sam Stickland [mailto:sam_ml at spacething.org] > Sent: Wednesday, July 23, 2003 9:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service Escalations and notification_interval > > > Hi, > > I've written a couple of programs - one that does notification via MSN, and > one via SMS. > > I used the following the service-escalation configuration on a service: > > define serviceescalation { > host_name myhost > service_description myservice > first_notification 1 > last_notification 0 > contact_groups admins-msn > notification_interval 1 > } > > define serviceescalation { > host_name myhost > service_description myservice > first_notification 1 > last_notification 0 > contact_groups admins-sms > notification_interval 120 > } > > Now I kinda wish that I'd read the documentation a little more carefully ;) > It was meant to notify the admins via MSN regulary, but only send out a > notification via SMS once every two hours. But of course, what actually > happens is that it uses the smallest notification_interval for both the > contact-groups. (Just as well I was only testing this to my phone!). > > So I have two questions: > > a) Is it possible to define two, overlapping, service escalations for one > service, with different notification_intervalS? Or will I have to duplicate > the service defination? > > b) Why is it that the notifcations occured once every five minutes, not once > every minute as the notification_interval suggests? Is this a multiplier of > some other value? A look at services.cfg suggests it's > 'notification_interval x normal_check_interval' since normal_check_interval > is the only property with a value of five. > > Sam > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 24 Date: Wed, 23 Jul 2003 11:54:46 -0400 From: Kin-Ho Kwan Organization: Hx Technologies Inc. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Error on comiling Nagios Hi all, When I try to compile Nagios 1.1, I got an error message when I "make all" undefined reference to gdImageCreateFromJpeg I am installing Nagios on Redhat 7.1 with gd 1.8.4 Is there any clue on that? Thanks -- Kin-Ho Kwan Software Engineer Hx Technologies Kin-Ho.Kwan at hxti.com --__--__-- Message: 25 Date: Wed, 23 Jul 2003 12:08:45 -0400 To: nagios-users at lists.sourceforge.net From: Jeyri Bautista Subject: [Nagios-users] Question about reports Hi, I want to know if is possible export the availability reports from nagios to excel or other tool. Thanks Jeyri --__--__-- Message: 26 From: "John Senior" To: Date: Wed, 23 Jul 2003 17:22:50 +0100 Subject: [Nagios-users] Getting a quick text summary from Nagios? This is a multi-part message in MIME format. ------=_NextPart_000_005F_01C3513F.0C2BEA60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi folks, I'm looking for an easy way to pull a quick summary from Nagios. I want to be able to SMS our server and get it to spit back a quick overview - i.e. there's nothing wrong, or there are 5 hosts down and 6 service outages etc. Has anyone done this already? Cheers, John. -- John Senior ------=_NextPart_000_005F_01C3513F.0C2BEA60 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Getting a quick text summary from Nagios?

Hi folks,

I'm looking for an easy way to pull a quick summary = from Nagios.
I want to be able to SMS our server and get it to = spit back
a quick overview - i.e. there's nothing wrong, or = there are 5
hosts down and 6 service outages etc.

Has anyone done this already?

Cheers,

John.

--
John Senior <js at irishbroadband.ie>

------=_NextPart_000_005F_01C3513F.0C2BEA60-- --__--__-- Message: 27 From: DTerrell at Delphi-Tech.com To: nagios-users at lists.sourceforge.net Date: Wed, 23 Jul 2003 13:24:02 -0400 Subject: [Nagios-users] Nagios + mysql DB This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3513F.35FEB3E0 Content-Type: text/plain HI all, Just wondering if anyone has experience with Nagios using a database backend and if there are really any benefits to it. I'm considering changing over my three nagios boxes but would like to know if the support will be there in the future releases and if it's really worth it! TIA, Dave ------_=_NextPart_001_01C3513F.35FEB3E0 Content-Type: text/html Getting a quick text summary from Nagios?

HI all,

Just wondering if anyone has experience with Nagios using a database backend and if there are really any benefits to it.  I'm considering changing over my three nagios boxes but would like to know if the support will be there in the future releases and if it's really worth it!

TIA,

Dave

------_=_NextPart_001_01C3513F.35FEB3E0-- --__--__-- Message: 28 Subject: Re: [Nagios-users] Nagios + mysql DB From: Jason Martens Reply-To: jmartens at cityofevanston.org To: nagios-users at lists.sourceforge.net Organization: City of Evanston Date: 23 Jul 2003 14:08:38 -0500 Database support will be dropped in version 2.0. http://www.nagios.org/upcoming.php For that reason, you probably don't want to start using it now... Jason Martens City of Evanston On Wed, 2003-07-23 at 12:24, DTerrell at Delphi-Tech.com wrote: > HI all, > > Just wondering if anyone has experience with Nagios using a > database backend and if there are really any benefits to it. > I'm considering changing over my three nagios boxes but would > like to know if the support will be there in the future > releases and if it's really worth it! > > TIA, > > Dave > --__--__-- Message: 29 Reply-To: From: "Dan Spray" To: "Nagios-Users" Date: Wed, 23 Jul 2003 16:23:29 -0500 Organization: Connecting Point Subject: [Nagios-users] Problem with Ping service trends This is a multi-part message in MIME format. ------=_NextPart_000_007A_01C35136.C0CB7930 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, =20 I have a ping service on a host that if I view the trends report it = shows that it has always been red or critical. The ping service is okay but = the trends graph shows that it isn't. Is there a way to reset the graph or = make it start showing correctly? =20 Thanks in advance, =20 Dan =20 -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE < http://www.conpoint.com/> Voice - 402.371.4530 x208 Fax - 402.371.4515 "The trouble with doing anything right the first time is that nobody appreciates how difficult it was!" -- =20 ------=_NextPart_000_007A_01C35136.C0CB7930 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

I have a ping service on a host that if I view the = trends report it shows that it has always been red or critical.  The ping service = is okay but the trends graph shows that it isn’t.  Is there a = way to reset the graph or make it start showing correctly?

 

Thanks in advance,

 

Dan

 

--
Dan Spray, Director of Internet Operations dan at conpoint.com
Connecting
Point = Norfolk, = NE <http://www.conpoint.com/<= font size=3D2 color=3Dblue>>
Voice - 402.371.4530 x208 Fax - 402.371.4515

"The trouble with doing anything right = the first time is that nobody appreciates how difficult it was!"

--

 

------=_NextPart_000_007A_01C35136.C0CB7930-- --__--__-- Message: 30 Date: Wed, 23 Jul 2003 16:28:38 -0500 From: Larry Bills Subject: Re: [Nagios-users] Nagios + mysql DB (Get it Right!) To: jmartens at cityofevanston.org Cc: nagios-users at lists.sourceforge.net This statement is not entirely true...the text says and always has...that db support MAY be dropped in version 3.0, not 2.0 as many relay here. Also if one would read further...it says: " Please note that I do not plan on yanking the current DB support out of Nagio unless it can be done in a better way using the event broker daemon (which should appear in 2.x). So what that means is there should be DB integration in some manner or another - its not completely disappearing." Ethan and others go to a lot of trouble to provide this information to us, please let us read and relay ACCURATE information to others. 2 cents Larry Bills On Wed, 2003-07-23 at 14:08, Jason Martens wrote: > Database support will be dropped in version 2.0. > http://www.nagios.org/upcoming.php > > For that reason, you probably don't want to start using it now... > > Jason Martens > City of Evanston > > On Wed, 2003-07-23 at 12:24, DTerrell at Delphi-Tech.com wrote: > > HI all, > > > > Just wondering if anyone has experience with Nagios using a > > database backend and if there are really any benefits to it. > > I'm considering changing over my three nagios boxes but would > > like to know if the support will be there in the future > > releases and if it's really worth it! > > > > TIA, > > > > Dave > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 31 From: "Gilbert T. Gutierrez, Jr." To: Date: Wed, 23 Jul 2003 15:55:48 -0700 Subject: [Nagios-users] Missing CGIs - Nagios 1.1 I have seen other posts mentioning missing CGI files (trends.cgi and statusmap.cgi). When I was trying out Nagios 1.0, I had the files, and when I compiled Nagios 1.1, I no longer had the files. Here is what I did to make the repair. Gilbert T. Gutierrez, Jr. 1. I made all of the files with 'make' 2. Edited the file cgi/Makefile at the line beginning 'CGIS=' adding the 2 CGI's to the list of CGI's to compile. ---------ORIGINAL LINE------------- CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi $(CGIEXTRAS) ---------MODIFIED LINE---------- CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi trends.cgi statusmap.cgi $(CGIEXTRAS) 3. I re-ran 'make' and the CGI's were compiled. SYSTEM: FreeBSD 4.8 utilizing the ports tree. --- [ This E-mail was scanned for viruses by Phoenix Internet ] [ Phoenix Internet www.phoenixinternet.net ] --__--__-- Message: 32 From: "Gilbert T. Gutierrez, Jr." To: Date: Wed, 23 Jul 2003 15:57:45 -0700 Subject: [Nagios-users] Nagios 1.1 - Missing CGIs I have seen other posts mentioning missing CGI files (trends.cgi and statusmap.cgi). When I was trying out Nagios 1.0, I had the files, and when I compiled Nagios 1.1, I no longer had the files. Here is what I did to make the repair. Gilbert T. Gutierrez, Jr. 1. I made all of the files with 'make' 2. Edited the file cgi/Makefile at the line beginning 'CGIS=' adding the 2 CGI's to the list of CGI's to compile. ---------ORIGINAL LINE------------- CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi $(CGIEXTRAS) ---------MODIFIED LINE---------- CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi trends.cgi statusmap.cgi $(CGIEXTRAS) 3. I re-ran 'make' and the CGI's were compiled. SYSTEM: FreeBSD 4.8 utilizing the ports tree. --- [ This E-mail was scanned for viruses by Phoenix Internet ] [ Phoenix Internet www.phoenixinternet.net ] --__--__-- Message: 33 To: nagios-users at lists.sourceforge.net Date: Thu, 24 Jul 2003 11:13:33 +1000 (EST) From: mark.johnson at shinetech.com Subject: [Nagios-users] J2EE (SunOne) monitoring I am interested in monitoring a J2EE application server. In this instance it is SunOne, but I would be interested in anything people have done in any applicaion server (JBoss, 9iAS, WebSphere, Weblogic, etc). If anyone can help me out that would be great. Cheers, Mark ----------------------------------------------- Shine Technologies - A Passion For Excellence http://www.ShineTech.com ----------------------------------------------- --__--__-- Message: 34 From: Jasmine To: Jeff McKeon Subject: Re: [Nagios-users] logs dissapering Date: Thu, 24 Jul 2003 09:43:06 +0800 Cc: nagios-users at lists.sourceforge.net =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 23 July 2003 22:37, Jeff McKeon wrote: > Does anyone have any info on this??? hmm interesting problem..=20 Did you check to make sure that this is set to 1 in nagios.cfg?=20 retain_state_information=3D1 Maybe you would like to post your nagios.cfg together with the permissions = of=20 all nagios log files.=20 Jasmine=20 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/HzmqNgvTa7Hj2AURAlhhAKCFwAtERAi0y1CMkqpelB9y7G8u/QCfZKtZ jAKEudHLS9G0sPi7BhJ/dPo=3D =3DAB5K =2D----END PGP SIGNATURE----- --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest "This Message may contain confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you received this message in error please notify your Mail Administrator and delete this message immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of GMA Network, Inc." ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NeilStone at sttechnology.co.uk Thu Jul 24 11:02:48 2003 From: NeilStone at sttechnology.co.uk (Neil Stone) Date: Thu, 24 Jul 2003 10:02:48 +0100 Subject: Monitoring Available Disk Space... Message-ID: <3F1FA0B8.9060009@STTechnology.Co.Uk> Morning all... (well it is here :-P ) After wishing I had used nagios sooner, I decided to download and install it. OK, got it running on 2 servers here in my office, It pings the 2 of them nicely... I thought yay... Then I decided to setup disk space monitoring... I can get it to monitor one disk without any major problems (/dev/sda1) but if i monitor any others it fails.. Error message: Unable to read output Has anyone else come across this before, if so how did you get around it.. Thanks Neil Stone ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From specka at specka.com Thu Jul 24 11:24:39 2003 From: specka at specka.com (Marco A. Mateos) Date: 24 Jul 2003 11:24:39 +0200 Subject: After restart Apache, nagios cgi don't work Message-ID: <1059038678.21124.41.camel@25.Red-80-25-130.pooles.rima-tde.net> Any changes on my httpd.conf or others conf files for apache. Nagiso work perfectly. After restart my machine, nagios web page work, but all cgis for show analysis, don't work. I go to my error.log and show this: [Thu Jul 24 10:06:29 2003] [error] [client 80.25.130.25] Premature end of script headers: tac.cgi, referer: http://specka.com/nagios/side.html [Thu Jul 24 10:06:30 2003] [error] [client 80.25.130.25] Premature end of script headers: status.cgi, referer: http://specka.com/nagios/side.html [Thu Jul 24 10:06:31 2003] [error] [client 80.25.130.25] Premature end of script headers: status.cgi, referer: http://specka.com/nagios/side.html [Thu Jul 24 10:06:32 2003] [error] [client 80.25.130.25] Premature end of script headers: status.cgi, referer: http://specka.com/nagios/side.html [Thu Jul 24 10:06:33 2003] [error] [client 80.25.130.25] Premature end of script headers: status.cgi, referer: http://specka.com/nagios/side.html [Thu Jul 24 10:06:36 2003] [error] [client 80.25.130.25] Premature end of script headers: status.cgi, referer: http://specka.com/nagios/side.html [Thu Jul 24 10:06:37 2003] [error] [client 80.25.130.25] Premature end of script headers: statusmap.cgi, referer: http://specka.com/nagios/side.html [Thu Jul 24 10:06:37 2003] [error] [client 80.25.130.25] Premature end of script headers: statuswrl.cgi, referer: http://specka.com/nagios/side.html I'm lost. -- Marco A. Mateos - Linux User: 209189 http://www.lomejordeinternet.net / specka.com http://graficas.lomejordeinternet.net http://hosting.lomejordeinternet.net - Hosting specka at quitaesto.specka.com / ICQ: 172542875 Clave P?blica disponible en pgp.rediris.es ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at gushlow.com Thu Jul 24 12:23:55 2003 From: nick at gushlow.com (Nick Gushlow) Date: 24 Jul 2003 11:23:55 +0100 Subject: Disk not mounted or nonexistant error Message-ID: <1059042234.963.11.camel@rockley.barbados> I've got free space monitoring on my one of my servers, and for 3 of the drives it's fine, however for one drive/mount I get: Disk "/dev/vg/incoming" not mounted or nonexistant Which is weird, because /dev/vg/incoming is mounted according to mount & df (and according to me because I keep moving files there). I just can't figure out why, the service def for this is the same as the others: # /dev/vg/incoming define service{ use generic-service ; Name of service template to use host_name oistins service_description /dev/vg/incoming Free Space is_volatile 0 check_period 24x7 contact_groups sd-linux-admins notification_interval 120 notification_period 24x7 notification_options u,c,r check_command check_local_disk!5%!2%!/dev/vg/incoming } Output of mount: /dev/vg/incoming on /home/nickg/Incoming reiserfs (rw,noexec,nosuid,nodev) Output of df: Filesystem Type Size Used Avail Use% Mounted on /dev/vg/incoming reiserfs 5.0G 3.0G 2.1G 59% /home/nickg/Incoming Can anyone give me any pointers? Regards, Nick Gushlow ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Jul 24 15:09:15 2003 From: jsm at inpro.net (Jeff McKeon) Date: 24 Jul 2003 09:09:15 -0400 Subject: logs dissapering In-Reply-To: <200307240943.07713.jasmine.chua@securecirt.com> References: <1058796392.23211.27.camel@rh80-jsm.telaurus.net> <1058823124.23211.29.camel@rh80-jsm.telaurus.net> <1058971037.23211.41.camel@rh80-jsm.telaurus.net> <200307240943.07713.jasmine.chua@securecirt.com> Message-ID: <1059052155.23211.54.camel@rh80-jsm.telaurus.net> /usr/local/nagios/var/ [root at MIS01TC07927 var]# ls -l total 60 drwxrwxr-x 2 nagios nagios 4096 Jul 24 00:00 archives -rw-rw-r-- 1 nagios nagios 708 Jul 24 12:21 comment.log -rw-rw-r-- 1 nagios nagios 0 Jul 24 12:21 downtime.log -rw-r--r-- 1 root root 4 Jul 24 12:21 nagios.lock -rw-rw-r-- 1 nagios nagios 12494 Jul 24 12:26 nagios.log drwxrws--- 2 nagios nagiocmd 4096 Jul 24 12:21 rw -rw-rw-r-- 1 nagios nagios 15782 Jul 24 13:07 status.log -rw-rw-r-- 1 nagios nagios 12034 Jul 24 12:21 status.sav /usr/local/nagios/var/archives/ --snip-- -rw-rw-r-- 1 nagios nagios 33 Jul 19 23:59 nagios-07-20-2003-00.log -rw-rw-r-- 1 nagios nagios 5291 Jul 20 23:44 nagios-07-20-2003-23.log -rw-rw-r-- 1 nagios nagios 33 Jul 20 23:59 nagios-07-21-2003-00.log -rw-rw-r-- 1 nagios nagios 49941 Jul 21 23:44 nagios-07-22-2003-00.log -rw-rw-r-- 1 nagios nagios 25519 Jul 22 23:39 nagios-07-22-2003-23.log -rw-rw-r-- 1 nagios nagios 33 Jul 22 23:59 nagios-07-23-2003-00.log -rw-rw-r-- 1 nagios nagios 5143 Jul 23 23:39 nagios-07-23-2003-23.log -rw-rw-r-- 1 nagios nagios 33 Jul 23 23:59 nagios-07-24-2003-00.log --snip-- >From nagios.cfg --snip-- retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=0 interval_length=60 --snip-- On Wed, 2003-07-23 at 21:43, Jasmine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wednesday 23 July 2003 22:37, Jeff McKeon wrote: > > Does anyone have any info on this??? > > > hmm interesting problem.. > Did you check to make sure that this is set to 1 in nagios.cfg? > > retain_state_information=1 > > Maybe you would like to post your nagios.cfg together with the permissions of > all nagios log files. > > Jasmine > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE/HzmqNgvTa7Hj2AURAlhhAKCFwAtERAi0y1CMkqpelB9y7G8u/QCfZKtZ > jAKEudHLS9G0sPi7BhJ/dPo= > =AB5K > -----END PGP SIGNATURE----- -- Jeff McKeon ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkloeffer at tycoint.com Thu Jul 24 15:30:40 2003 From: mkloeffer at tycoint.com (=?iso-8859-1?Q?Michael_Kl=F6ffer?=) Date: Thu, 24 Jul 2003 15:30:40 +0200 Subject: Nagios 1.1 and Performance Data Message-ID: <001f01c351e7$c6792830$7928020a@win.ckssysteme.de> Hi, I just upgraded my Nagios installation to 1.1 and it ran perfect. Then I just wanted to test performance data collection, but I had some problems: If using the the command-based method the log entrys get mixed, because more than one check command runs at one time. --> So I decided to switch to the file based method but Only the file hostperf.log get written, and it is only written when a service (!) check fails (exit code>0). The serviceperf.log is not created. My configuration: ---------------------------------------------------------------------------- -------------------- process_performance_data=1 #host_perfdata_command=process-host-perfdata #service_perfdata_command=process-service-perfdata xpdfile_host_perfdata_file=/opt/nagios/var/hostperf.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdara_file=/opt/nagios/var/serviceperf.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPU T$\t$PERFDATA$ ---------------------------------------------------------------------------- -------------------- How can I get this to work? Thanks alot, Michael ------------------------------------------------------------- Michael Kl?ffer CKS Systeme GmbH & Co. KG Brauerstra?e 50 76135 Karlsruhe Telefon: +49 721 2032-217 Telefax: +49 721 2032-219 eMail: mkloeffer at tycoint.com Web: http://www.cks-systeme.de ------------------------------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bart at bockhoudt.com Thu Jul 24 16:15:47 2003 From: bart at bockhoudt.com (Bart Bockhoudt) Date: Thu, 24 Jul 2003 16:15:47 +0200 Subject: Startup problems Nagios Message-ID: <33FBA5EFAEB12944B4B227F333B6F6737D82@timo> Hi all, I'm new to Nagios, and I most probably have some common startup problems that most people have... :) I have installed Nagios-text 1.1 through apt on a Debian distribution and the plugins 1.3.1. It seems that all is running fine, but I keep getting the following error on the site when I click the monitor links: "It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." I am logged in as "nagiosadmin", there is nothing wrong with the HTTP authentication, as far as I can see. Also no errors or access denied errors in the Apache logs. In the CGI.cfg the user nagiosadmin can access everything by default.. Please help! Gr, Bart -------------- next part -------------- An HTML attachment was scrubbed... URL: From sam_ml at spacething.org Thu Jul 24 16:10:58 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Thu, 24 Jul 2003 15:10:58 +0100 Subject: After restart Apache, nagios cgi don't work References: <1059038678.21124.41.camel@25.Red-80-25-130.pooles.rima-tde.net> Message-ID: <009901c351ed$67c5c860$fb00a8c0@office.toastedmedia.net> Run the script status.cgi from the command-line as the same user that apache runs under, and see if the script is issuing any compliation errors. Sam ----- Original Message ----- From: "Marco A. Mateos" To: Sent: Thursday, July 24, 2003 10:24 AM Subject: [Nagios-users] After restart Apache, nagios cgi don't work > Any changes on my httpd.conf or others conf files for apache. > Nagiso work perfectly. > > After restart my machine, nagios web page work, but all cgis for show > analysis, don't work. > > I go to my error.log and show this: > > [Thu Jul 24 10:06:29 2003] [error] [client 80.25.130.25] > Premature end of script headers: tac.cgi, referer: > http://specka.com/nagios/side.html > [Thu Jul 24 10:06:30 2003] [error] [client 80.25.130.25] > Premature end of script headers: status.cgi, referer: > http://specka.com/nagios/side.html > [Thu Jul 24 10:06:31 2003] [error] [client 80.25.130.25] > Premature end of script headers: status.cgi, referer: > http://specka.com/nagios/side.html > [Thu Jul 24 10:06:32 2003] [error] [client 80.25.130.25] > Premature end of script headers: status.cgi, referer: > http://specka.com/nagios/side.html > [Thu Jul 24 10:06:33 2003] [error] [client 80.25.130.25] > Premature end of script headers: status.cgi, referer: > http://specka.com/nagios/side.html > [Thu Jul 24 10:06:36 2003] [error] [client 80.25.130.25] > Premature end of script headers: status.cgi, referer: > http://specka.com/nagios/side.html > [Thu Jul 24 10:06:37 2003] [error] [client 80.25.130.25] > Premature end of script headers: statusmap.cgi, referer: > http://specka.com/nagios/side.html > [Thu Jul 24 10:06:37 2003] [error] [client 80.25.130.25] > Premature end of script headers: statuswrl.cgi, referer: > http://specka.com/nagios/side.html > > I'm lost. > > -- > Marco A. Mateos - Linux User: 209189 > http://www.lomejordeinternet.net / specka.com > http://graficas.lomejordeinternet.net > http://hosting.lomejordeinternet.net - Hosting > specka at quitaesto.specka.com / ICQ: 172542875 > Clave P?blica disponible en pgp.rediris.es > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkloeffer at tycoint.com Thu Jul 24 16:35:16 2003 From: mkloeffer at tycoint.com (=?iso-8859-1?Q?Michael_Kl=F6ffer?=) Date: Thu, 24 Jul 2003 16:35:16 +0200 Subject: AW: Nagios 1.1 and Performance Data In-Reply-To: <001f01c351e7$c6792830$7928020a@win.ckssysteme.de> References: <001f01c351e7$c6792830$7928020a@win.ckssysteme.de> Message-ID: <002001c351f0$cd0fee00$7928020a@win.ckssysteme.de> Ok, just forget about it.... I deleted the configuration (which was pasted from the online documentation) and added it again... Et voila... It works.... But I have a final question... Is this logfile archived like nagios.log? Bye Michael. -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Michael Kl?ffer Gesendet: Donnerstag, 24. Juli 2003 15:31 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Nagios 1.1 and Performance Data Hi, I just upgraded my Nagios installation to 1.1 and it ran perfect. Then I just wanted to test performance data collection, but I had some problems: If using the the command-based method the log entrys get mixed, because more than one check command runs at one time. --> So I decided to switch to the file based method but Only the file hostperf.log get written, and it is only written when a service (!) check fails (exit code>0). The serviceperf.log is not created. My configuration: ---------------------------------------------------------------------------- -------------------- process_performance_data=1 #host_perfdata_command=process-host-perfdata #service_perfdata_command=process-service-perfdata xpdfile_host_perfdata_file=/opt/nagios/var/hostperf.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdara_file=/opt/nagios/var/serviceperf.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPU T$\t$PERFDATA$ ---------------------------------------------------------------------------- -------------------- How can I get this to work? Thanks alot, Michael ------------------------------------------------------------- Michael Kl?ffer CKS Systeme GmbH & Co. KG Brauerstra?e 50 76135 Karlsruhe Telefon: +49 721 2032-217 Telefax: +49 721 2032-219 eMail: mkloeffer at tycoint.com Web: http://www.cks-systeme.de ------------------------------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Thu Jul 24 16:55:23 2003 From: networks at wi.rr.com (Networks) Date: 24 Jul 2003 09:55:23 -0500 Subject: Changing Minimum Downtime In-Reply-To: <1058971790.16450.3.camel@elijah> References: <5DB017510818EC468B05BD7BD9EACF83032D47DD@mismail.ena.com> <3F1BE0FF.8010500@autistici.org> <1058971790.16450.3.camel@elijah> Message-ID: <1059058523.20438.0.camel@elijah> Anyone? I can't be the only one who found the 2 hour minimum annoying.. On Wed, 2003-07-23 at 09:49, Networks wrote: > > Is there a way to change the default of 2hrs for minimum down time? > I looked through both the manual and config files, but didn't find > anything. > > Thanks, > > Josh > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From k.carey at mail.infochan.com Thu Jul 24 17:07:01 2003 From: k.carey at mail.infochan.com (Kevin Carey) Date: Thu, 24 Jul 2003 10:07:01 -0500 Subject: check_mailq query on Solaris Message-ID: <499f01c351f5$3c8d0ca0$f518cd42@KEVIN> Dear Sir/Madam, I am running SunOS daffodil 5.7 Generic_106541-17 sun4u sparc SUNW,Ultra-5_10, with Nagios Plugins 1.3.0. and sendmail 8-9-3. However, whenever I try to run the check_mailq, I get the following: Use of uninitialized value in concatenation (.) or string at ./check_mailq line 110. | mailq = Use of uninitialized value in exit at ./check_mailq line 111. Any assistance will be appreciated. Thanks. Kevin Carey Systems Administrator InfoChannel Ltd. Tel.: (876) 978-2960, Fax: (876) 978-2966 Jamaica, W.I. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcclure at pneservices.com Thu Jul 24 17:34:58 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 24 Jul 2003 10:34:58 -0500 (CDT) Subject: Changing Minimum Downtime In-Reply-To: <1059058523.20438.0.camel@elijah> References: <5DB017510818EC468B05BD7BD9EACF83032D47DD@mismail.ena.com><3F1BE0FF. 8010500@autistici.org> <1058971790.16450.3.camel@elijah> <1059058523.20438.0.camel@elijah> Message-ID: <29349.64.219.133.155.1059060898.squirrel@xyzzy.homeip.net> It's all in cgi/cmd.c. Look for "Start" to find the HTML and stuff generated. Change it to what you want and rebuild. I just looked in the alpha code since it was handy. I don't know what version you are using. Natch: >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any >> issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > Anyone? I can't be the only one who found the 2 hour minimum annoying.. > > On Wed, 2003-07-23 at 09:49, Networks wrote: >> >> Is there a way to change the default of 2hrs for minimum down time? >> I looked through both the manual and config files, but didn't find >> anything. >> -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason.payne at iland.com Thu Jul 24 17:50:28 2003 From: jason.payne at iland.com (Jason Payne - iLand Internet Solutions Corp.) Date: Thu, 24 Jul 2003 10:50:28 -0500 Subject: Changing Minimum Downtime Message-ID: <7A626FF425518246801C933014AA98F009D3ED@hou-ex01.IHTX.ILAND.COM> Maybe if we knew what you were asking we'd be able to provide you with an answer. Jason -----Original Message----- From: Networks [mailto:networks at wi.rr.com] Sent: Thursday, July 24, 2003 9:55 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Changing Minimum Downtime Anyone? I can't be the only one who found the 2 hour minimum annoying.. On Wed, 2003-07-23 at 09:49, Networks wrote: > > Is there a way to change the default of 2hrs for minimum down time? > I looked through both the manual and config files, but didn't find > anything. > > Thanks, > > Josh > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Christine_Kronberg at genua.de Thu Jul 24 18:24:12 2003 From: Christine_Kronberg at genua.de (Christine Kronberg) Date: Thu, 24 Jul 2003 18:24:12 +0200 (CEST) Subject: ocsp_command not working? In-Reply-To: References: Message-ID: On Wed, 23 Jul 2003, Christine Kronberg wrote: > > Playing around with nagios 1.1 I tried to set up a distributed > nagios host using the nsca addon. I configured the distributed > nagios host according to he manual, setting > obsess_over_services=1 > ocsp_command=submit_check_result > When calling submit_check_result manually (with the specific > arguments) the info is send to the nagios central host just > fine. Yet that distributed nagios host never bothers to use > the submit_check_result script (updates are done by nagios; > at least the status.log is updated regularly). > I have read that other people are using this and it works, so > obviously I overlooked something. Can someone please assist? Finally found it. Thanks to another posting mentioning the ownership of the nrpe binary I came to think about the owner- ship and permissions of the nsca binary and configuration file. The latter was only root readable. Fixed that and now everything works as it should. :-) (Just wished that there was a kind of error message, that the configuration file could not be read...) Cheers, Chris. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rodrigo.Magalhaes at infoglobo.com.br Thu Jul 24 18:59:08 2003 From: Rodrigo.Magalhaes at infoglobo.com.br (Rodrigo.Magalhaes at infoglobo.com.br) Date: Thu, 24 Jul 2003 13:59:08 -0300 Subject: Monitoring to MS Exchange Message-ID: <987467FDD65E604BBA52DD6C9FD2C8FF41F67D@infodata1.ogmaster.local> Hello all, Could you help me? I need to monitoring a queue of messages in MS Exchange. Thanks, Rodrigo Magalh?es Analista de Suporte - Tecnologia - Infoglobo Infoglobo Comunica??es Ltda e-mail: rodrigo.magalhaes at infoglobo.com.br Telefone: +55 (21) 2534-5335 - - - - - - - - - - - - - - - - - AVISO IMPORTANTE- - - - - - - - - - - - - - - - Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial e seu conte?do ? para conhecimento exclusivo do destinat?rio. O seu uso, divulga??o, reprodu??o e/ou c?pia s?o proibidos. This message is intended only for the individual or organization to which it is addressed and contains confidential and privileged information. Any retransmission, dissemination or other use of this information by anyone other than the intended recipient is prohibited. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrobinett at wi.rr.com Thu Jul 24 19:12:42 2003 From: jrobinett at wi.rr.com (Joshua R.) Date: 24 Jul 2003 12:12:42 -0500 Subject: Changing Minimum Downtime In-Reply-To: <29349.64.219.133.155.1059060898.squirrel@xyzzy.homeip.net> References: <5DB017510818EC468B05BD7BD9EACF83032D47DD@mismail.ena.com> <3F1BE0FF.8010500@autistici.org> <1058971790.16450.3.camel@elijah> <1059058523.20438.0.camel@elijah> <29349.64.219.133.155.1059060898.squirrel@xyzzy.homeip.net> Message-ID: <1059066762.32370.1.camel@elijah> Thanks Mike, exactly what I needed to know. On Thu, 2003-07-24 at 10:34, Mike McClure wrote: > It's all in cgi/cmd.c. Look for "Start" to find the HTML and stuff generated. > > Change it to what you want and rebuild. > > I just looked in the alpha code since it was handy. I don't know what version you > are using. > > Natch: > > >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any > >> issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > > Anyone? I can't be the only one who found the 2 hour minimum annoying.. > > > > On Wed, 2003-07-23 at 09:49, Networks wrote: > >> > >> Is there a way to change the default of 2hrs for minimum down time? > >> I looked through both the manual and config files, but didn't find > >> anything. > >> > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure [at] pneservices [dot] com > mobile: 913-636-5590 > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jul 24 19:12:35 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Thu, 24 Jul 2003 12:12:35 -0500 Subject: Nagios + mysql DB (Get it Right!) Message-ID: True enough, but look near the top, under "2.0 Completed Features". To wit: 7. DB support for retention data is being dropped 8. DB support for extended information is being dropped Having said that, scroll down to "2.0 TODO". Here's the good news: "I plan on adding an external event interface that would dump all service/host check info, alerts, downtime events, comments, etc. from Nagios to an external daemon via a unix domain socket. The daemon would then pass that data off to seperate user modules (loaded at runtime) that would process the data anyway they please. User modules will be able to register for different types of data they want to receive from the daemon using callback functions. This will provide an easy way for people to write their own modules to dump data in a DB, process performance data, etc. The event daemon is currently in development, but will probably not be publicly released until 2.0 is into the beta process." Mmmm, DB.... jc -----Original Message----- From: Larry Bills [mailto:larry.bills at mci.com] Sent: Wednesday, July 23, 2003 4:29 PM To: jmartens at cityofevanston.org Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios + mysql DB (Get it Right!) This statement is not entirely true...the text says and always has...that db support MAY be dropped in version 3.0, not 2.0 as many relay here. Also if one would read further...it says: " Please note that I do not plan on yanking the current DB support out of Nagio unless it can be done in a better way using the event broker daemon (which should appear in 2.x). So what that means is there should be DB integration in some manner or another - its not completely disappearing." Ethan and others go to a lot of trouble to provide this information to us, please let us read and relay ACCURATE information to others. 2 cents Larry Bills On Wed, 2003-07-23 at 14:08, Jason Martens wrote: > Database support will be dropped in version 2.0. > http://www.nagios.org/upcoming.php > > For that reason, you probably don't want to start using it now... > > Jason Martens > City of Evanston > > On Wed, 2003-07-23 at 12:24, DTerrell at Delphi-Tech.com wrote: > > HI all, > > > > Just wondering if anyone has experience with Nagios using a > > database backend and if there are really any benefits to it. > > I'm considering changing over my three nagios boxes but would > > like to know if the support will be there in the future > > releases and if it's really worth it! > > > > TIA, > > > > Dave > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Jul 24 19:32:31 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Thu, 24 Jul 2003 12:32:31 -0500 Subject: Changing Minimum Downtime Message-ID: I don't find the 2 hour minimum annoying, as it's actually a set 2 hour period. Not a minimum, not a maximum. I also don't find the default 2 hour period to be annoying, either. If I want it different, I just change it manually. Usually I just change the start time's hh:mm:ss to what I want it to be, and set the end time's hh:mm:ss to what I want it to be. If the end time falls after midnight (whereas the start time is prior to midnight), I adjust the date accordingly. Sometimes the start time translates to 'right this very moment', in which case I don't need to edit that at all. So let's say that you are personally interested in changing the default time period to 1 hour. If I had to deal with that time period, I'd still be doing just as much typing as before. But let's say that you're interested in a 'flexible' downtime. After unchecking the Fixed checkbox, I would double-click in the Hours box, type '1', and (after filling in the Comment field), I would click on Commit. I'm not sure how double-clicking in the Hours box and typing a single keystroke would be annoying. Since this doesn't strike me as annoying, either my annoyance threshold is different than yours, or I'm completely overlooking something. Perhaps you could describe the specifics of the scenario you're trying to deal with...? jc -----Original Message----- From: Networks [mailto:networks at wi.rr.com] Sent: Thursday, July 24, 2003 9:55 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Changing Minimum Downtime Anyone? I can't be the only one who found the 2 hour minimum annoying.. On Wed, 2003-07-23 at 09:49, Networks wrote: > > Is there a way to change the default of 2hrs for minimum down time? > I looked through both the manual and config files, but didn't find > anything. > > Thanks, > > Josh > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magre at hot.ee Fri Jul 25 04:08:21 2003 From: magre at hot.ee (magre) Date: Thu, 24 Jul 2003 21:08:21 -0500 Subject: "Forbidden" when trying to access the main page ... Message-ID: <200307242108.21369.magre@hot.ee> System: SuSE 8.1 Professional. Nagios 1.1 Had installed nagios on other machine. Everything installed fine, BUT when i am trying to view "nagios" main page, it shows me "FORBIDDEN" page and that's all !!! Had same thing (on other machine) when was something wrong written in /etc/httpd/httpd.conf or /etc/httpd/nagios.conf. BUT NOW it is ALL CORRECT and there is STILL such error !!! >8((( Can anyone advice something about this ??? Best regards for any help !!!!!!! -- -- Jedis are alive -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Thu Jul 24 20:00:54 2003 From: networks at wi.rr.com (Networks) Date: 24 Jul 2003 13:00:54 -0500 Subject: Changing Minimum Downtime In-Reply-To: References: Message-ID: <1059069654.32433.18.camel@elijah> Ok, Let me explain this a little further. the minimum allowed for a scheduled down time is 2 hours. You are not allowed to set it to less. If you enter anything less then two hours, it is automatically scheduled for two hours, not what you entered. This is a problem for scheduled reboots of boxes on the network. If I want to reboot a box on a schedule, such as planning for an outage, I only want the downtime to run for 15 minutes. I am just looking for a way to change the minimum time from two hours to 15 minutes. Not the default, the minimum. Sorry if I did not explain this more before guys. Btw just as a heads up I am running the latest version of Nagios (1.1) on a Redhat 8 Box. Thanks, Josh On Thu, 2003-07-24 at 12:32, Carroll, Jim P [PCS] wrote: > I don't find the 2 hour minimum annoying, as it's actually a set > 2 hour period. Not a minimum, not a maximum. > > I also don't find the default 2 hour period to be annoying, either. > If I want it different, I just change it manually. Usually I just > change the start time's hh:mm:ss to what I want it to be, and set > the end time's hh:mm:ss to what I want it to be. If the end time > falls after midnight (whereas the start time is prior to midnight), > I adjust the date accordingly. Sometimes the start time translates > to 'right this very moment', in which case I don't need to edit that > at all. > > So let's say that you are personally interested in changing the > default time period to 1 hour. If I had to deal with that time > period, I'd still be doing just as much typing as before. > > But let's say that you're interested in a 'flexible' downtime. > After unchecking the Fixed checkbox, I would double-click in the > Hours box, type '1', and (after filling in the Comment field), > I would click on Commit. I'm not sure how double-clicking in > the Hours box and typing a single keystroke would be annoying. > > Since this doesn't strike me as annoying, either my annoyance > threshold is different than yours, or I'm completely overlooking > something. Perhaps you could describe the specifics of the scenario > you're trying to deal with...? > > jc > > -----Original Message----- > From: Networks [mailto:networks at wi.rr.com] > Sent: Thursday, July 24, 2003 9:55 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Changing Minimum Downtime > > > > Anyone? I can't be the only one who found the 2 hour minimum annoying.. > > On Wed, 2003-07-23 at 09:49, Networks wrote: > > > > Is there a way to change the default of 2hrs for minimum down time? > > I looked through both the manual and config files, but didn't find > > anything. > > > > Thanks, > > > > Josh > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From specka at specka.com Thu Jul 24 20:09:18 2003 From: specka at specka.com (Marco A. Mateos) Date: 24 Jul 2003 20:09:18 +0200 Subject: After restart Apache, nagios cgi don't work In-Reply-To: <009901c351ed$67c5c860$fb00a8c0@office.toastedmedia.net> References: <1059038678.21124.41.camel@25.Red-80-25-130.pooles.rima-tde.net> <009901c351ed$67c5c860$fb00a8c0@office.toastedmedia.net> Message-ID: <1059070157.5958.138.camel@25.Red-80-25-130.pooles.rima-tde.net> su apacche $./status.cgi >>> ./status.cgi: Permission denied $perl status.cgi >>> Unrecognized character \x7F at status.cgi line 1. I'm forget. System Mandrake 91. Nagios compiled from source 1.1.tar.gz with all plugins. Install on /usr/local/nagios user and group nagios. Apache 2.0.47. El jue, 24 de 07 de 2003 a las 16:10, Sam Stickland escribi?: > Run the script status.cgi from the command-line as the same user that apache > runs under, and see if the script is issuing any compliation errors. > > Sam > > ----- Original Message ----- > From: "Marco A. Mateos" > To: > Sent: Thursday, July 24, 2003 10:24 AM > Subject: [Nagios-users] After restart Apache, nagios cgi don't work > > > > Any changes on my httpd.conf or others conf files for apache. > > Nagiso work perfectly. > > > > After restart my machine, nagios web page work, but all cgis for show > > analysis, don't work. > > > > I go to my error.log and show this: > > > > [Thu Jul 24 10:06:29 2003] [error] [client 80.25.130.25] > > Premature end of script headers: tac.cgi, referer: > > http://specka.com/nagios/side.html > > [Thu Jul 24 10:06:30 2003] [error] [client 80.25.130.25] > > Premature end of script headers: status.cgi, referer: > > http://specka.com/nagios/side.html > > [Thu Jul 24 10:06:31 2003] [error] [client 80.25.130.25] > > Premature end of script headers: status.cgi, referer: > > http://specka.com/nagios/side.html > > [Thu Jul 24 10:06:32 2003] [error] [client 80.25.130.25] > > Premature end of script headers: status.cgi, referer: > > http://specka.com/nagios/side.html > > [Thu Jul 24 10:06:33 2003] [error] [client 80.25.130.25] > > Premature end of script headers: status.cgi, referer: > > http://specka.com/nagios/side.html > > [Thu Jul 24 10:06:36 2003] [error] [client 80.25.130.25] > > Premature end of script headers: status.cgi, referer: > > http://specka.com/nagios/side.html > > [Thu Jul 24 10:06:37 2003] [error] [client 80.25.130.25] > > Premature end of script headers: statusmap.cgi, referer: > > http://specka.com/nagios/side.html > > [Thu Jul 24 10:06:37 2003] [error] [client 80.25.130.25] > > Premature end of script headers: statuswrl.cgi, referer: > > http://specka.com/nagios/side.html > > > > I'm lost. > > > > -- > > Marco A. Mateos - Linux User: 209189 > > http://www.lomejordeinternet.net / specka.com > > http://graficas.lomejordeinternet.net > > http://hosting.lomejordeinternet.net - Hosting > > specka at quitaesto.specka.com / ICQ: 172542875 > > Clave P?blica disponible en pgp.rediris.es > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Marco A. Mateos - Linux User: 209189 http://www.lomejordeinternet.net / specka.com http://graficas.lomejordeinternet.net http://hosting.lomejordeinternet.net - Hosting specka at quitaesto.specka.com / ICQ: 172542875 Clave P?blica disponible en pgp.rediris.es ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rodrigo.Magalhaes at infoglobo.com.br Thu Jul 24 20:04:16 2003 From: Rodrigo.Magalhaes at infoglobo.com.br (Rodrigo.Magalhaes at infoglobo.com.br) Date: Thu, 24 Jul 2003 15:04:16 -0300 Subject: ENC: Monitoring to MS Exchange Message-ID: <987467FDD65E604BBA52DD6C9FD2C8FF41F67E@infodata1.ogmaster.local> > Hi all, > > Could you help me? > I need to monitoring a queue of messages in MS Exchange. How can I do? > Thanks, > > Rodrigo Magalh?es > Analista de Suporte - Tecnologia - Infoglobo > Infoglobo Comunica??es Ltda > e-mail: rodrigo.magalhaes at infoglobo.com.br > Telefone: +55 (21) 2534-5335 > > > > > - - - - - - - - - - - - - - - - - AVISO IMPORTANTE- - - - - - - - - - - - - - - - Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial e seu conte?do ? para conhecimento exclusivo do destinat?rio. O seu uso, divulga??o, reprodu??o e/ou c?pia s?o proibidos. This message is intended only for the individual or organization to which it is addressed and contains confidential and privileged information. Any retransmission, dissemination or other use of this information by anyone other than the intended recipient is prohibited. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Thu Jul 24 20:10:06 2003 From: networks at wi.rr.com (Networks) Date: 24 Jul 2003 13:10:06 -0500 Subject: Changing Minimum Downtime In-Reply-To: References: Message-ID: <1059070206.32371.21.camel@elijah> Ok now I feel bad, chalk this up as my stupidest question... sorry guys.. It was that darn fixed button.. =( Read over Jim's post again, and did a few tests.. looks like the fixed button forces it to 2 hours. So yah, whoops. Thanks to everyone that responded tho. On Thu, 2003-07-24 at 12:32, Carroll, Jim P [PCS] wrote: > I don't find the 2 hour minimum annoying, as it's actually a set > 2 hour period. Not a minimum, not a maximum. > > I also don't find the default 2 hour period to be annoying, either. > If I want it different, I just change it manually. Usually I just > change the start time's hh:mm:ss to what I want it to be, and set > the end time's hh:mm:ss to what I want it to be. If the end time > falls after midnight (whereas the start time is prior to midnight), > I adjust the date accordingly. Sometimes the start time translates > to 'right this very moment', in which case I don't need to edit that > at all. > > So let's say that you are personally interested in changing the > default time period to 1 hour. If I had to deal with that time > period, I'd still be doing just as much typing as before. > > But let's say that you're interested in a 'flexible' downtime. > After unchecking the Fixed checkbox, I would double-click in the > Hours box, type '1', and (after filling in the Comment field), > I would click on Commit. I'm not sure how double-clicking in > the Hours box and typing a single keystroke would be annoying. > > Since this doesn't strike me as annoying, either my annoyance > threshold is different than yours, or I'm completely overlooking > something. Perhaps you could describe the specifics of the scenario > you're trying to deal with...? > > jc > > -----Original Message----- > From: Networks [mailto:networks at wi.rr.com] > Sent: Thursday, July 24, 2003 9:55 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Changing Minimum Downtime > > > > Anyone? I can't be the only one who found the 2 hour minimum annoying.. > > On Wed, 2003-07-23 at 09:49, Networks wrote: > > > > Is there a way to change the default of 2hrs for minimum down time? > > I looked through both the manual and config files, but didn't find > > anything. > > > > Thanks, > > > > Josh > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larry.bills at mci.com Thu Jul 24 20:40:38 2003 From: larry.bills at mci.com (Larry Bills) Date: Thu, 24 Jul 2003 13:40:38 -0500 Subject: Nagios + DB In-Reply-To: References: Message-ID: <1059072039.1208.40.camel@penguin3.mcilink.com> Correct Jim It all boils down that Nagios 2.0 will have a interface that one can use to dump to a database or whatever caveat they desire. This will allow the developers to write and test Nagios code and not DB interface code all the time. The ability to read/write to a "entity" will still be there. Anyone thinking of going to a database, should know how to interface with it also, so that should not be a problem. Interface modules will likely be developed and contributed under the spirit of GNU by those using Nagios and databases as well, so this should also not be a large obstacle either. I know I will. Instead of only mysql and postgresql, modules to interface with many other databases as well will likely be available, without Nagios caring. Point...when 2.0, not the alpha or beta versions, releases, the intent as stated is to have an event daemon interface available to export/import data. Larry On Thu, 2003-07-24 at 12:12, Carroll, Jim P [PCS] wrote: > True enough, but look near the top, under "2.0 Completed Features". To wit: > > 7. DB support for retention data is being dropped > 8. DB support for extended information is being dropped > > Having said that, scroll down to "2.0 TODO". Here's the good news: > > "I plan on adding an external event interface that would dump all > service/host check info, alerts, downtime events, comments, etc. > from Nagios to an external daemon via a unix domain socket. The > daemon would then pass that data off to seperate user modules > (loaded at runtime) that would process the data anyway they please. > User modules will be able to register for different types of data > they want to receive from the daemon using callback functions. This > will provide an easy way for people to write their own modules to > dump data in a DB, process performance data, etc. The event daemon > is currently in development, but will probably not be publicly > released until 2.0 is into the beta process." > > Mmmm, DB.... > > jc > > -----Original Message----- > From: Larry Bills [mailto:larry.bills at mci.com] > Sent: Wednesday, July 23, 2003 4:29 PM > To: jmartens at cityofevanston.org > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios + mysql DB (Get it Right!) > > > This statement is not entirely true...the text says and always > has...that db support MAY be dropped in version 3.0, not 2.0 as many > relay here. > > Also if one would read further...it says: > " Please note that I do not plan on yanking the current DB support out > of Nagio unless it can be done in a better way using the event broker > daemon (which should appear in 2.x). So what that means is there should > be DB integration in some manner or another - its not completely > disappearing." > > Ethan and others go to a lot of trouble to provide this information to > us, please let us read and relay ACCURATE information to others. > > 2 cents > > Larry Bills > > > > On Wed, 2003-07-23 at 14:08, Jason Martens wrote: > > Database support will be dropped in version 2.0. > > http://www.nagios.org/upcoming.php > > > > For that reason, you probably don't want to start using it now... > > > > Jason Martens > > City of Evanston > > > > On Wed, 2003-07-23 at 12:24, DTerrell at Delphi-Tech.com wrote: > > > HI all, > > > > > > Just wondering if anyone has experience with Nagios using a > > > database backend and if there are really any benefits to it. > > > I'm considering changing over my three nagios boxes but would > > > like to know if the support will be there in the future > > > releases and if it's really worth it! > > > > > > TIA, > > > > > > Dave > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.irvine at kingcountyjournal.com Thu Jul 24 21:20:49 2003 From: bryan.irvine at kingcountyjournal.com (Bryan Irvine) Date: 24 Jul 2003 12:20:49 -0700 Subject: After restart Apache, nagios cgi don't work In-Reply-To: <1059070157.5958.138.camel@25.Red-80-25-130.pooles.rima-tde.net> References: <1059038678.21124.41.camel@25.Red-80-25-130.pooles.rima-tde.net> <009901c351ed$67c5c860$fb00a8c0@office.toastedmedia.net> <1059070157.5958.138.camel@25.Red-80-25-130.pooles.rima-tde.net> Message-ID: <1059074449.2248.0.camel@elvis> permission denied? check the user/group of the cgi's. Then re-run. --Bryan On Thu, 2003-07-24 at 11:09, Marco A. Mateos wrote: > su apacche > > $./status.cgi >>> ./status.cgi: Permission denied > $perl status.cgi >>> > Unrecognized character \x7F at status.cgi line 1. > > I'm forget. > > System Mandrake 91. Nagios compiled from source 1.1.tar.gz with all > plugins. > > Install on /usr/local/nagios user and group nagios. Apache 2.0.47. > > > El jue, 24 de 07 de 2003 a las 16:10, Sam Stickland escribi?: > > Run the script status.cgi from the command-line as the same user that apache > > runs under, and see if the script is issuing any compliation errors. > > > > Sam > > > > ----- Original Message ----- > > From: "Marco A. Mateos" > > To: > > Sent: Thursday, July 24, 2003 10:24 AM > > Subject: [Nagios-users] After restart Apache, nagios cgi don't work > > > > > > > Any changes on my httpd.conf or others conf files for apache. > > > Nagiso work perfectly. > > > > > > After restart my machine, nagios web page work, but all cgis for show > > > analysis, don't work. > > > > > > I go to my error.log and show this: > > > > > > [Thu Jul 24 10:06:29 2003] [error] [client 80.25.130.25] > > > Premature end of script headers: tac.cgi, referer: > > > http://specka.com/nagios/side.html > > > [Thu Jul 24 10:06:30 2003] [error] [client 80.25.130.25] > > > Premature end of script headers: status.cgi, referer: > > > http://specka.com/nagios/side.html > > > [Thu Jul 24 10:06:31 2003] [error] [client 80.25.130.25] > > > Premature end of script headers: status.cgi, referer: > > > http://specka.com/nagios/side.html > > > [Thu Jul 24 10:06:32 2003] [error] [client 80.25.130.25] > > > Premature end of script headers: status.cgi, referer: > > > http://specka.com/nagios/side.html > > > [Thu Jul 24 10:06:33 2003] [error] [client 80.25.130.25] > > > Premature end of script headers: status.cgi, referer: > > > http://specka.com/nagios/side.html > > > [Thu Jul 24 10:06:36 2003] [error] [client 80.25.130.25] > > > Premature end of script headers: status.cgi, referer: > > > http://specka.com/nagios/side.html > > > [Thu Jul 24 10:06:37 2003] [error] [client 80.25.130.25] > > > Premature end of script headers: statusmap.cgi, referer: > > > http://specka.com/nagios/side.html > > > [Thu Jul 24 10:06:37 2003] [error] [client 80.25.130.25] > > > Premature end of script headers: statuswrl.cgi, referer: > > > http://specka.com/nagios/side.html > > > > > > I'm lost. > > > > > > -- > > > Marco A. Mateos - Linux User: 209189 > > > http://www.lomejordeinternet.net / specka.com > > > http://graficas.lomejordeinternet.net > > > http://hosting.lomejordeinternet.net - Hosting > > > specka at quitaesto.specka.com / ICQ: 172542875 > > > Clave P?blica disponible en pgp.rediris.es > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From specka at specka.com Fri Jul 25 00:36:18 2003 From: specka at specka.com (Marco A. Mateos) Date: 25 Jul 2003 00:36:18 +0200 Subject: Could not locate a running Nagios process! Message-ID: <1059086178.21124.147.camel@25.Red-80-25-130.pooles.rima-tde.net> Well, after recompiling nagios from src, and configure all hosts and servcies, I see a link with this text: "Warning: Monitoring process may not be running! Click here for more info." An click to see this: "Process Status Information Process Status: CRITICAL Check Command Output: Could not locate a running Nagios process! " Also, I see my logs, and I stop a servcie on one of my hosts. Crital notificy see on web, but nagios not send any email. Nagios 1.1.2 (mdk.src.rpm) Nagios plugins 1.3.0 Apache 2.0.48 Mandkare 9.1 kernel 2.4.21-0.18 Help me, please. Sorry for my english. -- Marco A. Mateos - Linux User: 209189 http://www.lomejordeinternet.net / specka.com http://graficas.lomejordeinternet.net http://hosting.lomejordeinternet.net - Hosting specka at quitaesto.specka.com / ICQ: 172542875 Clave P?blica disponible en pgp.rediris.es ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lotaviani at terra.com.br Fri Jul 25 00:57:31 2003 From: lotaviani at terra.com.br (Luis Otaviani) Date: Thu, 24 Jul 2003 19:57:31 -0300 Subject: more than one ip address in the same host Message-ID: <200307241957.31989.lotaviani@terra.com.br> Hi all, I meed a help. How I can configure more than one ip address in the same host. My objective: to add a router with 4 interfaces. Thanks. Otaviani. BVTIBUSINESS - Network Management (BR) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKornelsen at extremenetworks.com Fri Jul 25 02:54:08 2003 From: RKornelsen at extremenetworks.com (Randal Kornelsen) Date: Thu, 24 Jul 2003 17:54:08 -0700 Subject: Stale Service checks in Scheduling Queue Message-ID: <44B88EC6CAD5024FADA04D5D2438970BF44C7E@sc-msexch-08.extremenetworks.com> Hello, I have trouble with scheduled services going stale. Service checks are scheduled in the "Scheduling Queue" but they do not run and are not removed from the scheduling queue. It appears there may be a process fork'ed to check the service and that process fails to exit. For example, the current time is 17:41:08 and I have numerous jobs waiting in the queue spread back to 16:48:23. I am running Nagios 1.0 on RH72. Randal Kornelsen ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Fri Jul 25 10:30:22 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Fri, 25 Jul 2003 10:30:22 +0200 Subject: Notify problem Message-ID: <20030725083022.GA28906@amit.hu> hello list, i have a good Nagios system on a Debian 3.0. Nagios version is 1.1. sometimes Nagios "forget" to send notify about one of my service crash. for example: today morning, one of my monitoring host goes to down. (@ 00:40, CEST) there is a setting, Nagios send me the notify about all error every hour. the first message what i get about this message, received @ 09:40 CEST. (????) here is a part of mail.log: (there is a user: nagios on Linux, it gets mail about every alert) Jul 25 00:40:06 monitor postfix/pickup[21576]: A34AA25D7B: uid=2000 from= Jul 25 00:40:06 monitor postfix/cleanup[24410]: A34AA25D7B: message-id=<20030724224006.A34AA25D7B at monitor.amit.hu> Jul 25 00:40:06 monitor postfix/qmgr[23027]: A34AA25D7B: from=, size=453, nrcpt=1 (queue active) Jul 25 00:40:06 monitor postfix/pickup[21576]: DEC9C25D8D: uid=2000 from= Jul 25 00:40:06 monitor postfix/cleanup[24410]: DEC9C25D8D: message-id=<20030724224006.DEC9C25D8D at monitor.amit.hu> ... but nothing relevant message ... ... Jul 25 09:41:09 monitor postfix/qmgr[23027]: 8993825D7B: from=, size=506, nrcpt=1 (queue active) Jul 25 09:41:09 monitor postfix/smtp[11720]: 8993825D7B: to=, relay=ogre.amit.hu[212.92.0.135], delay=1, status=sent (250 Ok: qu eued as 3CF6B1D110) Jul 25 09:44:06 monitor postfix/pickup[11557]: AB7C925D7B: uid=2000 from= Jul 25 09:44:06 monitor postfix/cleanup[11943]: AB7C925D7B: message-id=<20030725074406.AB7C925D7B at monitor.amit.hu> ... next, when host comes up, here comes the notify mail.... what mean it? how can i debug it? thanks: airween ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at lists.netways.de Fri Jul 25 10:47:25 2003 From: nagios-users at lists.netways.de (nagios-users) Date: Fri, 25 Jul 2003 10:47:25 +0200 Subject: Number of Nagios Processes Distributed Monitoring Message-ID: <3626546DC152134382A0A029C29365C6117EDD@net-mail.int.netways.de> Hello all ! I am running Nagios in a ditributed environment. My central server is processing about 250-300 checks itself, the rest about 150 ist from one other distributed Server. As I didn't want to open additional port on several firewalls I tunneld the ncsa via ssh. So my distributed server has an ssh tunnel to the central server. Via this tunnel all data is sent. Distributed monitoring itself works nicely. The central server is only doing active checks for hosts which he is responsible for all the rest is received with passive checks. Anyway after let us say one or two hours the central server has about 500 Nagios processes running. Status.log is no longer updated as well as checkresults. After the first night the central server crashed ... Too many processes. I had to reboot manually. What is wrong ? __________________________________________________________ Nik Engel NETWAYS GmbH Senior Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-13 D-90429 N?rnberg Fax.0911/92885-33 nengel at netways.de www.netways.de ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKlisowski at era.pl Fri Jul 25 12:44:51 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Fri, 25 Jul 2003 12:44:51 +0200 Subject: Notification - where's an error? Message-ID: <20AF50E5F611F84993722DC135DF00BC1B1605@seth.corponet.era.pl> Hello! In services.cfg is: define service{ use generic-service host_name nito997 service_description CHECK_DISK_C is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 contact_groups SOS notification_interval 120 notification_period 24x7 notification_options w,c,r check_command check_nrpe!check_disk_c } But no mail notifications come :( Host notification is OK but service one is not working properly. Maybe something in any other cfg file but I read documantation and found nothing for it. Any help? -- Rafal - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKlisowski at era.pl Fri Jul 25 13:13:04 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Fri, 25 Jul 2003 13:13:04 +0200 Subject: Notify problem Message-ID: <20AF50E5F611F84993722DC135DF00BC3FDF8F@seth.corponet.era.pl> > i have a good Nagios system on a Debian 3.0. Nagios version is > 1.1. > > sometimes Nagios "forget" to send notify about one of my service > crash. Same problem with service notifications. Nothing in mail logs or in nagios logs. Only about host down. -- Rafal - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yohann.desquerre at anpe.fr Fri Jul 25 13:43:15 2003 From: yohann.desquerre at anpe.fr (Yohann DESQUERRE (DSI NOISIEL)) Date: Fri, 25 Jul 2003 13:43:15 +0200 Subject: nagios + snmp Message-ID: <8F385304A1232E469B8D76E7CD349295A65F42@EX-BAL-01.anpe.fr> Hi all, I'd like to use nagios using snmp to avoid to install nrpe on the remote host!!! I read the doc but I don't find how to do. Any ideas ??? thanks ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" S/Direction de la production Gestion des Ressources 01-49-31-82-03 ----------------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it at minjust.gov.ua Fri Jul 25 13:51:19 2003 From: it at minjust.gov.ua (Ivan Tanchenko) Date: Fri, 25 Jul 2003 14:51:19 +0300 Subject: Notification - where's an error? In-Reply-To: <20AF50E5F611F84993722DC135DF00BC1B1605@seth.corponet.era.pl> References: <20AF50E5F611F84993722DC135DF00BC1B1605@seth.corponet.era.pl> Message-ID: <3F2119B7.1080506@minjust.gov.ua> maybe here check_command check_nrpe!check_disk_c show your nrep.cfg Klisowski Rafa? wrote: > Hello! > > In services.cfg is: > define service{ > use generic-service > host_name nito997 > service_description CHECK_DISK_C > is_volatile 0 > check_period 24x7 > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 1 > contact_groups SOS > notification_interval 120 > notification_period 24x7 > notification_options w,c,r > check_command check_nrpe!check_disk_c > } > > But no mail notifications come :( > Host notification is OK but service one is not working properly. Maybe something in any other cfg file but I read documantation and found nothing for it. Any help? > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKlisowski at era.pl Fri Jul 25 14:27:57 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Fri, 25 Jul 2003 14:27:57 +0200 Subject: Notification - where's an error? Message-ID: <20AF50E5F611F84993722DC135DF00BC1B1607@seth.corponet.era.pl> > maybe here > check_command check_nrpe!check_disk_c > > show your nrep.cfg But the web page shows it as critical. I turn this workstation down for tests to be sure ;) I changed notification_interval of a service to be not longer than host check (as I found in documentation) but nothing chaneged. R. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Fri Jul 25 15:12:20 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [GMG]) Date: Fri, 25 Jul 2003 08:12:20 -0500 Subject: Getting to Macros from script Message-ID: <516DA7BE5D87C8469D89F150CA0B491101C76CE0@PDAWB02C.ad.sprint.com> I've written a PHP script to schedule multiple hosts for downtime. Whenever our SysAdmins do hotfixes, they do them is chucks and having to go through the screens 20 - 30 times gets to be a pain. I'm having two issues that are keeping me from using this: 1) The Author defaults to the user logged in. How do I get to that variable? 2) I can run my script from one of my other websites, but when I drop it into the ~nagios/sbin directory, I get an execution failure. How can I get my script to run from under the nagios directory structure? Stanley G. Martin System Administrator Sprint - EIS3 Customer Care Stanley.G.Martin at mail.sprint.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Fri Jul 25 15:13:49 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 25 Jul 2003 21:13:49 +0800 Subject: Number of Nagios Processes Distributed Monitoring In-Reply-To: <3626546DC152134382A0A029C29365C6117EDD@net-mail.int.netways.de> References: <3626546DC152134382A0A029C29365C6117EDD@net-mail.int.netways.de> Message-ID: <200307252113.51431.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 25 July 2003 16:47, nagios-users wrote: > Hello all ! > I am running Nagios in a ditributed environment. > My central server is processing about 250-300 checks itself, the rest about > 150 ist from one other distributed Server. As I didn't want to open > additional port on several firewalls I tunneld the ncsa via ssh. So my > distributed server has an ssh tunnel to the central server. Via this tunnel > all data is sent. Distributed monitoring itself works nicely. > The central server is only doing active checks for hosts which he is > responsible for all the rest is received with passive checks. Anyway after > let us say one or two hours the central server has about 500 Nagios > processes running. Status.log is no longer updated as well as checkresults. > > After the first night the central server crashed ... Too many processes. I > had to reboot manually. > > What is wrong ? > > __________________________________________________________ > Nik Engel NETWAYS GmbH > Senior Systems Engineer Deutschherrnstr. 47a > Fon.0911/92885-13 D-90429 N?rnberg > Fax.0911/92885-33 > nengel at netways.de www.netways.de > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null Hi Are you sure that it was Nagios who crash your system? What do you last experience from Nagios before the crash? I mean on the top right hand corner of your tactical overview .. how was the latency like? I am interested to know. Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/IS0NNgvTa7Hj2AURAjiCAJ9pCdg5saSwYqrrH/godHzLGC+r4ACgjDMc 5sg75HjafPrCjXVnHOFFsyk= =wCwO -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PDonahue at acmicorp.com Fri Jul 25 15:18:06 2003 From: PDonahue at acmicorp.com (Donahue, Pat) Date: Fri, 25 Jul 2003 09:18:06 -0400 Subject: Database Support -- Objects Message-ID: Good Morning, I use Nagios along with several other network applications (e.g. Cricket) on the same box. These programs independently maintain much of the same information about the devices (hostnames, ip addresses, SNMP strings, etc). I'd like to create a database schema that allows me to store pertinent information, in this case object data, in a database server such as mysql. Ideally I'd like to store all Nagios related data in this database, both object and external data. Given that external data is already supported in the source, has anyone attempted to include object data? Would it be easier or even better just to write scripts that create flat files from the database? The scripting option seems like it would be better for new releases as you wouldn't have to worry about patching the source. I've also read somewhere that the existing database support for external data will be removed in future releases? Is there any truth to this? If so, what are the reasons behind this decision? -- Patrick Donahue Network/Systems Administrator ACMI Corporation ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Jul 25 15:28:40 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 25 Jul 2003 08:28:40 -0500 Subject: Getting to Macros from script Message-ID: <5DB017510818EC468B05BD7BD9EACF8303A778F4@mismail.ena.com> -----Original Message----- From: Martin, Stanley G [GMG] [mailto:Stanley.G.Martin at mail.sprint.com] Sent: Fri 7/25/2003 8:12 AM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Getting to Macros from script 1) The Author defaults to the user logged in. How do I get to that variable? Since Nagios uses .htaccess, it's stuffed into the CGI environment variable REMOTE_USER by the webserver and accessible by any httpd spawned process. 2) I can run my script from one of my other websites, but when I drop it into the ~nagios/sbin directory, I get an execution failure. How can I get my script to run from under the nagios directory structure? This is kind of an odd question since we didn't write your script nor do we have any idea of it's requirements. All I can suggest are basic troubleshooting ideas : verify permissions are correct, try running it as the user your web server runs as, verify paths in your script are sane and check you httpd error log for clues. -- Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From LAT at gmanetwork.com Fri Jul 25 15:32:02 2003 From: LAT at gmanetwork.com (Trinidad, Leovino A.) Date: Fri, 25 Jul 2003 21:32:02 +0800 Subject: Help Message-ID: Hi! I'm having problem displaying the service comment of nagios. I was able to activate the comment database and it's working well but it does not display the comments in the web. What could be the problem? Regards, LEOVINO A. TRINIDAD, JR. Information and Communications Technology Dept. GMA Network, Inc. "This Message may contain confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you received this message in error please notify your Mail Administrator and delete this message immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of GMA Network, Inc." -------------- next part -------------- An HTML attachment was scrubbed... URL: From roy at karlsbakk.net Fri Jul 25 10:49:46 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Fri, 25 Jul 2003 10:49:46 +0200 Subject: Nagios + Novell In-Reply-To: <000301c34b81$9d464b80$0400a8c0@squarebox.com> References: <000301c34b81$9d464b80$0400a8c0@squarebox.com> Message-ID: <200307251049.46329.roy@karlsbakk.net> see http://forge.novell.com/modules/xfmod/project/shownotes.php?release_id=416 what do you want to monitor in the NDS? You should use other tools (standard nagios checks?) to monitor Groupwise, DNS and DHCP roy (just lost his Master CNE 5) On Wednesday 16 July 2003 12:04, Tom Welsh wrote: > Hi all. > > Can anyone tell me if mrtgext.nlm can support the following whilst > interfacing to nagios? > > Bordermanager, Groupwise, File, NDS, DNS, DHCP > > Cheers > > Tom Welsh > twelsh at square-box.com > > > DISCLAIMER: This e-mail contains proprietary information some or all of > which may be legally privileged. It is for the intended recipient only. > If an addressing or transmission error has misdirected this e-mail, > please notify the author by replying to this e-mail. If you are not the > intended recipient you must not use, disclose, distribute, copy, print, > or rely on this e-mail. > > Sender accepts no liability for any damage resulting from the use and/or > acceptation of the content of this e-mail. > > Always scan attachments before opening them. > > The views expressed in this communication may not necessarily be the > views held by squareBOX technologies ltd > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 2254 5070 (work) +47 9801 3356 (mobile) Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Fri Jul 25 15:47:15 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 25 Jul 2003 21:47:15 +0800 Subject: logs dissapering In-Reply-To: <1059052155.23211.54.camel@rh80-jsm.telaurus.net> References: <1058796392.23211.27.camel@rh80-jsm.telaurus.net> <200307240943.07713.jasmine.chua@securecirt.com> <1059052155.23211.54.camel@rh80-jsm.telaurus.net> Message-ID: <200307252147.16381.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > On Thursday 24 July 2003 21:09, Jeff McKeon wrote: > /usr/local/nagios/var/ > > [root at MIS01TC07927 var]# ls -l > total 60 > drwxrwxr-x 2 nagios nagios 4096 Jul 24 00:00 archives > -rw-rw-r-- 1 nagios nagios 708 Jul 24 12:21 comment.log > -rw-rw-r-- 1 nagios nagios 0 Jul 24 12:21 downtime.log > -rw-r--r-- 1 root root 4 Jul 24 12:21 nagios.lock > -rw-rw-r-- 1 nagios nagios 12494 Jul 24 12:26 nagios.log > drwxrws--- 2 nagios nagiocmd 4096 Jul 24 12:21 rw > -rw-rw-r-- 1 nagios nagios 15782 Jul 24 13:07 status.log > -rw-rw-r-- 1 nagios nagios 12034 Jul 24 12:21 status.sav > > /usr/local/nagios/var/archives/ > > --snip-- > > -rw-rw-r-- 1 nagios nagios 33 Jul 19 23:59 > nagios-07-20-2003-00.log > -rw-rw-r-- 1 nagios nagios 5291 Jul 20 23:44 > nagios-07-20-2003-23.log > -rw-rw-r-- 1 nagios nagios 33 Jul 20 23:59 > nagios-07-21-2003-00.log > -rw-rw-r-- 1 nagios nagios 49941 Jul 21 23:44 > nagios-07-22-2003-00.log > -rw-rw-r-- 1 nagios nagios 25519 Jul 22 23:39 > nagios-07-22-2003-23.log > -rw-rw-r-- 1 nagios nagios 33 Jul 22 23:59 > nagios-07-23-2003-00.log > -rw-rw-r-- 1 nagios nagios 5143 Jul 23 23:39 > nagios-07-23-2003-23.log > -rw-rw-r-- 1 nagios nagios 33 Jul 23 23:59 > nagios-07-24-2003-00.log > > --snip-- > > From nagios.cfg > > --snip-- > > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/status.sav > retention_update_interval=60 > use_retained_program_state=0 > interval_length=60 > > --snip-- Hmm.. I couldnt see anything wrong with your logging. Since you mentioned that you have sufficient disk space and stuffs.. The log events for the past few days are all in the /var/nagios/archives/ directory! Can you try generating reports for the past few days from Alert History on your web interface? Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/ITTjNgvTa7Hj2AURArP0AJ45gZjR4uB091W4Xa5iHoe59Lr6ZQCgqZ0m UvAUYrDcmdwPbOqQ7nMeZEg= =/D3y -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yohann.desquerre at anpe.fr Fri Jul 25 16:21:00 2003 From: yohann.desquerre at anpe.fr (Yohann DESQUERRE (DSI NOISIEL)) Date: Fri, 25 Jul 2003 16:21:00 +0200 Subject: nagios + snmp Message-ID: <8F385304A1232E469B8D76E7CD3492950401B192@EX-BAL-01.anpe.fr> Clauss, I've got ucdsnmp installed but i don't find check_snmp. Maybe it was an option I forget during the compilation??? Regards Thanks -----Message d'origine----- De?: Claus Helbing [mailto:claus.helbing at descom-consulting.ch] Envoy??: vendredi 25 juillet 2003 14:21 ??: Yohann DESQUERRE (DSI NOISIEL) Objet?: Re: [Nagios-users] nagios + snmp Use check_snmp. autoconfig will build it if you have ucdsnmp installed (perhaps also others). Regards, Claus ----- Original Message ----- From: "Yohann DESQUERRE (DSI NOISIEL)" To: Sent: Friday, July 25, 2003 1:43 PM Subject: [Nagios-users] nagios + snmp Hi all, I'd like to use nagios using snmp to avoid to install nrpe on the remote host!!! I read the doc but I don't find how to do. Any ideas ??? thanks ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" S/Direction de la production Gestion des Ressources 01-49-31-82-03 ----------------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william.l.lewis at usa.net Fri Jul 25 16:26:00 2003 From: william.l.lewis at usa.net (bill lewis) Date: Fri, 25 Jul 2003 08:26:00 -0600 Subject: nagios and redhat 2.4.20 Message-ID: <186HgyoAa3536S18.1059143160@uwdvg018.cms.usa.net> We recently upgraded a server from redhat 2.4.18-3 to 2.4.20-13.7. When the server came up, everything appeared to work ok, although Nagios would not start. I verified that the command file and lock files were all cleaned up. It appeared to start the initial process but be unable to thread anything. The parent process is evident (tho daemonchk does not recognize that as being "up") but nothing else is happening. nrpe checks occur but nothing else. Anyone seen anything like this? Bill Lewis ----- William L. Lewis email: william.l.lewis at usa.net "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." --Ben Franklin ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Fri Jul 25 16:30:26 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 25 Jul 2003 08:30:26 -0600 Subject: Enable/Disable Notifications Message-ID: I have an odd problem. I've setup Nagios 1.1 on RH9, and I converted NetSaint 0.0.7 config files from the production RH7.3 system. I'm running them side by side, but did not want to send notifications until I was sure that everything was converted properly. Rather than disable host/service notifications from the tac.cgi web page, I did it in the config files, by setting the generic-host and generic-service templates' notifications_enabled parameters to '0'. Since these are the base templates used throughout all hosts and services, this value propagated throughout the system, effectively disabling all notifications. This is exactly what I expected/wanted. However, upon changing these two parameters back to '1', to enable notifications, all notifications are still disabled. I have restarted the nagios, restarted the system, and even attempted to disable/enable notifications from tac.cgi. None of this works. The only way that I have found to re-enable notifications is individually, per host. Any ideas as to why this might be the case? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dick.aseltine at giantloop.com Fri Jul 25 16:33:50 2003 From: dick.aseltine at giantloop.com (Aseltine, Dick) Date: Fri, 25 Jul 2003 10:33:50 -0400 Subject: check_by_ssh Message-ID: <6CA85554A071E54FAE763836FA1CD744115C68@mail-be.giantloop.com> I get the following messages when checking disk space using check_by_ssh warning: You have no controlling tty. Cannot read confirmation. Ok when running from the command line. Any idea's? Thanks ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phasenjager at fzacpa.com Fri Jul 25 17:03:43 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Fri, 25 Jul 2003 10:03:43 -0500 Subject: External Commands Message-ID: Hello, I'm new to nagios. Everything is working properly except, when I try to do anything that requires an external command it gives me the following error... - - - - - 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 enabled external commands in nagios.cfg. Any suggestions? Thanks. Patrick Hasenjager Technical Support Specialist Frankel, Zacharia, Arnold, Nissen, Stamp & Reinsch, LLC Main: (402) 496-9100 Desk: (402) 963-4340 Fax: (402) 496-1024 phasenjager at fzacpa.com ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Jul 25 17:21:01 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 25 Jul 2003 10:21:01 -0500 Subject: External Commands Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7CF4@mismail.ena.com> Have you created the 'rw' directory with the proper permissions and restarted nagios? http://nagios.sourceforge.net/docs/1_0/commandfile.html -- Marc > -----Original Message----- > From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com] > Sent: Friday, July 25, 2003 10:04 AM > To: nagios-users at lists.sourceforge.net > > Hello, > > I'm new to nagios. Everything is working properly except, when I try > to do anything that requires an external command it gives me the > following error... > > - - - - - > 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 enabled external commands in nagios.cfg. > > Any suggestions? > > Thanks. > > Patrick Hasenjager > Technical Support Specialist > Frankel, Zacharia, Arnold, Nissen, Stamp & Reinsch, LLC > > Main: (402) 496-9100 > Desk: (402) 963-4340 > Fax: (402) 496-1024 > phasenjager at fzacpa.com > ************************************************************************ ** > > This e-mail and any attachments are intended only for the addressee. If > you are not the addressee you should not disseminate, distribute or copy > this e-mail or attachments. Please immediately notify the sender if you > have received this e-mail by mistake and delete it from your system. > E-mail transmission cannot be guaranteed secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive late > or incomplete, or contain viruses. The sender does not accept liability > for errors or omissions in the contents of this message which arise or > occur during transmission. We will provide a "hard-copy" version of the > message and attachments upon request. > > Although reasonable precautions are taken to assure this e-mail is virus > free, we do not accept responsibility for the loss or damage arising from > the use of this e-mail or attachments. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jldelagarza at marcatel.net Fri Jul 25 17:59:40 2003 From: jldelagarza at marcatel.net (Jorge Luis de la Garza (Sistemas)) Date: Fri, 25 Jul 2003 10:59:40 -0500 Subject: Nagios cannot see a host when it's come up after be down Message-ID: <007C87C66DDE0E4A91591E1FBD9596B001C2983E@mtelmy16.marcatel.ad> Hi !! I'm running nagios 1.1 on Linux debian 3.0 (Pentium4) with nagios-plugins 1.3.1 I'm monitor several ruters (cisco) with check_ping and check_ifstatus, when someone goes down nagios detect perfectly, but when it comes up nagios cannot detected. Even with a ping from the pc can't see the router. The only way to correct this is to restart the interfaces of linux. This happen some times, not always. I also run cacti on the linux machine to graph the interfaces. It's seems like if nagios (or some other program) is blocking the ip of the router, but i don't now how to correct this problems any ideas ? thanks !! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Jul 25 18:07:30 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 25 Jul 2003 11:07:30 -0500 Subject: Getting to Macros from script Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7CF5@mismail.ena.com> No, it has nothing to do with Nagios itself. Nagios just reads the environment variable in the same way that you need to. It will be a shell environment variable available to your script in whatever manner the language you are using accesses shell environment variables. If you are using Perl, it's stuffed in %ENV and is accessible via $ENV{'REMOTE_USER'} Spelled out -- my $logged_in_as = $ENV{'REMOTE_USER'}; This presumes, of course, that the script is beneath the same .htaccess file as the rest of the Nagios cgi's as you mention below. -- Marc ________________________________________ From: Gary.Blydenburgh at ftid.com [mailto:Gary.Blydenburgh at ftid.com] Sent: Friday, July 25, 2003 10:18 AM To: Marc Powell Would the REMOTE_USER variable be referenced as an argument to the script in the commands.cfg file? If so would I refernce it as $REMOTE_USER$? "Marc Powell" 07/25/2003 09:28 AM ? ? ? ? ? ? ? ? To: ? ? ? ?"Martin, Stanley G [GMG]" , nagios-users at lists.sourceforge.net ? ? ? ? cc: ? ? ? ?(bcc: Gary Blydenburgh/Intdata) ? ? ? ? Subject: ? ? ? ?RE: [Nagios-users] Getting to Macros from script ? ? ? ? -----Original Message----- ? ? ? ?From: Martin, Stanley G [GMG] [mailto:Stanley.G.Martin at mail.sprint.com] ? ? ? ?Sent: Fri 7/25/2003 8:12 AM ? ? ? ?To: nagios-users at lists.sourceforge.net ? ? ? ?Cc: ? ? ? ?Subject: [Nagios-users] Getting to Macros from script ? ? ? ? 1) The Author defaults to the user logged in. ?How do I get to that ? ? ? ?variable? ? ? ? ? Since Nagios uses .htaccess, it's stuffed into the CGI environment variable REMOTE_USER by the webserver and accessible by any httpd spawned process. ? ? ? ? 2) I can run my script from one of my other websites, but when I drop it ? ? ? ?into the ~nagios/sbin directory, I get an execution failure. ?How can I ? ? ? ?get my script to run from under the nagios directory structure? ? ? ? ? This is kind of an odd question since we didn't write your script nor do we have any idea of it's requirements. All I can suggest are basic troubleshooting ideas : verify permissions are correct, try running it as the user your web server runs as, verify paths in your script are sane and check you httpd error log for clues. ? ? ? ? -- ? ? ? ? Marc ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phasenjager at fzacpa.com Fri Jul 25 17:57:30 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Fri, 25 Jul 2003 10:57:30 -0500 Subject: External Commands Message-ID: I have followed all instructions from the docs. when I do an ls from the var directory rw shows as drwxrws--- 2 nagios nagiocmd 4096 July 25 09:57 rw when I do an ls on the rw directory is shows prw-rw---- 1 nagios nagiocmd 0 Jul 25 09:57 nagios.cmd - Pat. >>> "Marc Powell" 07/25/03 10:21:01 AM >>> Have you created the 'rw' directory with the proper permissions and restarted nagios? http://nagios.sourceforge.net/docs/1_0/commandfile.html -- Marc > -----Original Message----- > From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com] > Sent: Friday, July 25, 2003 10:04 AM > To: nagios-users at lists.sourceforge.net > > Hello, > > I'm new to nagios. Everything is working properly except, when I try > to do anything that requires an external command it gives me the > following error... > > - - - - - > 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 enabled external commands in nagios.cfg. > > Any suggestions? > > Thanks. > > Patrick Hasenjager > Technical Support Specialist > Frankel, Zacharia, Arnold, Nissen, Stamp & Reinsch, LLC > > Main: (402) 496-9100 > Desk: (402) 963-4340 > Fax: (402) 496-1024 > phasenjager at fzacpa.com > ************************************************************************ ** > > This e-mail and any attachments are intended only for the addressee. If > you are not the addressee you should not disseminate, distribute or copy > this e-mail or attachments. Please immediately notify the sender if you > have received this e-mail by mistake and delete it from your system. > E-mail transmission cannot be guaranteed secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive late > or incomplete, or contain viruses. The sender does not accept liability > for errors or omissions in the contents of this message which arise or > occur during transmission. We will provide a "hard-copy" version of the > message and attachments upon request. > > Although reasonable precautions are taken to assure this e-mail is virus > free, we do not accept responsibility for the loss or damage arising from > the use of this e-mail or attachments. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at lists.netways.de Fri Jul 25 18:11:31 2003 From: nagios-users at lists.netways.de (nagios-users) Date: Fri, 25 Jul 2003 18:11:31 +0200 Subject: AW: Number of Nagios Processes Distributed Monitoring Message-ID: <3626546DC152134382A0A029C29365C6117EEB@net-mail.int.netways.de> > >Hi > >Are you sure that it was Nagios who crash your system? What do >you last >experience from Nagios before the crash? I mean on the top >right hand corner >of your tactical overview .. how was the latency like? I am >interested to >know. > >Jasmine I am pretty sure, not nagios itself, but memory ran out and the server stood. At the moment I have a nagios uptime of : Total Running Time: 0d 6h 6m 15s And this... Check Command Output: Nagios ok: located 1677 processes, status log updated 170 seconds ago I am pretty sure this is mot ok, Any Ideas ? I will let the server run over the weekend, when it crashes again, I give detailed information to the list. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Jul 25 18:11:02 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 25 Jul 2003 11:11:02 -0500 Subject: External Commands Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7CF6@mismail.ena.com> This is almost certainly a permissions issue. Is httpd a member of group nagiocmd and has it been restarted since it was added? How about the directories above rw... Are they accessible by httpd? -- Marc > -----Original Message----- > From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com] > Sent: Friday, July 25, 2003 10:55 AM > To: Marc Powell > > I have followed all instructions from the docs. > > when I do an ls from the var directory rw shows as > > drwxrws--- 2 nagios nagiocmd 4096 July 25 09:57 rw > > when I do an ls on the rw directory is shows > > prw-rw---- 1 nagios nagiocmd 0 Jul 25 09:57 nagios.cmd > > - > Pat. > > > > >>> "Marc Powell" 07/25/03 10:21:01 AM >>> > Have you created the 'rw' directory with the proper permissions and > restarted nagios? > > http://nagios.sourceforge.net/docs/1_0/commandfile.html > > -- > Marc > > > -----Original Message----- > > From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com] > > Sent: Friday, July 25, 2003 10:04 AM > > To: nagios-users at lists.sourceforge.net > > > > Hello, > > > > I'm new to nagios. Everything is working properly except, when I > try > > to do anything that requires an external command it gives me the > > following error... > > > > - - - - - > > 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 enabled external commands in nagios.cfg. > > > > Any suggestions? > > > > Thanks. > > > > Patrick Hasenjager > > Technical Support Specialist > > Frankel, Zacharia, Arnold, Nissen, Stamp & Reinsch, LLC > > > > Main: (402) 496-9100 > > Desk: (402) 963-4340 > > Fax: (402) 496-1024 > > phasenjager at fzacpa.com > > > ************************************************************************ > ** > > > > This e-mail and any attachments are intended only for the addressee. > If > > you are not the addressee you should not disseminate, distribute or > copy > > this e-mail or attachments. Please immediately notify the sender if > you > > have received this e-mail by mistake and delete it from your system. > > E-mail transmission cannot be guaranteed secure or error-free as > > information could be intercepted, corrupted, lost, destroyed, arrive > late > > or incomplete, or contain viruses. The sender does not accept > liability > > for errors or omissions in the contents of this message which arise > or > > occur during transmission. We will provide a "hard-copy" version of > the > > message and attachments upon request. > > > > Although reasonable precautions are taken to assure this e-mail is > virus > > free, we do not accept responsibility for the loss or damage arising > from > > the use of this e-mail or attachments. > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mooney at pnl.gov Fri Jul 25 18:56:24 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Fri, 25 Jul 2003 09:56:24 -0700 Subject: Number of Nagios Processes Distributed Monitoring Message-ID: I had a simular problem when doing lots of external checks. The sub process that gets forked to read the results from the .cmd pipe and then write them to the shared fd to the master process would block (forever) on the write call. I never did figure out why, since the code appeared to be correct. I ended up putting an alarm around the write call and timing it out if it hung to long. I figured that loosing a few passive checks was worth not having memory fill up & having the machine die. Based on the behavior I saw, I'm not really convinced that the problem is 100% limited to the passive checks though, as a very simular set of routines is used by the active checks code. If you compile nagios with debugging (export "CFLAGS=-g"; ./configure --whatever-options-you-use; make; make install) and then watch the "ps aux" output you'll notice that there is one really long running process that takes a fair bit of CPU (which is the good master) and then over time you'll start seeing some other processes that have a start time a fair bit in the past that never die. If you attach to one of these with a debugger (say "cd /wherever/you/compiled/nagios/; gdb base/nagios [pid]" where [pid] is the process ID of one of the processes with a start time > 1hr ago that is not the master process) and do a "bt" to get a call trace out of it that would likely help determine where the processes are getting stuck. If you are having the same problem I was you will likely see "process_passive_service_checks" and/or "check_for_external_commands" in the call trace (sometimes the stack looks munged so the call stack may not be 100% accurate, leading me to believe that some corruption is whats causing the write to hang, but I wasn't able to figure out what was causing the corruption easily and had to "get things working"). I'd be curious to see if its the same problem. > >Jasmine > I am pretty sure, not nagios itself, but memory ran out and the server > stood. > At the moment I have a nagios uptime of : > > Total Running Time: 0d 6h 6m 15s > And this... > Check Command Output: Nagios ok: located 1677 processes, status log > updated 170 seconds ago > > I am pretty sure this is mot ok, > > Any Ideas ? > > I will let the server run over the weekend, when it crashes again, I > give detailed information to the list. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Fri Jul 25 19:14:31 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [GMG]) Date: Fri, 25 Jul 2003 12:14:31 -0500 Subject: Getting to Macros from script Message-ID: <516DA7BE5D87C8469D89F150CA0B491101C77051@PDAWB02C.ad.sprint.com> If I write the old standby Hello World script using PHP, it won't run if I put it in the same directory as all the other .cgi scripts. Errors from Apache error log [Fri Jul 25 12:11:21 2003] [error] (8)Exec format error: exec of /usr/local/nagios/sbin/hello.php failed [Fri Jul 25 12:11:21 2003] [error] [client 10.65.5.28] Premature end of script headers: /usr/local/nagios/sbin/hello.php I'm sure this is an Apache problem. I was just trying to see if anyone else had written some custom stuff for Nagios and tried to run it from the same sbin directory. If I don't have any luck soon, I'll try writing it in Perl and see if that works. Thanks, Stanley G. Martin System Administrator Sprint - EIS3 Customer Care Stanley.G.Martin at mail.sprint.com -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, July 25, 2003 8:29 AM To: Martin, Stanley G [GMG]; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Getting to Macros from script ? -----Original Message----- From: Martin, Stanley G [GMG] [mailto:Stanley.G.Martin at mail.sprint.com] Sent: Fri 7/25/2003 8:12 AM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Getting to Macros from script 1) The Author defaults to the user logged in.? How do I get to that variable? Since Nagios uses .htaccess, it's stuffed into the CGI environment variable REMOTE_USER?by the webserver and accessible by any httpd spawned process. 2) I can run my script from one of my other websites, but when I drop it into the ~nagios/sbin directory, I get an execution failure.? How can I get my script to run from under the nagios directory structure? This is kind of an odd question since we didn't write your script nor do we have any idea of it's requirements. All I can suggest are basic troubleshooting ideas : verify permissions are correct, try running it as the user your web server runs as, verify paths in your script are sane and check you httpd error log for clues. ? -- Marc ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karmik at infinito.it Fri Jul 25 19:22:08 2003 From: karmik at infinito.it (Giulio Chiappini) Date: Fri, 25 Jul 2003 19:22:08 +0200 Subject: automatic Trends and Availability In-Reply-To: References: Message-ID: <5.2.0.9.0.20030725192137.00ac53a8@pop.infinito.it> At 17.10 15/07/2003 +0200, you wrote: >Hello all, > >I?ve just configure Nagios to monitorice all my hosts and services. I use >the 'Trends' and 'Availability' frequently. Now, I need to generate >automatic 'Trends' and/or 'Abailability' and store in a folder (for >example), but I don't know if it is possible. > >Somebody know how can I do it? any idea? > >Thanks for all :-) > > >>>>>>>>>>>>>>>>>>>>>>>> >Miguel A. Torres Santos >PRISACOM - Dept. Sistemas >Telf: 91353-7871 >e-mail: matorres at prisacom.com > >>>>>>>>>>>>>>>>>>>>>>>> Have you tried MRTG for graph tracking? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Jul 25 19:29:49 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Fri, 25 Jul 2003 12:29:49 -0500 Subject: Changing Minimum Downtime Message-ID: Heh, I know the feeling. When I first started playing with the scheduled downtime facility, it wasn't obvious what the Fixed checkbox was all about. Even after reading the verbiage off to the right. I had to read it a number of times before it finally sank in. ;) Perhaps a wee bit of Javascript to cause certain text in that verbiage to be highlighted would be beneficial to some. ;) jc -----Original Message----- From: Networks [mailto:networks at wi.rr.com] Sent: Thursday, July 24, 2003 1:10 PM To: Carroll, Jim P [PCS] Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Changing Minimum Downtime Ok now I feel bad, chalk this up as my stupidest question... sorry guys.. It was that darn fixed button.. =( Read over Jim's post again, and did a few tests.. looks like the fixed button forces it to 2 hours. So yah, whoops. Thanks to everyone that responded tho. On Thu, 2003-07-24 at 12:32, Carroll, Jim P [PCS] wrote: > I don't find the 2 hour minimum annoying, as it's actually a set > 2 hour period. Not a minimum, not a maximum. > > I also don't find the default 2 hour period to be annoying, either. > If I want it different, I just change it manually. Usually I just > change the start time's hh:mm:ss to what I want it to be, and set > the end time's hh:mm:ss to what I want it to be. If the end time > falls after midnight (whereas the start time is prior to midnight), > I adjust the date accordingly. Sometimes the start time translates > to 'right this very moment', in which case I don't need to edit that > at all. > > So let's say that you are personally interested in changing the > default time period to 1 hour. If I had to deal with that time > period, I'd still be doing just as much typing as before. > > But let's say that you're interested in a 'flexible' downtime. > After unchecking the Fixed checkbox, I would double-click in the > Hours box, type '1', and (after filling in the Comment field), > I would click on Commit. I'm not sure how double-clicking in > the Hours box and typing a single keystroke would be annoying. > > Since this doesn't strike me as annoying, either my annoyance > threshold is different than yours, or I'm completely overlooking > something. Perhaps you could describe the specifics of the scenario > you're trying to deal with...? > > jc > > -----Original Message----- > From: Networks [mailto:networks at wi.rr.com] > Sent: Thursday, July 24, 2003 9:55 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Changing Minimum Downtime > > > > Anyone? I can't be the only one who found the 2 hour minimum annoying.. > > On Wed, 2003-07-23 at 09:49, Networks wrote: > > > > Is there a way to change the default of 2hrs for minimum down time? > > I looked through both the manual and config files, but didn't find > > anything. > > > > Thanks, > > > > Josh > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Jul 25 19:24:40 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 25 Jul 2003 12:24:40 -0500 Subject: Getting to Macros from script Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7CFB@mismail.ena.com> I have created a number of tools that work just fine in ~nagios/sbin. There's nothing really special about that directory as opposed to any others that have +ExecCGI specified. A google search for your error message seems to indicate a couple of possibilities -- 1) you may be specifying a #! Line in your script (which isn't necessary for php). 2) php isn't installed correctly (check httpd.conf for the required php definitions). -- Marc > -----Original Message----- > From: Martin, Stanley G [GMG] [mailto:Stanley.G.Martin at mail.sprint.com] > Sent: Friday, July 25, 2003 12:15 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > > If I write the old standby Hello World script using PHP, it won't run if I > put it in the same directory as all the other .cgi scripts. > > Errors from Apache error log > [Fri Jul 25 12:11:21 2003] [error] (8)Exec format error: exec of > /usr/local/nagios/sbin/hello.php failed > [Fri Jul 25 12:11:21 2003] [error] [client 10.65.5.28] Premature end of > script headers: /usr/local/nagios/sbin/hello.php > > I'm sure this is an Apache problem. I was just trying to see if anyone > else had written some custom stuff for Nagios and tried to run it from the > same sbin directory. If I don't have any luck soon, I'll try writing it > in Perl and see if that works. > > Thanks, > > Stanley G. Martin > System Administrator > Sprint - EIS3 Customer Care > Stanley.G.Martin at mail.sprint.com > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Friday, July 25, 2003 8:29 AM > To: Martin, Stanley G [GMG]; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Getting to Macros from script > > > -----Original Message----- > From: Martin, Stanley G [GMG] [mailto:Stanley.G.Martin at mail.sprint.com] > Sent: Fri 7/25/2003 8:12 AM > To: nagios-users at lists.sourceforge.net > Cc: > Subject: [Nagios-users] Getting to Macros from script > 1) The Author defaults to the user logged in.? How do I get to that > variable? > Since Nagios uses .htaccess, it's stuffed into the CGI environment > variable REMOTE_USER?by the webserver and accessible by any httpd spawned > process. > > 2) I can run my script from one of my other websites, but when I drop it > into the ~nagios/sbin directory, I get an execution failure.? How can I > get my script to run from under the nagios directory structure? > This is kind of an odd question since we didn't write your script nor do > we have any idea of it's requirements. All I can suggest are basic > troubleshooting ideas : verify permissions are correct, try running it as > the user your web server runs as, verify paths in your script are sane and > check you httpd error log for clues. > > -- > Marc ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Fri Jul 25 19:38:57 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [GMG]) Date: Fri, 25 Jul 2003 12:38:57 -0500 Subject: Getting to Macros from script Message-ID: <516DA7BE5D87C8469D89F150CA0B491101C7707B@PDAWB02C.ad.sprint.com> I have numerous other virtual websites running PHP just fine, so it can't be that. I wrote the same hello world in Perl and it worked fine. It's something in the way that directory is configure in Apache that it doesn't know what to do with PHP scripts. I think I'll try and re-write my script in Perl. Stanley G. Martin System Administrator Sprint - EIS3 Customer Care Stanley.G.Martin at mail.sprint.com -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, July 25, 2003 12:25 PM To: Martin, Stanley G [GMG]; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Getting to Macros from script I have created a number of tools that work just fine in ~nagios/sbin. There's nothing really special about that directory as opposed to any others that have +ExecCGI specified. A google search for your error message seems to indicate a couple of possibilities -- 1) you may be specifying a #! Line in your script (which isn't necessary for php). 2) php isn't installed correctly (check httpd.conf for the required php definitions). -- Marc > -----Original Message----- > From: Martin, Stanley G [GMG] [mailto:Stanley.G.Martin at mail.sprint.com] > Sent: Friday, July 25, 2003 12:15 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > > If I write the old standby Hello World script using PHP, it won't run if I > put it in the same directory as all the other .cgi scripts. > > Errors from Apache error log > [Fri Jul 25 12:11:21 2003] [error] (8)Exec format error: exec of > /usr/local/nagios/sbin/hello.php failed > [Fri Jul 25 12:11:21 2003] [error] [client 10.65.5.28] Premature end of > script headers: /usr/local/nagios/sbin/hello.php > > I'm sure this is an Apache problem. I was just trying to see if anyone > else had written some custom stuff for Nagios and tried to run it from the > same sbin directory. If I don't have any luck soon, I'll try writing it > in Perl and see if that works. > > Thanks, > > Stanley G. Martin > System Administrator > Sprint - EIS3 Customer Care > Stanley.G.Martin at mail.sprint.com > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Friday, July 25, 2003 8:29 AM > To: Martin, Stanley G [GMG]; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Getting to Macros from script > > > -----Original Message----- > From: Martin, Stanley G [GMG] [mailto:Stanley.G.Martin at mail.sprint.com] > Sent: Fri 7/25/2003 8:12 AM > To: nagios-users at lists.sourceforge.net > Cc: > Subject: [Nagios-users] Getting to Macros from script > 1) The Author defaults to the user logged in.? How do I get to that > variable? > Since Nagios uses .htaccess, it's stuffed into the CGI environment > variable REMOTE_USER?by the webserver and accessible by any httpd spawned > process. > > 2) I can run my script from one of my other websites, but when I drop it > into the ~nagios/sbin directory, I get an execution failure.? How can I > get my script to run from under the nagios directory structure? > This is kind of an odd question since we didn't write your script nor do > we have any idea of it's requirements. All I can suggest are basic > troubleshooting ideas : verify permissions are correct, try running it as > the user your web server runs as, verify paths in your script are sane and > check you httpd error log for clues. > > -- > Marc ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Fri Jul 25 20:04:56 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Fri, 25 Jul 2003 15:04:56 -0300 Subject: check_oracle tip Message-ID: <20030725180456.10694.qmail@linuxmail.org> Folks, I know that this subject has been discussed so many times here, but searching the list archives I didn't find what I'm looking for. I installed the Client for Users from Oracle 8i Enterprise CD. I'm trying by this way: # SERVICES.CFG define service{ host_name sd3metro1 service_description Oracle check_command check_oracle!10.21.200.7 # CHECKCOMMANDS.CFG define command{ command_name check_oracle command_line /usr/bin/env -i "ORACLE_HOME=/home/acesso/OraHome1" $USER1$/check_oracle --tns $ARG1$ } The error, from web interface: Cannot determine ORACLE_HOME for sid 10.21.200.7 When I try this check command typing in the shell (/usr/bin/env -i "ORACLE_HOME=/home/acesso/OraHome1" /usr/local/nagios/libexec/check_oracle --tns 10.21.200.7) the stdout is "OK - reply time 20 msec from 10.21.200.7". Anyone could send me the syntax used to check remote oracle servers? Also telling me the environment configured. You could answer in PVT too. Feel free... Thanks! Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at lists.netways.de Fri Jul 25 20:21:39 2003 From: nagios-users at lists.netways.de (nagios-users) Date: Fri, 25 Jul 2003 20:21:39 +0200 Subject: AW: Number of Nagios Processes Distributed Monitoring Message-ID: <3626546DC152134382A0A029C29365C6117EEC@net-mail.int.netways.de> >100% accurate, leading me >to believe that some corruption is whats causing the write to >hang, but I wasn't able to >figure out what was causing the corruption easily and had to >"get things working"). Same for me, what did you do in the end ? I am using the debian version of nagios 1.03 ... >I'd be curious to see if its the same problem. > >> >Jasmine >> I am pretty sure, not nagios itself, but memory ran out and >the server >> stood. At the moment I have a nagios uptime of : >> >> Total Running Time: 0d 6h 6m 15s >> And this... >> Check Command Output: Nagios ok: located 1677 processes, status log >> updated 170 seconds ago >> >> I am pretty sure this is mot ok, >> >> Any Ideas ? >> >> I will let the server run over the weekend, when it crashes again, I >> give detailed information to the list. >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by: Free pre-built ASP.NET sites >including >> Data Reports, E-commerce, Portals, and Forums are available now. >> Download today and enter to win an XBOX or Visual Studio .NET. >> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet >> _072303_01/01 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to >/dev/null >> > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites >including Data Reports, E-commerce, Portals, and Forums are >available now. Download today and enter to win an XBOX or >Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_ 072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at lists.netways.de Fri Jul 25 20:43:15 2003 From: nagios-users at lists.netways.de (nagios-users) Date: Fri, 25 Jul 2003 20:43:15 +0200 Subject: AW: Number of Nagios Processes Distributed Monitoring Message-ID: <3626546DC152134382A0A029C29365C6117EEE@net-mail.int.netways.de> >(say "cd /wherever/you/compiled/nagios/; gdb base/nagios >[pid]" where [pid] >is the process ID of one of the processes with a start time > >1hr ago that is not the >master process) and do a "bt" to get a call trace out of it >that would likely help >determine where the processes are getting stuck. Strace will bring that output ... emil:/home/nengel# strace -p 3788 write(5, "pdc-file01\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 504 Any ideas ? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Jul 25 21:06:09 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 25 Jul 2003 14:06:09 -0500 Subject: check_ph plugin Message-ID: <16161.32673.731368.962858@montanaro.dyndns.org> For those interested in such stuff, I submitted a patch to the nagiosplug.sf.net project which adds a check_ph.pl script. For people with the occasional ph server which needs checking, it's at http://sourceforge.net/tracker/index.php?func=detail&aid=777753&group_id=29880&atid=397599 Cheers, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mooney at pnl.gov Fri Jul 25 21:10:47 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Fri, 25 Jul 2003 12:10:47 -0700 Subject: Number of Nagios Processes Distributed Monitoring Message-ID: Here is a "stupid" diff against stock 1.0 (although it should apply to 1.1 as well). I say stupid because it a) doesn't fix the real problem (the write blocking forever is caused by something?) and b) isn't really freindly about how it "fixes" the problem (the stuck process is terminated with prejudice). It has however kept my machine from crashing from running out of memory (had I been running fbsd, sigh) for a couple weeks now, which is worth the downsides IMHO. I didn't bitch about it because it looks like 2.0 is doing some different stuff in the process handling, so it seemed a little premature to complain about that there. > -----Original Message----- > From: nagios-users [mailto:nagios-users at lists.netways.de] > Sent: Friday, July 25, 2003 11:43 AM > To: nagios-users at lists.sourceforge.net > Subject: AW: [Nagios-users] Number of Nagios Processes Distributed > Monitoring > > > >(say "cd /wherever/you/compiled/nagios/; gdb base/nagios > >[pid]" where [pid] > >is the process ID of one of the processes with a start time > > >1hr ago that is not the > >master process) and do a "bt" to get a call trace out of it > >that would likely help > >determine where the processes are getting stuck. > Strace will bring that output ... > > emil:/home/nengel# strace -p 3788 > write(5, "pdc-file01\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., > 504 > > Any ideas ? > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: diffs Type: application/octet-stream Size: 475 bytes Desc: diffs URL: From ryan.mooney at pnl.gov Fri Jul 25 21:01:46 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Fri, 25 Jul 2003 12:01:46 -0700 Subject: Number of Nagios Processes Distributed Monitoring Message-ID: Yeah, it tells you that its hung in a write call, but how do you know which one (deduction tells us its likely that its the same one I'm seeing, but its not certain). > -----Original Message----- > From: nagios-users [mailto:nagios-users at lists.netways.de] > Sent: Friday, July 25, 2003 11:43 AM > To: nagios-users at lists.sourceforge.net > Subject: AW: [Nagios-users] Number of Nagios Processes Distributed > Monitoring > > > >(say "cd /wherever/you/compiled/nagios/; gdb base/nagios > >[pid]" where [pid] > >is the process ID of one of the processes with a start time > > >1hr ago that is not the > >master process) and do a "bt" to get a call trace out of it > >that would likely help > >determine where the processes are getting stuck. > Strace will bring that output ... > > emil:/home/nengel# strace -p 3788 > write(5, "pdc-file01\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., > 504 > > Any ideas ? > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at omnipod.com Sat Jul 26 00:12:37 2003 From: mike at omnipod.com (Mike Culbertson) Date: Fri, 25 Jul 2003 15:12:37 -0700 Subject: notification commands based on hosts or services Message-ID: I have been all through the docs, but I can't determine a reasonable way to do this: I need to specify the type of notification based on what host or service has a problem. For example, contact "Joe" has notification options of "notify-by- email,notify-by-epager". Joe needs to be contacted about status changes on all "dev" and "test" machines, but only needs email about "dev" machines, and should not be paged. Contact groups become irrelevant here because the type of notification to make is specified in the contact definition. So even if I play around with contact groups and timeperiods, when an alert is sent to Joe, it goes via email and epager. How could I restrict the notification type based on what service/host/hostgroup it is coming from without having to make unique contact entries for each (person+type of notification) they use? I think this makes sense, but I've had a LOT of coffee :) TIA -- Mike Culbertson ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at powered.net Sat Jul 26 00:25:39 2003 From: sourceforge at powered.net (Rainer) Date: Fri, 25 Jul 2003 19:25:39 -0300 Subject: Enable/Disable Notifications In-Reply-To: References: Message-ID: <6.0.0.14.2.20030725192327.00ba5560@localhost> Garry, Try this: stop Nagios, delete status.sav and restart it. Rainer At 11:30 25/7/2003, you wrote: >I have an odd problem. I've setup Nagios 1.1 on RH9, and I converted >NetSaint 0.0.7 config files from the production RH7.3 system. I'm >running them side by side, but did not want to send notifications until >I was sure that everything was converted properly. Rather than disable >host/service notifications from the tac.cgi web page, I did it in the >config files, by setting the generic-host and generic-service templates' >notifications_enabled parameters to '0'. Since these are the base >templates used throughout all hosts and services, this value propagated >throughout the system, effectively disabling all notifications. This is >exactly what I expected/wanted. > >However, upon changing these two parameters back to '1', to enable >notifications, all notifications are still disabled. I have restarted >the nagios, restarted the system, and even attempted to disable/enable >notifications from tac.cgi. None of this works. > >The only way that I have found to re-enable notifications is >individually, per host. Any ideas as to why this might be the case? > >Garry W. Cook, CCNA >Network Infrastructure Manager >MACTEC, Inc. - http://www.mactec.com/ >303.308.6228 (Office) - 303.881.5157 (Mobile) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at omnipod.com Sat Jul 26 01:26:40 2003 From: mike at omnipod.com (Mike Culbertson) Date: Fri, 25 Jul 2003 16:26:40 -0700 Subject: notification commands based on hosts or services In-Reply-To: References: Message-ID: To add to the issues... I bit the bullet and went ahead and created additional entries for each contact, named test, and placed them all in a contact group "test" all with email-only notifications. I then realized that the service templates for all of my checks are based around the type/timing of the checks, i.e. 15-min-check,5-min-check, etc. All the templates point to the main contact group. I cannot change the templates, because that would affect ALL services, not just the ones I want only email from, and I hoped I might be able to remove the default contact group and it would default to the contact group for the host or hostgroup, but that is not the case. Removing the default contact group for a service template results in a warning for every service that uses the template. So is it accurate, then, that my options are these: New service templates for each of the groups of services for which I need specific notification types. or Removing contact group from the service templates and specfiying the contactgroup in each individual service. I am somewhat reluctant to do either as this would require editing a huge number of service entries in either case. Any ideas/hacks/tips? -- Mike Culbertson ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jldelagarza at marcatel.net Fri Jul 25 17:40:30 2003 From: jldelagarza at marcatel.net (Jorge Luis de la Garza (Sistemas)) Date: Fri, 25 Jul 2003 10:40:30 -0500 Subject: Nagios cannot see a host when it's come up after be down Message-ID: <007C87C66DDE0E4A91591E1FBD9596B001C297D5@mtelmy16.marcatel.ad> Hi !! I'm monitor several ruters (cisco) with check_ping and check_ifstatus, when someone goes down nagios detect perfectly, but when it comes up nagios cannot detected. Even with a ping form the pc can't see the router. The only way to correct this is to restart the interfaces of linux. This happen some times, not always. I also run cacti on the linux machine to graph the interfaces. It's seems like if nagios (or some other program) is blocking the ip of the router, but i don't now how to correct this problems any ideas ? thanks !! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lvance at netdoor.com Wed Jul 23 14:30:36 2003 From: lvance at netdoor.com (Les) Date: Wed, 23 Jul 2003 07:30:36 -0500 Subject: Question on Nagios use In-Reply-To: References: Message-ID: <200307231230.h6NCUa6u018124@smtp2.netdoor.com> Do I have to have a client installed to monitor anything with Nagios. I just want to monitor Cisco and Motorola devices with snmp. Will Nagios do this or do I need to look at something else. Thanks in advance. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vik.evans at cox.net Sat Jul 26 18:48:48 2003 From: vik.evans at cox.net (Vik Evans) Date: Sat, 26 Jul 2003 09:48:48 -0700 Subject: Nagios and NAT Message-ID: <3F22B0F0.2040607@cox.net> I have run into situations before where some SNMP / Monitoring utility does not work with with NAT. i.e. - you cannot define a nat'd subnet and have the tool discover all devices by their nat'd IP address. What ends up happening is that the devices are discovered, however when you begin managing by SNMP, the real IP addresses are discovered and you begin seeing errors (red) on your maps or devices get removed from the nat'd domain and put into containers based on their real IP addresses. If all the monitoring is done to the nat'd IP's and you do not have routing to the real IP's, you get errors. Does Nagios work in NAT environments and can it monitor interfaces, etc. yet still base its polling on the NAT'd IP which you have routing to? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwarner at ctinetworks.com Sat Jul 26 20:00:52 2003 From: dwarner at ctinetworks.com (Douglas E. Warner) Date: Sat, 26 Jul 2003 14:00:52 -0400 Subject: service descriptions with hostgroup and not host Message-ID: <200307261401.04399.dwarner@ctinetworks.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm a big fan of specifying a hostgroup_name in a service description, but I've run into a situation where I need to do a service check for all hosts in a hostgroup except one. I was wondering if there was any way to negate a host in a group, perhaps something like: host !evil.host or exclude_host evil.host Does anything like this exist? - -Doug - -- Douglas E. Warner Network Engineer CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/IsHgJV36su0A0xIRArMuAJ4hegjPmWjc9oemNyf3OF+z375q6gCgpjvz CJIUMgm1fD+MQHVhH+FzIKs= =niT6 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Sun Jul 27 02:56:22 2003 From: teng at dataway.com (Tedman Eng) Date: Sat, 26 Jul 2003 17:56:22 -0700 Subject: notification commands based on hosts or services References: Message-ID: Lets say you've got contacts per person per notification type set up. Joe_email = email notfication Joe_pager= pager notification Boss_email= , etc.... I think perhaps you could set up your contact groups accoring to "notification profiles" ie. contact_groups: general = Joe_Email, Joe_Pager, Boss_Email, Boss_pager, helpdesk_email, oncall_pager dev = Joe_Email, Boss_Email, helpdesk_email test = Joe_Email, Joe_Pager, Boss_pager In the service template, use 'general' as the default for all services Then, in each service definition for each host in the dev or test group, specify a particular contact_group to use and it'll override whatever's set in the template. "Mike Culbertson" wrote in message news:oprsv3eqwqmw44be at mail.infoleak.org... > To add to the issues... > > I bit the bullet and went ahead and created additional entries for each > contact, named test, and placed them all in a contact group "test" > all with email-only notifications. I then realized that the service > templates for all of my checks are based around the type/timing of the > checks, i.e. 15-min-check,5-min-check, etc. All the templates point to the > main contact group. > > I cannot change the templates, because that would affect ALL services, not > just the ones I want only email from, and I hoped I might be able to remove > the default contact group and it would default to the contact group for the > host or hostgroup, but that is not the case. Removing the default contact > group for a service template results in a warning for every service that > uses the template. > > So is it accurate, then, that my options are these: > > New service templates for each of the groups of services for which I need > specific notification types. > > or > > Removing contact group from the service templates and specfiying the > contactgroup in each individual service. > > > I am somewhat reluctant to do either as this would require editing a huge > number of service entries in either case. Any ideas/hacks/tips? > > > -- > Mike Culbertson > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ramon.E.Santa.Ana at gtservicing.com Fri Jul 25 08:00:19 2003 From: Ramon.E.Santa.Ana at gtservicing.com (Ramon.E.Santa.Ana at gtservicing.com) Date: Fri, 25 Jul 2003 01:00:19 -0500 Subject: Ramon E Santa Ana/HQ/GTFC is out of the office. Message-ID: I will be out of the office starting 07/24/2003 and will not return until 07/31/2003. I will respond to your message when I return. If you have any question in regards to PRB, please contact Michael Kelliher. ======================================================================================= > This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received this message in error, please advise the sender by reply email, and delete or destroy the message. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From walk2137 at bellsouth.net Fri Jul 25 15:52:36 2003 From: walk2137 at bellsouth.net (Martin C. Walker) Date: Fri, 25 Jul 2003 09:52:36 -0400 Subject: DB support Message-ID: <3F213624.7030706@bellsouth.net> Nagios developers should take a page out of Snort and look at how Barnyard is implemented. Also, DB support for configuration information would be super! I would love to see the various open source projects attempting to use same or at least easily integrated table defs/schemas. I'm now attempting to tightly integrate Snort, ACID, Nagios and some trouble ticketing/help desk apps plus various other smaller pieces. Would be great if there was an easy way to tie together the sensor table in the ACID schema with the host def in Nagios for example or use the same table. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ch at greenmail.ch Fri Jul 25 14:56:19 2003 From: ch at greenmail.ch (claus) Date: Fri, 25 Jul 2003 14:56:19 +0200 Subject: Fw: nagios + snmp Message-ID: <02ed01c352ac$24c46890$8701a8c0@descom.local> Use check_snmp. "autoconfig" will build it if you have ucdsnmp installed (perhaps with others too). Regards, Claus ----- Original Message ----- From: "Yohann DESQUERRE (DSI NOISIEL)" To: Sent: Friday, July 25, 2003 1:43 PM Subject: [Nagios-users] nagios + snmp Hi all, I'd like to use nagios using snmp to avoid to install nrpe on the remote host!!! I read the doc but I don't find how to do. Any ideas ??? thanks ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" S/Direction de la production Gestion des Ressources 01-49-31-82-03 ----------------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Sat Jul 26 23:10:09 2003 From: richard at splash.co.za (Richard Mayhew) Date: Sat, 26 Jul 2003 23:10:09 +0200 Subject: Missing Notifications Message-ID: <006401c353ba$4d620dc0$0a00a8c0@splash> Hi All, I have been watching Nagios for some time now. It seems to be loosing the critical notifications. I am running Version 1.1 with the latest version of plugins. Its running RedHat 7.3 with all the latest patches. What happens is say a service HTTP turns critical, no notifications are sent. This does not happen everytime but most of the time. When the service returns to an OK state, a notification is sent. I have checked the configs and I do have the correct notification options. It seems it looses some of the critical/warning notifications but not the recovery notifications. Has anyone else had this problem? Thanks Richard Mayhew -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmroth at iip.lu Mon Jul 28 01:41:39 2003 From: jmroth at iip.lu (J.M.Roth) Date: Mon, 28 Jul 2003 01:41:39 +0200 Subject: simulate complete email Message-ID: <3F246333.5000901@iip.lu> Hi there, I'd like to simulate a complete email to a "devnull" address. There doesn't seem to be a command to do it. I just wanna make sure that although the smtp service might be up the delivery could still fail after the DATA command, and in fact I'd like to check its return value. I was expecting to maybe use -e -s -e etc. in sequence with check_smtp but it doesn't seem to be the case. Any idea? Greets, -jm ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Mon Jul 28 08:11:33 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Mon, 28 Jul 2003 08:11:33 +0200 Subject: Probs with APAN/Nagios and Extended Information with Database Support Message-ID: <3F24BE95.8000707@mobilcom.de> Hi! I'm using Nagios 1.1 with MySQL-Support (compiled with '--with-mysql-xdata') and the newest APAN code. APAN works fine, but there's just one thing missing: I can't get the Icons for the extended service information to work ... I haven't understood how to tell Nagios that there are extended information for some hosts/services. Where do I put the 'define serviceextinfo{...}'? In a file? Which file - it didn't work with serviceextinfo.cfg ... Regards, Jens ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Mon Jul 28 08:28:10 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Mon, 28 Jul 2003 08:28:10 +0200 Subject: Missing Notifications In-Reply-To: <006401c353ba$4d620dc0$0a00a8c0@splash> References: <006401c353ba$4d620dc0$0a00a8c0@splash> Message-ID: <20030728062810.GA9880@amit.hu> hi, > I have been watching Nagios for some time now. It seems to be loosing > the critical notifications. I am running Version 1.1 with the latest > version of plugins. Its running RedHat 7.3 with all the latest patches. > > What happens is say a service HTTP turns critical, no notifications are > sent. This does not happen everytime but most of the time. When the > service returns to an OK state, a notification is sent. I have checked > the configs and I do have the correct notification options. It seems it > looses some of the critical/warning notifications but not the recovery > notifications. > > Has anyone else had this problem? yes, i have also this problem, and when i posted my problem to this list, Klisowski Rafa wrote, he has also same problem... (we posted our mails at 25th of july) but nobody has solution... :( bye: air ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Gick at wieland-electric.com Sun Jul 27 10:44:21 2003 From: Thomas.Gick at wieland-electric.com (Gick Thomas) Date: Sun, 27 Jul 2003 10:44:21 +0200 Subject: Question to nagios reporting Message-ID: Hi list, i am a new nagios enthused user. First I want to thank Ethan for this perfect designed tool After reading 2 days the documention I am absolutely convinced about the the based concept. I'm sorry to say that I miss some documention about the reporting features. I don?t know how the following parameters affect the report: Assume initial states Assume state retention Backtracked archives May be somebody can help me. Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From LAT at gmanetwork.com Mon Jul 28 09:12:39 2003 From: LAT at gmanetwork.com (Trinidad, Leovino A.) Date: Mon, 28 Jul 2003 15:12:39 +0800 Subject: Help: Comment Service not displayed Message-ID: Hi! I'm having problem displaying the service comment of nagios. I was able to activate the comment database and it's working well but it does not display the comments in the web. What could be the problem? Regards, LAT "This Message may contain confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you received this message in error please notify your Mail Administrator and delete this message immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of GMA Network, Inc." -------------- next part -------------- An HTML attachment was scrubbed... URL: From RKlisowski at era.pl Mon Jul 28 09:14:02 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Mon, 28 Jul 2003 09:14:02 +0200 Subject: Missing Notifications Message-ID: <20AF50E5F611F84993722DC135DF00BC3FDF96@seth.corponet.era.pl> > Has anyone else had this problem? Me. I receive recovery notification but no critical natification (but not all the time). In the web interface everything is notified but no messages are sent (nothing in logs). -- Rafal - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Mon Jul 28 10:05:48 2003 From: richard at splash.co.za (Richard Mayhew) Date: Mon, 28 Jul 2003 10:05:48 +0200 Subject: Missing Notifications References: <006401c353ba$4d620dc0$0a00a8c0@splash> <20030728062810.GA9880@amit.hu> Message-ID: <02c001c354df$0ecbbfe0$211302c4@mweb.com> Ethan? Any idea how we can solve this? Should I revert back to Nagios 1.0 in the mean time? Thanks ----- Original Message ----- From: "Hegedus, Ervin" To: "Richard Mayhew" Cc: Sent: Monday, July 28, 2003 8:28 AM Subject: Re: [Nagios-users] Missing Notifications > hi, > > > I have been watching Nagios for some time now. It seems to be loosing > > the critical notifications. I am running Version 1.1 with the latest > > version of plugins. Its running RedHat 7.3 with all the latest patches. > > > > What happens is say a service HTTP turns critical, no notifications are > > sent. This does not happen everytime but most of the time. When the > > service returns to an OK state, a notification is sent. I have checked > > the configs and I do have the correct notification options. It seems it > > looses some of the critical/warning notifications but not the recovery > > notifications. > > > > Has anyone else had this problem? > > yes, i have also this problem, and when i posted my problem to > this list, Klisowski Rafa wrote, he has also same problem... > > (we posted our mails at 25th of july) > > but nobody has solution... :( > > > bye: > air > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Mon Jul 28 11:42:34 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Mon, 28 Jul 2003 11:42:34 +0200 Subject: Available variables in misccommands.cfg References: <006401c353ba$4d620dc0$0a00a8c0@splash> <20030728062810.GA9880@amit.hu> <02c001c354df$0ecbbfe0$211302c4@mweb.com> Message-ID: <018801c354ec$92c75d60$8200a8c0@JDLAPTOP> Hi all Im wondering if there is a list of variables that one can use when creating alarm macros in misccommand.cfg. There are some examples in misccommands.cfg already like $NOTIFICATIONTYPE$ and so on, but are there a complete list somewhere? Regards Johannes Dagemark OP5 AB ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bart at bockhoudt.com Mon Jul 28 12:33:19 2003 From: bart at bockhoudt.com (Bart Bockhoudt) Date: Mon, 28 Jul 2003 12:33:19 +0200 Subject: BUG: in apt package on Debian Message-ID: <33FBA5EFAEB12944B4B227F333B6F6737D84@timo> Hi, Found a bug in the Debian APT package. The package doesn't set the access rights for /etc/nagios/hosts.cfg right. After it's finished the file has ownership root.root. Took me a while before I found that one.. :( For the people with the same problem: $ chown nagios.nagios /etc/nagios/hosts.cfg Seems to be consistent, on a complete different Debian machine I hade the same problem. Also missing is a APT plugin package for Nagios, after apt-getting it I still needed to manual install the plugins to get it all working.. Hope the apt-builder of the package is a member of this list.. :) Gr, Bart -------------- next part -------------- An HTML attachment was scrubbed... URL: From jens.kruse at mobilcom.de Mon Jul 28 13:09:15 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Mon, 28 Jul 2003 13:09:15 +0200 Subject: [Apan-users] Probs with APAN/Nagios and Extended Information with Database Support References: Message-ID: <3F25045B.7010202@mobilcom.de> Hi Ewan, hi all! Evan Weston wrote: > I had this issue I got around it by compiling nagios with > --with-default-extinfo I wonder if you have database support? > And editing the /usr/local/nagios/etc/cgi.cfg file as described here:- > http://nagios.sourceforge.net/docs/1_0/xeddefault.html > > So like in the servicetextinfo part I had a line like:- > > serviceextinfo[;]=;; I tried this too, but it also doesn't work ... Regards, Jens > -----Original Message----- > From: Jens Kruse [mailto:jens.kruse at mobilcom.de] > Sent: Mon 7/28/2003 4:11 PM > To: apan-users at sourceforge.net; Nagios Users > Cc: > Subject: [Apan-users] Probs with APAN/Nagios and Extended > Information with Database Support > Hi! > > I'm using Nagios 1.1 with MySQL-Support (compiled with > '--with-mysql-xdata') and the newest APAN code. > > APAN works fine, but there's just one thing missing: I can't get the > Icons for the extended service information to work ... > > I haven't understood how to tell Nagios that there are extended > information for some hosts/services. > Where do I put the 'define serviceextinfo{...}'? In a file? Which file - > it didn't work with serviceextinfo.cfg ... > > Regards, Jens > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Apan-users mailing list > Apan-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/apan-users > > -- Mit freundlichen Gr??en Jens Kruse Monitoring/Middleware MobilCom AG Hollerstra?e 126 24782 B?delsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de Besucher: Am Friedrichsbrunnen ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Sanderson at ahsys.org Mon Jul 28 14:29:05 2003 From: Andrew.Sanderson at ahsys.org (Sanderson, Andrew) Date: Mon, 28 Jul 2003 08:29:05 -0400 Subject: SQL 2000 Message-ID: <232004BCD089FA4683012B75EBC5319E0CC484@kauai.ahsys.org> Is there a plug-in available for monitoring SQL 2000 database servers? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jordi at nelissen.name Mon Jul 28 15:15:45 2003 From: jordi at nelissen.name (Jordi Nelissen) Date: Mon, 28 Jul 2003 15:15:45 +0200 (CEST) Subject: Run Nagios without service checks ? In-Reply-To: References: Message-ID: I plan to use Nagios to provide a very simple view to my users of the availability of routers within our VPN network. For this I'm only interested in PINGing the different remote site routers in our VPN. Can I use Nagios without the extra burden of the services.cfg file and limit my config to the hosts.cfg ? What are the side effects of not having a services.cfg file ? When restarting the Nagios process I receive several warnings and error messages complaining about the lack of the services.cfg file. Despite these messages, Nagios seems to run fine. Thanks, Jordi ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Mon Jul 28 14:37:18 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Mon, 28 Jul 2003 14:37:18 +0200 Subject: SQL 2000 In-Reply-To: <232004BCD089FA4683012B75EBC5319E0CC484@kauai.ahsys.org> References: <232004BCD089FA4683012B75EBC5319E0CC484@kauai.ahsys.org> Message-ID: <3F2518FE.5020409@dhl.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=156 Sanderson, Andrew wrote: > Is there a plug-in available for monitoring SQL 2000 database servers? > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Mon Jul 28 14:49:45 2003 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Mon, 28 Jul 2003 08:49:45 -0400 Subject: Run Nagios without service checks ? In-Reply-To: References: Message-ID: <3F251BE9.2080901@datawire.net> No, You'll require at least 1 service per host for Nagios to function happily, define a PING service for each host, and everything should be fine but you will still need to use the services.cfg Chris Jordi Nelissen wrote: > I plan to use Nagios to provide a very simple view to my users of the > availability of routers within our VPN network. For this I'm only > interested in PINGing the different remote site routers in our VPN. > > Can I use Nagios without the extra burden of the services.cfg file and > limit my config to the hosts.cfg ? What are the side effects of not having > a services.cfg file ? > > When restarting the Nagios process I receive several warnings and error > messages complaining about the lack of the services.cfg file. Despite > these messages, Nagios seems to run fine. > > Thanks, Jordi > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Chris Stankaitis Systems Administrator Datawire Communication Networks Inc. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Jul 28 14:50:29 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 28 Jul 2003 07:50:29 -0500 Subject: Run Nagios without service checks ? Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4811@mismail.ena.com> Hosts are never checked unless a service on that host fails. You must have at least one service defined for each host, even if it just a check_ping service. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Jordi Nelissen To: nagios-users at lists.sourceforge.net Sent: Mon Jul 28 08:15:45 2003 Subject: [Nagios-users] Run Nagios without service checks ? I plan to use Nagios to provide a very simple view to my users of the availability of routers within our VPN network. For this I'm only interested in PINGing the different remote site routers in our VPN. Can I use Nagios without the extra burden of the services.cfg file and limit my config to the hosts.cfg ? What are the side effects of not having a services.cfg file ? When restarting the Nagios process I receive several warnings and error messages complaining about the lack of the services.cfg file. Despite these messages, Nagios seems to run fine. Thanks, Jordi ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at roth.lu Mon Jul 28 14:54:22 2003 From: lists at roth.lu (J.M.Roth) Date: Mon, 28 Jul 2003 14:54:22 +0200 Subject: Run Nagios without service checks ? In-Reply-To: References: Message-ID: <3F251CFE.2050403@roth.lu> I'd say this applies to you http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=false&showdesc=true Greets -jm Jordi Nelissen wrote: >I plan to use Nagios to provide a very simple view to my users of the >availability of routers within our VPN network. For this I'm only >interested in PINGing the different remote site routers in our VPN. > >Can I use Nagios without the extra burden of the services.cfg file and >limit my config to the hosts.cfg ? What are the side effects of not having >a services.cfg file ? > >When restarting the Nagios process I receive several warnings and error >messages complaining about the lack of the services.cfg file. Despite >these messages, Nagios seems to run fine. > >Thanks, Jordi > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bart at bockhoudt.com Mon Jul 28 15:05:28 2003 From: bart at bockhoudt.com (Bart Bockhoudt) Date: Mon, 28 Jul 2003 15:05:28 +0200 Subject: APT + RPM's... Message-ID: <33FBA5EFAEB12944B4B227F333B6F6737D85@timo> I used the next listing in /etc/apt/sources.list --------------------------------------------------------------- deb ftp://ftp.debian.nl/debian/ sid main deb-src ftp://ftp.debian.nl/debian/ sid main deb http://non-us.debian.org/debian-non-US sid/non-US main deb-src http://non-us.debian.org/debian-non-US sid/non-US main deb ftp://ftp.nl.debian.org/debian/ stable main deb-src ftp://ftp.nl.debian.org/debian/ stable main --------------------------------------------------------------- Then give the command to update the apt db. $ apt-get update and then you can apt-get install the world.. like $ apt-get install nagios-text search what you need with $ apt-cache search Works like charm.. But only on Debian.. Gr, Bart -----Original Message----- From: Neil Stone [mailto:NeilStone at sttechnology.co.uk] Sent: maandag 28 juli 2003 13:46 To: Bart Bockhoudt Subject: APT + RPM's... > Hi, > > Found a bug in the Debian APT package. > . . . apt package for Nagios.. where did you get that from then ? Also is there an easy access RPM for nagios ?? Thanks Neil ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Mon Jul 28 15:02:26 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Mon, 28 Jul 2003 14:02:26 +0100 Subject: simulate complete email References: <3F246333.5000901@iip.lu> Message-ID: <004f01c35508$7e92b8f0$fb00a8c0@office.toastedmedia.net> Can't you set up an email address on a machine, with /dev/null in the aliases file? ----- Original Message ----- From: "J.M.Roth" To: Sent: Monday, July 28, 2003 12:41 AM Subject: [Nagios-users] simulate complete email > Hi there, > I'd like to simulate a complete email to a "devnull" address. > There doesn't seem to be a command to do it. > I just wanna make sure that although the smtp service might be up the > delivery could still fail after the DATA command, and in fact I'd like > to check its return value. > I was expecting to maybe use -e -s -e etc. in sequence with check_smtp > but it doesn't seem to be the case. > Any idea? > Greets, > -jm > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Mon Jul 28 15:15:14 2003 From: rob at capband.net (Rob Nelson) Date: Mon, 28 Jul 2003 09:15:14 -0400 Subject: Missing Notifications In-Reply-To: <20030728062810.GA9880@amit.hu> References: <006401c353ba$4d620dc0$0a00a8c0@splash> <006401c353ba$4d620dc0$0a00a8c0@splash> Message-ID: <5.2.1.1.0.20030728091335.01ac4578@mail.capband.net> >yes, i have also this problem, and when i posted my problem to >this list, Klisowski Rafa wrote, he has also same problem... > >(we posted our mails at 25th of july) > >but nobody has solution... :( I've had similar problems myself, but please detail your method of notification. On my end, I was using email for notifications and the other admin was playing with sendmail at the time :) Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From idavidso at juniper.net Mon Jul 28 14:47:40 2003 From: idavidso at juniper.net (Ian Davidson) Date: Mon, 28 Jul 2003 13:47:40 +0100 Subject: Available variables in misccommands.cfg Message-ID: Check out http://nagios.sourceforge.net/docs/1_0/macros.html You can also define your own if you want. Ian > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Johannes Dagemark > Sent: 28 July 2003 10:43 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Available variables in misccommands.cfg > > > Hi all > > Im wondering if there is a list of variables that one can use > when creating alarm macros in misccommand.cfg. > > There are some examples in misccommands.cfg already like > $NOTIFICATIONTYPE$ and so on, but are there a complete list somewhere? > > Regards > Johannes Dagemark > OP5 AB > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Jul 28 15:22:52 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 28 Jul 2003 07:22:52 -0600 Subject: service descriptions with hostgroup and not host Message-ID: I was just wondering the same thing last week. I would definitely be able to use this in my new setup. If this is not possible, please consider this a feature request. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Douglas E. Warner [mailto:dwarner at ctinetworks.com] > Sent: Saturday, July 26, 2003 12:01 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] service descriptions with hostgroup > and not host > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I'm a big fan of specifying a hostgroup_name in a service > description, but > I've run into a situation where I need to do a service check > for all hosts in > a hostgroup except one. I was wondering if there was any way > to negate a > host in a group, perhaps something like: > host !evil.host > or > exclude_host evil.host > > Does anything like this exist? > > - -Doug > > - -- > Douglas E. Warner Network Engineer > CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQE/IsHgJV36su0A0xIRArMuAJ4hegjPmWjc9oemNyf3OF+z375q6gCgpjvz > CJIUMgm1fD+MQHVhH+FzIKs= > =niT6 > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From idavidso at juniper.net Mon Jul 28 15:29:32 2003 From: idavidso at juniper.net (Ian Davidson) Date: Mon, 28 Jul 2003 14:29:32 +0100 Subject: Run Nagios without service checks ? Message-ID: If you define a service like: define service{ service_description check-ping check_command check_ping use generic-service contact_groups nobody host_name * } This covers pinging ALL of your hosts defined in the hosts.cfg file, so you don't need to edit both files when adding a host. Ian > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of J.M.Roth > Sent: 28 July 2003 13:54 > To: Jordi Nelissen > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Run Nagios without service checks ? > > > I'd say this applies to you > > http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=false& > showdesc=true > > Greets > -jm > > Jordi Nelissen wrote: > > >I plan to use Nagios to provide a very simple view to my users of the > >availability of routers within our VPN network. For this I'm only > >interested in PINGing the different remote site routers in our VPN. > > > >Can I use Nagios without the extra burden of the > services.cfg file and > >limit my config to the hosts.cfg ? What are the side effects > of not having > >a services.cfg file ? > > > >When restarting the Nagios process I receive several > warnings and error > >messages complaining about the lack of the services.cfg > file. Despite > >these messages, Nagios seems to run fine. > > > >Thanks, Jordi > > > > > > > >------------------------------------------------------- > >This SF.Net email sponsored by: Free pre-built ASP.NET sites > including > >Data Reports, E-commerce, Portals, and Forums are available now. > >Download today and enter to win an XBOX or Visual Studio .NET. > >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspne > t_072303_0 > >1/01 > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > >::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at roth.lu Mon Jul 28 15:34:22 2003 From: lists at roth.lu (J.M.Roth) Date: Mon, 28 Jul 2003 15:34:22 +0200 Subject: simulate complete email In-Reply-To: <004f01c35508$7e92b8f0$fb00a8c0@office.toastedmedia.net> References: <3F246333.5000901@iip.lu> <004f01c35508$7e92b8f0$fb00a8c0@office.toastedmedia.net> Message-ID: <3F25265E.6040209@roth.lu> I did that but I'd like to monitor the SMTP conversation while sending mail to the address to see if delivery itself works! My problem is not how to setup the email address but rather how to get nagios to send a testmail -jm Sam Stickland wrote: >Can't you set up an email address on a machine, with /dev/null in the >aliases file? > >----- Original Message ----- >From: "J.M.Roth" >To: >Sent: Monday, July 28, 2003 12:41 AM >Subject: [Nagios-users] simulate complete email > > > > >>Hi there, >>I'd like to simulate a complete email to a "devnull" address. >>There doesn't seem to be a command to do it. >>I just wanna make sure that although the smtp service might be up the >>delivery could still fail after the DATA command, and in fact I'd like >>to check its return value. >>I was expecting to maybe use -e -s -e etc. in sequence with check_smtp >>but it doesn't seem to be the case. >>Any idea? >>Greets, >>-jm >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including >>Data Reports, E-commerce, Portals, and Forums are available now. >>Download today and enter to win an XBOX or Visual Studio .NET. >> >> >> >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >> >> >reporting any issue. > > >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Mon Jul 28 15:45:54 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Mon, 28 Jul 2003 09:45:54 -0400 Subject: service performance logs Message-ID: I was wondering if anyone has a standard way of rotating your service performance logs. I've been letting mine go for some time now and it has hit the 2G limit and of course that killed the Nagios process. So I manually rotated the thing and all is well. I've tried using logrotate in the past, but after the rotation Nagios stops logging to it. I assume because the application has a lock on the file and when rotated that changes. Thanks for any help, Lane ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Esser at OrbisUK.com Mon Jul 28 16:10:29 2003 From: Andre.Esser at OrbisUK.com (Andre Esser) Date: Mon, 28 Jul 2003 15:10:29 +0100 Subject: Run Nagios without service checks ? In-Reply-To: References: Message-ID: <3F252ED5.1050707@OrbisUK.com> Ian Davidson wrote: > If you define a service like: > > define service{ > service_description check-ping > check_command check_ping > use generic-service > contact_groups nobody > host_name * > } > > > This covers pinging ALL of your hosts defined in the hosts.cfg file, so > you don't need to edit both files when adding a host. nice! I don't suppose there is a way to specify a service for each host in a certain host group? Andre -- Andre Esser, Sys Admin http://www.OrbisUK.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rg at teamix.net Mon Jul 28 16:38:12 2003 From: rg at teamix.net (Rico Gloeckner) Date: Mon, 28 Jul 2003 16:38:12 +0200 Subject: BUG: in apt package on Debian In-Reply-To: <33FBA5EFAEB12944B4B227F333B6F6737D84@timo> References: <33FBA5EFAEB12944B4B227F333B6F6737D84@timo> Message-ID: <20030728143812.GA1075@teamix.net> On Mon, Jul 28, 2003 at 12:33:19PM +0200, Bart Bockhoudt wrote: > Hope the apt-builder of the package is a member of this list.. :) Since you are using the Debian Package from debian itself (you are, arent you?), you should report the bug via reportbug(1). ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ohoyer at gaff.hhhr.ision.net Mon Jul 28 16:41:02 2003 From: ohoyer at gaff.hhhr.ision.net (Olaf Hoyer) Date: Mon, 28 Jul 2003 16:41:02 +0200 (CEST) Subject: simulate complete email In-Reply-To: <004f01c35508$7e92b8f0$fb00a8c0@office.toastedmedia.net> References: <004f01c35508$7e92b8f0$fb00a8c0@office.toastedmedia.net> Message-ID: <20030728162951.R69249-100000@gaff.hhhr.ision.net> On Mon, 28 Jul 2003, Sam Stickland wrote: > Can't you set up an email address on a machine, with /dev/null in the > aliases file? > > ----- Original Message ----- > From: "J.M.Roth" > To: > Sent: Monday, July 28, 2003 12:41 AM > Subject: [Nagios-users] simulate complete email > > > > Hi there, > > I'd like to simulate a complete email to a "devnull" address. > > There doesn't seem to be a command to do it. > > I just wanna make sure that although the smtp service might be up the > > delivery could still fail after the DATA command, and in fact I'd like > > to check its return value. > > I was expecting to maybe use -e -s -e etc. in sequence with check_smtp > > but it doesn't seem to be the case. > > Any idea? > > Greets, > > -jm Hi! Well, I assume that you would like to: a) Check for the string "Message accepted for delivery" b) inject a message, and have a script run at the other end checking if the message arrives, and when no message has arriven within a reasonable time, then yell... a) simply let your plugin connect, send your message after DATA, and parse for Message accepted for delivery. Mail adress should be bit-bucket at hosttocheck.domain, this is normally forwarded in the aliases file to /dev/null (Check your aliases file, there shall be such an account) Or, if there are no local users defined at the Mailhub, simply let it relay it to another host where such an account is specified (virtusertable) b) This is more tricky. I did not have done it yet, I played with the following thoughts: Two checks are needed: Check1: Inject message into MTA. In the message body, write the timestamp of injection. Parse for Message accepted for delivery. Check2: Let a script run periodically (perhaps via cron) on a remote machine. remotemachine gets the email, and parses the message for the timestamp, and validates against machine time. When the delta is too big, give warning. When within a certain time (say, 5 minutes) no email arrives at all, give critical. This machine should run nsca for remote alarming, so that upon alarm an alert is submitted to the nagios master host. You don't need to run nagios on that host itself for distributed monitoring, you simply trigger the send_nsca script via the above check-script that is run via cron. Just my 0.02 EUR Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbadrak at tco.census.gov Mon Jul 28 16:38:08 2003 From: dbadrak at tco.census.gov (Don Badrak) Date: Mon, 28 Jul 2003 10:38:08 -0400 Subject: service performance logs In-Reply-To: References: Message-ID: Lane, On Mon, 28 Jul 2003, Williams, P. Lane wrote: > I was wondering if anyone has a standard way of rotating your service > performance logs. I've been letting mine go for some time now and it has > hit the 2G limit and of course that killed the Nagios process. So I > manually rotated the thing and all is well. > > I've tried using logrotate in the past, but after the rotation Nagios stops > logging to it. I assume because the application has a lock on the file and > when rotated that changes. I have this crontab entry under the "nagios" username. 59 23 * * * /usr/local/nagios/bin/rotate-perfdata.sh > /dev/null 2>&1 I use this script: #!/bin/sh # /usr/local/nagios/bin/rotate-perfdata.sh BASEDIR="/usr/local/nagios" VARDIR="$BASEDIR/var" DATE=`date +%Y%m%d` sleep 60 for file in host service do old="$VARDIR/${file}-perfdata.out" new="$VARDIR/${file}-perfdata.$DATE.out" mv $old $new && gzip $new done === It's pretty simple, but it suits my needs. It probably needs more features, like putting all files in a YYYYMM directory, so the /usr/local/nagios/var directory doesn't fill up. Or move them to a new location. Whatever you'd like. Don -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ohoyer at gaff.hhhr.ision.net Mon Jul 28 16:47:43 2003 From: ohoyer at gaff.hhhr.ision.net (Olaf Hoyer) Date: Mon, 28 Jul 2003 16:47:43 +0200 (CEST) Subject: service performance logs In-Reply-To: References: Message-ID: <20030728164305.I69249-100000@gaff.hhhr.ision.net> On Mon, 28 Jul 2003, Williams, P. Lane wrote: > I was wondering if anyone has a standard way of rotating your service > performance logs. I've been letting mine go for some time now and it has > hit the 2G limit and of course that killed the Nagios process. So I > manually rotated the thing and all is well. > > I've tried using logrotate in the past, but after the rotation Nagios stops > logging to it. I assume because the application has a lock on the file and > when rotated that changes. > Well, haven't run into this. (OK, mostly running netsaint in the past) nagios itself should have the ability to rotate the important logs... Otherwise, as seen also with apps like apache, when you kick away the log, you have to send a SIGHUP to the application, so that they start to write the log again, because utils that rotate logs, will mostly place the new, fresh log when touched, on a new inode, so the app will need a SIGHUP to recognize this. (Well, I mostly ran netsaint with FreeBSD, the newsyslog util there (logrotate-like, in the base system) also has the possibility to tell newsyslog which where the file with the pid can be found to be hup'ed. Be careful, I've seen on hosts with large sums of services to check, that a HUP does no good to netsaint, because before completing saving retention data, it is up again... Will mess certain things up. HTH Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ohoyer at gaff.hhhr.ision.net Mon Jul 28 16:53:41 2003 From: ohoyer at gaff.hhhr.ision.net (Olaf Hoyer) Date: Mon, 28 Jul 2003 16:53:41 +0200 (CEST) Subject: simulate complete email In-Reply-To: <3F25265E.6040209@roth.lu> References: <3F25265E.6040209@roth.lu> Message-ID: <20030728164810.E69249-100000@gaff.hhhr.ision.net> On Mon, 28 Jul 2003, J.M.Roth wrote: > I did that but I'd like to monitor the SMTP conversation while sending > mail to the address to see if delivery itself works! > My problem is not how to setup the email address but rather how to get > nagios to send a testmail > -jm Hi! Well, then you should familiarize a bit with the Net::Telnet Module of perl. Can send lots of things to a standard TCP-Port. Or there should be made the joint effort to write a plugin which also does injecting... Could be called: check_smtp_inject I don't know of a plugin that does this already. HTH Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Jul 28 16:56:46 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 28 Jul 2003 08:56:46 -0600 Subject: Run Nagios without service checks ? Message-ID: There is, read http://nagios.sourceforge.net/docs/1_0/templatetricks.html. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Andre Esser [mailto:Andre.Esser at OrbisUK.com] > Sent: Monday, July 28, 2003 8:10 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Run Nagios without service checks ? > > > Ian Davidson wrote: > > If you define a service like: > > > > define service{ > > service_description check-ping > > check_command check_ping > > use generic-service > > contact_groups nobody > > host_name * > > } > > > > > > This covers pinging ALL of your hosts defined in the > hosts.cfg file, > > so you don't need to edit both files when adding a host. > > nice! > > I don't suppose there is a way to specify a service for each > host in a > certain host group? > > > Andre > -- > Andre Esser, Sys Admin > http://www.OrbisUK.com > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Mon Jul 28 17:54:32 2003 From: jmartens at cityofevanston.org (Jason Martens) Date: 28 Jul 2003 10:54:32 -0500 Subject: simulate complete email Message-ID: <1059407672.4215.12.camel@localhost.localdomain> > Let a script run periodically (perhaps via cron) on a remote machine. > remotemachine gets the email, and parses the message for the timestamp, > and validates against machine time. When the delta is too big, give warning. > When within a certain time (say, 5 minutes) no email arrives at all, > give critical. You can use sendmail to run a script if an e-mail is sent to a certain user by putting the following in the alias file: username :| /path/to/script perhaps you could have the script submit the check result. So it would look like this: Nagios check_smtp sends an e-mail to mailcheck at hostname, the receiving host receives the e-mail and submits a success message to nagios, or perhaps to the check_smtp command somehow? If there is no response within the predetermined time (1min maybe) a critical response is logged. Does that make sense? Jason ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ASoto at admin.nmt.edu Mon Jul 28 18:05:15 2003 From: ASoto at admin.nmt.edu (Soto, Aaron) Date: Mon, 28 Jul 2003 10:05:15 -0600 Subject: Problems with Host Dependencies/Parents Message-ID: I've been using Nagios for several months now, but I have not been able to figure out one thing... First off, I have about 150 hosts I am monitoring. Each one is setup with a PING service (and a couple have HTTP, SMTP, etc.). The services all work flawlessly. However, hosts are almost always "assumed to be up". I understand that Nagios only checks the state of a host when a service goes down, but it does not check even when a service has failed! For example: I have a series of five switches, daisy-chained in a row. Each one is the parent of the next. Dependencies are also defined so that switch2 depends on switch1, switch3 depends on switch2, etc. Now, when I unplug any of the switches, the PING service goes down on that switch and all of the switches beyond it. However, Nagios still believes the HOSTS are UP. In addition, I get a notification for each switch that is now unreachable, even though I specifically told Nagios not to send notifications about UNREACHABLE hosts. I believe the problem is that Nagios is not realizing the host is unreachable, and is therefore sending a notifications, since the emails I am receiving are all concerning the PING service, and not the host itself. That would also explain why it is not silencing the alerts for the unreachable switches beyond the unplugged switch. Nagios does not seem to want to check the host state, nor does it want to climb up the dependency tree to find which host is causing the problem. Where did it all go horribly wrong? Hopefully, that is enough information. Please let me know if I can provide any more details. Any help would be greatly appreciated! Aaron Soto New Mexico Tech Information Services Dept. Email asoto at admin.nmt.edu ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swhitney at journyx.com Mon Jul 28 18:38:27 2003 From: swhitney at journyx.com (Scott Whitney) Date: Mon, 28 Jul 2003 11:38:27 -0500 Subject: Parent/child config References: <015a01c350a5$27096960$aa64a8c0@journyx2000.int.journyx.com> <16165.20344.484320.883165@montanaro.dyndns.org> Message-ID: <00d501c35526$ac4cac10$aa64a8c0@journyx2000.int.journyx.com> Actually, Skip, I was just thinking about reposting, since, no, I did not get anything back. Anyone? Repost at bottom ----- Original Message ----- From: "Skip Montanaro" To: "Scott Whitney" Sent: Monday, July 28, 2003 11:29 AM Subject: Re: [Nagios-users] Parent/child config Scott, Did you get any feedback on this problem? I'd like to set up something similar, but based upon your report I'm skeptical it will be of any use. Thx, ----- Original Message ----- From: "Scott Whitney" To: Sent: Tuesday, July 22, 2003 6:01 PM Subject: Parent/child config Today, my local Cisco router went down. Call it hw-router. :) Well, I have a bunch of machines defined as "coloc-host". Here's what the foo.cfg file says: ------------------ define host { use coloc-host host_name foo alias foo address vvv.xxx.yyy.zzz } ----------------- Here's what the hosts.cfg file says: ------------------ define host { name coloc-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 1 notification_period 24x7 notification_options d,u,r parents sw-router, hw-router, coloc-router register 0 } -------------------------- Well, when hw-router went down, when it came back up, I got about a dozen pages telling me that each of the coloc hosts was down, and then back up. I thought it wasn't supposed to do this to me, based on the config above. Any help would be appreciated. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Billt at Mahagonny.com Mon Jul 28 18:55:54 2003 From: Billt at Mahagonny.com (Bill Thompson) Date: Mon, 28 Jul 2003 09:55:54 -0700 Subject: BUG: in apt package on Debian In-Reply-To: <33FBA5EFAEB12944B4B227F333B6F6737D84@timo> References: <33FBA5EFAEB12944B4B227F333B6F6737D84@timo> Message-ID: <20030728095554.5a8bb5df.Billt@Mahagonny.com> On Mon, 28 Jul 2003 12:33:19 +0200 "Bart Bockhoudt" wrote: > Hi, > > > Also missing is a APT plugin package for Nagios, after apt-getting it I > still needed to manual install the plugins to get it all working.. > The Nagios plug-in package for Debian is still named "netsaint-plugins". Do an "apt-cache search netsaint-plugins" for the different versions. I have installed them on stable with a back-ported Nagios package and they worked fine. -- BillT at Mahagonny.com - PGP KeyID#: 0xFB966670 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Mon Jul 28 18:59:18 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 28 Jul 2003 12:59:18 -0400 Subject: Parent/child config Message-ID: <5F29693503507B4FB4032686ADF862671ACFE2@mtviny25.mtvi.com> I think you're looking for dependencies and not parent/child... http://nagios.sourceforge.net/docs/1_0/dependencies.html -Keith -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: Monday, July 28, 2003 12:38 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Parent/child config Actually, Skip, I was just thinking about reposting, since, no, I did not get anything back. Anyone? Repost at bottom ----- Original Message ----- From: "Skip Montanaro" To: "Scott Whitney" Sent: Monday, July 28, 2003 11:29 AM Subject: Re: [Nagios-users] Parent/child config Scott, Did you get any feedback on this problem? I'd like to set up something similar, but based upon your report I'm skeptical it will be of any use. Thx, ----- Original Message ----- From: "Scott Whitney" To: Sent: Tuesday, July 22, 2003 6:01 PM Subject: Parent/child config Today, my local Cisco router went down. Call it hw-router. :) Well, I have a bunch of machines defined as "coloc-host". Here's what the foo.cfg file says: ------------------ define host { use coloc-host host_name foo alias foo address vvv.xxx.yyy.zzz } ----------------- Here's what the hosts.cfg file says: ------------------ define host { name coloc-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 1 notification_period 24x7 notification_options d,u,r parents sw-router, hw-router, coloc-router register 0 } -------------------------- Well, when hw-router went down, when it came back up, I got about a dozen pages telling me that each of the coloc hosts was down, and then back up. I thought it wasn't supposed to do this to me, based on the config above. Any help would be appreciated. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swhitney at journyx.com Mon Jul 28 19:04:53 2003 From: swhitney at journyx.com (Scott Whitney) Date: Mon, 28 Jul 2003 12:04:53 -0500 Subject: Parent/child config References: <5F29693503507B4FB4032686ADF862671ACFE2@mtviny25.mtvi.com> Message-ID: <00f401c3552a$5d1795c0$aa64a8c0@journyx2000.int.journyx.com> It was my understanding that if a HOST was down, no services would be checked. I've got: Nagios -> NAT Router -> Cisco Router -> Rack Router -> Host -> a slew of services What's the purpose of having parent/child relationships with hosts if the service checks are not suspended if a host is down? That is, I thought the flowthrough was: Let us assume I'm checking a service on MyHost: 1) Check the NAT Router host. If he's up, continue. 2) Check Cisco Router host... n) etc. n+1) Check MyHost. Is he up? If so, check the service. This, I thought, was all controlled from 2 places: 1) Definition of service on MyHost.cfg in services 2) Definition of host on MyHost.cfg in hosts. The host entry has parents, and if any of those hosts are down, aren't service checks suspended? ----- Original Message ----- From: "Hochberg, Keith" To: "Scott Whitney" ; Sent: Monday, July 28, 2003 11:59 AM Subject: RE: [Nagios-users] Parent/child config I think you're looking for dependencies and not parent/child... http://nagios.sourceforge.net/docs/1_0/dependencies.html -Keith -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: Monday, July 28, 2003 12:38 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Parent/child config Actually, Skip, I was just thinking about reposting, since, no, I did not get anything back. Anyone? Repost at bottom ----- Original Message ----- From: "Skip Montanaro" To: "Scott Whitney" Sent: Monday, July 28, 2003 11:29 AM Subject: Re: [Nagios-users] Parent/child config Scott, Did you get any feedback on this problem? I'd like to set up something similar, but based upon your report I'm skeptical it will be of any use. Thx, ----- Original Message ----- From: "Scott Whitney" To: Sent: Tuesday, July 22, 2003 6:01 PM Subject: Parent/child config Today, my local Cisco router went down. Call it hw-router. :) Well, I have a bunch of machines defined as "coloc-host". Here's what the foo.cfg file says: ------------------ define host { use coloc-host host_name foo alias foo address vvv.xxx.yyy.zzz } ----------------- Here's what the hosts.cfg file says: ------------------ define host { name coloc-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 1 notification_period 24x7 notification_options d,u,r parents sw-router, hw-router, coloc-router register 0 } -------------------------- Well, when hw-router went down, when it came back up, I got about a dozen pages telling me that each of the coloc hosts was down, and then back up. I thought it wasn't supposed to do this to me, based on the config above. Any help would be appreciated. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ohoyer at gaff.hhhr.ision.net Mon Jul 28 18:05:21 2003 From: ohoyer at gaff.hhhr.ision.net (Olaf Hoyer) Date: Mon, 28 Jul 2003 18:05:21 +0200 (CEST) Subject: simulate complete email In-Reply-To: <1059407582.4215.9.camel@localhost.localdomain> References: <1059407582.4215.9.camel@localhost.localdomain> Message-ID: <20030728175839.C69499-100000@gaff.hhhr.ision.net> On 28 Jul 2003, Jason Martens wrote: > > > Let a script run periodically (perhaps via cron) on a remote machine. > > remotemachine gets the email, and parses the message for the timestamp, > > and validates against machine time. > > When the delta is too big, give warning. > > When within a certain time (say, 5 minutes) no email arrives at all, > > give critical. > > You can use sendmail to run a script if an e-mail is sent to a certain > user by putting the following in the alias file: > > username :| /path/to/script Ahh well, forgot about that feature... Will fit nicely, but I would not trigger some direct action via sendmail. > > perhaps you could have the script submit the check result. So it would > look like this: > Nagios check_smtp sends an e-mail to mailcheck at hostname, the receiving > host receives the e-mail and submits a success message to nagios, or > perhaps to the check_smtp command somehow? If there is no response > within the predetermined time (1min maybe) a critical response is > logged. Does that make sense? Yes, but how do you realize the critical event? You would still need some eventhandler to do this, that runs regularly. I suggest the following approach: Mail is sent via whether plugin from within nagios, or from a cronjob on the nagios box whatsoever. Just make sure that we expect an email to be delivered. sendmail gets the mail, and upon arrival the script writes a value (perhaps the body of the mail with a timestamp) in a simple plain text file. a cron job triggers a script any minute or so, that has a look at this file. If the timestamp within this file is ok and is max. 1min away from the system time, submit an OK result to the nagios master, when any other condition hits, submit a critical. Conditions might be: No file present (perhaps no mail injected due to failure of injection), or SMTP down, or value in file too old because of delayed delivery. Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Mon Jul 28 19:26:59 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 28 Jul 2003 13:26:59 -0400 Subject: Parent/child config Message-ID: <5F29693503507B4FB4032686ADF862671ACFE4@mtviny25.mtvi.com> Read the dependencies section. Parents affect such things as the status map and have nothing to do with monitoring... what you are describing below is dependencies. -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: Monday, July 28, 2003 1:05 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Parent/child config It was my understanding that if a HOST was down, no services would be checked. I've got: Nagios -> NAT Router -> Cisco Router -> Rack Router -> Host -> a slew of services What's the purpose of having parent/child relationships with hosts if the service checks are not suspended if a host is down? That is, I thought the flowthrough was: Let us assume I'm checking a service on MyHost: 1) Check the NAT Router host. If he's up, continue. 2) Check Cisco Router host... n) etc. n+1) Check MyHost. Is he up? If so, check the service. This, I thought, was all controlled from 2 places: 1) Definition of service on MyHost.cfg in services 2) Definition of host on MyHost.cfg in hosts. The host entry has parents, and if any of those hosts are down, aren't service checks suspended? ----- Original Message ----- From: "Hochberg, Keith" To: "Scott Whitney" ; Sent: Monday, July 28, 2003 11:59 AM Subject: RE: [Nagios-users] Parent/child config I think you're looking for dependencies and not parent/child... http://nagios.sourceforge.net/docs/1_0/dependencies.html -Keith -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: Monday, July 28, 2003 12:38 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Parent/child config Actually, Skip, I was just thinking about reposting, since, no, I did not get anything back. Anyone? Repost at bottom ----- Original Message ----- From: "Skip Montanaro" To: "Scott Whitney" Sent: Monday, July 28, 2003 11:29 AM Subject: Re: [Nagios-users] Parent/child config Scott, Did you get any feedback on this problem? I'd like to set up something similar, but based upon your report I'm skeptical it will be of any use. Thx, ----- Original Message ----- From: "Scott Whitney" To: Sent: Tuesday, July 22, 2003 6:01 PM Subject: Parent/child config Today, my local Cisco router went down. Call it hw-router. :) Well, I have a bunch of machines defined as "coloc-host". Here's what the foo.cfg file says: ------------------ define host { use coloc-host host_name foo alias foo address vvv.xxx.yyy.zzz } ----------------- Here's what the hosts.cfg file says: ------------------ define host { name coloc-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 1 notification_period 24x7 notification_options d,u,r parents sw-router, hw-router, coloc-router register 0 } -------------------------- Well, when hw-router went down, when it came back up, I got about a dozen pages telling me that each of the coloc hosts was down, and then back up. I thought it wasn't supposed to do this to me, based on the config above. Any help would be appreciated. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.heslin at us.mizuho-sc.com Mon Jul 28 19:47:46 2003 From: peter.heslin at us.mizuho-sc.com (Heslin, Peter) Date: Mon, 28 Jul 2003 13:47:46 -0400 Subject: No Info in reports or graphs! Message-ID: <530FC437A78CD611B7E90002A542ED4B6254A8@chpnexch.fujisec.com> Hello, I am running Nagios and have a few hosts which I am testing on. Everything is running great and my hosts and services are all up barring a couple I am aware of. The problem is....when I go to generate reports for these hosts/services, I do not get any information in the graph/report whatever. When I detail the service or host, it says its up and it is green. The exception is for the service I know should is not running. That does report down and shows up as down in reporting. Anyone seen this happen before??? Thanks mucho! Pete -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Monday, July 28, 2003 1:00 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #1588 - 37 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Probs with APAN/Nagios and Extended Information with Database Support (Jens Kruse) 2. Re: Missing Notifications (Hegedus, Ervin) 3. Question to nagios reporting (Gick Thomas) 4. Help: Comment Service not displayed (Trinidad, Leovino A.) 5. RE: Missing Notifications (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) 6. Re: Missing Notifications (Richard Mayhew) 7. Available variables in misccommands.cfg (Johannes Dagemark) 8. BUG: in apt package on Debian (Bart Bockhoudt) 9. Re: [Apan-users] Probs with APAN/Nagios and Extended Information with Database Support (Jens Kruse) 10. SQL 2000 (Sanderson, Andrew) 11. Run Nagios without service checks ? (Jordi Nelissen) 12. Re: SQL 2000 (Tom DE BLENDE (GCC)) 13. Re: Run Nagios without service checks ? (Chris Stankaitis) 14. Re: Run Nagios without service checks ? (Marc Powell) 15. Re: Run Nagios without service checks ? (J.M.Roth) 16. RE: APT + RPM's... (Bart Bockhoudt) 17. Re: simulate complete email (Sam Stickland) 18. Re: Missing Notifications (Rob Nelson) 19. RE: Available variables in misccommands.cfg (Ian Davidson) 20. RE: service descriptions with hostgroup and not host (Cook, Garry) 21. RE: Run Nagios without service checks ? (Ian Davidson) 22. Re: simulate complete email (J.M.Roth) 23. service performance logs (Williams, P. Lane) 24. Re: Run Nagios without service checks ? (Andre Esser) 25. Re: service performance logs (Don Badrak) 26. Re: BUG: in apt package on Debian (Rico Gloeckner) 27. Re: simulate complete email (Olaf Hoyer) 28. Re: service performance logs (Olaf Hoyer) 29. Re: simulate complete email (Olaf Hoyer) 30. RE: Run Nagios without service checks ? (Cook, Garry) 31. Re: simulate complete email (Jason Martens) 32. Problems with Host Dependencies/Parents (Soto, Aaron) 33. Regarding State (Lonny Selinger) 34. Re: Parent/child config (Scott Whitney) 35. Re: BUG: in apt package on Debian (Bill Thompson) 36. RE: Parent/child config (Hochberg, Keith) --__--__-- Message: 1 Date: Mon, 28 Jul 2003 08:11:33 +0200 From: Jens Kruse To: apan-users at sourceforge.net, Nagios Users Subject: [Nagios-users] Probs with APAN/Nagios and Extended Information with Database Support Hi! I'm using Nagios 1.1 with MySQL-Support (compiled with '--with-mysql-xdata') and the newest APAN code. APAN works fine, but there's just one thing missing: I can't get the Icons for the extended service information to work ... I haven't understood how to tell Nagios that there are extended information for some hosts/services. Where do I put the 'define serviceextinfo{...}'? In a file? Which file - it didn't work with serviceextinfo.cfg ... Regards, Jens --__--__-- Message: 2 Date: Mon, 28 Jul 2003 08:28:10 +0200 From: "Hegedus, Ervin" To: Richard Mayhew Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Missing Notifications hi, > I have been watching Nagios for some time now. It seems to be loosing > the critical notifications. I am running Version 1.1 with the latest > version of plugins. Its running RedHat 7.3 with all the latest patches. > > What happens is say a service HTTP turns critical, no notifications are > sent. This does not happen everytime but most of the time. When the > service returns to an OK state, a notification is sent. I have checked > the configs and I do have the correct notification options. It seems it > looses some of the critical/warning notifications but not the recovery > notifications. > > Has anyone else had this problem? yes, i have also this problem, and when i posted my problem to this list, Klisowski Rafa wrote, he has also same problem... (we posted our mails at 25th of july) but nobody has solution... :( bye: air --__--__-- Message: 3 From: Gick Thomas To: nagios-users at lists.sourceforge.net Date: Sun, 27 Jul 2003 10:44:21 +0200 Subject: [Nagios-users] Question to nagios reporting This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3541B.45FA7D40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi list, =20 i am a new nagios enthused user. First I want to thank Ethan for this perfect designed tool After reading 2 days the documention I am absolutely convinced about = the the based concept. =20 I'm sorry to say that I miss some documention about the reporting = features. I don=B4t know how the following parameters affect the report: =20 Assume initial states Assume state retention=20 Backtracked archives =20 May be somebody can help me. =20 Thomas =20 ------_=_NextPart_001_01C3541B.45FA7D40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi list,

 

i am a new nagios enthused user. First I want = to thank Ethan for this perfect designed tool

After reading 2 days the documention I am = absolutely convinced about the the based concept.

 

I'm sorry to say that I miss some documention = about the reporting features.

I don=B4t know how the following parameters = affect the report:

 

Assume initial states

Assume state retention

Backtracked archives

 

May be somebody can help = me.

 

Thomas

 

------_=_NextPart_001_01C3541B.45FA7D40-- --__--__-- Message: 4 From: "Trinidad, Leovino A." To: " (nagios-users at lists.sourceforge.net)" Date: Mon, 28 Jul 2003 15:12:39 +0800 Subject: [Nagios-users] Help: Comment Service not displayed This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C354D7.A15A0900 Content-Type: text/plain Hi! I'm having problem displaying the service comment of nagios. I was able to activate the comment database and it's working well but it does not display the comments in the web. What could be the problem? Regards, LAT "This Message may contain confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you received this message in error please notify your Mail Administrator and delete this message immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of GMA Network, Inc." ------_=_NextPart_001_01C354D7.A15A0900 Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Hi!

 

I'm having problem displaying the service comment of nagios. I was able to activate the comment database and it's working well but = it does not display the comments in the web. What could be the = problem?

 

Regards,

 

 

LAT

 



"This Message may contain = confidential information intended only for

the use of the addressee named = above. If you are not the intended

recipient of this message you are = hereby notified that any use,

dissemination, distribution or = reproduction of this message is

prohibited. If you received this = message in error please notify your

Mail Administrator and delete this = message immediately. Any views

expressed in this message are those = of the individual sender and may

not necessarily reflect the views = of GMA Network, Inc."



------_=_NextPart_001_01C354D7.A15A0900-- --__--__-- Message: 5 Subject: RE: [Nagios-users] Missing Notifications Date: Mon, 28 Jul 2003 09:14:02 +0200 From: =?iso-8859-2?Q?Klisowski_Rafa=B3?= To: "Richard Mayhew" , > Has anyone else had this problem? Me. I receive recovery notification but no critical natification (but not = all the time). In the web interface everything is notified but no = messages are sent (nothing in logs). --=20 Rafal - --__--__-- Message: 6 Reply-To: "Richard Mayhew" From: "Richard Mayhew" To: Subject: Re: [Nagios-users] Missing Notifications Date: Mon, 28 Jul 2003 10:05:48 +0200 Ethan? Any idea how we can solve this? Should I revert back to Nagios 1.0 in the mean time? Thanks ----- Original Message ----- From: "Hegedus, Ervin" To: "Richard Mayhew" Cc: Sent: Monday, July 28, 2003 8:28 AM Subject: Re: [Nagios-users] Missing Notifications > hi, > > > I have been watching Nagios for some time now. It seems to be loosing > > the critical notifications. I am running Version 1.1 with the latest > > version of plugins. Its running RedHat 7.3 with all the latest patches. > > > > What happens is say a service HTTP turns critical, no notifications are > > sent. This does not happen everytime but most of the time. When the > > service returns to an OK state, a notification is sent. I have checked > > the configs and I do have the correct notification options. It seems it > > looses some of the critical/warning notifications but not the recovery > > notifications. > > > > Has anyone else had this problem? > > yes, i have also this problem, and when i posted my problem to > this list, Klisowski Rafa wrote, he has also same problem... > > (we posted our mails at 25th of july) > > but nobody has solution... :( > > > bye: > air > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 7 From: "Johannes Dagemark" To: Date: Mon, 28 Jul 2003 11:42:34 +0200 Subject: [Nagios-users] Available variables in misccommands.cfg Hi all Im wondering if there is a list of variables that one can use when creating alarm macros in misccommand.cfg. There are some examples in misccommands.cfg already like $NOTIFICATIONTYPE$ and so on, but are there a complete list somewhere? Regards Johannes Dagemark OP5 AB --__--__-- Message: 8 Date: Mon, 28 Jul 2003 12:33:19 +0200 From: "Bart Bockhoudt" To: Subject: [Nagios-users] BUG: in apt package on Debian This is a multi-part message in MIME format. ------_=_NextPart_001_01C354F3.A9C651B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Found a bug in the Debian APT package. =20 The package doesn't set the access rights for /etc/nagios/hosts.cfg = right. After it's finished the file has ownership root.root. Took me a = while before I found that one.. :( For the people with the same problem: =20 $ chown nagios.nagios /etc/nagios/hosts.cfg =20 Seems to be consistent, on a complete different Debian machine I hade = the same problem. =20 Also missing is a APT plugin package for Nagios, after apt-getting it I = still needed to manual install the plugins to get it all working.. =20 Hope the apt-builder of the package is a member of this list.. :) =20 Gr, Bart =20 ------_=_NextPart_001_01C354F3.A9C651B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi,

Found a bug in the Debian APT = package.

 

The package doesn’t set the access rights for = /etc/nagios/hosts.cfg right. After it’s finished the file has ownership root.root. Took = me a while before I found that one.. :(

For the people with the same = problem:

 

$ chown nagios.nagios = /etc/nagios/hosts.cfg

 

Seems to be consistent, on a complete different = Debian machine I hade the same problem.

 

Also missing is a APT plugin package for Nagios, = after apt-getting it I still needed to manual install the plugins to get it = all working..

 

Hope the apt-builder of the package is a member of = this list.. :)

 

Gr,

Bart

 

=00 ------_=_NextPart_001_01C354F3.A9C651B0-- --__--__-- Message: 9 Date: Mon, 28 Jul 2003 13:09:15 +0200 From: Jens Kruse To: Nagios Users , apan-users CC: Evan Weston Subject: [Nagios-users] Re: [Apan-users] Probs with APAN/Nagios and Extended Information with Database Support Hi Ewan, hi all! Evan Weston wrote: > I had this issue I got around it by compiling nagios with=20 > --with-default-extinfo I wonder if you have database support? > And editing the /usr/local/nagios/etc/cgi.cfg file as described here:- > http://nagios.sourceforge.net/docs/1_0/xeddefault.html >=20 > So like in the servicetextinfo part I had a line like:- >=20 > serviceextinfo[;]=3D;; I tried this too, but it also doesn't work ... Regards, Jens > -----Original Message----- > From: Jens Kruse [mailto:jens.kruse at mobilcom.de] > Sent: Mon 7/28/2003 4:11 PM > To: apan-users at sourceforge.net; Nagios Users > Cc: =20 > Subject: [Apan-users] Probs with APAN/Nagios and Extended=20 > Information with Database Support > Hi! >=20 > I'm using Nagios 1.1 with MySQL-Support (compiled with > '--with-mysql-xdata') and the newest APAN code. >=20 > APAN works fine, but there's just one thing missing: I can't get the > Icons for the extended service information to work ... >=20 > I haven't understood how to tell Nagios that there are extended > information for some hosts/services. > Where do I put the 'define serviceextinfo{...}'? In a file? Which file = - > it didn't work with serviceextinfo.cfg ... >=20 > Regards, Jens >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_0= 1/01 > _______________________________________________ > Apan-users mailing list > Apan-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/apan-users >=20 >=20 --=20 Mit freundlichen Gr=FC=DFen Jens Kruse Monitoring/Middleware MobilCom AG Hollerstra=DFe 126 24782 B=FCdelsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de Besucher: Am Friedrichsbrunnen --__--__-- Message: 10 Date: Mon, 28 Jul 2003 08:29:05 -0400 From: "Sanderson, Andrew" To: Subject: [Nagios-users] SQL 2000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C35503.D5750FEC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Is there a plug-in available for monitoring SQL 2000 database servers? =20 ------_=_NextPart_001_01C35503.D5750FEC Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Is there a plug-in available for monitoring SQL 2000 database servers?

 

------_=_NextPart_001_01C35503.D5750FEC-- --__--__-- Message: 11 Date: Mon, 28 Jul 2003 15:15:45 +0200 (CEST) From: Jordi Nelissen To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Run Nagios without service checks ? I plan to use Nagios to provide a very simple view to my users of the availability of routers within our VPN network. For this I'm only interested in PINGing the different remote site routers in our VPN. Can I use Nagios without the extra burden of the services.cfg file and limit my config to the hosts.cfg ? What are the side effects of not having a services.cfg file ? When restarting the Nagios process I receive several warnings and error messages complaining about the lack of the services.cfg file. Despite these messages, Nagios seems to run fine. Thanks, Jordi --__--__-- Message: 12 Date: Mon, 28 Jul 2003 14:37:18 +0200 From: "Tom DE BLENDE (GCC)" To: "Sanderson Andrew" CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SQL 2000 http://www.nagios.org/faqs/viewfaq.php?faq_id=156 Sanderson, Andrew wrote: > Is there a plug-in available for monitoring SQL 2000 database servers? > > > --__--__-- Message: 13 Date: Mon, 28 Jul 2003 08:49:45 -0400 From: Chris Stankaitis Organization: Datawire Communication Networks Inc. To: Jordi Nelissen CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Run Nagios without service checks ? No, You'll require at least 1 service per host for Nagios to function happily, define a PING service for each host, and everything should be fine but you will still need to use the services.cfg Chris Jordi Nelissen wrote: > I plan to use Nagios to provide a very simple view to my users of the > availability of routers within our VPN network. For this I'm only > interested in PINGing the different remote site routers in our VPN. > > Can I use Nagios without the extra burden of the services.cfg file and > limit my config to the hosts.cfg ? What are the side effects of not having > a services.cfg file ? > > When restarting the Nagios process I receive several warnings and error > messages complaining about the lack of the services.cfg file. Despite > these messages, Nagios seems to run fine. > > Thanks, Jordi > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Chris Stankaitis Systems Administrator Datawire Communication Networks Inc. --__--__-- Message: 14 Subject: Re: [Nagios-users] Run Nagios without service checks ? Date: Mon, 28 Jul 2003 07:50:29 -0500 From: "Marc Powell" To: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C35506.D31E3050 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hosts are never checked unless a service on that host fails. You must = have at least one service defined for each host, even if it just a = check_ping service. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Jordi Nelissen To: nagios-users at lists.sourceforge.net = Sent: Mon Jul 28 08:15:45 2003 Subject: [Nagios-users] Run Nagios without service checks ? I plan to use Nagios to provide a very simple view to my users of the=20 availability of routers within our VPN network. For this I'm only=20 interested in PINGing the different remote site routers in our VPN. Can I use Nagios without the extra burden of the services.cfg file and=20 limit my config to the hosts.cfg ? What are the side effects of not = having=20 a services.cfg file ? When restarting the Nagios process I receive several warnings and error=20 messages complaining about the lack of the services.cfg file. Despite=20 these messages, Nagios seems to run fine. Thanks, Jordi ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/= 01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null ------_=_NextPart_001_01C35506.D31E3050 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Re: [Nagios-users] Run Nagios without service checks ?

Hosts are never checked unless a service on that host = fails. You must have at least one service defined for each host, even if = it just a check_ping service.


--
Marc

Sent from a very tiny wireless device with a very tiny unlit = keyboard.


-----Original Message-----
From: Jordi Nelissen <jordi at nelissen.name>
To: nagios-users at lists.sourceforge.net = <nagios-users at lists.sourceforge.net>
Sent: Mon Jul 28 08:15:45 2003
Subject: [Nagios-users] Run Nagios without service checks ?

I plan to use Nagios to provide a very simple view to my users of = the
availability of routers within our VPN network. For this I'm only
interested in PINGing the different remote site routers in our VPN.

Can I use Nagios without the extra burden of the services.cfg file = and
limit my config to the hosts.cfg ? What are the side effects of not = having
a services.cfg file ?

When restarting the Nagios process I receive several warnings and = error
messages complaining about the lack of the services.cfg file. = Despite
these messages, Nagios seems to run fine.

Thanks, Jordi



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites = including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspne= t_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https:= //lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue.
::: Messages without supporting info will risk being sent to = /dev/null

------_=_NextPart_001_01C35506.D31E3050-- --__--__-- Message: 15 Date: Mon, 28 Jul 2003 14:54:22 +0200 From: "J.M.Roth" To: Jordi Nelissen CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Run Nagios without service checks ? I'd say this applies to you http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=false&showdesc=true Greets -jm Jordi Nelissen wrote: >I plan to use Nagios to provide a very simple view to my users of the >availability of routers within our VPN network. For this I'm only >interested in PINGing the different remote site routers in our VPN. > >Can I use Nagios without the extra burden of the services.cfg file and >limit my config to the hosts.cfg ? What are the side effects of not having >a services.cfg file ? > >When restarting the Nagios process I receive several warnings and error >messages complaining about the lack of the services.cfg file. Despite >these messages, Nagios seems to run fine. > >Thanks, Jordi > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > --__--__-- Message: 16 Date: Mon, 28 Jul 2003 15:05:28 +0200 From: "Bart Bockhoudt" To: "Neil Stone" , Subject: [Nagios-users] RE: APT + RPM's... I used the next listing in /etc/apt/sources.list --------------------------------------------------------------- deb ftp://ftp.debian.nl/debian/ sid main deb-src ftp://ftp.debian.nl/debian/ sid main deb http://non-us.debian.org/debian-non-US sid/non-US main deb-src http://non-us.debian.org/debian-non-US sid/non-US main deb ftp://ftp.nl.debian.org/debian/ stable main deb-src ftp://ftp.nl.debian.org/debian/ stable main --------------------------------------------------------------- Then give the command to update the apt db. $ apt-get update and then you can apt-get install the world.. like $ apt-get install nagios-text search what you need with $ apt-cache search Works like charm.. But only on Debian..=20 Gr, Bart -----Original Message----- From: Neil Stone [mailto:NeilStone at sttechnology.co.uk]=20 Sent: maandag 28 juli 2003 13:46 To: Bart Bockhoudt Subject: APT + RPM's... > Hi, >=20 > Found a bug in the Debian APT package. >=20 . . . apt package for Nagios.. where did you get that from then ? Also is there an easy access RPM for nagios ?? Thanks Neil --__--__-- Message: 17 From: "Sam Stickland" To: Subject: Re: [Nagios-users] simulate complete email Date: Mon, 28 Jul 2003 14:02:26 +0100 Can't you set up an email address on a machine, with /dev/null in the aliases file? ----- Original Message ----- From: "J.M.Roth" To: Sent: Monday, July 28, 2003 12:41 AM Subject: [Nagios-users] simulate complete email > Hi there, > I'd like to simulate a complete email to a "devnull" address. > There doesn't seem to be a command to do it. > I just wanna make sure that although the smtp service might be up the > delivery could still fail after the DATA command, and in fact I'd like > to check its return value. > I was expecting to maybe use -e -s -e etc. in sequence with check_smtp > but it doesn't seem to be the case. > Any idea? > Greets, > -jm > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 18 Date: Mon, 28 Jul 2003 09:15:14 -0400 To: "Hegedus, Ervin" ,Richard Mayhew From: Rob Nelson Subject: Re: [Nagios-users] Missing Notifications Cc: nagios-users at lists.sourceforge.net >yes, i have also this problem, and when i posted my problem to >this list, Klisowski Rafa wrote, he has also same problem... > >(we posted our mails at 25th of july) > >but nobody has solution... :( I've had similar problems myself, but please detail your method of notification. On my end, I was using email for notifications and the other admin was playing with sendmail at the time :) Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net --__--__-- Message: 19 Subject: RE: [Nagios-users] Available variables in misccommands.cfg Date: Mon, 28 Jul 2003 13:47:40 +0100 From: "Ian Davidson" To: "Johannes Dagemark" , Check out http://nagios.sourceforge.net/docs/1_0/macros.html You can also define your own if you want. Ian > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net=20 > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf=20 > Of Johannes Dagemark > Sent: 28 July 2003 10:43 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Available variables in misccommands.cfg >=20 >=20 > Hi all >=20 > Im wondering if there is a list of variables that one can use=20 > when creating alarm macros in misccommand.cfg. >=20 > There are some examples in misccommands.cfg already like=20 > $NOTIFICATIONTYPE$ and so on, but are there a complete list somewhere? >=20 > Regards > Johannes Dagemark > OP5 AB >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites=20 > including Data Reports, E-commerce, Portals, and Forums are=20 > available now. Download today and enter to win an XBOX or=20 > Visual Studio .NET.=20 > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 20 Subject: RE: [Nagios-users] service descriptions with hostgroup and not host Date: Mon, 28 Jul 2003 07:22:52 -0600 From: "Cook, Garry" To: "Douglas E. Warner" , I was just wondering the same thing last week. I would definitely be able to use this in my new setup. If this is not possible, please consider this a feature request. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile)=20 > -----Original Message----- > From: Douglas E. Warner [mailto:dwarner at ctinetworks.com]=20 > Sent: Saturday, July 26, 2003 12:01 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] service descriptions with hostgroup=20 > and not host >=20 >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > I'm a big fan of specifying a hostgroup_name in a service=20 > description, but=20 > I've run into a situation where I need to do a service check=20 > for all hosts in=20 > a hostgroup except one. I was wondering if there was any way=20 > to negate a=20 > host in a group, perhaps something like: > host !evil.host > or > exclude_host evil.host >=20 > Does anything like this exist? >=20 > - -Doug >=20 > - --=20 > Douglas E. Warner Network Engineer > CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) >=20 > iD8DBQE/IsHgJV36su0A0xIRArMuAJ4hegjPmWjc9oemNyf3OF+z375q6gCgpjvz > CJIUMgm1fD+MQHVhH+FzIKs=3D > =3DniT6 > -----END PGP SIGNATURE----- >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites=20 > including Data Reports, E-commerce, Portals, and Forums are=20 > available now. Download today and enter to win an XBOX or=20 > Visual Studio .NET.=20 > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 21 Subject: RE: [Nagios-users] Run Nagios without service checks ? Date: Mon, 28 Jul 2003 14:29:32 +0100 From: "Ian Davidson" To: "J.M.Roth" , "Jordi Nelissen" Cc: If you define a service like: define service{ service_description check-ping check_command check_ping use generic-service contact_groups nobody host_name * } This covers pinging ALL of your hosts defined in the hosts.cfg file, so you don't need to edit both files when adding a host. Ian > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net=20 > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf=20 > Of J.M.Roth > Sent: 28 July 2003 13:54 > To: Jordi Nelissen > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Run Nagios without service checks ? >=20 >=20 > I'd say this applies to you >=20 > http://www.nagios.org/faqs/viewfaq.php?faq_id=3D39&expand=3Dfalse& > showdesc=3Dtrue >=20 > Greets > -jm >=20 > Jordi Nelissen wrote: >=20 > >I plan to use Nagios to provide a very simple view to my users of the > >availability of routers within our VPN network. For this I'm only=20 > >interested in PINGing the different remote site routers in our VPN. > > > >Can I use Nagios without the extra burden of the=20 > services.cfg file and > >limit my config to the hosts.cfg ? What are the side effects=20 > of not having=20 > >a services.cfg file ? > > > >When restarting the Nagios process I receive several=20 > warnings and error > >messages complaining about the lack of the services.cfg=20 > file. Despite=20 > >these messages, Nagios seems to run fine. > > > >Thanks, Jordi > > > > > > > >------------------------------------------------------- > >This SF.Net email sponsored by: Free pre-built ASP.NET sites=20 > including=20 > >Data Reports, E-commerce, Portals, and Forums are available now.=20 > >Download today and enter to win an XBOX or Visual Studio .NET.=20 > >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspne > t_072303_0 > >1/01 > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and=20 > OS when reporting any issue.=20 > >::: Messages without supporting info will risk being sent to=20 > /dev/null > > =20 > > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites=20 > including Data Reports, E-commerce, Portals, and Forums are=20 > available now. Download today and enter to win an XBOX or=20 > Visual Studio .NET.=20 > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 22 Date: Mon, 28 Jul 2003 15:34:22 +0200 From: "J.M.Roth" To: Sam Stickland CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] simulate complete email I did that but I'd like to monitor the SMTP conversation while sending mail to the address to see if delivery itself works! My problem is not how to setup the email address but rather how to get nagios to send a testmail -jm Sam Stickland wrote: >Can't you set up an email address on a machine, with /dev/null in the >aliases file? > >----- Original Message ----- >From: "J.M.Roth" >To: >Sent: Monday, July 28, 2003 12:41 AM >Subject: [Nagios-users] simulate complete email > > > > >>Hi there, >>I'd like to simulate a complete email to a "devnull" address. >>There doesn't seem to be a command to do it. >>I just wanna make sure that although the smtp service might be up the >>delivery could still fail after the DATA command, and in fact I'd like >>to check its return value. >>I was expecting to maybe use -e -s -e etc. in sequence with check_smtp >>but it doesn't seem to be the case. >>Any idea? >>Greets, >>-jm >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including >>Data Reports, E-commerce, Portals, and Forums are available now. >>Download today and enter to win an XBOX or Visual Studio .NET. >> >> >> >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >> >> >reporting any issue. > > >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > --__--__-- Message: 23 From: "Williams, P. Lane" To: nagios-users at lists.sourceforge.net Date: Mon, 28 Jul 2003 09:45:54 -0400 Subject: [Nagios-users] service performance logs I was wondering if anyone has a standard way of rotating your service performance logs. I've been letting mine go for some time now and it has hit the 2G limit and of course that killed the Nagios process. So I manually rotated the thing and all is well. I've tried using logrotate in the past, but after the rotation Nagios stops logging to it. I assume because the application has a lock on the file and when rotated that changes. Thanks for any help, Lane --__--__-- Message: 24 Date: Mon, 28 Jul 2003 15:10:29 +0100 From: Andre Esser Organization: Orbis Technology To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Run Nagios without service checks ? Ian Davidson wrote: > If you define a service like: > > define service{ > service_description check-ping > check_command check_ping > use generic-service > contact_groups nobody > host_name * > } > > > This covers pinging ALL of your hosts defined in the hosts.cfg file, so > you don't need to edit both files when adding a host. nice! I don't suppose there is a way to specify a service for each host in a certain host group? Andre -- Andre Esser, Sys Admin http://www.OrbisUK.com --__--__-- Message: 25 Date: Mon, 28 Jul 2003 10:38:08 -0400 From: Don Badrak To: "Williams, P. Lane" cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] service performance logs Lane, On Mon, 28 Jul 2003, Williams, P. Lane wrote: > I was wondering if anyone has a standard way of rotating your service > performance logs. I've been letting mine go for some time now and it has > hit the 2G limit and of course that killed the Nagios process. So I > manually rotated the thing and all is well. > > I've tried using logrotate in the past, but after the rotation Nagios stops > logging to it. I assume because the application has a lock on the file and > when rotated that changes. I have this crontab entry under the "nagios" username. 59 23 * * * /usr/local/nagios/bin/rotate-perfdata.sh > /dev/null 2>&1 I use this script: #!/bin/sh # /usr/local/nagios/bin/rotate-perfdata.sh BASEDIR="/usr/local/nagios" VARDIR="$BASEDIR/var" DATE=`date +%Y%m%d` sleep 60 for file in host service do old="$VARDIR/${file}-perfdata.out" new="$VARDIR/${file}-perfdata.$DATE.out" mv $old $new && gzip $new done === It's pretty simple, but it suits my needs. It probably needs more features, like putting all files in a YYYYMM directory, so the /usr/local/nagios/var directory doesn't fill up. Or move them to a new location. Whatever you'd like. Don -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA --__--__-- Message: 26 Date: Mon, 28 Jul 2003 16:38:12 +0200 From: Rico Gloeckner To: Bart Bockhoudt Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] BUG: in apt package on Debian On Mon, Jul 28, 2003 at 12:33:19PM +0200, Bart Bockhoudt wrote: > Hope the apt-builder of the package is a member of this list.. :) Since you are using the Debian Package from debian itself (you are, arent you?), you should report the bug via reportbug(1). --__--__-- Message: 27 Date: Mon, 28 Jul 2003 16:41:02 +0200 (CEST) From: Olaf Hoyer To: Sam Stickland cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] simulate complete email On Mon, 28 Jul 2003, Sam Stickland wrote: > Can't you set up an email address on a machine, with /dev/null in the > aliases file? > > ----- Original Message ----- > From: "J.M.Roth" > To: > Sent: Monday, July 28, 2003 12:41 AM > Subject: [Nagios-users] simulate complete email > > > > Hi there, > > I'd like to simulate a complete email to a "devnull" address. > > There doesn't seem to be a command to do it. > > I just wanna make sure that although the smtp service might be up the > > delivery could still fail after the DATA command, and in fact I'd like > > to check its return value. > > I was expecting to maybe use -e -s -e etc. in sequence with check_smtp > > but it doesn't seem to be the case. > > Any idea? > > Greets, > > -jm Hi! Well, I assume that you would like to: a) Check for the string "Message accepted for delivery" b) inject a message, and have a script run at the other end checking if the message arrives, and when no message has arriven within a reasonable time, then yell... a) simply let your plugin connect, send your message after DATA, and parse for Message accepted for delivery. Mail adress should be bit-bucket at hosttocheck.domain, this is normally forwarded in the aliases file to /dev/null (Check your aliases file, there shall be such an account) Or, if there are no local users defined at the Mailhub, simply let it relay it to another host where such an account is specified (virtusertable) b) This is more tricky. I did not have done it yet, I played with the following thoughts: Two checks are needed: Check1: Inject message into MTA. In the message body, write the timestamp of injection. Parse for Message accepted for delivery. Check2: Let a script run periodically (perhaps via cron) on a remote machine. remotemachine gets the email, and parses the message for the timestamp, and validates against machine time. When the delta is too big, give warning. When within a certain time (say, 5 minutes) no email arrives at all, give critical. This machine should run nsca for remote alarming, so that upon alarm an alert is submitted to the nagios master host. You don't need to run nagios on that host itself for distributed monitoring, you simply trigger the send_nsca script via the above check-script that is run via cron. Just my 0.02 EUR Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) --__--__-- Message: 28 Date: Mon, 28 Jul 2003 16:47:43 +0200 (CEST) From: Olaf Hoyer To: "Williams, P. Lane" cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] service performance logs On Mon, 28 Jul 2003, Williams, P. Lane wrote: > I was wondering if anyone has a standard way of rotating your service > performance logs. I've been letting mine go for some time now and it has > hit the 2G limit and of course that killed the Nagios process. So I > manually rotated the thing and all is well. > > I've tried using logrotate in the past, but after the rotation Nagios stops > logging to it. I assume because the application has a lock on the file and > when rotated that changes. > Well, haven't run into this. (OK, mostly running netsaint in the past) nagios itself should have the ability to rotate the important logs... Otherwise, as seen also with apps like apache, when you kick away the log, you have to send a SIGHUP to the application, so that they start to write the log again, because utils that rotate logs, will mostly place the new, fresh log when touched, on a new inode, so the app will need a SIGHUP to recognize this. (Well, I mostly ran netsaint with FreeBSD, the newsyslog util there (logrotate-like, in the base system) also has the possibility to tell newsyslog which where the file with the pid can be found to be hup'ed. Be careful, I've seen on hosts with large sums of services to check, that a HUP does no good to netsaint, because before completing saving retention data, it is up again... Will mess certain things up. HTH Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) --__--__-- Message: 29 Date: Mon, 28 Jul 2003 16:53:41 +0200 (CEST) From: Olaf Hoyer To: "J.M.Roth" cc: Sam Stickland , Subject: Re: [Nagios-users] simulate complete email On Mon, 28 Jul 2003, J.M.Roth wrote: > I did that but I'd like to monitor the SMTP conversation while sending > mail to the address to see if delivery itself works! > My problem is not how to setup the email address but rather how to get > nagios to send a testmail > -jm Hi! Well, then you should familiarize a bit with the Net::Telnet Module of perl. Can send lots of things to a standard TCP-Port. Or there should be made the joint effort to write a plugin which also does injecting... Could be called: check_smtp_inject I don't know of a plugin that does this already. HTH Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) --__--__-- Message: 30 Subject: RE: [Nagios-users] Run Nagios without service checks ? Date: Mon, 28 Jul 2003 08:56:46 -0600 From: "Cook, Garry" To: "Andre Esser" , There is, read http://nagios.sourceforge.net/docs/1_0/templatetricks.html. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile)=20 > -----Original Message----- > From: Andre Esser [mailto:Andre.Esser at OrbisUK.com]=20 > Sent: Monday, July 28, 2003 8:10 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Run Nagios without service checks ? >=20 >=20 > Ian Davidson wrote: > > If you define a service like: > >=20 > > define service{ > > service_description check-ping > > check_command check_ping > > use generic-service > > contact_groups nobody > > host_name * > > } > >=20 > >=20 > > This covers pinging ALL of your hosts defined in the=20 > hosts.cfg file,=20 > > so you don't need to edit both files when adding a host. >=20 > nice! >=20 > I don't suppose there is a way to specify a service for each=20 > host in a=20 > certain host group? >=20 >=20 > Andre > --=20 > Andre Esser, Sys Admin > http://www.OrbisUK.com >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites=20 > including Data Reports, E-commerce, Portals, and Forums are=20 > available now. Download today and enter to win an XBOX or=20 > Visual Studio .NET.=20 > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 31 Subject: Re: [Nagios-users] simulate complete email From: Jason Martens Reply-To: jmartens at cityofevanston.org To: nagios-users at lists.sourceforge.net Organization: City of Evanston Date: 28 Jul 2003 10:54:32 -0500 > Let a script run periodically (perhaps via cron) on a remote machine. > remotemachine gets the email, and parses the message for the timestamp, > and validates against machine time. When the delta is too big, give warning. > When within a certain time (say, 5 minutes) no email arrives at all, > give critical. You can use sendmail to run a script if an e-mail is sent to a certain user by putting the following in the alias file: username :| /path/to/script perhaps you could have the script submit the check result. So it would look like this: Nagios check_smtp sends an e-mail to mailcheck at hostname, the receiving host receives the e-mail and submits a success message to nagios, or perhaps to the check_smtp command somehow? If there is no response within the predetermined time (1min maybe) a critical response is logged. Does that make sense? Jason --__--__-- Message: 32 Date: Mon, 28 Jul 2003 10:05:15 -0600 From: "Soto, Aaron" To: Subject: [Nagios-users] Problems with Host Dependencies/Parents I've been using Nagios for several months now, but I have not been able = to figure out one thing... =20 First off, I have about 150 hosts I am monitoring. Each one is setup = with a PING service (and a couple have HTTP, SMTP, etc.). The services = all work flawlessly. However, hosts are almost always "assumed to be = up". I understand that Nagios only checks the state of a host when a = service goes down, but it does not check even when a service has failed! =20 For example: I have a series of five switches, daisy-chained in a row. = Each one is the parent of the next. Dependencies are also defined so = that switch2 depends on switch1, switch3 depends on switch2, etc. Now, = when I unplug any of the switches, the PING service goes down on that = switch and all of the switches beyond it. However, Nagios still = believes the HOSTS are UP. In addition, I get a notification for each = switch that is now unreachable, even though I specifically told Nagios = not to send notifications about UNREACHABLE hosts. =20 I believe the problem is that Nagios is not realizing the host is = unreachable, and is therefore sending a notifications, since the emails = I am receiving are all concerning the PING service, and not the host = itself. That would also explain why it is not silencing the alerts for = the unreachable switches beyond the unplugged switch. Nagios does not = seem to want to check the host state, nor does it want to climb up the = dependency tree to find which host is causing the problem. =20 Where did it all go horribly wrong? Hopefully, that is enough = information. Please let me know if I can provide any more details. Any = help would be greatly appreciated! =20 Aaron Soto New Mexico Tech Information Services Dept. Email asoto at admin.nmt.edu --__--__-- Message: 33 Date: Mon, 28 Jul 2003 10:11:16 -0600 (CST) From: "Lonny Selinger" To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Regarding State All, I understand the conept behind maintaining state etc, but for some reason I can't for the life of me figure out what I need to enable/dissable in my config to allow for accurate data collection ie: availability. I *always* have to select the initial state in order to get any output (which shows: Faked Log Entry). How do I get it to NOT fake a log entry and read the actual data from the logs to show valid availability? This has been running for months now (I figured after a while it would stop faking the log entry as there was enough data collected) but I was wrong ;) any suggestions are appreciated, -- Lonny --__--__-- Message: 34 From: "Scott Whitney" To: Subject: Re: [Nagios-users] Parent/child config Date: Mon, 28 Jul 2003 11:38:27 -0500 Actually, Skip, I was just thinking about reposting, since, no, I did not get anything back. Anyone? Repost at bottom ----- Original Message ----- From: "Skip Montanaro" To: "Scott Whitney" Sent: Monday, July 28, 2003 11:29 AM Subject: Re: [Nagios-users] Parent/child config Scott, Did you get any feedback on this problem? I'd like to set up something similar, but based upon your report I'm skeptical it will be of any use. Thx, ----- Original Message ----- From: "Scott Whitney" To: Sent: Tuesday, July 22, 2003 6:01 PM Subject: Parent/child config Today, my local Cisco router went down. Call it hw-router. :) Well, I have a bunch of machines defined as "coloc-host". Here's what the foo.cfg file says: ------------------ define host { use coloc-host host_name foo alias foo address vvv.xxx.yyy.zzz } ----------------- Here's what the hosts.cfg file says: ------------------ define host { name coloc-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 1 notification_period 24x7 notification_options d,u,r parents sw-router, hw-router, coloc-router register 0 } -------------------------- Well, when hw-router went down, when it came back up, I got about a dozen pages telling me that each of the coloc hosts was down, and then back up. I thought it wasn't supposed to do this to me, based on the config above. Any help would be appreciated. --__--__-- Message: 35 Date: Mon, 28 Jul 2003 09:55:54 -0700 From: Bill Thompson To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] BUG: in apt package on Debian Organization: Mahagonny die Netzestaldt On Mon, 28 Jul 2003 12:33:19 +0200 "Bart Bockhoudt" wrote: > Hi, > > > Also missing is a APT plugin package for Nagios, after apt-getting it I > still needed to manual install the plugins to get it all working.. > The Nagios plug-in package for Debian is still named "netsaint-plugins". Do an "apt-cache search netsaint-plugins" for the different versions. I have installed them on stable with a back-ported Nagios package and they worked fine. -- BillT at Mahagonny.com - PGP KeyID#: 0xFB966670 --__--__-- Message: 36 Subject: RE: [Nagios-users] Parent/child config Date: Mon, 28 Jul 2003 12:59:18 -0400 From: "Hochberg, Keith" To: "Scott Whitney" , I think you're looking for dependencies and not parent/child...=20 http://nagios.sourceforge.net/docs/1_0/dependencies.html -Keith -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com]=20 Sent: Monday, July 28, 2003 12:38 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Parent/child config Actually, Skip, I was just thinking about reposting, since, no, I did not get anything back. Anyone? Repost at bottom ----- Original Message -----=20 From: "Skip Montanaro" To: "Scott Whitney" Sent: Monday, July 28, 2003 11:29 AM Subject: Re: [Nagios-users] Parent/child config Scott, Did you get any feedback on this problem? I'd like to set up something similar, but based upon your report I'm skeptical it will be of any use. Thx, ----- Original Message -----=20 From: "Scott Whitney" To: Sent: Tuesday, July 22, 2003 6:01 PM Subject: Parent/child config Today, my local Cisco router went down. Call it hw-router. :) Well, I have a bunch of machines defined as "coloc-host". Here's what the foo.cfg file says: ------------------ define host { use coloc-host host_name foo alias foo address vvv.xxx.yyy.zzz } ----------------- Here's what the hosts.cfg file says: ------------------ define host { name coloc-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 1 notification_period 24x7 notification_options d,u,r parents sw-router, hw-router, coloc-router register 0 } -------------------------- Well, when hw-router went down, when it came back up, I got about a dozen pages telling me that each of the coloc hosts was down, and then back up. I thought it wasn't supposed to do this to me, based on the config above. Any help would be appreciated. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest CONFIDENTIAL: This email, including its content and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this email message or disclose its contents to anyone else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc. Email transmission cannot be guaranteed to be secure or error-free. The sender does not accept liability for any errors or omissions of this message due to email transmission. If verification is required please request a hardcopy version. Although we routinely screen for viruses, addressees should check this email and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this email or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read emails sent to and from our server(s). ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick_leboutillier at hotmail.com Mon Jul 28 20:26:32 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Mon, 28 Jul 2003 14:26:32 -0400 Subject: ANNOUNCE: Nagios::WebTransact and Nagios::Config on CPAN! Message-ID: Two Nagios modules have been uploaded to CPAN! In the meantime we get the modules accepted in the CPAN module list (and therefore indexed under the Nagios root directory, which has yet to be created), you can get them from the authors directory. * Nagios::Config-0.02 Parse Nagios configuration files Patrick LeBoutillier http://search.cpan.org/CPAN/authors/id/P/PA/PATL/Nagios-Config-0.02.tar.gz * Nagios-WebTransact-0.03 Class for generating Nagios service checks of Web transactions. Stanley Hopcroft http://search.cpan.org/CPAN/authors/id/H/HO/HOPCROFTS/Nagios-WebTransact-0.0 3.tar.gz Cheers, Patrick --------------------- Patrick LeBoutillier Laval, Quebec, Canada ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From mmusone at shatterit.com Mon Jul 28 20:34:20 2003 From: mmusone at shatterit.com (Mark Musone) Date: Mon, 28 Jul 2003 14:34:20 -0400 Subject: iostat-like checks? Message-ID: <000001c35536$dcdd4730$3301a8c0@usa.shatterit.com> is there a plugin that will handle disk-io type information (disk reads/sec, disk writes/sec..etc..) I cant seem to find anything even close..if not, I?ll throw one together. Thanks, Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From RLAdams at Kelsey-Seybold.com Mon Jul 28 20:54:55 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Mon, 28 Jul 2003 13:54:55 -0500 Subject: [Nagios-users] ANNOUNCE: Nagios::WebTransact and Nagios::Config on CPAN! In-Reply-To: References: Message-ID: <27950.2281024635$1059418754@news.gmane.org> Any plans for creating a module to write Nagios configs? Perhaps dump a hash tree out to config file, optionally with optimizations? Russell On Mon, Jul 28, 2003 at 02:26:32PM -0400, Patrick LeBoutillier wrote: > Two Nagios modules have been uploaded to CPAN! > > In the meantime we get the modules accepted in the CPAN module list (and > therefore indexed under > the Nagios root directory, which has yet to be created), you can get them > from the authors directory. > > * Nagios::Config-0.02 > Parse Nagios configuration files > Patrick LeBoutillier > > http://search.cpan.org/CPAN/authors/id/P/PA/PATL/Nagios-Config-0.02.tar.gz > > * Nagios-WebTransact-0.03 > Class for generating Nagios service checks of Web transactions. > Stanley Hopcroft > > http://search.cpan.org/CPAN/authors/id/H/HO/HOPCROFTS/Nagios-WebTransact-0.0 > 3.tar.gz > > Cheers, > > Patrick > > > > --------------------- > Patrick LeBoutillier > Laval, Quebec, Canada > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From RLAdams at Kelsey-Seybold.com Mon Jul 28 20:54:55 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Mon, 28 Jul 2003 13:54:55 -0500 Subject: ANNOUNCE: Nagios::WebTransact and Nagios::Config on CPAN! In-Reply-To: References: Message-ID: <36411.1430630603$1059419086@news.gmane.org> Any plans for creating a module to write Nagios configs? Perhaps dump a hash tree out to config file, optionally with optimizations? Russell On Mon, Jul 28, 2003 at 02:26:32PM -0400, Patrick LeBoutillier wrote: > Two Nagios modules have been uploaded to CPAN! > > In the meantime we get the modules accepted in the CPAN module list (and > therefore indexed under > the Nagios root directory, which has yet to be created), you can get them > from the authors directory. > > * Nagios::Config-0.02 > Parse Nagios configuration files > Patrick LeBoutillier > > http://search.cpan.org/CPAN/authors/id/P/PA/PATL/Nagios-Config-0.02.tar.gz > > * Nagios-WebTransact-0.03 > Class for generating Nagios service checks of Web transactions. > Stanley Hopcroft > > http://search.cpan.org/CPAN/authors/id/H/HO/HOPCROFTS/Nagios-WebTransact-0.0 > 3.tar.gz > > Cheers, > > Patrick > > > > --------------------- > Patrick LeBoutillier > Laval, Quebec, Canada > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramirez at salmex.com Mon Jul 28 22:02:15 2003 From: mramirez at salmex.com (=?iso-8859-1?Q?Marcelo_Ram=EDrez_Gonzalez?=) Date: Mon, 28 Jul 2003 16:02:15 -0400 Subject: Consulta Message-ID: <002001c35543$24bb99b0$452832c8@salmex.com> Como se implememta el check_nt.check_snmp y check_oracle ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vonessj at intelihealth.com Mon Jul 28 22:11:12 2003 From: vonessj at intelihealth.com (VonEssen, John) Date: Mon, 28 Jul 2003 16:11:12 -0400 Subject: caching oddities Message-ID: <1150D7750302044CBA06C923B5D6059672409A@EXCHVS1.corp.intelihealth.com> This is weird. If I reload my server detail page, eventually I will get an "old status" from a few hours ago. I have produced this in both IE and netscape, both of which have caching disabled. I completely reset nagios wiping out all logs, service detail should say pending and 0d 0h 0m duration. But if I refresh 10 times or so, an old status page pops up with GREEN for certain services and a duration of 10 days or something. I am not sure if this is a browser or nagios issue. Can anybody else duplicate this behavior? John -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Mon Jul 28 22:37:24 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 28 Jul 2003 15:37:24 -0500 Subject: caching oddities Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7D25@mismail.ena.com> Do you have multiple nagios processes running? Perhaps one (or more) from 10+ days ago? -- Marc ________________________________________ From: VonEssen, John [mailto:vonessj at intelihealth.com] Sent: Monday, July 28, 2003 3:11 PM To: nagios-users at lists.sourceforge.net This is weird. If I reload my server detail page, eventually I will get an "old status" from a few hours ago. I have produced this in both IE and netscape, both of which have caching disabled. I completely reset nagios wiping out all logs, service detail should say pending and 0d 0h 0m duration. But if I refresh 10 times or so, an old status page pops up with GREEN for certain services and a duration of 10 days or something. I am not sure if this is a browser or nagios issue. Can anybody else duplicate this behavior? John ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rodrigo.Magalhaes at infoglobo.com.br Mon Jul 28 22:37:57 2003 From: Rodrigo.Magalhaes at infoglobo.com.br (Rodrigo.Magalhaes at infoglobo.com.br) Date: Mon, 28 Jul 2003 17:37:57 -0300 Subject: Modifing parameters Message-ID: <987467FDD65E604BBA52DD6C9FD2C8FF41F694@infodata1.ogmaster.local> Hi all, Sorry, I haven?t knowledge for programming. How can I change/add the new counters of Nt performance monitor in the nagios monitoring? Thanks Rodrigo Magalh?es Analista de Suporte - Tecnologia - Infoglobo Infoglobo Comunica??es Ltda e-mail: rodrigo.magalhaes at infoglobo.com.br Telefone: +55 (21) 2534-5335 - - - - - - - - - - - - - - - - - AVISO IMPORTANTE- - - - - - - - - - - - - - - - Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial e seu conte?do ? para conhecimento exclusivo do destinat?rio. O seu uso, divulga??o, reprodu??o e/ou c?pia s?o proibidos. This message is intended only for the individual or organization to which it is addressed and contains confidential and privileged information. Any retransmission, dissemination or other use of this information by anyone other than the intended recipient is prohibited. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Jul 28 22:49:48 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 28 Jul 2003 15:49:48 -0500 Subject: [Nagios-users] ANNOUNCE: Nagios::WebTransact and Nagios::Config on CPAN! In-Reply-To: <20030728185455.GG27338@soja.ksnet.com.> References: <20030728185455.GG27338@soja.ksnet.com.> Message-ID: <16165.35948.497000.983224@montanaro.dyndns.org> Russell> Any plans for creating a module to write Nagios configs? What sort of input do you envision? I've been fiddling with dumping config files out of the PostgreSQL database of our current system. It's not a perfect match, but still seems like it holds some promise. I'm still expermenting with it, though. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From skip at pobox.com Mon Jul 28 22:46:00 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 28 Jul 2003 15:46:00 -0500 Subject: Parent/child config In-Reply-To: <5F29693503507B4FB4032686ADF862671ACFE2@mtviny25.mtvi.com> References: <5F29693503507B4FB4032686ADF862671ACFE2@mtviny25.mtvi.com> Message-ID: <16165.35720.292058.84518@montanaro.dyndns.org> Keith> I think you're looking for dependencies and not parent/child... Keith> http://nagios.sourceforge.net/docs/1_0/dependencies.html Thanks for that. Now that I know where to read the docs, I have a question. The document says: As with service dependencies, host dependencies are not inherited. What's the rationale for this? That just seems to make dependency definitions more tedious and redundant. Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imad at genious.com Mon Jul 28 23:21:06 2003 From: imad at genious.com (Imad Soltani) Date: 28 Jul 2003 23:21:06 +0200 Subject: (no subject) Message-ID: <1059427266.9107.1021.camel@bsdimad.packaging-genious.com> ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkazmier at sofast.net Mon Jul 28 23:41:09 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Mon, 28 Jul 2003 15:41:09 -0600 Subject: NSCA or NRPE for Performance Message-ID: <000501c35550$f5ab6160$6701010a@kazkdsxp> Hello list, We have been using Nagios for nearly a year now and love it! We are looking at extending our utilization of by integrating NSCA/NRPE. In the environment that we hope to utilize the remote service, the remote machine queries nearly 1000 devices via SNMP every 10 minutes. Nagios by itself does a great job of scheduling and runs smoothly. I have a nagios test machine setup and there is almost no laod (never above 0.2 thanks to the SNMPPD!!!), however, I am concerned that once I have 100 or more of these remote machines running, all monitoring 1000 devices (yes, that is about 100,000 devices) the nagios central server will grind to a halt. Currently this is a dual Xeon 2.4 with 2 GB of ram. I realize we may need to segment these "central" servers to allow for proper scalability. My question is, however, which is better for performance on the central server, NSCA or NRPE? I read in one thread about how NSCA sends all data to a FIFO pipe and that pipe has a limited buffer so service checks which come in all at once may get dropped. Please advise! Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From CGill at NewWorldApps.com Tue Jul 29 00:24:41 2003 From: CGill at NewWorldApps.com (Chris Gill) Date: Mon, 28 Jul 2003 18:24:41 -0400 Subject: Bus Error during Solaris compile Message-ID: <48F26311AF9C9943926CA0CD204BC214BB09BF@nwa-srv-01.newworldapps.com> Hello all, I keep thinking this should be a simple problem, but I've bashed my head against it repeatedly to no avail. I'm trying to compile Nagios 1.1 on Solaris 8, installed on an Ultra 5, with the most rescent patch cluster installed. I'm using GCC 3.0, and I've been able to compile other software just fine. Any thoughts on how to fix this? Thanks, -Chris Gill Here's the complete output: # ./configure --with-gd-inc=/usr/local/include/ --with-gd-lib=/usr/local/lib creating cache ./config.cache checking for a BSD compatible install... /usr/local/bin/install -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 for strip... /usr/ccs/bin/strip 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 dirent.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for getopt.h... no checking for grp.h... yes checking for limits.h... yes checking for math.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 uio.h... no 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/stat.h... yes checking for sys/ipc.h... yes checking for sys/msg.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... no checking for tzname... yes 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... int checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t checking for mail... /usr/bin/mail Init script directory: /etc/init.d We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use template-based routines (in xdata/xedtemplate.*) for extended data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for gdImagePng in -lgd (order 1)... yes GD library was found! checking for traceroute... /usr/sbin/traceroute checking for snprintf... yes checking for type va_list... yes checking for perl... /usr/bin/perl updating cache ./config.cache creating ./config.status creating Makefile creating subst creating pkginfo creating base/Makefile creating common/Makefile creating contrib/Makefile creating cgi/Makefile creating html/Makefile creating xdata/Makefile creating daemon-init creating html/index.html creating html/side.html creating common/config.h creating common/snprintf.h creating base/nagios.h creating cgi/cgiutils.h Creating sample config files in sample-config/ ... *** Configuration summary for nagios 1.1 06-02-2003 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ Status data: Default (text file) Object data: Template-based (text file) Comment data: Default (text file) Downtime data: Default (text file) Retention data: Default (text file) Peformance data: Default (external commands) Extended info data: Template-based (text file) Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. # 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 # make nagios cd ./base && make gcc -g -O2 -I/usr/local/include/ -DHAVE_CONFIG_H -DNSCORE -c checks.c checks.c: In function `run_service_check': checks.c:506: Internal error: Bus Error Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 make: Fatal error: Command failed for target `checks.o' Current working directory /usr/local/nagios-1.1/base *** Error code 1 make: Fatal error: Command failed for target `nagios' # ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JasonT at plumtree.com Tue Jul 29 01:04:22 2003 From: JasonT at plumtree.com (Jason Truong) Date: Mon, 28 Jul 2003 16:04:22 -0700 Subject: Modifing parameters Message-ID: read the documentation for nsclient. Here are two examples: # 'check_nt_www_current_anonymous_users' command definition define command{ command_name check_nt_www_current_anonymous_users command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\Web Service(_Total)\Current Anonymous Users","Current Anonymous Users: %.f" } # 'check_nt_www_mesg_deliver' command definition define command{ command_name check_nt_www_mesg_deliver command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\SMTP Server(_Total)\Messages Sent Total","%.f Messages Sent Total" } -----Original Message----- From: Rodrigo.Magalhaes at infoglobo.com.br [mailto:Rodrigo.Magalhaes at infoglobo.com.br] Sent: Monday, July 28, 2003 1:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Modifing parameters Hi all, Sorry, I haven?t knowledge for programming. How can I change/add the new counters of Nt performance monitor in the nagios monitoring? Thanks Rodrigo Magalh?es Analista de Suporte - Tecnologia - Infoglobo Infoglobo Comunica??es Ltda e-mail: rodrigo.magalhaes at infoglobo.com.br Telefone: +55 (21) 2534-5335 - - - - - - - - - - - - - - - - - AVISO IMPORTANTE- - - - - - - - - - - - - - - - Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial e seu conte?do ? para conhecimento exclusivo do destinat?rio. O seu uso, divulga??o, reprodu??o e/ou c?pia s?o proibidos. This message is intended only for the individual or organization to which it is addressed and contains confidential and privileged information. Any retransmission, dissemination or other use of this information by anyone other than the intended recipient is prohibited. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Tue Jul 29 06:41:25 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 29 Jul 2003 00:41:25 -0400 Subject: simulate complete email In-Reply-To: <3F246333.5000901@iip.lu> References: <3F246333.5000901@iip.lu> Message-ID: <1059453685.1078.3.camel@miles.debisschop.net> On Sun, 2003-07-27 at 19:41, J.M.Roth wrote: > Hi there, > I'd like to simulate a complete email to a "devnull" address. > There doesn't seem to be a command to do it. > I just wanna make sure that although the smtp service might be up the > delivery could still fail after the DATA command, and in fact I'd like > to check its return value. > I was expecting to maybe use -e -s -e etc. in sequence with check_smtp > but it doesn't seem to be the case. > Any idea? > Greets, > -jm Not exactly what you asked for, but have you looked at contrib/check_email_loop.pl? Doen't meet your spec, but might satisfy your goals. -- Karl ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at blackbird.net.au Tue Jul 29 07:01:26 2003 From: lists at blackbird.net.au (Dale Clapperton (lists)) Date: 29 Jul 2003 05:01:26 +0000 Subject: Notification acknowledgement and escalation Message-ID: <1059454885.297.64.camel@inferno> Hi all I'm a new Nagios user, and I've found it a bitch to setup, but great once its running. I have a question regarding escalation, which I've not been able to find the answer to in the documentation: Does nagios continue to escalate notifications if a problem has been acknowledged? I have a situation in which I need to escalate certain notifications if and only if the problem has not been acknowledged. If this isn't currently supported by nagios, please consider this a feature request :) Thanks Dale -- Dale Clapperton (lists) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Tue Jul 29 08:39:45 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Tue, 29 Jul 2003 08:39:45 +0200 Subject: Parent/child config In-Reply-To: <00d501c35526$ac4cac10$aa64a8c0@journyx2000.int.journyx.com> References: <015a01c350a5$27096960$aa64a8c0@journyx2000.int.journyx.com> <16165.20344.484320.883165@montanaro.dyndns.org> <00d501c35526$ac4cac10$aa64a8c0@journyx2000.int.journyx.com> Message-ID: <3F2616B1.6080800@dhl.com> Correct me if I'm wrong, or don't get the problem here, but you have the following line: notification_options d,u,r That means that you will get notified when the parent is down, as you have inserted the u(nreacheable) flag. Remove that, and you will get no notifications. Scott Whitney wrote: >Actually, Skip, I was just thinking about reposting, since, no, I did not >get anything back. > >Anyone? > >Repost at bottom >----- Original Message ----- >From: "Skip Montanaro" >To: "Scott Whitney" >Sent: Monday, July 28, 2003 11:29 AM >Subject: Re: [Nagios-users] Parent/child config > > > >Scott, > >Did you get any feedback on this problem? I'd like to set up something >similar, but based upon your report I'm skeptical it will be of any use. > >Thx, > > >----- Original Message ----- >From: "Scott Whitney" >To: >Sent: Tuesday, July 22, 2003 6:01 PM >Subject: Parent/child config > > >Today, my local Cisco router went down. Call it hw-router. :) Well, I have >a bunch of machines defined as "coloc-host". Here's what the foo.cfg file >says: >------------------ >define host { > use coloc-host > > host_name foo > alias foo > address vvv.xxx.yyy.zzz >} >----------------- > >Here's what the hosts.cfg file says: > >------------------ >define host { > name coloc-host > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > > check_command check-host-alive > max_check_attempts 3 > notification_interval 1 > notification_period 24x7 > notification_options d,u,r > > parents sw-router, hw-router, coloc-router > register 0 >} >-------------------------- > >Well, when hw-router went down, when it came back up, I got about a dozen >pages telling me that each of the coloc hosts was down, and then back up. I >thought it wasn't supposed to do this to me, based on the config above. Any >help would be appreciated. > > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From list at aih.de Tue Jul 29 10:23:31 2003 From: list at aih.de (AIH Mailing Lists Account) Date: Tue, 29 Jul 2003 10:23:31 +0200 Subject: Question about Notification References: <00b201c351aa$81feb770$6a01a8c0@arcom1> <3F1F7E24.6070202@dhl.com> <00fd01c351bc$b5837a60$6a01a8c0@arcom1> Message-ID: <006c01c355aa$b3738700$6a01a8c0@arcom1> Hello List, my problem still exist. It get the notification just after the first failure and not after the 5th try. The failure is always a "CRITICAL - Plugin timed out after 10 seconds" using check_ping!200.0,40%!500.0,80% I'm just wondering why the timeout time is 10 seconds, i set it to service_check_timeout=60 in nagios.cfg The values in the service definition are normal_check_interval 3 max_check_attempts 5 retry_check_interval 1 and i didn't changed the interval_length=60 So i get the host down notification immediately after the first check and just a few seconds later the recovery notice. This is very anoying since it happens mostly at night when out connection is quite busy and i'm sleeping :-( Has anyone any idea? Andreas Husemann AIH Service GmbH Germany ----- Original Message ----- From: "AIH Service GmbH" To: Sent: Thursday, July 24, 2003 10:22 AM Subject: Re: [Nagios-users] Question about Notification > > AIH Mailing Lists Account wrote: > > > > >Hello List, > > > > > >i wonder when Nagios starts notification. We use Nagios 1.1 and if I > > >understood the manual right, the notification should start after the > > >max_check_attempts. > > > > > >normal_check_interval 3 > > >max_check_attempts 5 > > >retry_check_interval 1 > > > > > >As I understood the man, Nagios should do 5 more checks with an delay of > 1 > > >minute before sending a notification? Are I'm wrong? > > >If i'm wrong, how can i force nagios the check the service 4 or 5 times > > >before sending any notification. > > > > > You are right. > > But i get a Host Notification direct after the first fail. There is no 5 > minutes delay as it should be? > Any ideas? > > Andreas Husemann > AIH Service GmbH > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre.torke at gildemeister.com Tue Jul 29 10:58:47 2003 From: andre.torke at gildemeister.com (Andre Torke) Date: Tue, 29 Jul 2003 08:58:47 +0000 (UTC) Subject: status.cgi Message-ID: Hallo ! Is it possible to show Service Problems and Host Problems in one window? It would be nice to have one button "Problems" to show the problems. Thanks for help Andre ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Tue Jul 29 11:22:08 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 29 Jul 2003 11:22:08 +0200 Subject: notification commands based on hosts or services In-Reply-To: References: Message-ID: <200307291122.08888.roy@karlsbakk.net> I've solved this by simply adding a separate contact for each media the person should be contacted on. so 'royemail' and 'roysms' sends to different places roy On Saturday 26 July 2003 00:12, Mike Culbertson wrote: > I have been all through the docs, but I can't determine a reasonable way to > do this: > > I need to specify the type of notification based on what host or service > has a problem. > > For example, contact "Joe" has notification options of "notify-by- > email,notify-by-epager". Joe needs to be contacted about status changes on > all "dev" and "test" machines, but only needs email about "dev" machines, > and should not be paged. > > Contact groups become irrelevant here because the type of notification to > make is specified in the contact definition. So even if I play around with > contact groups and timeperiods, when an alert is sent to Joe, it goes via > email and epager. > > How could I restrict the notification type based on what > service/host/hostgroup it is coming from without having to make unique > contact entries for each (person+type of notification) they use? > > > I think this makes sense, but I've had a LOT of coffee :) > > TIA ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Tue Jul 29 11:30:18 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Tue, 29 Jul 2003 11:30:18 +0200 Subject: status.cgi In-Reply-To: References: Message-ID: <3F263EAA.9090203@dhl.com> The "Service Problems" link in the left frame gives you just that... Andre Torke wrote: >Hallo ! > >Is it possible to show Service Problems and Host Problems in one window? > >It would be nice to have one button "Problems" to show the problems. > > >Thanks for help > >Andre > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Tue Jul 29 11:52:45 2003 From: richard at splash.co.za (Richard Mayhew) Date: Tue, 29 Jul 2003 11:52:45 +0200 Subject: Plugins References: <00b201c351aa$81feb770$6a01a8c0@arcom1> <3F1F7E24.6070202@dhl.com> <00fd01c351bc$b5837a60$6a01a8c0@arcom1> <006c01c355aa$b3738700$6a01a8c0@arcom1> Message-ID: <006601c355b7$2a0fcac0$211302c4@mweb.com> Hi All, when sending out notification where the info text has a % in it ie Packet Loss = 5% - RTA = 100.3ms it drops all data after the % so you end up with Packet Loss = 5 any ideas how to get around this? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cal at calevans.com Mon Jul 28 23:42:33 2003 From: cal at calevans.com (Cal Evans) Date: Mon, 28 Jul 2003 16:42:33 -0500 (CDT) Subject: SQL 2000 In-Reply-To: <232004BCD089FA4683012B75EBC5319E0CC484@kauai.ahsys.org> References: <232004BCD089FA4683012B75EBC5319E0CC484@kauai.ahsys.org> Message-ID: <1736.192.168.2.78.1059428553.squirrel@192.168.0.150> http://sourceforge.net/tracker/index.php?func=detail&aid=774200&group_id=29880&atid=541465 * * Cal Evans * http://www.christianperformer.com * Stay plugged in to your audience! * Sanderson, Andrew said: > Is there a plug-in available for monitoring SQL 2000 database servers? > > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Tue Jul 29 13:41:04 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 29 Jul 2003 13:41:04 +0200 Subject: Plugins In-Reply-To: <006601c355b7$2a0fcac0$211302c4@mweb.com> References: <00b201c351aa$81feb770$6a01a8c0@arcom1> <006c01c355aa$b3738700$6a01a8c0@arcom1> <006601c355b7$2a0fcac0$211302c4@mweb.com> Message-ID: <200307291341.04671.roy@karlsbakk.net> try to put a backslash in front this might as well be a security hole ... On Tuesday 29 July 2003 11:52, Richard Mayhew wrote: > Hi All, > > when sending out notification where the info text has a % in it ie Packet > Loss = 5% - RTA = 100.3ms it drops all data after the % so you end up with > Packet Loss = 5 > > any ideas how to get around this? > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Tue Jul 29 13:42:51 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 29 Jul 2003 13:42:51 +0200 Subject: SQL 2000 In-Reply-To: <1736.192.168.2.78.1059428553.squirrel@192.168.0.150> References: <232004BCD089FA4683012B75EBC5319E0CC484@kauai.ahsys.org> <1736.192.168.2.78.1059428553.squirrel@192.168.0.150> Message-ID: <200307291342.51297.roy@karlsbakk.net> check http://sourceforge.net/tracker/?func=browse&group_id=29880&atid=541465 and pick your favourite. mine's in perl (http://sourceforge.net/tracker/index.php?func=detail&aid=738128&group_id=29880&atid=541465) roy On Monday 28 July 2003 23:42, Cal Evans wrote: > http://sourceforge.net/tracker/index.php?func=detail&aid=774200&group_id=29 >880&atid=541465 * > * Cal Evans > * http://www.christianperformer.com > * Stay plugged in to your audience! > * > > Sanderson, Andrew said: > > Is there a plug-in available for monitoring SQL 2000 database servers? > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Tue Jul 29 13:54:10 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Tue, 29 Jul 2003 13:54:10 +0200 Subject: Plugins In-Reply-To: <200307291341.04671.roy@karlsbakk.net> References: <00b201c351aa$81feb770$6a01a8c0@arcom1> <006c01c355aa$b3738700$6a01a8c0@arcom1> <006601c355b7$2a0fcac0$211302c4@mweb.com> <200307291341.04671.roy@karlsbakk.net> Message-ID: <3F266062.5060502@dhl.com> A security hole? How do you figure that??? Anyway, try using "/bin/echo -e" in your notification command. I think the standard is printf? Roy Sigurd Karlsbakk wrote: >try to put a backslash in front > >this might as well be a security hole ... > > >On Tuesday 29 July 2003 11:52, Richard Mayhew wrote: > > >>Hi All, >> >>when sending out notification where the info text has a % in it ie Packet >>Loss = 5% - RTA = 100.3ms it drops all data after the % so you end up with >>Packet Loss = 5 >> >>any ideas how to get around this? >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including >>Data Reports, E-commerce, Portals, and Forums are available now. >>Download today and enter to win an XBOX or Visual Studio .NET. >>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>::: Please include Nagios version, plugin version (-v) and OS when >>::: reporting any issue. Messages without supporting info will risk being >>::: sent to /dev/null >> >> > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Tom De Blende Senior NT Infrastructure Analyst (Frango) DHL Global Coordination Center - IT Department Tel +32 2 713 42 62 Fax +32 2 713 52 00 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rahatpuri.singh at sgcib.com Tue Jul 29 14:10:25 2003 From: rahatpuri.singh at sgcib.com (rahatpuri.singh at sgcib.com) Date: Tue, 29 Jul 2003 17:40:25 +0530 Subject: help Message-ID: hi , when ever i am trying to login and try using monitoring utility i get this error message , i am giving the right username and password . i want to know in which config file i have to editr Authentication required! This server could not verify that you are authorized to access the URL "/nagios/sbin/status.cgi". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. In case you are allowed to request the document, please check your user-id and password and try again. If you think this is a server error, please contact the webmaster Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Jul 29 14:16:12 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 29 Jul 2003 07:16:12 -0500 Subject: help Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D481B@mismail.ena.com> The .htaccess file in that directory and the htpasswd file it references. Its not a nagios error. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: rahatpuri.singh at sgcib.com To: nagios-users at lists.sourceforge.net Sent: Tue Jul 29 07:10:25 2003 Subject: [Nagios-users] help hi , when ever i am trying to login and try using monitoring utility i get this error message , i am giving the right username and password . i want to know in which config file i have to editr Authentication required! This server could not verify that you are authorized to access the URL "/nagios/sbin/status.cgi". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. In case you are allowed to request the document, please check your user-id and password and try again. If you think this is a server error, please contact the webmaster Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From rahatpuri.singh at sgcib.com Tue Jul 29 14:59:46 2003 From: rahatpuri.singh at sgcib.com (rahatpuri.singh at sgcib.com) Date: Tue, 29 Jul 2003 18:29:46 +0530 Subject: help Message-ID: hi the following entries are there in the /usr/local/nagios/sbin/.htaccess and /usr/local/nagios/etc/.htaccess AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Marc Powell" | | | | | | | | | 07/29/03 05:46 PM| | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen, | | cc: | | Subject: Re: [Nagios-users] help | >--------------------------------------------------------------------------------------------------------------| The .htaccess file in that directory and the htpasswd file it references. Its not a nagios error. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: rahatpuri.singh at sgcib.com To: nagios-users at lists.sourceforge.net Sent: Tue Jul 29 07:10:25 2003 Subject: [Nagios-users] help hi , when ever i am trying to login and try using monitoring utility i get this error message , i am giving the right username and password . i want to know in which config file i have to editr Authentication required! This server could not verify that you are authorized to access the URL "/nagios/sbin/status.cgi". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. In case you are allowed to request the document, please check your user-id and password and try again. If you think this is a server error, please contact the webmaster Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Tue Jul 29 15:01:22 2003 From: rob at capband.net (Rob Nelson) Date: Tue, 29 Jul 2003 09:01:22 -0400 Subject: status.cgi In-Reply-To: <3F263EAA.9090203@dhl.com> References: Message-ID: <5.2.1.1.0.20030729090030.01a1a6d0@mail.capband.net> >The "Service Problems" link in the left frame gives you just that... But if you have a host where the host is unreachable but the service is ok, then it doesn't show up there. Theoretically it shouldn't happen, but I've got a config right now where this happens. I can post screenies if you don't believe me :) Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at lists.netways.de Tue Jul 29 17:16:18 2003 From: nagios-users at lists.netways.de (nagios-users) Date: Tue, 29 Jul 2003 17:16:18 +0200 Subject: Compile settings Message-ID: <3626546DC152134382A0A029C29365C6117F09@net-mail.int.netways.de> Hi there ! How can I see with which options nagios was compiled ? Thanks Nik ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Tue Jul 29 16:32:45 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Tue, 29 Jul 2003 10:32:45 -0400 Subject: Plugins In-Reply-To: <006601c355b7$2a0fcac0$211302c4@mweb.com> References: <00b201c351aa$81feb770$6a01a8c0@arcom1> <3F1F7E24.6070202@dhl.com> <00fd01c351bc$b5837a60$6a01a8c0@arcom1> <006c01c355aa$b3738700$6a01a8c0@arcom1> <006601c355b7$2a0fcac0$211302c4@mweb.com> Message-ID: Richard Mayhew writes: > Hi All, > > when sending out notification where the info text has a % in it ie Packet > Loss = 5% - RTA = 100.3ms it drops all data after the % so you end up with > Packet Loss = 5 > > any ideas how to get around this? I'm guessing you have preserved configs from an earlier install? This was a problem in the past, but AFAICT it is fixed in CVS and in the recent releases. You should have: /usr/bin/printf "%b" "***** Nagios 1.0 ** ..... As someone mentions, 'echo -n' will work for some systems, but it is not portable. -- Karl ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Tue Jul 29 17:51:58 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Tue, 29 Jul 2003 17:51:58 +0200 Subject: Loading Nagios-Page with whole frame set Message-ID: <3F26981E.50503@mobilcom.de> Hi, I'd like to open Nagios in an new Browser window which shows only a specified server but the whole frame set of Nagios, so the user can chnage to another View after checking the specified server. when I use http://monitoringhost/nagios/cgi-bin/status.cgi?host=server only the detailed view of the server without the fame set will be shown .... Any hints? Thanks and regards, Jens ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at lists.netways.de Tue Jul 29 17:57:27 2003 From: nagios-users at lists.netways.de (nagios-users) Date: Tue, 29 Jul 2003 17:57:27 +0200 Subject: Distributed Monitoring II Message-ID: <3626546DC152134382A0A029C29365C601397B@net-mail.int.netways.de> Hi all ! Just now I have upgraded my Nagios installation on both the master and the slave server to version number 1.1. I also installed the latest nsca version. Still I can monitor nagios procs starting to hang around. After a couple of minutes of ditributed monitoring I have already 60 procs And the performance info in nagios tells me the nagios process is no longer running ..... Status.log is no langer updated. This problem must be a bug, or what am I doning wrong. Both installations work as standalone very well. Output of an strace : emil:/home/nengel# strace -p 32756 write(5, "pdc-canon\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 504 Anybody ? Nik Engel ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBilder at netrixllc.com Tue Jul 29 18:04:12 2003 From: JBilder at netrixllc.com (Jeff Bilder) Date: Tue, 29 Jul 2003 11:04:12 -0500 Subject: Check_ifoperstatus / check_snmp_if Message-ID: I've run into a problem with these 2 plugins. Both have nagios owner permissions and can operate just fine having logged in as nagios and executing the commands. The problem is that when I plug the information into the services.cfg, the webpage reports (No Output!) next to both of those plugins. I am running FreeBSD 4.8 w/ nagios 1.1. Any insight would be much appreciated. Thanks! Jeffry Bilder System Engineer Netrix LLC jbilder at netrixllc.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Tue Jul 29 18:16:29 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Tue, 29 Jul 2003 13:16:29 -0300 Subject: check_oracle tip Message-ID: <20030729161629.20376.qmail@linuxmail.org> Lonny, I'm running it as user 'nagios'. When it runs with Nagios, the variable is exported by its user (nagios). But when I run it on the shell, like 'root', everything goes OK. []'s - Rivanor. ----- Original Message ----- From: "Lonny Selinger" Date: Fri, 25 Jul 2003 12:54:28 -0600 (CST) To: "Rivanor P. Soares" Subject: Re: [Nagios-users] check_oracle tip > > The error, from web interface: > > Cannot determine ORACLE_HOME for sid 10.21.200.7 > > > > When I try this check command typing in the shell (/usr/bin/env -i > > "ORACLE_HOME=/home/acesso/OraHome1" > > /usr/local/nagios/libexec/check_oracle --tns 10.21.200.7) the stdout > > is "OK - reply time 20 msec from 10.21.200.7". > > Who are you running the command as? My guess is you may have set the > env and SID as your current user as opposed to nagios (the UID ngios > runs as) > > Are you exporting ORACLE_HOME as a different user? > > -- > Lonny Selinger LPIC-1 -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Tue Jul 29 15:17:51 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Tue, 29 Jul 2003 15:17:51 +0200 Subject: status.cgi In-Reply-To: <5.2.1.1.0.20030729090030.01a1a6d0@mail.capband.net> References: <5.2.1.1.0.20030729090030.01a1a6d0@mail.capband.net> Message-ID: <3F2673FF.9010200@dhl.com> As the emphasis in Nagios is put on services, that's where it all starts. So if you have a functioning service on an unreachable server, then there is a problem in your setop, no? Rob Nelson wrote: > >> The "Service Problems" link in the left frame gives you just that... > > > But if you have a host where the host is unreachable but the service > is ok, then it doesn't show up there. Theoretically it shouldn't > happen, but I've got a config right now where this happens. I can post > screenies if you don't believe me :) > > > Rob Nelson > Network Administrator, Capitol Broadband > C: 919-369-1874 > rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Tue Jul 29 16:50:53 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Tue, 29 Jul 2003 09:50:53 -0500 Subject: simulate complete email In-Reply-To: <1059453685.1078.3.camel@miles.debisschop.net> References: <3F246333.5000901@iip.lu> <1059453685.1078.3.camel@miles.debisschop.net> Message-ID: <13047.2672557973$1059498317@news.gmane.org> I did something like this for a while. Had a cron job that sent an email to a specific test email address on our exchange server every five minutes. That test address was set to forward all mail to a test address on the Netsaint host. I had a sendmail alias setup for that address to run a passive service check submission. I think I then had a service that checked to ensure that the passive service triggered by receipt of the email didn't get stale. If the email hadn't succeeded in triggering the passive service check submission in 15 minutes, it went critical. This was because we were having issues with the SMTP portion of exchange locking up on the mailserver. Just my $0.02 worth. ;] Russell On Tue, Jul 29, 2003 at 12:41:25AM -0400, Karl DeBisschop wrote: > On Sun, 2003-07-27 at 19:41, J.M.Roth wrote: > > Hi there, > > I'd like to simulate a complete email to a "devnull" address. > > There doesn't seem to be a command to do it. > > I just wanna make sure that although the smtp service might be up the > > delivery could still fail after the DATA command, and in fact I'd like > > to check its return value. > > I was expecting to maybe use -e -s -e etc. in sequence with check_smtp > > but it doesn't seem to be the case. > > Any idea? > > Greets, > > -jm > > Not exactly what you asked for, but have you looked at > contrib/check_email_loop.pl? > > Doen't meet your spec, but might satisfy your goals. > > -- > Karl > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Tue Jul 29 15:33:51 2003 From: rob at capband.net (Rob Nelson) Date: Tue, 29 Jul 2003 09:33:51 -0400 Subject: status.cgi In-Reply-To: <3F2673FF.9010200@dhl.com> References: <5.2.1.1.0.20030729090030.01a1a6d0@mail.capband.net> <5.2.1.1.0.20030729090030.01a1a6d0@mail.capband.net> Message-ID: <5.2.1.1.0.20030729093051.019bad30@mail.capband.net> >As the emphasis in Nagios is put on services, that's where it all starts. >So if you have a functioning service on an unreachable server, then there >is a problem in your setop, no? Yes, the problem is a VPN that restricts the number of connections across it at the hardware level (new hardware that my cheapskate bosses finally approved is on backorder, go figure). The service check is done thru NRPE, but when that fails it tries to ping directly across the VPN for the check_host_alive function. I'm too lazy to fix it, as I have more important things to do like setting up the host_ and service_dependency strings on 200-some odd devices, so for the time being it's just a minor annoyance. But, it can happen. What I really don't like is that there's a button for "Check all services on this host immediately" but not "Check host availability immediately" or something similar. I'll deal, but IMO it's a valid criticism. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From toddm at toddles.com Tue Jul 29 19:12:31 2003 From: toddm at toddles.com (Todd McNeill) Date: Tue, 29 Jul 2003 10:12:31 -0700 Subject: State Retention Message-ID: I'm not sure why this happened, but for some reason, Nagios has stopped retaining state information on restart. I recently upgraded to 1.1 and have also been playing around with NagMin, so this may have some impact, but I'm stuck at this point and am looking for some insight. In my nagios.cfg file, I have the following set: retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav use_retained_program_state=1 The status.sav file gets created when I stop the service, but when I restart, all services are in PENDING state. I must be missing something, but I can't figure out what. If anyone can help me out with this, that would be great. Thanks, Todd ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Tue Jul 29 16:22:19 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Tue, 29 Jul 2003 15:22:19 +0100 Subject: Nrpe 2.0b5 Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D50DDC81@abe-s-039.europe.shell.com> Folks Small problem with nrep 2.0b5 with openssl 0.9.7b Configure does not pick up the ssl libs even if using ./configure --prefix=/local/nagios --enable-ssl --with-ssl-lib=/usr/local/openssl/lib --with-ssl-inc=/usr/local/openssl/include --enable-command-args Fix is to do the following # diff -e configure.orig configure 2015c for dir in $ssl_inc_dir /usr/local/openssl /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do . # Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mloftis at wgops.com Tue Jul 29 19:21:28 2003 From: mloftis at wgops.com (Michael Loftis) Date: Tue, 29 Jul 2003 11:21:28 -0600 Subject: Do escalations obey contact notification periods? Message-ID: <81123484.1059477688@[10.0.0.131]> Just wondering if notifications pushed out via the service/host/hostgroup escalations obey timeperiods set for a contact or not....Right now I'd like it not to because I want to use the escalation to notify *EVERYONE* in the group of a problem, without sending multiple copies to the person who happens to be on call by maintaining multiple contact definitions with the same pager/email. TIA! -- Michael Loftis Modwest Sr. Systems Administrator Powerful, Affordable Web Hosting ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sam.Johnson at htcinc.net Tue Jul 29 19:29:07 2003 From: Sam.Johnson at htcinc.net (Johnson, Sam) Date: Tue, 29 Jul 2003 13:29:07 -0400 Subject: Error: Could not open command file Message-ID: Why would I be getting the error message below? Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! Thanks, Sam Johnson HTC Disclaimer: The information contained in this message 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 have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raonit at trueaccess.com.br Tue Jul 29 19:34:30 2003 From: raonit at trueaccess.com.br (Raoni Timo de Castro) Date: Tue, 29 Jul 2003 14:34:30 -0300 Subject: Problem with statusmap Message-ID: <7130A2B11CF2284D98ACFA08FE0AFEDC08A3B1@newton.bsb.tba> Hi Nagios gurus, I installed a Red Hat 7.3 Linux box with the needed libraries (libdg, libjpeg, libpng...) and its sources. Then I updated all packages with Red Hat up2date tool. I compiled and installed Nagios 1.0 (and plugins-1.3-beta) with the default settings (user nagios, group nagios, base dir /usr/local/nagios, etc - didn't pass any arguments). The service and host checks, as well as the notifications, are just fine. My problem is the statusmap cgi. It shows up using the circular layout I configured as default and the colors (red or green) reflect the actual host status, but the location where the .gd2 image should appear is filled by an empty square. The pop-up information (read from the hosextinfo.cfg file) is OK, including a .gif icon. I'd a 8.0 version of Red Hat installed and Nagios 1.1 with the exactly same problem (and config files). Here goes an excerpt from my hostextinfo. define hostextinfo{ host_name nagios_server icon_image nagios.jpg icon_image_alt nagios.gif vrml_image nagios.png statusmap_image nagios.gd2 } Did anyone has the same problem? Please help me. Regards, Raoni Castro. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Tue Jul 29 19:39:27 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Tue, 29 Jul 2003 14:39:27 -0300 Subject: RES: Nagios and NAT Message-ID: Yes, i have 300 hosts in a Nat enviroment and a lot of SNMP services being monitored. []s Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Vik Evans [SMTP:vik.evans at cox.net] > Enviada em: s?bado, 26 de julho de 2003 13:49 > Para: Nagios-users > Assunto: [Nagios-users] Nagios and NAT > > I have run into situations before where some SNMP / Monitoring utility > does not work with with NAT. i.e. - you cannot define a nat'd subnet and > have the tool discover all devices by their nat'd IP address. > > What ends up happening is that the devices are discovered, however when > you begin managing by SNMP, the real IP addresses are discovered and you > begin seeing errors (red) on your maps or devices get removed from the > nat'd domain and put into containers based on their real IP addresses. > If all the monitoring is done to the nat'd IP's and you do not have > routing to the real IP's, you get errors. > > Does Nagios work in NAT environments and can it monitor interfaces, etc. > yet still base its polling on the NAT'd IP which you have routing to? > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/0 > 1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at alienn.net Tue Jul 29 19:12:36 2003 From: nagios-users at alienn.net (Nicki Messerschmidt, Linksystem Muenchen GmbH) Date: Tue, 29 Jul 2003 19:12:36 +0200 (CEST) Subject: service descriptions with hostgroup and not host In-Reply-To: <200307261401.04399.dwarner@ctinetworks.com> References: <200307261401.04399.dwarner@ctinetworks.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 26 Jul 2003, Douglas E. Warner wrote: > I'm a big fan of specifying a hostgroup_name in a service description, but > I've run into a situation where I need to do a service check for all hosts in > a hostgroup except one. I was wondering if there was any way to negate a > host in a group, perhaps something like: > host !evil.host > or > exclude_host evil.host > Does anything like this exist? I don't think so, but I would like something like this also, because then you could define a standard service like check-host-alive and a standard service dependecy like define servicedependency { host_name host service_description PING dependent_service_description *,!PING execution_failure_criteria n notification_failure_criteria w,u,c } If "!PING" is missing, then nagios complains about circular dependencies and you have to enter a dependency for every single service... *arg* Thanks and Cheers Nicki - -- Linksystem Muenchen GmbH info at link-m.de Schloerstrasse 10 http://www.link-m.de 80634 Muenchen Tel. 089 / 890 518-0 We make the Net work. Fax 089 / 890 518-77 PGP-Key: https://www.link-m.de/pgp/n.messerschmidt.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/Jqsa6zWc+bXuIEMRAoWyAKDSdE5R2b6iis1PZMrvquScXBmcPACfSPus 9/3XuBkF7plNVqkZEo4uaZY= =0aSq -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mloftis at wgops.com Tue Jul 29 19:42:00 2003 From: mloftis at wgops.com (Michael Loftis) Date: Tue, 29 Jul 2003 11:42:00 -0600 Subject: Do escalations obey contact notification periods? In-Reply-To: <81123484.1059477688@[10.0.0.131]> References: <81123484.1059477688@[10.0.0.131]> Message-ID: <82355609.1059478920@[10.0.0.131]> Nevermind answered my own question digging through code. Yes they do obey the contact's timeperiod. --On Tuesday, July 29, 2003 11:21 -0600 Michael Loftis wrote: > Just wondering if notifications pushed out via the service/host/hostgroup > escalations obey timeperiods set for a contact or not....Right now I'd > like it not to because I want to use the escalation to notify *EVERYONE* > in the group of a problem, without sending multiple copies to the person > who happens to be on call by maintaining multiple contact definitions > with the same pager/email. > > TIA! > > -- > Michael Loftis > Modwest Sr. Systems Administrator > Powerful, Affordable Web Hosting > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/ > 01 _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null -- Michael Loftis Modwest Sr. Systems Administrator Powerful, Affordable Web Hosting ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sam.Johnson at htcinc.net Tue Jul 29 19:43:30 2003 From: Sam.Johnson at htcinc.net (Johnson, Sam) Date: Tue, 29 Jul 2003 13:43:30 -0400 Subject: Error: Could not open command file Message-ID: Thanks Marc. I looked at the file permissions and noticed that my httpd users could not write to the file. Corrected the permissions, and now everyone is happy. Thanks again, Sam -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, July 29, 2003 1:41 PM To: Johnson, Sam; Nagios-Users at Lists. Sourceforge. Net (E-mail) Subject: RE: [Nagios-users] Error: Could not open command file If the file does not exist or if the permissions on the file or directories above it do not allow for writing by whatever user was attempting to write to it (I assume the user your httpd runs as). -- Marc Disclaimer: The information contained in this email may be privileged and confidential and may not be used for resolving the following issues: - World hunger - Nuclear disarmament - The Baldwin brothers > -----Original Message----- > From: Johnson, Sam [mailto:Sam.Johnson at htcinc.net] > Sent: Tuesday, July 29, 2003 12:29 PM > To: Nagios-Users at Lists. Sourceforge. Net (E-mail) > > Why would I be getting the error message below? > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' > for > update! > > Thanks, > > Sam Johnson > > > HTC Disclaimer: The information contained in this message 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 have received this > communication in error, please notify us immediately by replying to the > message and deleting it from your computer. Thank you. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null HTC Disclaimer: The information contained in this message 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 have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Jul 29 19:40:45 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 29 Jul 2003 12:40:45 -0500 Subject: Error: Could not open command file Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7D3F@mismail.ena.com> If the file does not exist or if the permissions on the file or directories above it do not allow for writing by whatever user was attempting to write to it (I assume the user your httpd runs as). -- Marc Disclaimer: The information contained in this email may be privileged and confidential and may not be used for resolving the following issues: - World hunger - Nuclear disarmament - The Baldwin brothers > -----Original Message----- > From: Johnson, Sam [mailto:Sam.Johnson at htcinc.net] > Sent: Tuesday, July 29, 2003 12:29 PM > To: Nagios-Users at Lists. Sourceforge. Net (E-mail) > > Why would I be getting the error message below? > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' > for > update! > > Thanks, > > Sam Johnson > > > HTC Disclaimer: The information contained in this message 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 have received this > communication in error, please notify us immediately by replying to the > message and deleting it from your computer. Thank you. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alex.Georgopoulos at UAP.com Tue Jul 29 16:22:49 2003 From: Alex.Georgopoulos at UAP.com (Georgopoulos, Alex (AP - IT)) Date: Tue, 29 Jul 2003 09:22:49 -0500 Subject: help Message-ID: check your apache logs and make sure it is able to read the file. I had the same problem and found tha the permisions on the .htaccess .htpasswd files were set wrong so apache was unable to read them. -----Original Message----- From: rahatpuri.singh at sgcib.com [mailto:rahatpuri.singh at sgcib.com] Sent: Tuesday, July 29, 2003 6:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help hi , when ever i am trying to login and try using monitoring utility i get this error message , i am giving the right username and password . i want to know in which config file i have to editr Authentication required! This server could not verify that you are authorized to access the URL "/nagios/sbin/status.cgi". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. In case you are allowed to request the document, please check your user-id and password and try again. If you think this is a server error, please contact the webmaster Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Douglas.Ohlhorst at noaa.gov Tue Jul 29 22:07:27 2003 From: Douglas.Ohlhorst at noaa.gov (Douglas Ohlhorst) Date: Tue, 29 Jul 2003 20:07:27 +0000 Subject: Monitoring NFS Mounts Message-ID: <3F26D3FF.1050408@noaa.gov> Hello, I am curius if anybody out there is monitoring NFS mounts in Nagios? I am currently looking to monitor if an NFS mount goes stale. Is anybody aware of a plug-in out there that is able to do this? Thank you in advance. -= Douglas Ohlhorst ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Mon Jul 28 21:21:54 2003 From: richard at splash.co.za (Richard Mayhew) Date: Mon, 28 Jul 2003 21:21:54 +0200 Subject: Plugins References: <00b201c351aa$81feb770$6a01a8c0@arcom1> <3F1F7E24.6070202@dhl.com> <00fd01c351bc$b5837a60$6a01a8c0@arcom1> <006c01c355aa$b3738700$6a01a8c0@arcom1> <006601c355b7$2a0fcac0$211302c4@mweb.com> Message-ID: <000e01c3553d$8304c600$0a00a8c0@splash> Hi, yeah I migrated from netsaint to nagios etc etc.. Ill give this option a bash... thanks ----- Original Message ----- From: "Karl DeBisschop" To: "Richard Mayhew" Cc: Sent: Tuesday, July 29, 2003 4:32 PM Subject: Re: Plugins > Richard Mayhew writes: > > > Hi All, > > > > when sending out notification where the info text has a % in it ie Packet > > Loss = 5% - RTA = 100.3ms it drops all data after the % so you end up with > > Packet Loss = 5 > > > > any ideas how to get around this? > > I'm guessing you have preserved configs from an earlier install? > > This was a problem in the past, but AFAICT it is fixed in CVS and in the > recent releases. > > You should have: > > /usr/bin/printf "%b" "***** Nagios 1.0 ** ..... > > As someone mentions, 'echo -n' will work for some systems, but it is not > portable. > > -- > Karl > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarquart at planalytics.com Tue Jul 29 22:23:38 2003 From: jmarquart at planalytics.com (jmarquart at planalytics.com) Date: Tue, 29 Jul 2003 16:23:38 -0400 Subject: Missing Notifications Message-ID: <85256D72.00700738.00@mailhost.planalytics.com> I have the same problem every once in a while - if i run in daemon mode - sometimes it will just stop sending notifications. The notifications are noted in the nagios log - but the mail system never records recieving them. What I have done if/when this happens - is restart the nagios process using at - and run it w/out the -d switch. this has "recovered" the loss of notifications for me. I am on 1.0 -j "Richard Mayhew" on 07/28/2003 04:05:48 AM Please respond to "Richard Mayhew" To: nagios-users at lists.sourceforge.net cc: (bcc: John J. der Schalla Marquart/Planalytics) Subject: Re: [Nagios-users] Missing Notifications Ethan? Any idea how we can solve this? Should I revert back to Nagios 1.0 in the mean time? Thanks ----- Original Message ----- From: "Hegedus, Ervin" To: "Richard Mayhew" Cc: Sent: Monday, July 28, 2003 8:28 AM Subject: Re: [Nagios-users] Missing Notifications > hi, > > > I have been watching Nagios for some time now. It seems to be loosing > > the critical notifications. I am running Version 1.1 with the latest > > version of plugins. Its running RedHat 7.3 with all the latest patches. > > > > What happens is say a service HTTP turns critical, no notifications are > > sent. This does not happen everytime but most of the time. When the > > service returns to an OK state, a notification is sent. I have checked > > the configs and I do have the correct notification options. It seems it > > looses some of the critical/warning notifications but not the recovery > > notifications. > > > > Has anyone else had this problem? > > yes, i have also this problem, and when i posted my problem to > this list, Klisowski Rafa wrote, he has also same problem... > > (we posted our mails at 25th of july) > > but nobody has solution... :( > > > bye: > air > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jul 29 22:22:45 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 29 Jul 2003 20:22:45 -0000 (GMT) Subject: Monitoring NFS Mounts In-Reply-To: <3F26D3FF.1050408@noaa.gov> References: <3F26D3FF.1050408@noaa.gov> Message-ID: <2267.134.244.169.17.1059510165.squirrel@webmail.stinkweasel.net> > Hello, > I am curius if anybody out there is monitoring NFS mounts in Nagios? I am > currently looking to monitor if an NFS mount goes stale. Is anybody aware > of a > plug-in out there that is able to do this? Thank you in advance. Hello Douglas, I check automounts (basically the same thing as you want to do) via check_by_ssh. I set up a test to use check_by_ssh to basically cat a file in the nagios user's home directory (which is automounted on one of our networks). This file simply has the string "Automount OK" in it. If the test is successful, "Automount OK" is displayed. If it isn't, it'll show the error that check_by_ssh returns. Benny -- "Corpsman: Usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Maj. Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Tue Jul 29 19:19:32 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Tue, 29 Jul 2003 14:19:32 -0300 Subject: Bad States in Web Interface (Alert History) Message-ID: <20030729171933.29452.qmail@linuxmail.org> Is there any way to view only the alerts from "bad states", like CRITICAL, WARNING, DOWN, UNREACHEABLE, UNKNOW, when I'm checking the Alert History (web interface)? Or better, is there any way to don't logging "good states" in nagios.log and /var/log/messages? Thanks, Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irenes at wolfram.com Tue Jul 29 22:57:44 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Tue, 29 Jul 2003 15:57:44 -0500 (CDT) Subject: Monitoring NFS Mounts In-Reply-To: <3F26D3FF.1050408@noaa.gov> References: <3F26D3FF.1050408@noaa.gov> Message-ID: I do monitor quite a few nfs mounts. However, I'm a bit new at this, so whether I'm actually checking to for freshness, I don't know. To monitor nfs I use check_rpc in the services.cfg file. The command is defined as # 'check_rpc' command definition define command{ command_name check_rpc command_line /usr/local/nagios/libexec/check_rpc -H $HOSTADDRESS$ -C nfs } We're happy with it! -irene On Tue, 29 Jul 2003, Douglas Ohlhorst wrote: > Hello, > I am curius if anybody out there is monitoring NFS mounts in Nagios? I am > currently looking to monitor if an NFS mount goes stale. Is anybody aware of a > plug-in out there that is able to do this? Thank you in advance. > > -= Douglas Ohlhorst > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jul 29 23:05:14 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 29 Jul 2003 21:05:14 -0000 (GMT) Subject: Monitoring NFS Mounts In-Reply-To: References: <3F26D3FF.1050408@noaa.gov> Message-ID: <2599.134.244.169.17.1059512714.squirrel@webmail.stinkweasel.net> > I do monitor quite a few nfs mounts. However, I'm a bit new at this, so > whether I'm actually checking to for freshness, I don't know. To monitor > nfs I use check_rpc in the services.cfg file. The command is defined as > > # 'check_rpc' command definition > define command{ > command_name check_rpc > command_line /usr/local/nagios/libexec/check_rpc -H > $HOSTADDRESS$ -C nfs Hello Irene, I believe this test will tell you if NFS is no longer availible via portmapper, but I don't think it's going to tell you if an NFS-mounted remote filesystem has become availible. Benny -- "Corpsman: Usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Maj. Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irenes at wolfram.com Wed Jul 30 00:35:28 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Tue, 29 Jul 2003 17:35:28 -0500 (CDT) Subject: Monitoring NFS Mounts In-Reply-To: <2599.134.244.169.17.1059512714.squirrel@webmail.stinkweasel.net> References: <2599.134.244.169.17.1059512714.squirrel@webmail.stinkweasel.net> Message-ID: Yeah, I read some more after I sent the message. Thanks for the info! -Irene On Tue, 29 Jul 2003, C. Bensend wrote: > > > I do monitor quite a few nfs mounts. However, I'm a bit new at this, so > > whether I'm actually checking to for freshness, I don't know. To monitor > > nfs I use check_rpc in the services.cfg file. The command is defined as > > > > # 'check_rpc' command definition > > define command{ > > command_name check_rpc > > command_line /usr/local/nagios/libexec/check_rpc -H > > $HOSTADDRESS$ -C nfs > > Hello Irene, > > I believe this test will tell you if NFS is no longer availible via > portmapper, but I don't think it's going to tell you if an NFS-mounted > remote filesystem has become availible. > > Benny > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohammad at cerberian.com Wed Jul 30 01:00:20 2003 From: mohammad at cerberian.com (Mohammad Ghaeini) Date: Tue, 29 Jul 2003 16:00:20 -0700 Subject: Converting to distributed monitoring Message-ID: <3F26FC84.30701@cerberian.com> I have just setup distributed monituring and converted my services to use passive-service template, as follows: define service{ use passive-service host_name sp.eu service_description CS is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 contact_groups on-call notification_interval 0 notification_period 24x7 notification_options w,u,c,r check_command check_cs } where passive-service template look like this: define service{ name passive-service active_checks_enabled 0 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 } I then restarted the nagios process. Now, this works only if I go to the Service Commands page and Disable checks of this service. Is this the way it should be? Thanks, -Mohammad ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at powered.net Wed Jul 30 02:13:56 2003 From: sourceforge at powered.net (Rainer) Date: Tue, 29 Jul 2003 21:13:56 -0300 Subject: ok => warn => crit => warn => crit (notifications) Message-ID: <6.0.0.14.2.20030729210414.00b8f100@pop1.mail.com> Nagios keeps resending notifications when a service goes in this state sequence: ok => warn => crit => warn => crit It sends 1 notification in the first critical state, and then another notification on the second critical notification. Real world example: Ping time in one host goes from: 15 ms (ok) => 100 ms (warning) => 300 ms (critical) here it sends one notification, so far so good then 300 ms (critical) => 150 ms (warning) => 300 ms (critical) it sends ANOTHER notification. How can I avoid this? I know what state flapping is, but state flapping is a different concept (ok => critical => ok). PS: the service notification_options is c,r Rainer ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at powered.net Wed Jul 30 02:24:09 2003 From: sourceforge at powered.net (Rainer) Date: Tue, 29 Jul 2003 21:24:09 -0300 Subject: Suggestions for new macro additions Message-ID: <6.0.0.14.2.20030729211406.00b97750@pop1.mail.com> Suggestions for new macro additions: $LASTOKSTATE$ Timestamp in time_t format indicating the last time a given host/service was in a OK state. (please note this is different from $LASTSTATECHANGE$) $LASTOUTPUT$ The PREVIOUS (last) output from a service or host check. Rainer ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From jyao at aav.com.au Wed Jul 30 02:13:11 2003 From: jyao at aav.com.au (Yao, Jack) Date: Wed, 30 Jul 2003 10:13:11 +1000 Subject: Install sql 2000 plugin Message-ID: Hi there , I have downloaded this check_mssql.sh plugin. But I am new to Nagios still, thought I have configured it to work. I still don't know how can I install the new plugin to the existing nagios. Is there any document I can read about this or anyone can give me advice of how can I install new plugin ? Ta J ----Original Message----- From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] Sent: Tuesday, 29 July 2003 9:43 PM To: Cal Evans; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SQL 2000 check http://sourceforge.net/tracker/?func=browse&group_id=29880&atid=541465 and pick your favourite. mine's in perl (http://sourceforge.net/tracker/index.php?func=detail&aid=738128&group_id=29 880&atid=541465) roy On Monday 28 July 2003 23:42, Cal Evans wrote: > >http://sourceforge.net/tracker/index.php?func=detail&aid=774200&group_id=29 >880&atid=541465 * > * Cal Evans > * http://www.christianperformer.com > * Stay plugged in to your audience! > * > > Sanderson, Andrew said: > > Is there a plug-in available for monitoring SQL 2000 database > > servers? > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_ > 01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk > being > ::: sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jyao at aav.com.au Wed Jul 30 02:18:27 2003 From: jyao at aav.com.au (Yao, Jack) Date: Wed, 30 Jul 2003 10:18:27 +1000 Subject: install sql 2000 plugin Message-ID: Hi there , I have downloaded this check_mssql.sh plugin and check_mssql [in perl version]. But I am new to Nagios still, thought I have configured it to work. I still don't know how can I install the new plugin to the existing nagios. Is there any document I can read about this or anyone can give me advice of how can I install new plugin ? Ta J -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at insynclh.com Wed Jul 30 02:42:30 2003 From: mark at insynclh.com (Mark D. Valpreda) Date: Tue, 29 Jul 2003 17:42:30 -0700 Subject: Problem with check_ntp Message-ID: Have Nagios 1.0 running on two different machines. One running RedHat 7.3 and one running Solaris 5.8. They are both monitoring the same services on the same servers. One just happens to be at our office, and one is at the client. The RedHat box can do NTP checks no problem, but the Solaris box gets this: "NTP UNKNOWN: Jitter too high" This is only on 3 boxes, there are 6 other boxes that it checks just fine. The check command is stock: # 'check_ntp' command definition define command{ command_name check_ntp command_line $USER1$/check_ntp -H $HOSTADDRESS$ } Suggestions? I have searched newsgroups and google to no avail. Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thorsten at oneroot.de Sun Jul 27 14:33:43 2003 From: thorsten at oneroot.de (Thorsten Giese) Date: Sun, 27 Jul 2003 14:33:43 +0200 Subject: nagios, timet, nrpe ... apan, rrdtool Message-ID: <200307271433.43813@tg> Hello there. I have set up nagios to check nrpe throuh apan, with a very little extension. In the /etc/nagios/checkcommands.cfg apan takes the as the forth argument the macro $TIMET$. This should be the seconds since 1970 and something ;). But, as you can see, the same amount of seconds is passed several times at different timestamps. Is this a problem with the macro or did I make something completly wrong? Below is a snippet of the /tmp/apan.debug messages, showing the timet problem. Sun Jul 27 14:14:14 CEST 2003 Args: nrpe-disk-sda1 gandalf.rz-zw.fh-kl.de NRPE_check-disk_sda1_root 1059308054 80 95 Inserting 'USAGE' , '1059308054:89' into /usr/local/nagios/rrd/gandalf_sda1.rrd Sun Jul 27 14:18:26 CEST 2003 Args: nrpe-disk-sda5 gandalf.rz-zw.fh-kl.de NRPE_check-disk_sda5_var 1059308306 80 85 Inserting 'USAGE' , '1059308306:7' into /usr/local/nagios/rrd/gandalf_sda5.rrd Sun Jul 27 14:19:14 CEST 2003 Args: nrpe-disk-sda1 gandalf.rz-zw.fh-kl.de NRPE_check-disk_sda1_root 1059308354 80 95 Inserting 'USAGE' , '1059308354:89' into /usr/local/nagios/rrd/gandalf_sda1.rrd Sun Jul 27 14:23:26 CEST 2003 Args: nrpe-disk-sda5 gandalf.rz-zw.fh-kl.de NRPE_check-disk_sda5_var 1059308606 80 85 Inserting 'USAGE' , '1059308606:7' into /usr/local/nagios/rrd/gandalf_sda5.rrd Sun Jul 27 14:24:14 CEST 2003 Args: nrpe-disk-sda1 gandalf.rz-zw.fh-kl.de NRPE_check-disk_sda1_root 1059308654 80 95 -- Thorsten Giese ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jyao at aav.com.au Wed Jul 30 04:45:18 2003 From: jyao at aav.com.au (Yao, Jack) Date: Wed, 30 Jul 2003 12:45:18 +1000 Subject: SQL 2000 Message-ID: Hi there , I'm using Redhat 8.0 on Nagios. I've downloand both the bash version and the perl version for SQL 2000 plugin. After I put it in libexec folder , and I tried to run the perl version, it complained about cannot locate DBD/Sysbase.pm in @inc ..... Is there anything else do I have to do install this plugin [the perl version] to make it work ?? Apart from put it in libexec. And what about bash version ? How do I add this new plugin to my Nagios ? jack -----Original Message----- From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] Sent: Tuesday, 29 July 2003 9:43 PM To: Cal Evans; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SQL 2000 check http://sourceforge.net/tracker/?func=browse&group_id=29880&atid=541465 and pick your favourite. mine's in perl (http://sourceforge.net/tracker/index.php?func=detail&aid=738128&group_id=29 880&atid=541465) roy On Monday 28 July 2003 23:42, Cal Evans wrote: > >http://sourceforge.net/tracker/index.php?func=detail&aid=774200&group_id=29 >880&atid=541465 * > * Cal Evans > * http://www.christianperformer.com > * Stay plugged in to your audience! > * > > Sanderson, Andrew said: > > Is there a plug-in available for monitoring SQL 2000 database > > servers? > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_ > 01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk > being > ::: sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zulhilmi at fibrecomm.net.my Wed Jul 30 06:33:36 2003 From: zulhilmi at fibrecomm.net.my (Syed Zulhilmi Tuan Sharif) Date: Wed, 30 Jul 2003 12:33:36 +0800 Subject: install and compile more than one times Message-ID: What is the effect if we Install and Compile Nagios more than one times...can it cause anything such as conflict and other things. [ Nagios1.1 running on Red Hat 9.0 ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From rahatpuri.singh at sgcib.com Wed Jul 30 08:52:43 2003 From: rahatpuri.singh at sgcib.com (rahatpuri.singh at sgcib.com) Date: Wed, 30 Jul 2003 12:22:43 +0530 Subject: help Message-ID: In httpd logs ie access.log file the following are the entries, the installaton doc says to create a nagiosadmin user and password using the following command htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin , do i have to create this user being on the root or su to nagios user - - [30/Jul/2003:12:09:50 +051800] "GET /nagios/sbin/status.cgi?hostgroup=all&style=grid HTTP/1.1" 404 117 IPADDRESS - - [30/Jul/2003:12:15:24 +051800] "GET /nagios/sbin/status.cgi?host=all HTTP/1.1" 404 1196 "http://hostn. ame/side.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" - nagiosadmin [30/Jul/2003:12:17:01 +051800] "GET /nagios HTTP/1.1" 301 308 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" - - [30/Jul/2003:12:17:01 +051800] "GET /nagios/ HTTP/1.1" 403 1055 "-" "Mozilla/4.0 (compatible; MSIE 5.5 ; Windows NT 4.0) Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Marc Powell" | | | | | | | | | 07/29/03 07:40 PM| | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | >--------------------------------------------------------------------------------------------------------------| The error you are receiving is a response from your web server indicating that the username and password you are supplying are incorrect. If you are absolutely certain that the username and password you are using match what is in /usr/local/nagios/etc/htpasswd.user then your web server may not be able to read the htpasswd.users file or it may be corrupt. Was that file generated with the htpasswd command? Your httpd error log might have some useful information. It could also be that your web server is not set up properly to process htaccess although I suspect that if you are being prompted for a username and password that it is. I would review any documentation for your web server that applies to configuring htaccess with it. -- Marc > -----Original Message----- > From: rahatpuri.singh at sgcib.com [mailto:rahatpuri.singh at sgcib.com] > Sent: Tuesday, July 29, 2003 7:46 AM > To: Marc Powell > > > hi > > > the following entries are there in the /usr/local/nagios/sbin/.htaccess > and /usr/local/nagios/etc/.htaccess > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > > Regards > R.Shailendra Singh > TEL:(080) 8095142 > > > > > |---------+----------------------------> > | | "Marc Powell" | > | | | > | | | > | | 07/29/03 05:46 PM| > | | | > |---------+----------------------------> > >----------------------------------------------------------------------- > ---------------------------------------| > | > | > | To: Rahatpuri SINGH/ia/socgen at socgen, users at lists.sourceforge.net> | > | cc: > | > | Subject: Re: [Nagios-users] help > | > >----------------------------------------------------------------------- > ---------------------------------------| > > > > > The .htaccess file in that directory and the htpasswd file it references. > Its not a nagios error. > > > -- > Marc > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > > -----Original Message----- > From: rahatpuri.singh at sgcib.com > To: nagios-users at lists.sourceforge.net users at lists.sourceforge.net> > Sent: Tue Jul 29 07:10:25 2003 > Subject: [Nagios-users] help > > > > hi , > > when ever i am trying to login and try using monitoring utility i > get this error message , i am giving the right username and password > . i want to know in which config file > i have to editr > > > > > > Authentication required! > This server could not verify that you are authorized to access the > URL "/nagios/sbin/status.cgi". You either supplied the wrong > credentials (e.g., bad password), or your browser doesn't understand > how to supply the credentials required. > In case you are allowed to request the document, please check your > user-id and password and try again. > If you think this is a server error, please contact the webmaster > Error 401 > > > > Regards > R.Shailendra Singh > TEL:(080) 8095142 > > > > > > > ***************************************************************** > The addressee's email address has changed to > firstname.lastname@ sgcib.com. You may want to update your > personal address book. Please see http://www.sgcib.com for more > information. > > This message and any attachments (the "message") are confidential > and intended solely for the addressee(s). Any unauthorised use or > dissemination is prohibited.E-mails are susceptible to alteration. > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > shall be liable for the message if altered, changed or falsified. > ***************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ***************************************************************** > The addressee's email address has changed to > firstname.lastname@ sgcib.com. You may want to update your > personal address book. Please see http://www.sgcib.com for more > information. > > This message and any attachments (the "message") are confidential > and intended solely for the addressee(s). Any unauthorised use or > dissemination is prohibited.E-mails are susceptible to alteration. > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > shall be liable for the message if altered, changed or falsified. > ***************************************************************** ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Wed Jul 30 09:43:19 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 30 Jul 2003 08:43:19 +0100 Subject: check_oracle tip Message-ID: check_oracle tries to get the oracle home from the oratab (/etc/oratab or /var/opt/oracle/oratab), based on the SID specified. You can also add a * entry into the oratab and it will then use the ORACLE_HOME specified there. Some people amend the check_oracle script to include the oracle environment stuff. I wouldn't recommend that because an upgrade of check_oracle will overwrite this and it seems that Oracle want you to use . oratab to source your site specific stuff anyway. Ton > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: Tuesday, July 29, 2003 10:02 PM > To: Lonny Selinger > Cc: Rivanor P. Soares; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_oracle tip > > > Another thing to note, when an app runs as a user it doesn't inherit > its path and environment (no shell, no inheritance). You may also have > to include the export somewhere else (like in the script prior to > running it) > > -- > Lonny > > > One thing you might try is verify that nagios actually is doing the > > export properly. Just su to nagios and echo $ORACLE_HOME and $PATH. > > Also make sure that tnsping is executable by nagios ... just try a > > manual tnsping from the command line as nagios. > > > > Let me know if any of this helps, > > > > -- > > Lonny > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at lists.netways.de Wed Jul 30 09:50:33 2003 From: nagios-users at lists.netways.de (nagios-users) Date: Wed, 30 Jul 2003 09:50:33 +0200 Subject: AW: Distributed Monitoring II Message-ID: <3626546DC152134382A0A029C29365C6117F10@net-mail.int.netways.de> >Hi all ! >Just now I have upgraded my Nagios installation on both the >master and the slave server to version number 1.1. I also >installed the latest nsca version. >Still I can monitor nagios procs starting to hang around. >After a couple of minutes of ditributed monitoring I have >already 60 procs And the performance info in nagios tells me >the nagios process is no longer running ..... Status.log is no >langer updated. This problem must be a bug, or what am I doning wrong. >Both installations work as standalone very well. > >Output of an strace : >emil:/home/nengel# strace -p 32756 >write(5, "pdc-canon\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., >504 > >Anybody ? Ok, maybe someone can describe hist setup for distributed monitoring, Maybe i made a logical mistake. .... ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Wed Jul 30 11:08:12 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 30 Jul 2003 10:08:12 +0100 Subject: Suggestions for new macro additions Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513832@jessica.herefordshire.gov.uk> And for completeness add $LASTWARNSTATE$, $LASTCRITICALSTATE$ $LASTOKOUTPUT$, $LASTWARNOUTPUT$, $LASTCRITICALOUTPUT$ The latter three could be very useful. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Rainer [mailto:sourceforge at powered.net] > Sent: 30 July 2003 01:24 > To: nagios-users at lists.sourceforge.net > Cc: nagios-devel at lists.sourceforge.net > Subject: [Nagios-devel] Suggestions for new macro additions > > > Suggestions for new macro additions: > > $LASTOKSTATE$ > Timestamp in time_t format indicating the last time a given > host/service > was in a OK state. > (please note this is different from $LASTSTATECHANGE$) > > $LASTOUTPUT$ > The PREVIOUS (last) output from a service or host check. > > Rainer > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From rahatpuri.singh at sgcib.com Wed Jul 30 11:11:48 2003 From: rahatpuri.singh at sgcib.com (rahatpuri.singh at sgcib.com) Date: Wed, 30 Jul 2003 14:41:48 +0530 Subject: Authentication error : help Message-ID: hi , when ever i am trying to see graphics or any other thing , using internet explorer i am getting the following error . 2) i want to know when you give htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin do we give it from root and su to nagios Authentication required! This server could not verify that you are authorized to access the URL "/nagios/sbin/status.cgi". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. In case you are allowed to request the document, please check your user-id and password and try again. If you think this is a server error, please contact the webmaster Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From idavidso at juniper.net Wed Jul 30 12:36:29 2003 From: idavidso at juniper.net (Ian Davidson) Date: Wed, 30 Jul 2003 11:36:29 +0100 Subject: Monitoring nagios checks Message-ID: Hi, How can I see all of the work nagios is performing on a check-by-check basis? I find, unless I'm doing something wrong, that the syslog files just show when either a service/host alert is generated or (in a distributed environment) when a external command check is performed. How do I get mor detailed info out of this? Cheers, Ian -- Ian Davidson IT Networking EMEA Tel: +44-1372-385653 GSM: +44-7952-173703 Internal: 35653 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gisccs at nus.edu.sg Wed Jul 30 13:50:59 2003 From: gisccs at nus.edu.sg (Chan Chee Seng) Date: Wed, 30 Jul 2003 19:50:59 +0800 Subject: Apan display graphs with no data Message-ID: Greetings, I have configured apan with nagios to graph server load and disk usage. However the graphs for Server load contains no data, that is, a flat line. The server name is mon My apan.cfg looks like this: mon;Server-load;/usr/local/nagios/rrd/mon_server_load.rrd;CPULOAD|SWAPUS E;CPU-Load:LINE2 SWAP-Used:LINE2;Used resources;load/%; The apan.debug contains this: Wed Jul 30 19:37:55 SGT 2003 Args: load mon Server-load 1059565075 70 90 Inserting 'CPU-Load:SWAP-Used' , '1059565075::' into /usr/local/nagios/rrd/mon_server_load.rrd The apancgi.debug contains this: /usr/local/rrdtool/bin/rrdtool graph - -s -31557600 -a PNG -v load/% DEF:var0=/usr/local/nagios/rrd/mon_server_load.rrd:CPU-Load:AVERAGE LINE2:var0#ff0000:CPU-Load: DEF:var1=/usr/local/nagios/rrd/mon_server_load.rrd:SWAP-Used:AVERAGE LINE2:var1#00ff00:SWAP-Used: Please let me know if any additional information is needed. Thanks for any help rendered. Regards, Chan Chee Seng gisccs at nus.edu.sg -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Wed Jul 30 13:44:58 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 30 Jul 2003 12:44:58 +0100 Subject: Default value for use_agressive_host_checking (bug-like propertie s) Message-ID: Hi! Wanted to see what other people thought about this because it looked like a bug to me until I found the use_agressive_host_checking parameter. I found a situation where a host uses only NRPE to do its service checks. NRPE is stopped as part of a reboot, so all services are marked as CRITICAL and the host is DOWN. When the host boots up, NRPE fails to restart. However, the host is always considered as DOWN, even though pings do work, because the host check is not run unless use_agressive_host_checking is set to 1. I understand there are performance improvements by settign this to 0, but Nagios appears to be reporting wrong information and that is bad publicity. Do people think it is a good idea for the default of use_agressive_host_checking to be 1? Ton This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cowbud at web.de Wed Jul 30 14:10:09 2003 From: cowbud at web.de (Scott Zawalski) Date: Wed, 30 Jul 2003 14:10:09 +0200 Subject: Nagios error when started as a daemon Message-ID: <200307301210.h6UCA9Q16867@mailgate5.cinetic.de> When I start nagios in "daemon mode" using the init script provided I get the following error: schluffi:/tmp # /etc/init.d/nagios start Starting network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock No where in my configuration is there a pointer to /usr/local/nagios/var/nagios.lock and yet nagios still insists on pointing there. The program does however start, but for whatever reason through the web interface I get the warning that it may not be running. Also when I start nagios on the command-line without the daemon option it starts fine and seems to be running, but the web-interface still says nagios is not running. Any help is greatly appreciate. Scott ______________________________________________________________________________ ComputerBild (15-03) empfiehlt: Der beste Spam-Schutz ist bei WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021124 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From idavidso at juniper.net Wed Jul 30 14:20:01 2003 From: idavidso at juniper.net (Ian Davidson) Date: Wed, 30 Jul 2003 13:20:01 +0100 Subject: Monitoring nagios checks Message-ID: More info, on this, I'm trying to workout why HOST ALERTS are generated by a distributed server but are not getting sent to the central server. Only when a HOST DOWN event occurs does nsca send an update to the Central server; but even then, the Central server runs it's own checks AGAIN on the host to determine whether it's down or not. I'd have though that if a local distributed server says a particular host is DOWN, the Central server ought to be able to take that as gospel and send a notification out immediately rather than doing it's own checks too. Ideas? Ian > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Ian Davidson > Sent: 30 July 2003 11:36 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring nagios checks > > > Hi, > > How can I see all of the work nagios is performing on a > check-by-check basis? I find, unless I'm doing something > wrong, that the syslog files just show when either a > service/host alert is generated or (in a distributed > environment) when a external command check is performed. > > How do I get mor detailed info out of this? > > Cheers, > > Ian > > > -- > Ian Davidson > IT Networking EMEA > Tel: +44-1372-385653 > GSM: +44-7952-173703 > Internal: 35653 > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rahatpuri.singh at sgcib.com Wed Jul 30 14:44:36 2003 From: rahatpuri.singh at sgcib.com (rahatpuri.singh at sgcib.com) Date: Wed, 30 Jul 2003 18:14:36 +0530 Subject: help Message-ID: hi , thankyou for you response , i have checked all the cfg files and it looks that all the entries are correct. but still i am not able to view nagios graphics ie ( http://hostname/nagios) the page opens and if i click any links in the Monitoring panel , it asks for authentication ie i think you have to give user as nagiosadmin and password XXXXXX . but i get the following error Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Ian Davidson" | | | | | | | | | 07/30/03 05:58 PM| | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | >--------------------------------------------------------------------------------------------------------------| This isn't a real-user on your system, just a username/passwd combination to access the cgi scripts on the Nagios web-pages. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of rahatpuri.singh at sgcib.com > Sent: 30 July 2003 07:53 > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] help > > > > > > In httpd logs ie access.log file the following are the entries, > the installaton doc says to create a nagiosadmin user and > password using the following command > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin > , do i have > to create this user being on the root or su to nagios user > > > > > - - [30/Jul/2003:12:09:50 +051800] "GET > /nagios/sbin/status.cgi?hostgroup=all&style=grid HTTP/1.1" 404 117 > > IPADDRESS - - [30/Jul/2003:12:15:24 +051800] "GET > /nagios/sbin/status.cgi?host=all HTTP/1.1" 404 1196 > "http://hostn. ame/side.html" "Mozilla/4.0 (compatible; MSIE > 5.5; Windows NT 4.0)" > - nagiosadmin [30/Jul/2003:12:17:01 +051800] "GET /nagios > HTTP/1.1" 301 308 "-" "Mozilla/4.0 (compatible; MSIE 5.5; > Windows NT 4.0)" > - - [30/Jul/2003:12:17:01 +051800] "GET /nagios/ HTTP/1.1" > 403 1055 "-" "Mozilla/4.0 (compatible; MSIE 5.5 ; Windows NT 4.0) > > Regards > R.Shailendra Singh > TEL:(080) 8095142 > > > > > |---------+----------------------------> > | | "Marc Powell" | > | | | > | | | > | | 07/29/03 07:40 PM| > | | | > |---------+----------------------------> > > >------------------------------------------------------------- > -------------------------------------------------| > | > | > | To: Rahatpuri SINGH/ia/socgen at socgen > | > | cc: > | > | Subject: RE: [Nagios-users] help > | > > >------------------------------------------------------------- > -------------------------------------------------| > > > > > The error you are receiving is a response from your web > server indicating that the username and password you are > supplying are incorrect. If you are absolutely certain that > the username and password you are using match what is in > /usr/local/nagios/etc/htpasswd.user then your web server may > not be able to read the htpasswd.users file or it may be > corrupt. Was that file generated with the htpasswd command? > Your httpd error log might have some useful information. It > could also be that your web server is not set up properly to > process htaccess although I suspect that if you are being > prompted for a username and password that it is. I would > review any documentation for your web server that applies to > configuring htaccess with it. > > -- > Marc > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com [mailto:rahatpuri.singh at sgcib.com] > > Sent: Tuesday, July 29, 2003 7:46 AM > > To: Marc Powell > > > > > > hi > > > > > > the following entries are there in the > /usr/local/nagios/sbin/.htaccess > > and /usr/local/nagios/etc/.htaccess > > > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > |---------+----------------------------> > > | | "Marc Powell" | > > | | | > > | | | > > | | 07/29/03 05:46 PM| > > | | | > > |---------+----------------------------> > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > | > > | > > | To: Rahatpuri SINGH/ia/socgen at socgen, > users at lists.sourceforge.net> | > > | cc: > > | > > | Subject: Re: [Nagios-users] help > > | > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > > > > > > > > > The .htaccess file in that directory and the htpasswd file it > references. > > Its not a nagios error. > > > > > > -- > > Marc > > > > Sent from a very tiny wireless device with a very tiny > unlit keyboard. > > > > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com > > To: nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > Sent: Tue Jul 29 07:10:25 2003 > > Subject: [Nagios-users] help > > > > > > > > hi , > > > > when ever i am trying to login and try using > monitoring utility > i > > get this error message , i am giving the right username and > password > > . i want to know in which config file > > i have to editr > > > > > > > > > > > > Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 > > > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > > ***************************************************************** > The addressee's email address has changed to > firstname.lastname@ sgcib.com. You may want to update your > personal address book. Please see http://www.sgcib.com for > more information. > > This message and any attachments (the "message") are > confidential and intended solely for the addressee(s). Any > unauthorised use or dissemination is prohibited.E-mails are > susceptible to alteration. Neither SOCIETE GENERALE nor any > of its subsidiaries or affiliates shall be liable for the > message if altered, changed or falsified. > ***************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phasenjager at fzacpa.com Wed Jul 30 15:32:01 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Wed, 30 Jul 2003 08:32:01 -0500 Subject: help Message-ID: I had the same problem. You need to set the group owner on your password file to the group for apache. (In my case, I did a "chown apache htpasswd.users"). Restart nagios and apache and your set. Pat. >>> 07/30/03 7:44:36 AM >>> hi , thankyou for you response , i have checked all the cfg files and it looks that all the entries are correct. but still i am not able to view nagios graphics ie ( http://hostname/nagios) the page opens and if i click any links in the Monitoring panel , it asks for authentication ie i think you have to give user as nagiosadmin and password XXXXXX . but i get the following error Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Ian Davidson" | | | | | | | | | 07/30/03 05:58 PM| | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | >--------------------------------------------------------------------------------------------------------------| This isn't a real-user on your system, just a username/passwd combination to access the cgi scripts on the Nagios web-pages. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of rahatpuri.singh at sgcib.com > Sent: 30 July 2003 07:53 > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] help > > > > > > In httpd logs ie access.log file the following are the entries, > the installaton doc says to create a nagiosadmin user and > password using the following command > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin > , do i have > to create this user being on the root or su to nagios user > > > > > - - [30/Jul/2003:12:09:50 +051800] "GET > /nagios/sbin/status.cgi?hostgroup=all&style=grid HTTP/1.1" 404 117 > > IPADDRESS - - [30/Jul/2003:12:15:24 +051800] "GET > /nagios/sbin/status.cgi?host=all HTTP/1.1" 404 1196 > "http://hostn. ame/side.html" "Mozilla/4.0 (compatible; MSIE > 5.5; Windows NT 4.0)" > - nagiosadmin [30/Jul/2003:12:17:01 +051800] "GET /nagios > HTTP/1.1" 301 308 "-" "Mozilla/4.0 (compatible; MSIE 5.5; > Windows NT 4.0)" > - - [30/Jul/2003:12:17:01 +051800] "GET /nagios/ HTTP/1.1" > 403 1055 "-" "Mozilla/4.0 (compatible; MSIE 5.5 ; Windows NT 4.0) > > Regards > R.Shailendra Singh > TEL:(080) 8095142 > > > > > |---------+----------------------------> > | | "Marc Powell" | > | | | > | | | > | | 07/29/03 07:40 PM| > | | | > |---------+----------------------------> > > >------------------------------------------------------------- > -------------------------------------------------| > | > | > | To: Rahatpuri SINGH/ia/socgen at socgen > | > | cc: > | > | Subject: RE: [Nagios-users] help > | > > >------------------------------------------------------------- > -------------------------------------------------| > > > > > The error you are receiving is a response from your web > server indicating that the username and password you are > supplying are incorrect. If you are absolutely certain that > the username and password you are using match what is in > /usr/local/nagios/etc/htpasswd.user then your web server may > not be able to read the htpasswd.users file or it may be > corrupt. Was that file generated with the htpasswd command? > Your httpd error log might have some useful information. It > could also be that your web server is not set up properly to > process htaccess although I suspect that if you are being > prompted for a username and password that it is. I would > review any documentation for your web server that applies to > configuring htaccess with it. > > -- > Marc > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com [mailto:rahatpuri.singh at sgcib.com] > > Sent: Tuesday, July 29, 2003 7:46 AM > > To: Marc Powell > > > > > > hi > > > > > > the following entries are there in the > /usr/local/nagios/sbin/.htaccess > > and /usr/local/nagios/etc/.htaccess > > > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > |---------+----------------------------> > > | | "Marc Powell" | > > | | | > > | | | > > | | 07/29/03 05:46 PM| > > | | | > > |---------+----------------------------> > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > | > > | > > | To: Rahatpuri SINGH/ia/socgen at socgen, > users at lists.sourceforge.net> | > > | cc: > > | > > | Subject: Re: [Nagios-users] help > > | > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > > > > > > > > > The .htaccess file in that directory and the htpasswd file it > references. > > Its not a nagios error. > > > > > > -- > > Marc > > > > Sent from a very tiny wireless device with a very tiny > unlit keyboard. > > > > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com > > To: nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > Sent: Tue Jul 29 07:10:25 2003 > > Subject: [Nagios-users] help > > > > > > > > hi , > > > > when ever i am trying to login and try using > monitoring utility > i > > get this error message , i am giving the right username and > password > > . i want to know in which config file > > i have to editr > > > > > > > > > > > > Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 > > > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > > ***************************************************************** > The addressee's email address has changed to > firstname.lastname@ sgcib.com. You may want to update your > personal address book. Please see http://www.sgcib.com for > more information. > > This message and any attachments (the "message") are > confidential and intended solely for the addressee(s). Any > unauthorised use or dissemination is prohibited.E-mails are > susceptible to alteration. Neither SOCIETE GENERALE nor any > of its subsidiaries or affiliates shall be liable for the > message if altered, changed or falsified. > ***************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rahatpuri.singh at sgcib.com Wed Jul 30 15:57:46 2003 From: rahatpuri.singh at sgcib.com (rahatpuri.singh at sgcib.com) Date: Wed, 30 Jul 2003 19:27:46 +0530 Subject: help Message-ID: Thanks , but how do i do it . i am following the installation PDF's and nothing is mentioned . pls let me know how do i it . i used the below mentioned command ie"chown apache htpasswd.users" and if i do ls -l these are the permissions -rw------- 1 apache root 26 Jul 30 19:02 htpasswd.users and i am opening the web page as http://mymachine/nagios i get the following error Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Patrick | | | Hasenjager" | | | | | | | | | 07/30/03 07:02 PM| | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | >--------------------------------------------------------------------------------------------------------------| I had the same problem. You need to set the group owner on your password file to the group for apache. (In my case, I did a "chown apache htpasswd.users"). Restart nagios and apache and your set. Pat. >>> 07/30/03 7:44:36 AM >>> hi , thankyou for you response , i have checked all the cfg files and it looks that all the entries are correct. but still i am not able to view nagios graphics ie ( http://hostname/nagios) the page opens and if i click any links in the Monitoring panel , it asks for authentication ie i think you have to give user as nagiosadmin and password XXXXXX . but i get the following error Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Ian Davidson" | | | | | | | | | 07/30/03 05:58 PM| | | | |---------+----------------------------> > --------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | > --------------------------------------------------------------------------------------------------------------| This isn't a real-user on your system, just a username/passwd combination to access the cgi scripts on the Nagios web-pages. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of rahatpuri.singh at sgcib.com > Sent: 30 July 2003 07:53 > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] help > > > > > > In httpd logs ie access.log file the following are the entries, > the installaton doc says to create a nagiosadmin user and > password using the following command > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin > , do i have > to create this user being on the root or su to nagios user > > > > > - - [30/Jul/2003:12:09:50 +051800] "GET > /nagios/sbin/status.cgi?hostgroup=all&style=grid HTTP/1.1" 404 117 > > IPADDRESS - - [30/Jul/2003:12:15:24 +051800] "GET > /nagios/sbin/status.cgi?host=all HTTP/1.1" 404 1196 > "http://hostn. ame/side.html" "Mozilla/4.0 (compatible; MSIE > 5.5; Windows NT 4.0)" > - nagiosadmin [30/Jul/2003:12:17:01 +051800] "GET /nagios > HTTP/1.1" 301 308 "-" "Mozilla/4.0 (compatible; MSIE 5.5; > Windows NT 4.0)" > - - [30/Jul/2003:12:17:01 +051800] "GET /nagios/ HTTP/1.1" > 403 1055 "-" "Mozilla/4.0 (compatible; MSIE 5.5 ; Windows NT 4.0) > > Regards > R.Shailendra Singh > TEL:(080) 8095142 > > > > > |---------+----------------------------> > | | "Marc Powell" | > | | | > | | | > | | 07/29/03 07:40 PM| > | | | > |---------+----------------------------> > > >------------------------------------------------------------- > -------------------------------------------------| > | > | > | To: Rahatpuri SINGH/ia/socgen at socgen > | > | cc: > | > | Subject: RE: [Nagios-users] help > | > > >------------------------------------------------------------- > -------------------------------------------------| > > > > > The error you are receiving is a response from your web > server indicating that the username and password you are > supplying are incorrect. If you are absolutely certain that > the username and password you are using match what is in > /usr/local/nagios/etc/htpasswd.user then your web server may > not be able to read the htpasswd.users file or it may be > corrupt. Was that file generated with the htpasswd command? > Your httpd error log might have some useful information. It > could also be that your web server is not set up properly to > process htaccess although I suspect that if you are being > prompted for a username and password that it is. I would > review any documentation for your web server that applies to > configuring htaccess with it. > > -- > Marc > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com [mailto:rahatpuri.singh at sgcib.com] > > Sent: Tuesday, July 29, 2003 7:46 AM > > To: Marc Powell > > > > > > hi > > > > > > the following entries are there in the > /usr/local/nagios/sbin/.htaccess > > and /usr/local/nagios/etc/.htaccess > > > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > |---------+----------------------------> > > | | "Marc Powell" | > > | | | > > | | | > > | | 07/29/03 05:46 PM| > > | | | > > |---------+----------------------------> > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > | > > | > > | To: Rahatpuri SINGH/ia/socgen at socgen, > users at lists.sourceforge.net> | > > | cc: > > | > > | Subject: Re: [Nagios-users] help > > | > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > > > > > > > > > The .htaccess file in that directory and the htpasswd file it > references. > > Its not a nagios error. > > > > > > -- > > Marc > > > > Sent from a very tiny wireless device with a very tiny > unlit keyboard. > > > > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com > > To: nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > Sent: Tue Jul 29 07:10:25 2003 > > Subject: [Nagios-users] help > > > > > > > > hi , > > > > when ever i am trying to login and try using > monitoring utility > i > > get this error message , i am giving the right username and > password > > . i want to know in which config file > > i have to editr > > > > > > > > > > > > Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 > > > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > > ***************************************************************** > The addressee's email address has changed to > firstname.lastname@ sgcib.com. You may want to update your > personal address book. Please see http://www.sgcib.com for > more information. > > This message and any attachments (the "message") are > confidential and intended solely for the addressee(s). Any > unauthorised use or dissemination is prohibited.E-mails are > susceptible to alteration. Neither SOCIETE GENERALE nor any > of its subsidiaries or affiliates shall be liable for the > message if altered, changed or falsified. > ***************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Wed Jul 30 16:10:15 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Wed, 30 Jul 2003 22:10:15 +0800 Subject: Monitoring nagios checks In-Reply-To: References: Message-ID: <200307302210.26014.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > On Wednesday 30 July 2003 20:20, Ian Davidson wrote: > More info, on this, > I'm trying to workout why HOST ALERTS are generated by a distributed > server but are not getting sent to the central server. Only when a HOST > DOWN event occurs does nsca send an update to the Central server; but > even then, the Central server runs it's own checks AGAIN on the host to > determine whether it's down or not. > > I'd have though that if a local distributed server says a particular > host is DOWN, the Central server ought to be able to take that as gospel > and send a notification out immediately rather than doing it's own > checks too. > > Ideas? > > Ian This feature comes in the upcoming Nagios 2.0 that supports passive host checks. Cheers, Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/J9HQNgvTa7Hj2AURAv/sAJ98Y55ektauPmnPGiFYioismo8vQwCfZ6Ew tyXjCBXdchPvsb4z+DZBNOg= =jasJ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Wed Jul 30 16:17:56 2003 From: jmartens at cityofevanston.org (Jason Martens) Date: 30 Jul 2003 09:17:56 -0500 Subject: check_oracle tip In-Reply-To: References: Message-ID: <1059574676.3936.4.camel@localhost.localdomain> I use check_by_ssh for my oracle monitoring, and I wrote a short script to actually run the check_oracle plugin. #!/bin/sh export ORACLE_SID=$1 . /etc/OracleEnvironment /usr/lib/nagios/plugins/check_oracle --login $1 That way the environment gets set and the proper oracle_home is set. Jason On Wed, 2003-07-30 at 02:43, Voon, Ton wrote: > check_oracle tries to get the oracle home from the oratab (/etc/oratab or > /var/opt/oracle/oratab), based on the SID specified. You can also add a * > entry into the oratab and it will then use the ORACLE_HOME specified there. > > Some people amend the check_oracle script to include the oracle environment > stuff. I wouldn't recommend that because an upgrade of check_oracle will > overwrite this and it seems that Oracle want you to use . oratab to source > your site specific stuff anyway. > > Ton > > > -----Original Message----- > > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > > Sent: Tuesday, July 29, 2003 10:02 PM > > To: Lonny Selinger > > Cc: Rivanor P. Soares; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_oracle tip > > > > > > Another thing to note, when an app runs as a user it doesn't inherit > > its path and environment (no shell, no inheritance). You may also have > > to include the export somewhere else (like in the script prior to > > running it) > > > > -- > > Lonny > > > > > One thing you might try is verify that nagios actually is doing the > > > export properly. Just su to nagios and echo $ORACLE_HOME and $PATH. > > > Also make sure that tnsping is executable by nagios ... just try a > > > manual tnsping from the command line as nagios. > > > > > > Let me know if any of this helps, > > > > > > -- > > > Lonny > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > > _072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Jul 30 16:23:50 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 30 Jul 2003 09:23:50 -0500 Subject: Loading Nagios-Page with whole frame set In-Reply-To: <3F26981E.50503@mobilcom.de> References: <3F26981E.50503@mobilcom.de> Message-ID: <16167.54518.31215.617383@montanaro.dyndns.org> Jens> when I use Jens> http://monitoringhost/nagios/cgi-bin/status.cgi?host=server only Jens> the detailed view of the server without the fame set will be shown Jens> .... Jens> Any hints? Nope, but because of this problem, I think it would be worthwhile to have a no-frames mode (or just dispense with frames altogether). -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Jul 30 16:31:10 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 30 Jul 2003 09:31:10 -0500 Subject: [Nagios-users] Suggestions for new macro additions In-Reply-To: <6.0.0.14.2.20030729211406.00b97750@pop1.mail.com> References: <6.0.0.14.2.20030729211406.00b97750@pop1.mail.com> Message-ID: <16167.54958.184742.383827@montanaro.dyndns.org> Rainer> Suggestions for new macro additions: Rainer> $LASTOKSTATE$ Rainer> Timestamp in time_t format indicating the last time a given Rainer> host/service was in a OK state. (please note this is different Rainer> from $LASTSTATECHANGE$) How about $LASTOKTIME$ instead? -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From RKlisowski at era.pl Wed Jul 30 16:29:38 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Wed, 30 Jul 2003 16:29:38 +0200 Subject: Multiple notifications Message-ID: <20AF50E5F611F84993722DC135DF00BC1B1625@seth.corponet.era.pl> Nagios 1.1 Linux Mandrake 9.1 This is what I've got in hosts.cfg define host{ host_name nito997 alias bleble address nito997.bleble.pl check_command check-host-alive max_check_attempts 10 notification_interval 0 notification_period 24x7 notification_options d,u,r } In services.cfg I got 5 services for this host. All of them have made of this template: define service{ use generic-service ; Name of service template to use host_name nito997 is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 contact_groups SOS notification_interval 0 notification_period 24x7 notification_options w,c,r } I receive emails doubled for every notification. What's wrong? -- Rafal - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Wed Jul 30 16:32:49 2003 From: jsm at inpro.net (Jeff McKeon) Date: 30 Jul 2003 10:32:49 -0400 Subject: logs dissapering In-Reply-To: <200307252147.16381.jasmine.chua@securecirt.com> References: <1058796392.23211.27.camel@rh80-jsm.telaurus.net> <200307240943.07713.jasmine.chua@securecirt.com> <1059052155.23211.54.camel@rh80-jsm.telaurus.net> <200307252147.16381.jasmine.chua@securecirt.com> Message-ID: <1059575569.1727.1.camel@rh80-jsm.telaurus.net> All reports/histories are blank on the same days.. On Fri, 2003-07-25 at 09:47, Jasmine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Thursday 24 July 2003 21:09, Jeff McKeon wrote: > > /usr/local/nagios/var/ > > > > [root at MIS01TC07927 var]# ls -l > > total 60 > > drwxrwxr-x 2 nagios nagios 4096 Jul 24 00:00 archives > > -rw-rw-r-- 1 nagios nagios 708 Jul 24 12:21 comment.log > > -rw-rw-r-- 1 nagios nagios 0 Jul 24 12:21 downtime.log > > -rw-r--r-- 1 root root 4 Jul 24 12:21 nagios.lock > > -rw-rw-r-- 1 nagios nagios 12494 Jul 24 12:26 nagios.log > > drwxrws--- 2 nagios nagiocmd 4096 Jul 24 12:21 rw > > -rw-rw-r-- 1 nagios nagios 15782 Jul 24 13:07 status.log > > -rw-rw-r-- 1 nagios nagios 12034 Jul 24 12:21 status.sav > > > > /usr/local/nagios/var/archives/ > > > > --snip-- > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 19 23:59 > > nagios-07-20-2003-00.log > > -rw-rw-r-- 1 nagios nagios 5291 Jul 20 23:44 > > nagios-07-20-2003-23.log > > -rw-rw-r-- 1 nagios nagios 33 Jul 20 23:59 > > nagios-07-21-2003-00.log > > -rw-rw-r-- 1 nagios nagios 49941 Jul 21 23:44 > > nagios-07-22-2003-00.log > > -rw-rw-r-- 1 nagios nagios 25519 Jul 22 23:39 > > nagios-07-22-2003-23.log > > -rw-rw-r-- 1 nagios nagios 33 Jul 22 23:59 > > nagios-07-23-2003-00.log > > -rw-rw-r-- 1 nagios nagios 5143 Jul 23 23:39 > > nagios-07-23-2003-23.log > > -rw-rw-r-- 1 nagios nagios 33 Jul 23 23:59 > > nagios-07-24-2003-00.log > > > > --snip-- > > > > From nagios.cfg > > > > --snip-- > > > > retain_state_information=1 > > state_retention_file=/usr/local/nagios/var/status.sav > > retention_update_interval=60 > > use_retained_program_state=0 > > interval_length=60 > > > > --snip-- > > Hmm.. I couldnt see anything wrong with your logging. Since you mentioned that > you have sufficient disk space and stuffs.. The log events for the past few > days are all in the /var/nagios/archives/ directory! Can you try generating > reports for the past few days from Alert History on your web interface? > > > Jasmine > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE/ITTjNgvTa7Hj2AURArP0AJ45gZjR4uB091W4Xa5iHoe59Lr6ZQCgqZ0m > UvAUYrDcmdwPbOqQ7nMeZEg= > =/D3y > -----END PGP SIGNATURE----- -- Jeff McKeon ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From efinleywork at efinley.com Wed Jul 30 16:53:19 2003 From: efinleywork at efinley.com (Elliot Finley) Date: Wed, 30 Jul 2003 08:53:19 -0600 Subject: Email Notification not working Message-ID: <097701c356aa$50ba1fb0$b4be0ed0@elliotdevelop> Nagios 1.0 I added a new contact, and added the contact to a contact group. The new contact isn't receiving email notifications when the rest of the group is. Is there something else that I need to do to enable email notifications for this contact? TIA Elliot ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Jul 30 16:30:02 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 30 Jul 2003 09:30:02 -0500 Subject: ok => warn => crit => warn => crit (notifications) In-Reply-To: <6.0.0.14.2.20030729210414.00b8f100@pop1.mail.com> References: <6.0.0.14.2.20030729210414.00b8f100@pop1.mail.com> Message-ID: <16167.54890.698175.840883@montanaro.dyndns.org> Rainer> Nagios keeps resending notifications when a service goes in this Rainer> state sequence: Rainer> ok => warn => crit => warn => crit ... Rainer> PS: the service notification_options is c,r What would you like it to do? You're telling it to notify you when it goes critical, which it does. The notification doesn't depend on the previous state, only that it wasn't 'c'ritical. You've suppressed the warning notifications, otherwise you'd see all the state changes. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkloeffer at tycoint.com Wed Jul 30 16:41:25 2003 From: mkloeffer at tycoint.com (=?iso-8859-1?Q?Michael_Kl=F6ffer?=) Date: Wed, 30 Jul 2003 16:41:25 +0200 Subject: AW: help In-Reply-To: References: Message-ID: <001701c356a8$a7529ed0$7928020a@win.ckssysteme.de> Just try chmod +rx htpasswd.users Bye Michael -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von rahatpuri.singh at sgcib.com Gesendet: Mittwoch, 30. Juli 2003 15:58 An: Patrick Hasenjager Cc: nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] help Thanks , but how do i do it . i am following the installation PDF's and nothing is mentioned . pls let me know how do i it . i used the below mentioned command ie"chown apache htpasswd.users" and if i do ls -l these are the permissions -rw------- 1 apache root 26 Jul 30 19:02 htpasswd.users and i am opening the web page as http://mymachine/nagios i get the following error Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Patrick | | | Hasenjager" | | | | | | | | | 07/30/03 07:02 PM| | | | |---------+----------------------------> >--------------------------------------------------------------------------- -----------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | >--------------------------------------------------------------------------- -----------------------------------| I had the same problem. You need to set the group owner on your password file to the group for apache. (In my case, I did a "chown apache htpasswd.users"). Restart nagios and apache and your set. Pat. >>> 07/30/03 7:44:36 AM >>> hi , thankyou for you response , i have checked all the cfg files and it looks that all the entries are correct. but still i am not able to view nagios graphics ie ( http://hostname/nagios) the page opens and if i click any links in the Monitoring panel , it asks for authentication ie i think you have to give user as nagiosadmin and password XXXXXX . but i get the following error Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Ian Davidson" | | | | | | | | | 07/30/03 05:58 PM| | | | |---------+----------------------------> > ---------------------------------------------------------------------------- ----------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | > ---------------------------------------------------------------------------- ----------------------------------| This isn't a real-user on your system, just a username/passwd combination to access the cgi scripts on the Nagios web-pages. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > rahatpuri.singh at sgcib.com > Sent: 30 July 2003 07:53 > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] help > > > > > > In httpd logs ie access.log file the following are the entries, > the installaton doc says to create a nagiosadmin user and password > using the following command > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin , do i > have > to create this user being on the root or su to nagios user > > > > > - - [30/Jul/2003:12:09:50 +051800] "GET > /nagios/sbin/status.cgi?hostgroup=all&style=grid HTTP/1.1" 404 117 > > IPADDRESS - - [30/Jul/2003:12:15:24 +051800] "GET > /nagios/sbin/status.cgi?host=all HTTP/1.1" 404 1196 "http://hostn. > ame/side.html" "Mozilla/4.0 (compatible; MSIE > 5.5; Windows NT 4.0)" > - nagiosadmin [30/Jul/2003:12:17:01 +051800] "GET /nagios HTTP/1.1" > 301 308 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" > - - [30/Jul/2003:12:17:01 +051800] "GET /nagios/ HTTP/1.1" > 403 1055 "-" "Mozilla/4.0 (compatible; MSIE 5.5 ; Windows NT 4.0) > > Regards > R.Shailendra Singh > TEL:(080) 8095142 > > > > > |---------+----------------------------> > | | "Marc Powell" | > | | | > | | | > | | 07/29/03 07:40 PM| > | | | > |---------+----------------------------> > > >------------------------------------------------------------- > -------------------------------------------------| > | > | > | To: Rahatpuri SINGH/ia/socgen at socgen > | > | cc: > | > | Subject: RE: [Nagios-users] help > | > > >------------------------------------------------------------- > -------------------------------------------------| > > > > > The error you are receiving is a response from your web server > indicating that the username and password you are supplying are > incorrect. If you are absolutely certain that the username and > password you are using match what is in > /usr/local/nagios/etc/htpasswd.user then your web server may not be > able to read the htpasswd.users file or it may be corrupt. Was that > file generated with the htpasswd command? Your httpd error log might > have some useful information. It could also be that your web server is > not set up properly to process htaccess although I suspect that if you > are being prompted for a username and password that it is. I would > review any documentation for your web server that applies to > configuring htaccess with it. > > -- > Marc > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com [mailto:rahatpuri.singh at sgcib.com] > > Sent: Tuesday, July 29, 2003 7:46 AM > > To: Marc Powell > > > > > > hi > > > > > > the following entries are there in the > /usr/local/nagios/sbin/.htaccess > > and /usr/local/nagios/etc/.htaccess > > > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > |---------+----------------------------> > > | | "Marc Powell" | > > | | | > > | | | > > | | 07/29/03 05:46 PM| > > | | | > > |---------+----------------------------> > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > | > > | > > | To: Rahatpuri SINGH/ia/socgen at socgen, > users at lists.sourceforge.net> | > > | cc: > > | > > | Subject: Re: [Nagios-users] help > > | > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > > > > > > > > > The .htaccess file in that directory and the htpasswd file it > references. > > Its not a nagios error. > > > > > > -- > > Marc > > > > Sent from a very tiny wireless device with a very tiny > unlit keyboard. > > > > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com > > To: nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > Sent: Tue Jul 29 07:10:25 2003 > > Subject: [Nagios-users] help > > > > > > > > hi , > > > > when ever i am trying to login and try using > monitoring utility > i > > get this error message , i am giving the right username and > password > > . i want to know in which config file > > i have to editr > > > > > > > > > > > > Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 > > > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > > ***************************************************************** > The addressee's email address has changed to firstname.lastname@ > sgcib.com. You may want to update your personal address book. Please > see http://www.sgcib.com for more information. > > This message and any attachments (the "message") are confidential and > intended solely for the addressee(s). Any unauthorised use or > dissemination is prohibited.E-mails are susceptible to alteration. > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > shall be liable for the message if altered, changed or falsified. > ***************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Jul 30 16:41:30 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 30 Jul 2003 09:41:30 -0500 Subject: logs dissapering Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7D4F@mismail.ena.com> This is the same problem I have been experiencing. If you'll notice, some logs end in -23.log. If you rename those to -00.log, the reporting works fine again. The FAQ indicates that it's likely a result of the time on the machine changing but that's not happening in my case. -- Marc > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Wednesday, July 30, 2003 9:33 AM > To: Jasmine > Cc: Nagios List > > All reports/histories are blank on the same days.. > > > On Fri, 2003-07-25 at 09:47, Jasmine wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > > On Thursday 24 July 2003 21:09, Jeff McKeon wrote: > > > /usr/local/nagios/var/ > > > > > > [root at MIS01TC07927 var]# ls -l > > > total 60 > > > drwxrwxr-x 2 nagios nagios 4096 Jul 24 00:00 archives > > > -rw-rw-r-- 1 nagios nagios 708 Jul 24 12:21 comment.log > > > -rw-rw-r-- 1 nagios nagios 0 Jul 24 12:21 downtime.log > > > -rw-r--r-- 1 root root 4 Jul 24 12:21 nagios.lock > > > -rw-rw-r-- 1 nagios nagios 12494 Jul 24 12:26 nagios.log > > > drwxrws--- 2 nagios nagiocmd 4096 Jul 24 12:21 rw > > > -rw-rw-r-- 1 nagios nagios 15782 Jul 24 13:07 status.log > > > -rw-rw-r-- 1 nagios nagios 12034 Jul 24 12:21 status.sav > > > > > > /usr/local/nagios/var/archives/ > > > > > > --snip-- > > > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 19 23:59 > > > nagios-07-20-2003-00.log > > > -rw-rw-r-- 1 nagios nagios 5291 Jul 20 23:44 > > > nagios-07-20-2003-23.log > > > -rw-rw-r-- 1 nagios nagios 33 Jul 20 23:59 > > > nagios-07-21-2003-00.log > > > -rw-rw-r-- 1 nagios nagios 49941 Jul 21 23:44 > > > nagios-07-22-2003-00.log > > > -rw-rw-r-- 1 nagios nagios 25519 Jul 22 23:39 > > > nagios-07-22-2003-23.log > > > -rw-rw-r-- 1 nagios nagios 33 Jul 22 23:59 > > > nagios-07-23-2003-00.log > > > -rw-rw-r-- 1 nagios nagios 5143 Jul 23 23:39 > > > nagios-07-23-2003-23.log > > > -rw-rw-r-- 1 nagios nagios 33 Jul 23 23:59 > > > nagios-07-24-2003-00.log > > > > > > --snip-- > > > > > > From nagios.cfg > > > > > > --snip-- > > > > > > retain_state_information=1 > > > state_retention_file=/usr/local/nagios/var/status.sav > > > retention_update_interval=60 > > > use_retained_program_state=0 > > > interval_length=60 > > > > > > --snip-- > > > > Hmm.. I couldnt see anything wrong with your logging. Since you > mentioned that > > you have sufficient disk space and stuffs.. The log events for the past > few > > days are all in the /var/nagios/archives/ directory! Can you try > generating > > reports for the past few days from Alert History on your web interface? > > > > > > Jasmine > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > iD8DBQE/ITTjNgvTa7Hj2AURArP0AJ45gZjR4uB091W4Xa5iHoe59Lr6ZQCgqZ0m > > UvAUYrDcmdwPbOqQ7nMeZEg= > > =/D3y > > -----END PGP SIGNATURE----- > -- > Jeff McKeon > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Wed Jul 30 17:02:15 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Wed, 30 Jul 2003 12:02:15 -0300 Subject: check_oracle tip Message-ID: <20030730150216.23394.qmail@linuxmail.org> Lonny, I tried what you told me about exporting. But there wasn't an ORACLE_HOME var. exported. I am using this, and it is working (I think it is!): # checkcommands.cfg define command{ command_name check_oracle command_line sudo /bin/env -i "ORACLE_HOME=/home/acesso/OraHome1" $USER1$/check_oracle --tns $ARG1$ } >From /etc/sudoers: nagios localhost = NOPASSWD: /bin/env All the times nagios do a 'check_oracle' is generated a log entry in /var/log/messages. But it were expected. Instead not desired! :-} What do you think about this solution? Is there any security hole on this? Thanks, - Rivanor. ----- Original Message ----- From: "Lonny Selinger" Date: Tue, 29 Jul 2003 14:23:56 -0600 (CST) To: "Rivanor P. Soares" Subject: Re: [Nagios-users] check_oracle tip > Rivanor, > > comments inline ... > > > Lonny, > > > > I'm running it as user 'nagios'. When it runs with Nagios, the > > variable is exported by its user (nagios). > > But when I run it on the shell, like 'root', everything goes OK. > > > > []'s > > - Rivanor. > > > One thing you might try is verify that nagios actually is doing the > export properly. Just su to nagios and echo $ORACLE_HOME and $PATH. > Also make sure that tnsping is executable by nagios ... just try a > manual tnsping from the command line as nagios. > > Let me know if any of this helps, > > -- > Lonny -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Wed Jul 30 18:02:03 2003 From: ric at nkn.net (Ric Moseley) Date: Wed, 30 Jul 2003 11:02:03 -0500 Subject: distributed monitoring question In-Reply-To: <20030730150216.23394.qmail@linuxmail.org> References: <20030730150216.23394.qmail@linuxmail.org> Message-ID: <00ad01c356b3$eb424770$1bd010ac@theplanet.com> I am thinking of implementing a distributed monitoring environment soon but I am wondering if I should wait till the next version of Nagios (2.0) comes out. It looks like this version has many new features (such as passive host checks) that will make distributed much easier). I have a server that is doing 1738 services for 1277 hosts and it is getting a little slow :). Any idea when 2.0 might be coming out... looks like the to-do list in the upcoming section has shrunk down to only 1 item! Thanks. Ric. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Wed Jul 30 17:40:54 2003 From: rob at capband.net (Rob Nelson) Date: Wed, 30 Jul 2003 11:40:54 -0400 Subject: Email Notification not working In-Reply-To: <097701c356aa$50ba1fb0$b4be0ed0@elliotdevelop> References: <097701c356aa$50ba1fb0$b4be0ed0@elliotdevelop> Message-ID: <5.2.1.1.0.20030730114011.01957488@mail.capband.net> >I added a new contact, and added the contact to a contact group. > >The new contact isn't receiving email notifications when the rest of the >group is. > >Is there something else that I need to do to enable email notifications for >this contact? Restart the service. I often forget that step and it takes me a few hours to figure it out. It's better than the times I edit the files on my machine and forget to upload them, however ;) Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magadmin at uui.com Wed Jul 30 18:42:02 2003 From: magadmin at uui.com (Phu Nguyen) Date: Wed, 30 Jul 2003 09:42:02 -0700 Subject: Nagios hiding process list Message-ID: <000a01c356b9$8124ffd0$140a0a0a@phu> Hi all, I experiencing with weird behavior of Nagios, could some one help me? I have 9 services check for each node, and I have more than a hundred nodes in ours organize. When Nagios refreshes, some time it displays there are only 3 services for each node, and sometime it display 9. Configuration is the same for all nodes as follow: # Service definition define service{ use generic-service ; Name of service template to use host_name sys2_asr1 service_description Disk Space on /usr is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups System2-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_disk_user } I'm appreciate for any help, Phu Nguyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: From garrick at usc.edu Wed Jul 30 19:01:11 2003 From: garrick at usc.edu (garrick) Date: Wed, 30 Jul 2003 10:01:11 -0700 Subject: Thank you! Message-ID: <20030730170111.GZ24856@polop.usc.edu> I just wanted to say a big "Thank You!" for Nagios. It's been wonderful, and my coworkers keep saying "wow" as they walk past my desk. I just downloaded it few days ago. I found the documentation to be very straight forward; I was able to follow it section-by-section and have nagios up and running without any hastles. Then I spent a few days, off and on, tinkering and writing my plugins. Then found that Nagios works perfectly with pubcookie for authentication. And now, well, everything is just working great. Nagios is now monitoring all of the significant services of the High Performance Computing Center at the Univ. of SoCal along with all Globus Grid services. And it looks like we're going to use Nagios for all core infrastructure on campus :) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Jul 30 19:34:16 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 30 Jul 2003 12:34:16 -0500 Subject: Nagios hiding process list Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4833@mismail.ena.com> Sounds like you have multiple, conflicting nagios processes running. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Phu Nguyen To: nagios-users at lists.sourceforge.net Sent: Wed Jul 30 11:42:02 2003 Subject: [Nagios-users] Nagios hiding process list Hi all, I experiencing with weird behavior of Nagios, could some one help me? I have 9 services check for each node, and I have more than a hundred nodes in ours organize. When Nagios refreshes, some time it displays there are only 3 services for each node, and sometime it display 9. Configuration is the same for all nodes as follow: # Service definition define service{ use generic-service ; Name of service template to use host_name sys2_asr1 service_description Disk Space on /usr is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups System2-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_disk_user } I'm appreciate for any help, Phu Nguyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob at capband.net Wed Jul 30 20:44:52 2003 From: rob at capband.net (Rob Nelson) Date: Wed, 30 Jul 2003 14:44:52 -0400 Subject: Process checks Message-ID: <5.2.1.1.0.20030730143915.019b5670@mail.capband.net> How are process checks handled by Nagios? What I mean is if I set the max concurrent checks to 10, why do I only ever see 4-5 checks running at a time? Also, when I run into one bad check (i.e. failed ping), all the other checks stop until this one bad check times out three times in a row. It doesn't make any sense, but I'm able to get a repeatable pattern out of this by stopping nagios, removing the .log and .sav file and restarting. Every time it gets to a downed host, it slows to a crawl. I am running Nagios 1.06b. I have some other questions on things like latency (it says 1 / 2781 / 2643.1 seconds on the tactical overview. What the heck does that mean?) and why service checks take soooo looong to process, but I have a feeling the bottleneck is in failing checks. I still have 60 checks out of 150 that haven't processed because of this in *three hours*. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Jul 30 21:20:13 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 30 Jul 2003 15:20:13 -0400 Subject: CGI parsing status.log speed issues Message-ID: <3F281A6D.7000401@affinity.com> Hello, I've run into a small problem with the Nagios CGI's -- They take forever to parse. The status log is only (or maybe this is large...) 1MB in size. I'm running the status log off a ramdisk and can't think of anything to do other than push more memory/cpu at the problem or run cron jobs to dump common pages (such as the status overview and summary) to a raw html file. Does anyone had any experience with tweaking the CGI's for faster processing? If so, what did you remove or change? Thanks, Jason ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Jul 30 21:03:26 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 30 Jul 2003 14:03:26 -0500 Subject: Process checks Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7D57@mismail.ena.com> 5 minutes of researching the documentation -- > -----Original Message----- > From: Rob Nelson [mailto:rob at capband.net] > Sent: Wednesday, July 30, 2003 1:45 PM > To: nagios-users at lists.sourceforge.net > > How are process checks handled by Nagios? What I mean is if I set the max > concurrent checks to 10, why do I only ever see 4-5 checks running at a > time? Also, when I run into one bad check (i.e. failed ping), all the > other > checks stop until this one bad check times out three times in a row. http://nagios.sourceforge.net/docs/1_0/checkscheduling.html > > It doesn't make any sense, but I'm able to get a repeatable pattern out of > this by stopping nagios, removing the .log and .sav file and restarting. > Every time it gets to a downed host, it slows to a crawl. I am running > Nagios 1.06b. Also from that page -- "Also of note - when Nagios is check (sic) the status of a host, it holds off on doing anything else (executing new service checks, processing other service check results, etc). This can slow things down a bit and cause pending service checks to be delayed for a while, but it is necessary to determine the status of the host before Nagios can take any further action on the service(s) that are having problems." > > I have some other questions on things like latency (it says 1 / 2781 / > 2643.1 seconds on the tactical overview. What the heck does that mean?) > and > why service checks take soooo looong to process, but I have a feeling the > bottleneck is in failing checks. I still have 60 checks out of 150 that > haven't processed because of this in *three hours*. http://nagios.sourceforge.net/docs/1_0/tuning.html ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Jul 30 21:28:47 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 30 Jul 2003 14:28:47 -0500 Subject: CGI parsing status.log speed issues Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7D58@mismail.ena.com> How many hosts and services are you monitoring? -- Marc > -----Original Message----- > From: Jason Lancaster [mailto:jlancaster at affinity.com] > Sent: Wednesday, July 30, 2003 2:20 PM > To: nagios-users at lists.sourceforge.net > > Hello, > I've run into a small problem with the Nagios CGI's -- They take forever > to parse. The status log is only (or maybe this is large...) 1MB in size. > > I'm running the status log off a ramdisk and can't think of anything to > do other than push more memory/cpu at the problem or run cron jobs to > dump common pages (such as the status overview and summary) to a raw > html file. Does anyone had any experience with tweaking the CGI's for > faster processing? If so, what did you remove or change? > > Thanks, > Jason > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Wed Jul 30 22:35:09 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 30 Jul 2003 16:35:09 -0400 Subject: check_mrtg Message-ID: <5.1.0.14.0.20030730163000.00b6de18@pop.icnet.com.ve> Hi, I want to use the check_mrtg plugin, but I have running the mrtg in other PC, not qhere is running nagios. I want to know if is possible use the check_mrtg from nagios to other machine. Thanks Jeyri ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mooney at pnl.gov Wed Jul 30 23:16:27 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Wed, 30 Jul 2003 14:16:27 -0700 Subject: CGI parsing status.log speed issues Message-ID: Yeah, its slow with large service/host sets. There is a fix in the works (I haven't checked if its fully in CVS yet or not). Basically the problem is that there is a linked list that gets traversed exp(host*services) worst case when parsing the status file. That can take a really long time, and is being replaced by a hash insert/lookup that should be several orders of magnitude faster. Unless your willing mess with stuff from CVS (wich looks to be changing fairly quickly so the stability is - unknown) I'd say the static pages are probably the safest bet. Once V2.0 is released this problem will go away. Last I heard that will be this fall, maybe sooner if someone kicks in some $$ to help Ethan and freinds :) If you feel adventurous you could try playing with a lightweight php interface to the status file: available at: http://www.pcslink.com/~ryan/ You should only have to change where the cgi.ini file can be found in inc.php for it to work. Its sort of a cludge as I ran out of memory when trying to read the whole file into the php hash (while maintaining a reasonable 16M limit to php), so I back hacked in some logic into the inc.php file that originally was only supposed to be in index.php. I also didn't spend a whole lot of time on it, so its ugly, and doesn't have any of the acknowledge, comment, etc.. features (which could be added as seperate php files pretty easily). But it only takes <10 seconds for >8000 service/host definitions :> > -----Original Message----- > From: Jason Lancaster [mailto:jlancaster at affinity.com] > Sent: Wednesday, July 30, 2003 12:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] CGI parsing status.log speed issues > > > Hello, > I've run into a small problem with the Nagios CGI's -- They > take forever > to parse. The status log is only (or maybe this is large...) > 1MB in size. > > I'm running the status log off a ramdisk and can't think of > anything to > do other than push more memory/cpu at the problem or run cron jobs to > dump common pages (such as the status overview and summary) to a raw > html file. Does anyone had any experience with tweaking the CGI's for > faster processing? If so, what did you remove or change? > > Thanks, > Jason > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Thu Jul 31 00:40:45 2003 From: ric at nkn.net (Ric Moseley) Date: Wed, 30 Jul 2003 17:40:45 -0500 Subject: check_mrtg In-Reply-To: <5.1.0.14.0.20030730163000.00b6de18@pop.icnet.com.ve> References: <5.1.0.14.0.20030730163000.00b6de18@pop.icnet.com.ve> Message-ID: <011a01c356eb$a24af2f0$1bd010ac@theplanet.com> You can do this but you must be able to see the mrtg log files in order to read them. The plug-in reads the log file and returns values based on the thresholds you set. This can be done by copying the *.log files every 5 or so minutes or NFS mounting the file system. Thanks. Ric. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeyri Bautista Sent: Wednesday, July 30, 2003 3:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_mrtg Hi, I want to use the check_mrtg plugin, but I have running the mrtg in other PC, not qhere is running nagios. I want to know if is possible use the check_mrtg from nagios to other machine. Thanks Jeyri ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chandler.Collins at silabs.com Thu Jul 31 00:58:21 2003 From: Chandler.Collins at silabs.com (Chandler A. Collins) Date: Wed, 30 Jul 2003 17:58:21 -0500 Subject: SERVICE recovery notifications for HOST down Message-ID: Hi, I know this question has been asked on this list before, but I've searched the list archives and never found a posted solution. Basically, when a host goes down I see a notification for that event, but when it recovers what I get are notifications for the recovery of each individual SERVICE that is being monitored on that host. Could someone please point me in the right direction? Thank you! Chandler This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. From mloftis at wgops.com Thu Jul 31 03:29:26 2003 From: mloftis at wgops.com (Michael Loftis) Date: Wed, 30 Jul 2003 19:29:26 -0600 Subject: Bug in Nagios WRT argument interpolation? Message-ID: <196800859.1059593366@[10.0.0.131]> Nagios 1.1 Plugins 1.3.1 Both of these work fine when run from the command line, but inside of Nagios the swap check fails!!! The snmp_load check however works like a champ inside of nagios, whats the deal? I completely removed and redefined the swap stuff but still nothing. If I run check_snmp from the command line, substituing variables properly, it works great. Any way I can get Nagios 1.1 to *log* the *precise* exec()? I have a huge suspicion of a bug inside of Nagios since both work from the command line, only one works when nagios execs it... The only thing I can think of is that the argument interpolation isn't working out right. Apologies if mulberry or your client line wraps any of the below stuff, rest assured that I quadruple checked for that inside of the checkcommand.cfg file. TIA folks... Ex of event log w/ check_snmp output... [2003-07-30 19:18:15] SERVICE ALERT: bighorn;Swap;CRITICAL;SOFT;1;swap CRITICAL - *1* -1 configs snippets: define service{ use generic-service-24x7 hostgroup_name mwswap-64m-c service_description Swap check_command snmp_swap!GRUB!102400!65536 } define service{ use generic-service-24x7 hostgroup_name mwload-11-checks service_description Load check_command snmp_load!RANGER!800!500!500!11000!900!900 } define command{ command_name snmp_swap command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.4.4.0,.1.3.6.1.4.1.2021.4.3.0 -w $ARG2$: -c $ARG3$: -l swap } define command{ command_name snmp_load command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.10.1.5.1,.1.3.6.1.4.1.2021.10.1.5.2,.1.3.6.1.4.1.2021.10. 1.5.3 -w :$ARG2$,:$ARG3$,:$ARG4$ -c :$ARG5$,:$ARG6$,:$ARG7$ -l load } ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mloftis at wgops.com Thu Jul 31 04:40:11 2003 From: mloftis at wgops.com (Michael Loftis) Date: Wed, 30 Jul 2003 20:40:11 -0600 Subject: Bug in Nagios WRT argument interpolation? In-Reply-To: <196800859.1059593366@[10.0.0.131]> References: <196800859.1059593366@[10.0.0.131]> Message-ID: <77536751.1059597611@[10.1.2.77]> Finally figured it out...Maybe I should let all my nagios bugs sit for a few days before asking about them LOL :) snmpget had some sort of issue locating MIBs. Moved them around and it's fine now. --On Wednesday, July 30, 2003 7:29 PM -0600 Michael Loftis wrote: > Nagios 1.1 > Plugins 1.3.1 > > Both of these work fine when run from the command line, but inside of > Nagios the swap check fails!!! The snmp_load check however works like a > champ inside of nagios, whats the deal? I completely removed and > redefined the swap stuff but still nothing. If I run check_snmp from the > command line, substituing variables properly, it works great. Any way I > can get Nagios 1.1 to *log* the *precise* exec()? I have a huge > suspicion of a bug inside of Nagios since both work from the command > line, only one works when nagios execs it... > > The only thing I can think of is that the argument interpolation isn't > working out right. Apologies if mulberry or your client line wraps any > of the below stuff, rest assured that I quadruple checked for that inside > of the checkcommand.cfg file. > > TIA folks... > > > Ex of event log w/ check_snmp output... > [2003-07-30 19:18:15] SERVICE ALERT: bighorn;Swap;CRITICAL;SOFT;1;swap > CRITICAL - *1* -1 > > configs snippets: > > define service{ > use generic-service-24x7 > hostgroup_name mwswap-64m-c > service_description Swap > check_command snmp_swap!GRUB!102400!65536 > } > > define service{ > use generic-service-24x7 > hostgroup_name mwload-11-checks > service_description Load > check_command snmp_load!RANGER!800!500!500!11000!900!900 > } > > define command{ > command_name snmp_swap > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o > .1.3.6.1.4.1.2021.4.4.0,.1.3.6.1.4.1.2021.4.3.0 -w $ARG2$: -c $ARG3$: -l > swap } > > define command{ > command_name snmp_load > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o > .1.3.6.1.4.1.2021.10.1.5.1,.1.3.6.1.4.1.2021.10.1.5.2,.1.3.6.1.4.1.2021.1 > 0. 1.5.3 -w :$ARG2$,:$ARG3$,:$ARG4$ -c :$ARG5$,:$ARG6$,:$ARG7$ -l load > } > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/ > 01 _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nicola.Fusco at merloni.com Wed Jul 30 15:46:04 2003 From: Nicola.Fusco at merloni.com (Nicola Fusco) Date: Wed, 30 Jul 2003 15:46:04 +0200 Subject: INFO Message-ID: When i started home page of Nagios "http:\\servername\nagios" and I click on the left nagios menu, the program not visualize information but the segnalation "Object Not Found". If I write in the adress bar of internet explorer "http:\\servername \nagios\cgi-bin\xxxxxxx.cgi", the function is OK. I don't know which is a problem and because in the left menu the link of monitoring is http:\\servername\cgi-bin\nagios\xxxxxxx.cgi! Many thanks. Nicola F. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anfa at edu.nykoping.se Thu Jul 31 08:50:40 2003 From: anfa at edu.nykoping.se (Andreas Falk) Date: Thu, 31 Jul 2003 08:50:40 +0200 Subject: snmp trap question again. Message-ID: <000001c35730$0e2c8030$c601040a@edu.nykoping.ad> Hi.. Im, trying to get Veritas Backup Exec to send a trap to nagios. But when I read the doc, the example i written for another server to handle the traps. Is there someone out there who got this to work with just the nagios server? Som guidelines or hints would be great :) --- Falk -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.ciullini at datamar.it Thu Jul 31 09:59:46 2003 From: marco.ciullini at datamar.it (Marco Ciullini) Date: Thu, 31 Jul 2003 09:59:46 +0200 Subject: Late and "forgotten" checks Message-ID: <3F28CC72.2070601@datamar.it> Hi all, I am running Nagios 1.1 on a P3 machine, with Linux RH7.3, 256 MB RAM and SCSI disks. Currently, Nagios is monitoring 140 services on 27 hosts: 94 active services, and 46 passive, via NSCA. All seems to work ok... but after 36 hours running, I have the following situation: all passive services are ok, and some (apparently random) active services have benn last checked 24 hours ago, and I see in the scheduling queue: last checked ... (24 hours ago) next time check ... (23 hours and 57 minutes ago). It seems that nagios forgot those services... In the meanwhile, If I type ps -ef|grep nagios|wc on the server , I see that there are over 800 nagios processes running! Somenone can help me? what's going on? -- Marco Ciullini Datamar s.r.l. Via Corsica 9/4 E 16128 Genova tel +39 0105705806 fax +39 0105451440 http://www.datamar.it mailto:marco.ciullini at datamar.it Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Thu Jul 31 10:21:14 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 31 Jul 2003 10:21:14 +0200 Subject: INFO References: Message-ID: <3F28D17A.8060001@datavis.se> I must use 'http://servername/nagios/' - Without the trailing / ot wont work... /FredrikW Nicola Fusco wrote: >When i started home page of Nagios "http:\\servername\nagios" and I click >on the left nagios menu, the program >not visualize information but the segnalation "Object Not Found". >If I write in the adress bar of internet explorer "http:\\servername >\nagios\cgi-bin\xxxxxxx.cgi", the function is OK. > >I don't know which is a problem and because in the left menu the link of >monitoring is http:\\servername\cgi-bin\nagios\xxxxxxx.cgi! > >Many thanks. >Nicola F. > > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Thu Jul 31 11:14:26 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Thu, 31 Jul 2003 11:14:26 +0200 Subject: password : ?????????? Message-ID: <5.0.2.1.2.20030731110826.02108470@195.220.107.3> nagios 1.3.1 plugins 1.3.1 redhat 7.2 i add hosts and services in the appropriate files and when il restart nagios after a couple of seconds i have on the prompt : password : and after nagios don t perform any check i have already had this probleme and solve it by deleting status.sav but this time it don t work someone had this probleme ? need some help thank ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Thu Jul 31 11:40:37 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Thu, 31 Jul 2003 11:40:37 +0200 Subject: Read-Only Acces for a group of appr. 25 Admins Message-ID: <3F28E415.2030308@mobilcom.de> Hi! I have to offer a read-only access for appr. 25 persons to Nagios 1.1. They shall be able to view a few things which I'll configure in cgi.cfg. They won't receive any notifications etc. What would be the best way to realize this without having them as single contacts, as - there's a lot of changing within this group (people leaving and people coming new) - I don't want to introduce dummy user-details (when I tried to add users just with their user name I received the following error: Contact name, alias, or email address and pager number are NULL) Is there a way to map users to a standard user? Authentication will be through APAche Any hint is welcome! Regards, Jens. -- Mit freundlichen Gr??en Jens Kruse Monitoring/Middleware MobilCom AG Hollerstra?e 126 24782 B?delsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de Besucher: Am Friedrichsbrunnen ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Thu Jul 31 12:38:40 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Thu, 31 Jul 2003 12:38:40 +0200 Subject: CGI parsing status.log speed issues Message-ID: -------------------------------------- Please visit www.tiscali.co.za --------------------------------------Hi Jason > > Hello, > I've run into a small problem with the Nagios CGI's -- They > take forever > to parse. The status log is only (or maybe this is large...) > 1MB in size. > > I'm running the status log off a ramdisk and can't think of > anything to > do other than push more memory/cpu at the problem or run cron jobs to > dump common pages (such as the status overview and summary) to a raw > html file. Does anyone had any experience with tweaking the CGI's for > faster processing? If so, what did you remove or change? > Well you could go the php way. I used http://naupy.sf.net. Only problem there is that you can't see services per contact, i.e. restricted users will see everything. I had to hack at the code top get the restrictions to work properly. :) fred ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kim at ypsilon.net Thu Jul 31 12:47:06 2003 From: kim at ypsilon.net (Andy - Kim =?iso-8859-1?Q?M=F6ller?=) Date: Thu, 31 Jul 2003 12:47:06 +0200 Subject: check_sql_timer in python Message-ID: <20030731104706.GE30391@ypsilon.net> Hi, i 've written a checking modul in python. It 's a little bit diffrent to normal load or database checking modules. You can give a file with diffrent sql - statements to the checker and test if it is processed in a given time. I have developed this checker in cause of the senseless in checking load on diffrent db - systems (we have mysqlserver that have problems with a load of 4 and we have postgresql - server that can handle a load of 50). So we can be sure that our sql - server is running smoothly without thinking about load or discusage or something like that. We are checking the result of all. (naturally we still monitor load, discusage,...) If somebody things this is a cool thing i will keep on developing on it if something happen. Additional: It is supporting MySQL and PostgreSQL. best regards to the the nagios folks Kim -------------- next part -------------- A non-text attachment was scrubbed... Name: nagiosDBTimer.tar.gz Type: application/octet-stream Size: 2511 bytes Desc: not available URL: From phasenjager at fzacpa.com Thu Jul 31 14:29:45 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Thu, 31 Jul 2003 07:29:45 -0500 Subject: Read-Only Acces for a group of appr. 25 Admins Message-ID: Why create contacts? If they will only be able to view the information. = Just put them into the password file, set their permissions in cgi.cfg and = forget about it. Contacts are only for people that should be notified. I do this with 3 admins that don't need notification, but want to be able = to view things. Pat. Patrick Hasenjager Technical Support Specialist Frankel, Zacharia, Arnold, Nissen, Stamp & Reinsch, LLC Main: (402) 496-9100 Desk: (402) 963-4340 Fax: (402) 496-1024 phasenjager at fzacpa.com >>> Jens Kruse 07/31/03 4:40:37 AM >>> Hi! I have to offer a read-only access for appr. 25 persons to Nagios 1.1. They shall be able to view a few things which I'll configure in cgi.cfg.=20= They won't receive any notifications etc. What would be the best way to realize this without having them as = single=20 contacts, as - there's a lot of changing within this group (people leaving and = people=20 coming new) - I don't want to introduce dummy user-details (when I tried to add=20 users just with their user name I received the following error: Contact=20 name, alias, or email address and pager number are NULL) Is there a way to map users to a standard user? Authentication will be through APAche Any hint is welcome! Regards, Jens. --=20 Mit freundlichen Gr=FC=DFen Jens Kruse Monitoring/Middleware MobilCom AG Hollerstra=DFe 126 24782 B=FCdelsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de=20 Besucher: Am Friedrichsbrunnen ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01= =20 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net=20 https://lists.sourceforge.net/lists/listinfo/nagios-users=20 ::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue. ::: Messages without supportin g info will risk being sent to /dev/null ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rahatpuri.singh at sgcib.com Thu Jul 31 14:49:46 2003 From: rahatpuri.singh at sgcib.com (rahatpuri.singh at sgcib.com) Date: Thu, 31 Jul 2003 18:19:46 +0530 Subject: help Message-ID: hi i have checked httpd.conf file the entries are as below and i gave "chgrp apache htpasswd.users" perm are below and httpd.conf User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 60000; # don't use Group #-1 on these systems! # User apache Group apache -rw-r--r-- 1 root apache 26 Jul 30 19:02 htpasswd.users http://mymachine/ i get this error and Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 http://mymachine/nagios i get this error Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster Error 403 got stuck with nagios for 2 days not unable to view anything . Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Patrick | | | Hasenjager" | | | | | | | | | 07/30/03 07:55 PM| | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | >--------------------------------------------------------------------------------------------------------------| you need to run "chgrp apache htpasswd.users" I would suggest changing the owner back to root "chown root htpasswd.users" All this is contingent on your apache install running as user/group apache. Take a look at your httpd.conf file and find what user/group apache is running with. >>> 07/30/03 8:57:46 AM >>> Thanks , but how do i do it . i am following the installation PDF's and nothing is mentioned . pls let me know how do i it . i used the below mentioned command ie"chown apache htpasswd.users" and if i do ls -l these are the permissions -rw------- 1 apache root 26 Jul 30 19:02 htpasswd.users and i am opening the web page as http://mymachine/nagios i get the following error Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Patrick | | | Hasenjager" | | | | | | | | | 07/30/03 07:02 PM| | | | |---------+----------------------------> > --------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | > --------------------------------------------------------------------------------------------------------------| I had the same problem. You need to set the group owner on your password file to the group for apache. (In my case, I did a "chown apache htpasswd.users"). Restart nagios and apache and your set. Pat. >>> 07/30/03 7:44:36 AM >>> hi , thankyou for you response , i have checked all the cfg files and it looks that all the entries are correct. but still i am not able to view nagios graphics ie ( http://hostname/nagios) the page opens and if i click any links in the Monitoring panel , it asks for authentication ie i think you have to give user as nagiosadmin and password XXXXXX . but i get the following error Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Ian Davidson" | | | | | | | | | 07/30/03 05:58 PM| | | | |---------+----------------------------> > --------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | > --------------------------------------------------------------------------------------------------------------| This isn't a real-user on your system, just a username/passwd combination to access the cgi scripts on the Nagios web-pages. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of rahatpuri.singh at sgcib.com > Sent: 30 July 2003 07:53 > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] help > > > > > > In httpd logs ie access.log file the following are the entries, > the installaton doc says to create a nagiosadmin user and > password using the following command > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin > , do i have > to create this user being on the root or su to nagios user > > > > > - - [30/Jul/2003:12:09:50 +051800] "GET > /nagios/sbin/status.cgi?hostgroup=all&style=grid HTTP/1.1" 404 117 > > IPADDRESS - - [30/Jul/2003:12:15:24 +051800] "GET > /nagios/sbin/status.cgi?host=all HTTP/1.1" 404 1196 > "http://hostn. ame/side.html" "Mozilla/4.0 (compatible; MSIE > 5.5; Windows NT 4.0)" > - nagiosadmin [30/Jul/2003:12:17:01 +051800] "GET /nagios > HTTP/1.1" 301 308 "-" "Mozilla/4.0 (compatible; MSIE 5.5; > Windows NT 4.0)" > - - [30/Jul/2003:12:17:01 +051800] "GET /nagios/ HTTP/1.1" > 403 1055 "-" "Mozilla/4.0 (compatible; MSIE 5.5 ; Windows NT 4.0) > > Regards > R.Shailendra Singh > TEL:(080) 8095142 > > > > > |---------+----------------------------> > | | "Marc Powell" | > | | | > | | | > | | 07/29/03 07:40 PM| > | | | > |---------+----------------------------> > > >------------------------------------------------------------- > -------------------------------------------------| > | > | > | To: Rahatpuri SINGH/ia/socgen at socgen > | > | cc: > | > | Subject: RE: [Nagios-users] help > | > > >------------------------------------------------------------- > -------------------------------------------------| > > > > > The error you are receiving is a response from your web > server indicating that the username and password you are > supplying are incorrect. If you are absolutely certain that > the username and password you are using match what is in > /usr/local/nagios/etc/htpasswd.user then your web server may > not be able to read the htpasswd.users file or it may be > corrupt. Was that file generated with the htpasswd command? > Your httpd error log might have some useful information. It > could also be that your web server is not set up properly to > process htaccess although I suspect that if you are being > prompted for a username and password that it is. I would > review any documentation for your web server that applies to > configuring htaccess with it. > > -- > Marc > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com [mailto:rahatpuri.singh at sgcib.com] > > Sent: Tuesday, July 29, 2003 7:46 AM > > To: Marc Powell > > > > > > hi > > > > > > the following entries are there in the > /usr/local/nagios/sbin/.htaccess > > and /usr/local/nagios/etc/.htaccess > > > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > |---------+----------------------------> > > | | "Marc Powell" | > > | | | > > | | | > > | | 07/29/03 05:46 PM| > > | | | > > |---------+----------------------------> > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > | > > | > > | To: Rahatpuri SINGH/ia/socgen at socgen, > users at lists.sourceforge.net> | > > | cc: > > | > > | Subject: Re: [Nagios-users] help > > | > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > > > > > > > > > The .htaccess file in that directory and the htpasswd file it > references. > > Its not a nagios error. > > > > > > -- > > Marc > > > > Sent from a very tiny wireless device with a very tiny > unlit keyboard. > > > > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com > > To: nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > Sent: Tue Jul 29 07:10:25 2003 > > Subject: [Nagios-users] help > > > > > > > > hi , > > > > when ever i am trying to login and try using > monitoring utility > i > > get this error message , i am giving the right username and > password > > . i want to know in which config file > > i have to editr > > > > > > > > > > > > Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 > > > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > > ***************************************************************** > The addressee's email address has changed to > firstname.lastname@ sgcib.com. You may want to update your > personal address book. Please see http://www.sgcib.com for > more information. > > This message and any attachments (the "message") are > confidential and intended solely for the addressee(s). Any > unauthorised use or dissemination is prohibited.E-mails are > susceptible to alteration. Neither SOCIETE GENERALE nor any > of its subsidiaries or affiliates shall be liable for the > message if altered, changed or falsified. > ***************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rahatpuri.singh at sgcib.com Thu Jul 31 15:10:53 2003 From: rahatpuri.singh at sgcib.com (rahatpuri.singh at sgcib.com) Date: Thu, 31 Jul 2003 18:40:53 +0530 Subject: AW: help Message-ID: hi the following error in /etc/httpd/conf/error_log file [Thu Jul 31 18:40:01 2003] [error] [client mymachine] Directory index forbidden by rule: /usr/local/nagios/sbin/ URL --- httpd://servername/nagios Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster Error 403 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------------------> | | Michael Kl?ffer | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 07/30/03 08:11 PM | | | | |---------+----------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: AW: [Nagios-users] help | >--------------------------------------------------------------------------------------------------------------| Just try chmod +rx htpasswd.users Bye Michael -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von rahatpuri.singh at sgcib.com Gesendet: Mittwoch, 30. Juli 2003 15:58 An: Patrick Hasenjager Cc: nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] help Thanks , but how do i do it . i am following the installation PDF's and nothing is mentioned . pls let me know how do i it . i used the below mentioned command ie"chown apache htpasswd.users" and if i do ls -l these are the permissions -rw------- 1 apache root 26 Jul 30 19:02 htpasswd.users and i am opening the web page as http://mymachine/nagios i get the following error Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Patrick | | | Hasenjager" | | | | | | | | | 07/30/03 07:02 PM| | | | |---------+----------------------------> > --------------------------------------------------------------------------- -----------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | > --------------------------------------------------------------------------- -----------------------------------| I had the same problem. You need to set the group owner on your password file to the group for apache. (In my case, I did a "chown apache htpasswd.users"). Restart nagios and apache and your set. Pat. >>> 07/30/03 7:44:36 AM >>> hi , thankyou for you response , i have checked all the cfg files and it looks that all the entries are correct. but still i am not able to view nagios graphics ie ( http://hostname/nagios) the page opens and if i click any links in the Monitoring panel , it asks for authentication ie i think you have to give user as nagiosadmin and password XXXXXX . but i get the following error Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Ian Davidson" | | | | | | | | | 07/30/03 05:58 PM| | | | |---------+----------------------------> > ---------------------------------------------------------------------------- ----------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | > ---------------------------------------------------------------------------- ----------------------------------| This isn't a real-user on your system, just a username/passwd combination to access the cgi scripts on the Nagios web-pages. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > rahatpuri.singh at sgcib.com > Sent: 30 July 2003 07:53 > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] help > > > > > > In httpd logs ie access.log file the following are the entries, > the installaton doc says to create a nagiosadmin user and password > using the following command > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin , do i > have > to create this user being on the root or su to nagios user > > > > > - - [30/Jul/2003:12:09:50 +051800] "GET > /nagios/sbin/status.cgi?hostgroup=all&style=grid HTTP/1.1" 404 117 > > IPADDRESS - - [30/Jul/2003:12:15:24 +051800] "GET > /nagios/sbin/status.cgi?host=all HTTP/1.1" 404 1196 "http://hostn. > ame/side.html" "Mozilla/4.0 (compatible; MSIE > 5.5; Windows NT 4.0)" > - nagiosadmin [30/Jul/2003:12:17:01 +051800] "GET /nagios HTTP/1.1" > 301 308 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" > - - [30/Jul/2003:12:17:01 +051800] "GET /nagios/ HTTP/1.1" > 403 1055 "-" "Mozilla/4.0 (compatible; MSIE 5.5 ; Windows NT 4.0) > > Regards > R.Shailendra Singh > TEL:(080) 8095142 > > > > > |---------+----------------------------> > | | "Marc Powell" | > | | | > | | | > | | 07/29/03 07:40 PM| > | | | > |---------+----------------------------> > > >------------------------------------------------------------- > -------------------------------------------------| > | > | > | To: Rahatpuri SINGH/ia/socgen at socgen > | > | cc: > | > | Subject: RE: [Nagios-users] help > | > > >------------------------------------------------------------- > -------------------------------------------------| > > > > > The error you are receiving is a response from your web server > indicating that the username and password you are supplying are > incorrect. If you are absolutely certain that the username and > password you are using match what is in > /usr/local/nagios/etc/htpasswd.user then your web server may not be > able to read the htpasswd.users file or it may be corrupt. Was that > file generated with the htpasswd command? Your httpd error log might > have some useful information. It could also be that your web server is > not set up properly to process htaccess although I suspect that if you > are being prompted for a username and password that it is. I would > review any documentation for your web server that applies to > configuring htaccess with it. > > -- > Marc > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com [mailto:rahatpuri.singh at sgcib.com] > > Sent: Tuesday, July 29, 2003 7:46 AM > > To: Marc Powell > > > > > > hi > > > > > > the following entries are there in the > /usr/local/nagios/sbin/.htaccess > > and /usr/local/nagios/etc/.htaccess > > > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > |---------+----------------------------> > > | | "Marc Powell" | > > | | | > > | | | > > | | 07/29/03 05:46 PM| > > | | | > > |---------+----------------------------> > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > | > > | > > | To: Rahatpuri SINGH/ia/socgen at socgen, > users at lists.sourceforge.net> | > > | cc: > > | > > | Subject: Re: [Nagios-users] help > > | > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > > > > > > > > > The .htaccess file in that directory and the htpasswd file it > references. > > Its not a nagios error. > > > > > > -- > > Marc > > > > Sent from a very tiny wireless device with a very tiny > unlit keyboard. > > > > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com > > To: nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > Sent: Tue Jul 29 07:10:25 2003 > > Subject: [Nagios-users] help > > > > > > > > hi , > > > > when ever i am trying to login and try using > monitoring utility > i > > get this error message , i am giving the right username and > password > > . i want to know in which config file > > i have to editr > > > > > > > > > > > > Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 > > > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > > ***************************************************************** > The addressee's email address has changed to firstname.lastname@ > sgcib.com. You may want to update your personal address book. Please > see http://www.sgcib.com for more information. > > This message and any attachments (the "message") are confidential and > intended solely for the addressee(s). Any unauthorised use or > dissemination is prohibited.E-mails are susceptible to alteration. > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > shall be liable for the message if altered, changed or falsified. > ***************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nc at stormvault.net Thu Jul 31 15:11:34 2003 From: nc at stormvault.net (Nicolas Couture) Date: 31 Jul 2003 09:11:34 -0400 Subject: Contacts Message-ID: <1059657094.23766.8.camel@lts.ltsnetworks.net> Hi, I installed nagios yesterday and I've been wondering about the contacts configuration. Briefly, is there a way we can add contacts OR contact groups and assign them a value which would be increased each n times a notification is sent and when reached, would send the notification to contact and/or contact group matching that value ? Nicolas Couture ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From basti at sskm.net Thu Jul 31 15:28:33 2003 From: basti at sskm.net (Sebastian Schubert) Date: 31 Jul 2003 15:28:33 +0200 Subject: Contacts In-Reply-To: <1059657094.23766.8.camel@lts.ltsnetworks.net> References: <1059657094.23766.8.camel@lts.ltsnetworks.net> Message-ID: <1059658113.19161.14.camel@lnx024071100.vz.intra.sskm.de> Am Don, 2003-07-31 um 15.11 schrieb Nicolas Couture: > Hi, > > I installed nagios yesterday and I've been wondering about the contacts > configuration. > > Briefly, is there a way we can add contacts OR contact groups and > assign them a value which would be increased each n times a notification > is sent and when reached, would send the notification to contact and/or > contact group matching that value ? > > Nicolas Couture > > hi nicholas, why don't you use the built in notifcation escalations ?? check the YOUR_NAGIOS_SERVER/YOUR_NAGIOS_SUBDIR/docs/escalations.html to see how it works ... bye sebastian -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thiago at ntime.com.br Thu Jul 31 15:58:55 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Thu, 31 Jul 2003 10:58:55 -0300 Subject: NRPE+xinetd error Message-ID: <20030731105855.4b9fa316.thiago@ntime.com.br> Hello, everyone. I have searched for messages regarding a similar problem to no avail, so I'm posting here. My setup is using check_nrpe (2.0b4, SSL enabled) with xinetd to poll several servers. It works like a charm, but sometimes Nagios starts to report this error on some services: CHECK_NRPE: Error - Could not complete SSL handshake. The service status goes to CRITICAL, and (I think) that is expected. Trying to figure out what's going on I saw that xinetd starts to output error messages like this: Jul 17 10:49:31 localhost xinetd[8700]: FAIL: nrpe service_limit from=a.b.c.d That is normal behavior for xinetd when the service in regard reaches a certain number of processes. As expected, netstat -anp shows lots of nrpe connections: tcp 0 0 d.e.f.g:5666 a.b.c.d:56103 ESTABLISHED 5825/nrpe (many of these follows) So I figure nrpe is not releasing the connection and dying. At first I had the REUSE flag on my xinetd, but after removing I still get that problem sometimes. Here is my /etc/xinetd.d/nrpe service nrpe { socket_type = stream wait = no user = nobody server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg -i log_on_failure += USERID disable = no only_from = a.b.c.d } Next I'll try to recompile nrpe without SSL support, but I wanted to see if anyone had this problem before re-deploying on a bunch of servers. Any thoughts? Thanks in advance! -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Jul 31 15:29:13 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 31 Jul 2003 08:29:13 -0500 Subject: Contacts Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D483A@mismail.ena.com> Check out the docs on escalations. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Nicolas Couture To: nagios-users at lists.sourceforge.net Sent: Thu Jul 31 08:11:34 2003 Subject: [Nagios-users] Contacts Hi, I installed nagios yesterday and I've been wondering about the contacts configuration. Briefly, is there a way we can add contacts OR contact groups and assign them a value which would be increased each n times a notification is sent and when reached, would send the notification to contact and/or contact group matching that value ? Nicolas Couture ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From phasenjager at fzacpa.com Thu Jul 31 15:16:06 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Thu, 31 Jul 2003 08:16:06 -0500 Subject: help Message-ID: If you cannot get to http://machinename/, you have bigger problems than just nagios. There is a misconfiguration somewhere in your httpd.conf file, or something happened during the installation of apache and file were not properly copied. Take a look at your httpd.conf file and check the settings to make sure they are correct for your installation. If you want to send me your httpd.conf file (off-list), I will take a look at it to see if I can find any issues with it. Pat. >>> 07/31/03 7:49:46 AM >>> hi i have checked httpd.conf file the entries are as below and i gave "chgrp apache htpasswd.users" perm are below and httpd.conf User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 60000; # don't use Group #-1 on these systems! # User apache Group apache -rw-r--r-- 1 root apache 26 Jul 30 19:02 htpasswd.users http://mymachine/ i get this error and Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 http://mymachine/nagios i get this error Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster Error 403 got stuck with nagios for 2 days not unable to view anything . Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Patrick | | | Hasenjager" | | | | | | | | | 07/30/03 07:55 PM| | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | >--------------------------------------------------------------------------------------------------------------| you need to run "chgrp apache htpasswd.users" I would suggest changing the owner back to root "chown root htpasswd.users" All this is contingent on your apache install running as user/group apache. Take a look at your httpd.conf file and find what user/group apache is running with. >>> 07/30/03 8:57:46 AM >>> Thanks , but how do i do it . i am following the installation PDF's and nothing is mentioned . pls let me know how do i it . i used the below mentioned command ie"chown apache htpasswd.users" and if i do ls -l these are the permissions -rw------- 1 apache root 26 Jul 30 19:02 htpasswd.users and i am opening the web page as http://mymachine/nagios i get the following error Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Patrick | | | Hasenjager" | | | | | | | | | 07/30/03 07:02 PM| | | | |---------+----------------------------> > --------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | > --------------------------------------------------------------------------------------------------------------| I had the same problem. You need to set the group owner on your password file to the group for apache. (In my case, I did a "chown apache htpasswd.users"). Restart nagios and apache and your set. Pat. >>> 07/30/03 7:44:36 AM >>> hi , thankyou for you response , i have checked all the cfg files and it looks that all the entries are correct. but still i am not able to view nagios graphics ie ( http://hostname/nagios) the page opens and if i click any links in the Monitoring panel , it asks for authentication ie i think you have to give user as nagiosadmin and password XXXXXX . but i get the following error Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 Regards R.Shailendra Singh TEL:(080) 8095142 |---------+----------------------------> | | "Ian Davidson" | | | | | | | | | 07/30/03 05:58 PM| | | | |---------+----------------------------> > --------------------------------------------------------------------------------------------------------------| | | | To: Rahatpuri SINGH/ia/socgen at socgen | | cc: | | Subject: RE: [Nagios-users] help | > --------------------------------------------------------------------------------------------------------------| This isn't a real-user on your system, just a username/passwd combination to access the cgi scripts on the Nagios web-pages. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of rahatpuri.singh at sgcib.com > Sent: 30 July 2003 07:53 > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] help > > > > > > In httpd logs ie access.log file the following are the entries, > the installaton doc says to create a nagiosadmin user and > password using the following command > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin > , do i have > to create this user being on the root or su to nagios user > > > > > - - [30/Jul/2003:12:09:50 +051800] "GET > /nagios/sbin/status.cgi?hostgroup=all&style=grid HTTP/1.1" 404 117 > > IPADDRESS - - [30/Jul/2003:12:15:24 +051800] "GET > /nagios/sbin/status.cgi?host=all HTTP/1.1" 404 1196 > "http://hostn. ame/side.html" "Mozilla/4.0 (compatible; MSIE > 5.5; Windows NT 4.0)" > - nagiosadmin [30/Jul/2003:12:17:01 +051800] "GET /nagios > HTTP/1.1" 301 308 "-" "Mozilla/4.0 (compatible; MSIE 5.5; > Windows NT 4.0)" > - - [30/Jul/2003:12:17:01 +051800] "GET /nagios/ HTTP/1.1" > 403 1055 "-" "Mozilla/4.0 (compatible; MSIE 5.5 ; Windows NT 4.0) > > Regards > R.Shailendra Singh > TEL:(080) 8095142 > > > > > |---------+----------------------------> > | | "Marc Powell" | > | | | > | | | > | | 07/29/03 07:40 PM| > | | | > |---------+----------------------------> > > >------------------------------------------------------------- > -------------------------------------------------| > | > | > | To: Rahatpuri SINGH/ia/socgen at socgen > | > | cc: > | > | Subject: RE: [Nagios-users] help > | > > >------------------------------------------------------------- > -------------------------------------------------| > > > > > The error you are receiving is a response from your web > server indicating that the username and password you are > supplying are incorrect. If you are absolutely certain that > the username and password you are using match what is in > /usr/local/nagios/etc/htpasswd.user then your web server may > not be able to read the htpasswd.users file or it may be > corrupt. Was that file generated with the htpasswd command? > Your httpd error log might have some useful information. It > could also be that your web server is not set up properly to > process htaccess although I suspect that if you are being > prompted for a username and password that it is. I would > review any documentation for your web server that applies to > configuring htaccess with it. > > -- > Marc > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com [mailto:rahatpuri.singh at sgcib.com] > > Sent: Tuesday, July 29, 2003 7:46 AM > > To: Marc Powell > > > > > > hi > > > > > > the following entries are there in the > /usr/local/nagios/sbin/.htaccess > > and /usr/local/nagios/etc/.htaccess > > > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > |---------+----------------------------> > > | | "Marc Powell" | > > | | | > > | | | > > | | 07/29/03 05:46 PM| > > | | | > > |---------+----------------------------> > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > | > > | > > | To: Rahatpuri SINGH/ia/socgen at socgen, > users at lists.sourceforge.net> | > > | cc: > > | > > | Subject: Re: [Nagios-users] help > > | > > > >------------------------------------------------------------- > ---------- > > ---------------------------------------| > > > > > > > > > > The .htaccess file in that directory and the htpasswd file it > references. > > Its not a nagios error. > > > > > > -- > > Marc > > > > Sent from a very tiny wireless device with a very tiny > unlit keyboard. > > > > > > -----Original Message----- > > From: rahatpuri.singh at sgcib.com > > To: nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > Sent: Tue Jul 29 07:10:25 2003 > > Subject: [Nagios-users] help > > > > > > > > hi , > > > > when ever i am trying to login and try using > monitoring utility > i > > get this error message , i am giving the right username and > password > > . i want to know in which config file > > i have to editr > > > > > > > > > > > > Authentication required! > > This server could not verify that you are authorized to access > the > > URL "/nagios/sbin/status.cgi". You either supplied the wrong > > credentials (e.g., bad password), or your browser doesn't > understand > > how to supply the credentials required. > > In case you are allowed to request the document, please check > your > > user-id and password and try again. > > If you think this is a server error, please contact the > webmaster > > Error 401 > > > > > > > > Regards > > R.Shailendra Singh > > TEL:(080) 8095142 > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > > > > > > ***************************************************************** > > The addressee's email address has changed to firstname.lastname@ > > sgcib.com. You may want to update your personal address > book. Please > > see http://www.sgcib.com for more information. > > > > This message and any attachments (the "message") are > confidential and > > intended solely for the addressee(s). Any unauthorised use or > > dissemination is prohibited.E-mails are susceptible to alteration. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall be liable for the message if altered, changed or falsified. > > ***************************************************************** > > > > > > > > > ***************************************************************** > The addressee's email address has changed to > firstname.lastname@ sgcib.com. You may want to update your > personal address book. Please see http://www.sgcib.com for > more information. > > This message and any attachments (the "message") are > confidential and intended solely for the addressee(s). Any > unauthorised use or dissemination is prohibited.E-mails are > susceptible to alteration. Neither SOCIETE GENERALE nor any > of its subsidiaries or affiliates shall be liable for the > message if altered, changed or falsified. > ***************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ***************************************************************** The addressee's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ***************************************************************** ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Thu Jul 31 16:18:12 2003 From: jmartens at cityofevanston.org (Jason Martens) Date: 31 Jul 2003 09:18:12 -0500 Subject: check_mrtg In-Reply-To: <5.1.0.14.0.20030730163000.00b6de18@pop.icnet.com.ve> References: <5.1.0.14.0.20030730163000.00b6de18@pop.icnet.com.ve> Message-ID: <1059661092.3899.0.camel@localhost.localdomain> Also check out check_by_ssh or nrpe. Jason On Wed, 2003-07-30 at 15:35, Jeyri Bautista wrote: > Hi, > > I want to use the check_mrtg plugin, but I have running the mrtg in other > PC, not qhere is running nagios. I want to know if is possible use the > check_mrtg from nagios to other machine. > > Thanks > > Jeyri > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Jul 31 17:38:40 2003 From: jsm at inpro.net (Jeff McKeon) Date: 31 Jul 2003 11:38:40 -0400 Subject: logs dissapering In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E7D4F@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E7D4F@mismail.ena.com> Message-ID: <1059665920.1727.5.camel@rh80-jsm.telaurus.net> Interesting, what version of Nagios are you running... On Wed, 2003-07-30 at 10:41, Marc Powell wrote: > This is the same problem I have been experiencing. If you'll notice, > some logs end in -23.log. If you rename those to -00.log, the reporting > works fine again. The FAQ indicates that it's likely a result of the > time on the machine changing but that's not happening in my case. > > -- > Marc > > > -----Original Message----- > > From: Jeff McKeon [mailto:jsm at inpro.net] > > Sent: Wednesday, July 30, 2003 9:33 AM > > To: Jasmine > > Cc: Nagios List > > > > All reports/histories are blank on the same days.. > > > > > > On Fri, 2003-07-25 at 09:47, Jasmine wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > > On Thursday 24 July 2003 21:09, Jeff McKeon wrote: > > > > /usr/local/nagios/var/ > > > > > > > > [root at MIS01TC07927 var]# ls -l > > > > total 60 > > > > drwxrwxr-x 2 nagios nagios 4096 Jul 24 00:00 archives > > > > -rw-rw-r-- 1 nagios nagios 708 Jul 24 12:21 > comment.log > > > > -rw-rw-r-- 1 nagios nagios 0 Jul 24 12:21 > downtime.log > > > > -rw-r--r-- 1 root root 4 Jul 24 12:21 > nagios.lock > > > > -rw-rw-r-- 1 nagios nagios 12494 Jul 24 12:26 nagios.log > > > > drwxrws--- 2 nagios nagiocmd 4096 Jul 24 12:21 rw > > > > -rw-rw-r-- 1 nagios nagios 15782 Jul 24 13:07 status.log > > > > -rw-rw-r-- 1 nagios nagios 12034 Jul 24 12:21 status.sav > > > > > > > > /usr/local/nagios/var/archives/ > > > > > > > > --snip-- > > > > > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 19 23:59 > > > > nagios-07-20-2003-00.log > > > > -rw-rw-r-- 1 nagios nagios 5291 Jul 20 23:44 > > > > nagios-07-20-2003-23.log > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 20 23:59 > > > > nagios-07-21-2003-00.log > > > > -rw-rw-r-- 1 nagios nagios 49941 Jul 21 23:44 > > > > nagios-07-22-2003-00.log > > > > -rw-rw-r-- 1 nagios nagios 25519 Jul 22 23:39 > > > > nagios-07-22-2003-23.log > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 22 23:59 > > > > nagios-07-23-2003-00.log > > > > -rw-rw-r-- 1 nagios nagios 5143 Jul 23 23:39 > > > > nagios-07-23-2003-23.log > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 23 23:59 > > > > nagios-07-24-2003-00.log > > > > > > > > --snip-- > > > > > > > > From nagios.cfg > > > > > > > > --snip-- > > > > > > > > retain_state_information=1 > > > > state_retention_file=/usr/local/nagios/var/status.sav > > > > retention_update_interval=60 > > > > use_retained_program_state=0 > > > > interval_length=60 > > > > > > > > --snip-- > > > > > > Hmm.. I couldnt see anything wrong with your logging. Since you > > mentioned that > > > you have sufficient disk space and stuffs.. The log events for the > past > > few > > > days are all in the /var/nagios/archives/ directory! Can you try > > generating > > > reports for the past few days from Alert History on your web > interface? > > > > > > > > > Jasmine > > > -----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > iD8DBQE/ITTjNgvTa7Hj2AURArP0AJ45gZjR4uB091W4Xa5iHoe59Lr6ZQCgqZ0m > > > UvAUYrDcmdwPbOqQ7nMeZEg= > > > =/D3y > > > -----END PGP SIGNATURE----- > > -- > > Jeff McKeon > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null -- Jeff McKeon ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Thu Jul 31 18:19:20 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Thu, 31 Jul 2003 12:19:20 -0400 Subject: CGI parsing status.log speed issues In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E7D58@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E7D58@mismail.ena.com> Message-ID: <3F294188.8020200@affinity.com> Hi Marc, I'm monitoring approx. 3900 services on 600 hosts. -Jason Marc Powell wrote: >How many hosts and services are you monitoring? > >-- >Marc > > > >>-----Original Message----- >>From: Jason Lancaster [mailto:jlancaster at affinity.com] >>Sent: Wednesday, July 30, 2003 2:20 PM >>To: nagios-users at lists.sourceforge.net >> >>Hello, >>I've run into a small problem with the Nagios CGI's -- They take >> >> >forever > > >>to parse. The status log is only (or maybe this is large...) 1MB in >> >> >size. > > >>I'm running the status log off a ramdisk and can't think of anything >> >> >to > > >>do other than push more memory/cpu at the problem or run cron jobs to >>dump common pages (such as the status overview and summary) to a raw >>html file. Does anyone had any experience with tweaking the CGI's for >>faster processing? If so, what did you remove or change? >> >>Thanks, >>Jason >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including >>Data Reports, E-commerce, Portals, and Forums are available now. >>Download today and enter to win an XBOX or Visual Studio .NET. >>http://aspnet.click- >>url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at powered.net Thu Jul 31 18:49:23 2003 From: sourceforge at powered.net (Rainer) Date: Thu, 31 Jul 2003 13:49:23 -0300 (BRT) Subject: SERVICE recovery notifications for HOST down In-Reply-To: References: Message-ID: <34141.200.220.45.48.1059670163.squirrel@www.powered.net> Same here... annoying. Hope it gets fixed in Nagios 2.0, otherwise this one should go to the "top priority Nagios bugs" list. Rainer > > Hi, > > I know this question has been asked on this list before, but I've searched > the list archives and never found a posted solution. > > Basically, when a host goes down I see a notification for that event, but > when it recovers what I get are notifications for the recovery of each > individual SERVICE that is being monitored on that host. > > Could someone please point me in the right direction? > > Thank you! > > Chandler > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bqueen at nas.nasa.gov Thu Jul 31 19:37:42 2003 From: bqueen at nas.nasa.gov (Brian S Queen) Date: Thu, 31 Jul 2003 10:37:42 -0700 (PDT) Subject: plugin management Message-ID: Is there a standard method for managing, distributing, installing, plugins in a large and heterogenous environment? Is the standard technique something like : *install desired plugins wherever needed *recompile for different platforms *installing however one may choose to: rpm, binary tar balls, rdist... McQueen ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Jul 31 19:51:18 2003 From: jsm at inpro.net (Jeff McKeon) Date: 31 Jul 2003 13:51:18 -0400 Subject: logs dissapering In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E7D4F@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E7D4F@mismail.ena.com> Message-ID: <1059673878.1727.17.camel@rh80-jsm.telaurus.net> I renamed any logs ending in -23.log to -00.log and something weird has now happened... when you go into any of the history files it will say log file navigation fri jul 18 00:00:00 GMT 2003 to Sat jul 19 00:00:00 GMT 2003 But all the dates displayed in the log are from Jul 19 00:00:00 GMT or later... The logs appear to have shifted a day... On Wed, 2003-07-30 at 10:41, Marc Powell wrote: > This is the same problem I have been experiencing. If you'll notice, > some logs end in -23.log. If you rename those to -00.log, the reporting > works fine again. The FAQ indicates that it's likely a result of the > time on the machine changing but that's not happening in my case. > > -- > Marc > > > -----Original Message----- > > From: Jeff McKeon [mailto:jsm at inpro.net] > > Sent: Wednesday, July 30, 2003 9:33 AM > > To: Jasmine > > Cc: Nagios List > > > > All reports/histories are blank on the same days.. > > > > > > On Fri, 2003-07-25 at 09:47, Jasmine wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > > On Thursday 24 July 2003 21:09, Jeff McKeon wrote: > > > > /usr/local/nagios/var/ > > > > > > > > [root at MIS01TC07927 var]# ls -l > > > > total 60 > > > > drwxrwxr-x 2 nagios nagios 4096 Jul 24 00:00 archives > > > > -rw-rw-r-- 1 nagios nagios 708 Jul 24 12:21 > comment.log > > > > -rw-rw-r-- 1 nagios nagios 0 Jul 24 12:21 > downtime.log > > > > -rw-r--r-- 1 root root 4 Jul 24 12:21 > nagios.lock > > > > -rw-rw-r-- 1 nagios nagios 12494 Jul 24 12:26 nagios.log > > > > drwxrws--- 2 nagios nagiocmd 4096 Jul 24 12:21 rw > > > > -rw-rw-r-- 1 nagios nagios 15782 Jul 24 13:07 status.log > > > > -rw-rw-r-- 1 nagios nagios 12034 Jul 24 12:21 status.sav > > > > > > > > /usr/local/nagios/var/archives/ > > > > > > > > --snip-- > > > > > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 19 23:59 > > > > nagios-07-20-2003-00.log > > > > -rw-rw-r-- 1 nagios nagios 5291 Jul 20 23:44 > > > > nagios-07-20-2003-23.log > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 20 23:59 > > > > nagios-07-21-2003-00.log > > > > -rw-rw-r-- 1 nagios nagios 49941 Jul 21 23:44 > > > > nagios-07-22-2003-00.log > > > > -rw-rw-r-- 1 nagios nagios 25519 Jul 22 23:39 > > > > nagios-07-22-2003-23.log > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 22 23:59 > > > > nagios-07-23-2003-00.log > > > > -rw-rw-r-- 1 nagios nagios 5143 Jul 23 23:39 > > > > nagios-07-23-2003-23.log > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 23 23:59 > > > > nagios-07-24-2003-00.log > > > > > > > > --snip-- > > > > > > > > From nagios.cfg > > > > > > > > --snip-- > > > > > > > > retain_state_information=1 > > > > state_retention_file=/usr/local/nagios/var/status.sav > > > > retention_update_interval=60 > > > > use_retained_program_state=0 > > > > interval_length=60 > > > > > > > > --snip-- > > > > > > Hmm.. I couldnt see anything wrong with your logging. Since you > > mentioned that > > > you have sufficient disk space and stuffs.. The log events for the > past > > few > > > days are all in the /var/nagios/archives/ directory! Can you try > > generating > > > reports for the past few days from Alert History on your web > interface? > > > > > > > > > Jasmine > > > -----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > iD8DBQE/ITTjNgvTa7Hj2AURArP0AJ45gZjR4uB091W4Xa5iHoe59Lr6ZQCgqZ0m > > > UvAUYrDcmdwPbOqQ7nMeZEg= > > > =/D3y > > > -----END PGP SIGNATURE----- > > -- > > Jeff McKeon > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null -- Jeff McKeon ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordan at cvilleweekly.com Thu Jul 31 20:59:03 2003 From: jordan at cvilleweekly.com (Jordan Reiter) Date: Thu, 31 Jul 2003 14:59:03 -0400 Subject: Cached Configuration Settings Message-ID: Hello, I was hoping you could help me with a problem I've been having. When I was setting up the hosts.cfg file, I accidentally entered the wrong IP address for a host. I've since then corrected the IP, but every so often it seems that Nagios is still trying to do a PING to the old address. If I go through the web administration and click on "Service Detail", from time to time it will show hosts as being down, and show the PING action as /bin/ping -n -U -c 5 x.x.x.x (x.x.x.x being the old ip address I entered first). When I do a grep of the /usr/local/nagios folder to find the old IP address, I don't find any instances of it *anywhere* in the nagios folder (with the exception of the log files). Where is it getting the old IP address from and how can I permanently remove it? Thanks for any help you can offer, Jordan -- Jordan Reiter mailto:jordan at breezing.com Breezing.com http://breezing.com 1106 West Main St phone:434.295.2050 Charlottesville, VA 22903 fax:603.843.6931 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Thu Jul 31 21:26:17 2003 From: jbautista at icnet.com.ve (jbautista at icnet.com.ve) Date: Thu, 31 Jul 2003 15:26:17 -0400 Subject: NRPE Message-ID: <00d901c35799$9d3d5100$6700020a@M24495.findquick.com> Hi, I want to use the check_mrtg but my Mrtg is running over other PC, not Nagios. I can use the NRPE addons but I need to know if is possible that the remote host run Windows NT (not Linux)?. Thanks, Jeyri -------------- next part -------------- An HTML attachment was scrubbed... URL: From crusty.applesniffer at free.fr Thu Jul 31 21:57:13 2003 From: crusty.applesniffer at free.fr (Crusty Applesniffer) Date: Thu, 31 Jul 2003 21:57:13 +0200 Subject: Cached Configuration Settings In-Reply-To: References: Message-ID: I think you should reload nagios configuration (Stopping and restarting nagios chapter in the nagios documentation) Desired Action Command Description Stop Nagios /etc/rc.d/init.d/nagios stop This kills the Nagios process Restart Nagios /etc/rc.d/init.d/nagios restart This kills the current Nagios process and then starts Nagios up again Reload Configuration Data /etc/rc.d/init.d/nagios reload Sends a SIGHUP to the Nagios process, causing it to flush its current configuration data, reread the configuration files, and start monitoring again Crusty Applesniffer. -----Original Message----- From: Jordan Reiter [mailto:jordan at cvilleweekly.com] Sent: Thursday, July 31, 2003 8:59 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Cached Configuration Settings Hello, I was hoping you could help me with a problem I've been having. When I was setting up the hosts.cfg file, I accidentally entered the wrong IP address for a host. I've since then corrected the IP, but every so often it seems that Nagios is still trying to do a PING to the old address. If I go through the web administration and click on "Service Detail", from time to time it will show hosts as being down, and show the PING action as /bin/ping -n -U -c 5 x.x.x.x (x.x.x.x being the old ip address I entered first). When I do a grep of the /usr/local/nagios folder to find the old IP address, I don't find any instances of it *anywhere* in the nagios folder (with the exception of the log files). Where is it getting the old IP address from and how can I permanently remove it? Thanks for any help you can offer, Jordan -- Jordan Reiter mailto:jordan at breezing.com Breezing.com http://breezing.com 1106 West Main St phone:434.295.2050 Charlottesville, VA 22903 fax:603.843.6931 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thiago at ntime.com.br Thu Jul 31 22:20:48 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Thu, 31 Jul 2003 17:20:48 -0300 Subject: Cached Configuration Settings In-Reply-To: References: Message-ID: <20030731172048.18478bee.thiago@ntime.com.br> On Thu, 31 Jul 2003 14:59:03 -0400 Jordan Reiter wrote: > I've since then corrected the IP, but every so often it seems that > Nagios is still trying to do a PING to the old address. If I go Have you restarted the daemon? It sounds silly but I had to ask. Regards, -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmcqueen at wpsc.com Thu Jul 31 22:21:13 2003 From: jmcqueen at wpsc.com (Joseph B. McQueen) Date: Thu, 31 Jul 2003 16:21:13 -0400 Subject: Escalation Problems Message-ID: <3F297A39.2010404@wpsc.com> I've been trying to solve a problem with escalations for several days now. The issue is that I've defined a "host" escalation for a device. When the host goes down, it sends the standard notification. However, when the "escalation" should occur, I get no notices to any of the contacts(contact groups) I have defined. Conversely, when I remove the escalation, I still only get one standard notification, with no further notifications after the "notification_inteval". I recompiled the nagios executable with the "--enable-DEBUG4" to see what may be happening. The console debug messages are shown below: Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Nagios 1.1 starting... (PID=23709) Warning: Contact 'nagios' is not a member of any contact groups! Warning: Contact group 'test-escalate' is not used in any hostgroup/service definitions or host/hostgroup/service escalations! HOST NOTIFICATION ATTEMPT: Host 'testdevice' Current time: Thu Jul 31 15:55:09 2003 HOST STATE CHANGE! Current notification number: 1 Current Time: Thu Jul 31 15:55:09 2003 Next acceptable notification time: Thu Jul 31 15:56:09 2003 Notify user jmcqueen Raw Command: /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$ Processed Command: /usr/bin/printf "%b" "Host 'Joe McQueens Test Device' is DOWN\nInfo: /bin/ping -n -U -c 1 192.168.1.1\nTime: Thu Jul 31 15:55:09 EDT 2003" | /bin/mail -s "PROBLEM alert - Host testdevice is DOWN" phonenum at messaging.nextel.com Raw Command: /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ Processed Command: /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: PROBLEM\nHost: testdevice\nState: DOWN\nAddress: 192.168.1.1\nInfo: /bin/ping -n -U -c 1 162.88.43.108\n\nDate/Time: Thu Jul 31 15:55:09 EDT 2003\n" | /bin/mail -s "Host DOWN alert for testdevice!" jmcqueen at wpsc.com APPROPRIATE CONTACTS HAVE BEEN NOTIFIED After the "Next acceptable notification time" expires, I receive no futher notifications from the device. My applicable configs are shown below. My intervals are set small for testing, but was receiving the same behavior with the intervals set higher. I even tried using a "hostgroupescalation" and "serviceescalation" in attempts to get it working with no success. ***hosts.cfg*** define host { name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/$ notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host { host_name testdevice alias Joe McQueens Test Device address 192.168.1.1 check_command check-host-alive max_check_attempts 2 notification_interval 1 notification_period 24x7 notification_options d,u,r } ***hostgroups.cfg*** # Test Group define hostgroup { hostgroup_name test-group alias Test HostGroup contact_groups test-admins members testdevice } ***services.cfg*** define service { name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } #Test Group Devices define service { use generic-service ; Name of service template to use host_name testdevice service_description PING is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 contact_groups test-admins notification_interval 5 notification_period 24x7 notification_options u,c,r check_command check_ping!2000.0,100%!2000.0,100% } ***contacts.cfg*** define contact { contact_name jmcqueen alias Joe McQueen host_notification_period 24x7 host_notification_options d,u,r host_notification_commands host-notify-by-email,host-notify-by-epager service_notification_period 24x7 service_notification_options u,c,r service_notification_commands notify-by-email,notify-by-epager email jmcqueen at wpsc.com pager anumber at messaging.nextel.com } #Joe McQueen Office Phone (For Testing) define contact { contact_name jmcqueen-office alias Joseph,McQueen register 1 host_notification_period 24x7 host_notification_options d,u,r host_notification_commands host-notify-by-voice1,host-notify-by-voice2 service_notification_period 24x7 service_notification_options w,u,c,r service_notification_commands notify-by-voice1,notify-by-voice2 email 2709 pager 2709 } ***contactgroups.cfg*** #Test Contact Group define contactgroup { contactgroup_name test-admins alias Test Admins members jmcqueen } #Test Escalations Group define contactgroup { contactgroup_name test-escalate alias Test Escalations members jmcqueen-office } ***escalations*** define hostescalation{ host_name testdevice contact_groups test-admins,test-escalate first_notification 2 last_notification 5 notification_interval 1 I appreciate any help anyone might provide. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jul 31 22:13:08 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 31 Jul 2003 16:13:08 -0400 (EDT) Subject: Problem with check_ntp In-Reply-To: References: Message-ID: On Tue, 29 Jul 2003, Mark D. Valpreda wrote: > Have Nagios 1.0 running on two different machines. One running RedHat > 7.3 and one running Solaris 5.8. They are both monitoring the same > services on the same servers. One just happens to be at our office, and > one is at the client. The RedHat box can do NTP checks no problem, but > the Solaris box gets this: "NTP UNKNOWN: Jitter too high" This is only > on 3 boxes, there are 6 other boxes that it checks just fine. > What is the plugin version? Also are there any differences between the Solaris boxes that work and don't work with respect to the ntp/xntp package versions? Try running the plugin with a verbose output and posting the result along with all the above version info. -sg > > > The check command is stock: > > > > # 'check_ntp' command definition > > define command{ > > command_name check_ntp > > command_line $USER1$/check_ntp -H $HOSTADDRESS$ > > } > > > > Suggestions? I have searched newsgroups and google to no avail. > > > > Thanks! > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at ece.concordia.ca Thu Jul 31 23:54:55 2003 From: chris at ece.concordia.ca (Chris O'Regan) Date: 31 Jul 2003 17:54:55 -0400 Subject: Service Dependency Templates Message-ID: <1059688495.3646.8.camel@logan.ece.concordia.ca> I have managed to clean up my services.cfg by using the time-saving tricks. Now I am setting up service dependencies and I would like to do the same. Not sure if this is possible, if not, then this is a feature request. :-) Given a group of hosts, for each host, set up a service dependency: define servicedependency{ hostgroup_name hostgroup service_description service dependent_host_name $HOSTNAME$ dependent_service_description dependent_service execution_failure_criteria c notification_failure_criteria c } If hostgroup contains (host1, host2, host3), then I would expect it to expand out to this: host1:dependent_service depends on host1:service host2:dependent_service depends on host2:service host3:dependent_service depends on host3:service Also, it would be nice to specify a list of dependent services: define servicedependency{ hostgroup_name hostgroup service_description service dependent_host_name $HOSTNAME$ dependent_service_description ds1,ds2,ds3 execution_failure_criteria c notification_failure_criteria c } Giving: host1:ds1 depends on host1:service host1:ds2 depends on host1:service host1:ds3 depends on host1:service host2:ds1 depends on host2:service host2:ds2 depends on host2:service host2:ds3 depends on host2:service host3:ds1 depends on host3:service host3:ds2 depends on host3:service host3:ds3 depends on host3:service Is any of this possible? Thanks, Chris O'Regan ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null