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 Lice