From dkynyc at gmail.com Wed Oct 1 03:23:07 2008 From: dkynyc at gmail.com (Don) Date: Tue, 30 Sep 2008 21:23:07 -0400 Subject: Check_netapp.pl plugin Issues Message-ID: Hi, I am having the following issue running the check_netapp plugin. The specific plugin I am using is the check_netapp3.pl from nagiosexchange. Here is the issue, Running the plugin by hand works perfectly I get the results wanted as seen below: [root at nagios libexec]# ./check_netapp -H netapp -C mystring -v DISKUSED DISKUSED WARNING - Kb Used : 8496184|*/vol/volnetapp/* But, when I added the checks into my nagios configuration to start checking the host using the following syntax: define command{ command_name check_netapp_DISKUSED command_line $USER1$/check_netapp -H $HOSTADDRESS$ -C $USER4$ -v DISKUSED } define service{ use Unix-Service host_name netapp.example.com service_description check_netapp_DISKUSED contact_groups Unix-Administrators check_command check_netapp_DISKUSED } When I go to the web interface and look at the service detail I get the following error in the STATUS information window: CRITICAL:Requested table is empty or does not exist for .1.3.6.1.4.1.789.1.5.4.1 with snmp version 1 It seems that Nagios cannot find the OID associated with this query? I was thinking that the OS is not aware of the MIB's based on the output so I downloaded the Netapp MIBS with no luck. Can someone offer some assistance? Thanks for any input. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffkoch at intersessions.com Wed Oct 1 03:21:43 2008 From: jeffkoch at intersessions.com (Jeff Koch) Date: Tue, 30 Sep 2008 21:21:43 -0400 Subject: changing socket timeout Message-ID: <5.2.1.1.2.20080930212026.05e82858@mail.intersessions.com> Hi All: Can anyone tell where I can change the socket timeout for the HTTP and HTTPS Service from 10 seconds to say 20 seconds? Thanks! Best Regards, Jeff Koch ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Wed Oct 1 06:37:20 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCworDpGNrZXI=?=) Date: Wed, 01 Oct 2008 06:37:20 +0200 Subject: changing socket timeout In-Reply-To: <5.2.1.1.2.20080930212026.05e82858@mail.intersessions.com> References: <5.2.1.1.2.20080930212026.05e82858@mail.intersessions.com> Message-ID: <48E2FE80.4060900@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeff Koch schrieb: > Hi All: > > Can anyone tell where I can change the socket timeout for the HTTP and > HTTPS Service from 10 seconds to say 20 seconds? > http://nagiosplugins.org/man/check_http Look for an option called - timeout -. - - Hendrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkji/oAACgkQlI0PwfxLQjm4jACfaGooX+zA33XDUhBh99bFcQzg m04AmwX38cTFXlOc1GZbd0B93o1pnu5q =RJmm -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From treibholz at sozial-inkompetent.de Wed Oct 1 08:33:29 2008 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Wed, 1 Oct 2008 08:33:29 +0200 Subject: English and German Counters with NSClient++ In-Reply-To: <48E2741F.7000900@medin.name> References: <20080930161258.GA12005@umbach-racing.de> <48E2741F.7000900@medin.name> Message-ID: <20081001063329.GB12005@umbach-racing.de> On 30/09/08 20:46, Michael Medin wrote: > Hello, > > NSClient++ (version 3 and above) do not use the "counter names" so they > are no longer language specific. > The coutners.defs is there as a "fall back" so it is probably never used... So is there a way of asking NSClient++ language independent for e.g. "\Physikalischer Datentr?ger(_Total)\Durchschnittl. Warteschlangenl?nge des Datentr?gers" vs "\PhysicalDisk(_Total)\Avg. Disk Queue Length" or do I have to define different services for different languages? - Treibholz > > > // Michael Medin > > Klaus Umbach skrev: >> Hi, >> >> I was just scared by the discovery that the performance counters in Windows >> are language specific... (Those morons even use Umlauts!) >> >> Is it somehow possible to define all I need in counters.defs and use them >> with a language-independent call? >> >> I already defined some, but I don't know how to call them now. >> >> >> >> >> Cheers >> Klaus >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at myacs.com Wed Oct 1 09:40:26 2008 From: matt at myacs.com (Matthew D. Baker) Date: Wed, 1 Oct 2008 02:40:26 -0500 Subject: Sticky Acknowledgement Bug? Message-ID: <6F04B688A0012D4B9F78960D96647B121C0B88@bakergcex01.myacs.com> All, Looking for a little confirmation or for someone to correct me. I've been playing around with a perl script to allow sending an acknowledgement to Nagios through replying to a host or service notification in email. I've got the script working but in the process noticed something odd. According to the Nagios documentation for the external command ACKNOWLEDGE_SVC_PROBLEM, setting "sticky" to 1 forces the acknowledgement to remain until the service returns to an OK state. However, if submitting an acknowledgement through the webui and then checking the Event Log, placing a check next to Sticky Acknowledgement causes the "sticky" option on the external command in the Event Log to show up as a 2. Leaving this box unchecked allows the "sticky" option in the Event Log to show up as a 1. I would have thought that checking this option in the webui would in effect turn it on, but the opposite appears to be occurring. Nagios version in use is 2.9. Thanks! Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at medin.name Wed Oct 1 11:16:14 2008 From: michael at medin.name (Michael Medin) Date: Wed, 01 Oct 2008 11:16:14 +0200 Subject: English and German Counters with NSClient++ In-Reply-To: <20081001063329.GB12005@umbach-racing.de> References: <20080930161258.GA12005@umbach-racing.de> <48E2741F.7000900@medin.name> <20081001063329.GB12005@umbach-racing.de> Message-ID: <48E33FDE.3050105@medin.name> Klaus Umbach skrev: > On 30/09/08 20:46, Michael Medin wrote: > >> Hello, >> >> NSClient++ (version 3 and above) do not use the "counter names" so they >> are no longer language specific. >> The coutners.defs is there as a "fall back" so it is probably never used... >> > > So is there a way of asking NSClient++ language independent for e.g. > Ahh... now I understand... no... (though I guess I could add it if you want). Feel free to make such a request at the trac site at nsclient.org and I shall see if I can fix it (going to Germany for maschinenfest so might take a week or two before you get it in a "nightly build"). Another option would be to "include" a "local.ini" file and have the language specific counters there. (look under the [include] section). But this would I guess require you to make some "manual" handling so I think an index based solution would perhaps be better. Also there is WMI which does much of what PDH does but again the index solution might be simpler... // Michael Medin > "\Physikalischer Datentr?ger(_Total)\Durchschnittl. Warteschlangenl?nge des Datentr?gers" > vs > "\PhysicalDisk(_Total)\Avg. Disk Queue Length" > > or do I have to define different services for different languages? > > - > Treibholz > > >> // Michael Medin >> >> Klaus Umbach skrev: >> >>> Hi, >>> >>> I was just scared by the discovery that the performance counters in Windows >>> are language specific... (Those morons even use Umlauts!) >>> >>> Is it somehow possible to define all I need in counters.defs and use them >>> with a language-independent call? >>> >>> I already defined some, but I don't know how to call them now. >>> >>> >>> >>> >>> Cheers >>> Klaus >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>> Build the coolest Linux based applications with Moblin SDK & win great prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zbipol at gmail.com Wed Oct 1 17:34:55 2008 From: zbipol at gmail.com (Z P) Date: Wed, 1 Oct 2008 17:34:55 +0200 Subject: Performance data via send_nsca - Distributed monitoring Message-ID: Hi Why performance data is not send by send_nsca I got several monitored machines and they are sending check results to master server, problem is that they are not sending performance data, on local machines everything looks ok Any ideas??? -- Regards zbipol -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tuomas.toropainen at lanwan.fi Wed Oct 1 17:44:45 2008 From: tuomas.toropainen at lanwan.fi (Tuomas Toropainen) Date: Wed, 1 Oct 2008 18:44:45 +0300 (EEST) Subject: Filtering out false alarms in unreliable network Message-ID: <32216.194.42.61.10.1222875885.squirrel@imap.lanwan.fi> The problem: how to filter out false alarms caused by short-time breaks in an unreliable network. Think about a simple monitoring scenario in which you only want to ping various devices to see if they are up or not. So you have 200 hosts with only one service (PING) for each. For a reason or another, short-time breaks occur in the network. That is, a particular host does not reply to PINGs for e.g. 30 seconds. These breaks should not cause a notification to be sent. What comes to services, the filtering is easy with max_check_attempt and retry_check_interval. But the host check becomes a problem: after first PING failure (soft state) the host is checked, and there is no retry_check_interval for hosts. So the host is declared to be down (almost) immediately. The notifications about hosts can be delayed using first_notification_delay. This seems to work fine except for one thing: flap detection. Even if the notification is not sent, the host (and service) is logged to have changed state, and when enough such state changes occur, the host (and service) is placed in flapping state. I do not want to disable flapping detection (or flapping notifications) completely, because they might be useful in many cases. What I would like to achieve is not to count those short-time outages when computing flapping percent state changes. How can I accomplish that? Should I go ahead and disable host checks completely? If there only was retry_check_interval for hosts, it would solve all these problems. I think it is quite common that the short-time outages are network-related, i.e. the complete host is unresponsive instead of a single service. When this is taken into account, it seems weird that there is retry_check_interval for services but not for hosts. Or would it ruin the scheduling logic? Thanks for any help. -tuomas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick_knight at rlknight.com Wed Oct 1 21:12:14 2008 From: rick_knight at rlknight.com (Rick Knight) Date: Wed, 01 Oct 2008 12:12:14 -0700 Subject: Help with Monitoring Windows Machines Message-ID: <48E3CB8E.7020803@rlknight.com> I've installed Nagios and have it working to monitor my linux localhost without problems, so I tried to add a Windows server to monitor. I followed the instructions in Nagios Documentation, Monitoring Windows Machines. After installing and starting NSClient++ on the Windows machine and making the changes to /usr/local/nagios/etc/nagios.cfg and /usr/local/nagios/etc/objects/windows.cfg I tried verifying the configuration with /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg. I get this error... Nagios 3.0b3 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 08-30-2007 License: GPL Reading configuration data... Error: Could not find any hostgroup matching 'allhosts' (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25) Error: Hostgroup has no members (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 47) ***> 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 regarding the config files, as well as the 'Whats New' section to find out what has changed. I get this on 2 linux PCs configured similarly. I've re-read the instructions and I've got everything correct. Why am I getting this error? Thanks, Rick ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 1 21:26:58 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Oct 2008 21:26:58 +0200 Subject: Performance data via send_nsca - Distributed monitoring In-Reply-To: References: Message-ID: <48E3CF02.8050408@op5.se> Z P wrote: > Hi > > Why performance data is not send by send_nsca > I got several monitored machines and they are sending check results to > master server, > problem is that they are not sending performance data, on local machines > everything looks ok > Any ideas??? > You've specified a bad ocsp command. Check the docs. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 1 21:36:44 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Oct 2008 21:36:44 +0200 Subject: Help with Monitoring Windows Machines In-Reply-To: <48E3CB8E.7020803@rlknight.com> References: <48E3CB8E.7020803@rlknight.com> Message-ID: <48E3D14C.9000806@op5.se> Rick Knight wrote: > I've installed Nagios and have it working to monitor my linux localhost > without problems, so I tried to add a Windows server to monitor. I > followed the instructions in Nagios Documentation, Monitoring Windows > Machines. After installing and starting NSClient++ on the Windows > machine and making the changes to /usr/local/nagios/etc/nagios.cfg and > /usr/local/nagios/etc/objects/windows.cfg I tried verifying the > configuration with /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg. I get this error... > > Nagios 3.0b3 > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > Last Modified: 08-30-2007 > License: GPL > > Reading configuration data... > > Error: Could not find any hostgroup matching 'allhosts' (config file > '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25) > Error: Hostgroup has no members (config file > '/usr/local/nagios/etc/objects/windows.cfg', starting on line 47) > My guess is that you've misspelled the name of the hostgroup 'allhosts' when defining it on line 47 in /usr/local/nagios/etc/objects/windows.cfg, or that the hostgroup "allhosts" indeed has no members, so that Nagios fails to add it properly and therefore cannot find it when you're using it to define one or more services. > ***> 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 regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > I get this on 2 linux PCs configured similarly. I've re-read the > instructions and I've got everything correct. > > Why am I getting this error? > Because you haven't gotten everything correct. Sorry, but the two are mutually exclusive, so either you have got it all right and won't see the error, or you somehow fscked up and you see the error. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Wed Oct 1 21:45:39 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Wed, 1 Oct 2008 11:45:39 -0800 Subject: Help with Monitoring Windows Machines In-Reply-To: <48E3CB8E.7020803@rlknight.com> References: <48E3CB8E.7020803@rlknight.com> Message-ID: <1D25C3568AA.00000762izz_abdullah@inbox.com> Hi Rick, In your windows.cfg file ensure you have the following: define hostgroup{ hostgroup_name allhosts alias All my Hosts #whatever you want (e.g. allhosts, All my Hosts, Windows Servers) members #put the hostname of the server you are monitoring here } I've also found you need to put in the templates.cfg file the following (at least, or maybe most :) ) define host{ name All my Hosts #whatever you want to identify (as above) use generic-host check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_period 24x7 notification_interval 30 notification_options d,r contact_groups admins hostgroups allhosts register 0 } Most of the templates.cfg portion is particular to my setup, change as necessary. Hope this helps. Regards, Izz > -----Original Message----- > From: rick_knight at rlknight.com > Sent: Wed, 01 Oct 2008 12:12:14 -0700 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help with Monitoring Windows Machines > > I've installed Nagios and have it working to monitor my linux localhost > without problems, so I tried to add a Windows server to monitor. I > followed the instructions in Nagios Documentation, Monitoring Windows > Machines. After installing and starting NSClient++ on the Windows > machine and making the changes to /usr/local/nagios/etc/nagios.cfg and > /usr/local/nagios/etc/objects/windows.cfg I tried verifying the > configuration with /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg. I get this error... > > Nagios 3.0b3 > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > Last Modified: 08-30-2007 > License: GPL > > Reading configuration data... > > Error: Could not find any hostgroup matching 'allhosts' (config file > '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25) > Error: Hostgroup has no members (config file > '/usr/local/nagios/etc/objects/windows.cfg', starting on line 47) > > ***> 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 regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > I get this on 2 linux PCs configured similarly. I've re-read the > instructions and I've got everything correct. > > Why am I getting this error? > > Thanks, > Rick > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick_knight at rlknight.com Wed Oct 1 22:27:11 2008 From: rick_knight at rlknight.com (Rick Knight) Date: Wed, 01 Oct 2008 13:27:11 -0700 Subject: Help with Monitoring Windows Machines In-Reply-To: <1D25C3568AA.00000762izz_abdullah@inbox.com> References: <1D25C3568AA.00000762izz_abdullah@inbox.com> Message-ID: <48E3DD1F.8080804@rlknight.com> Izz Abdullah wrote: > Hi Rick, > > In your windows.cfg file ensure you have the following: > > define hostgroup{ > hostgroup_name allhosts > alias All my Hosts #whatever you want (e.g. allhosts, All my Hosts, Windows Servers) > members #put the hostname of the server you are monitoring here > } > > I've also found you need to put in the templates.cfg file the following (at least, or maybe most :) ) > > define host{ > name All my Hosts #whatever you want to identify (as above) > use generic-host > check_period 24x7 > check_interval 5 > retry_interval 1 > max_check_attempts 10 > check_command check-host-alive > notification_period 24x7 > notification_interval 30 > notification_options d,r > contact_groups admins > hostgroups allhosts > register 0 > } > > Most of the templates.cfg portion is particular to my setup, change as necessary. > > Hope this helps. > > Regards, > Izz > > >> -----Original Message----- >> From: rick_knight at rlknight.com >> Sent: Wed, 01 Oct 2008 12:12:14 -0700 >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Help with Monitoring Windows Machines >> >> I've installed Nagios and have it working to monitor my linux localhost >> without problems, so I tried to add a Windows server to monitor. I >> followed the instructions in Nagios Documentation, Monitoring Windows >> Machines. After installing and starting NSClient++ on the Windows >> machine and making the changes to /usr/local/nagios/etc/nagios.cfg and >> /usr/local/nagios/etc/objects/windows.cfg I tried verifying the >> configuration with /usr/local/nagios/bin/nagios -v >> /usr/local/nagios/etc/nagios.cfg. I get this error... >> >> Nagios 3.0b3 >> Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) >> Last Modified: 08-30-2007 >> License: GPL >> >> Reading configuration data... >> >> Error: Could not find any hostgroup matching 'allhosts' (config file >> '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25) >> Error: Hostgroup has no members (config file >> '/usr/local/nagios/etc/objects/windows.cfg', starting on line 47) >> >> ***> 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 regarding the config files, as well as the >> 'Whats New' section to find out what has changed. >> >> I get this on 2 linux PCs configured similarly. I've re-read the >> instructions and I've got everything correct. >> >> Why am I getting this error? >> >> Thanks, >> Rick >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> Thanks Izz & Andreas, Your suggestions helped me find my problem. The default windows.cfg has a hostgroup windows_servers. That group does not have a members option. I added members and the member server name to hostgroup windows_servers and now things are working. Thanks to both of yoy. Izz, I'm going to look at your template.cfg to see if there's anything that looks like I want. Thanks again, Rick ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.kainz at tugraz.at Wed Oct 1 21:51:21 2008 From: simon.kainz at tugraz.at (Simon Kainz) Date: Wed, 01 Oct 2008 21:51:21 +0200 Subject: SMS notification problem . HW trouble ? Message-ID: <20081001215121.11904h3wwdh3sccg@webmail.tugraz.at> Hi List ! I hope this is not too off-topic, but it is somehow related to Nagios, so here we go... I use a Siemens T35i GSM module for sending Nagios notifications as well as using it as a email-to-sms gateway. This worked for at least 3 years in a total of about 12000 SMS. Since several days i get strange errors, like some sms not being sent or even received, which is rather annoying, at least. As far as I know, sending SMS works like copy the sms to sim card and send it fro there. Could it be possible the the EEPROM starage area on the SIM is "written to death" after this many sms's ? I use debian and smstools, which tells me the following errors: +CMS ERROR: 321 with the following error codes: 303 314 321 500 Maybe someone has already encountered soemthing similar ? Regards , Simon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor.severgnini at opservices.com.br Wed Oct 1 22:46:51 2008 From: victor.severgnini at opservices.com.br (Victor Severgnini) Date: Wed, 1 Oct 2008 17:46:51 -0300 (BRT) Subject: SMS notification problem . HW trouble ? In-Reply-To: <2929670.94651222893989776.JavaMail.root@mail.opservices.com.br> References: <2929670.94651222893989776.JavaMail.root@mail.opservices.com.br> Message-ID: <8442767.94671222894011357.JavaMail.root@mail.opservices.com.br> Hello Simon, I found no similar errors, but I got a list describing the mistakes that can help you: +CMS ERROR Message service error Description These are the error codes for +CMS ERROR. Error code Meaning 0-127 GSM 04.11 Annex E-2 values 128-255 GSM 03.40 section 9.2.3.22 values 300 Phone failure 301 SMS service of phone reserved 302 Operation not allowed 303 Operation not supported 304 Invalid PDU mode parameter 305 Invalid text mode parameter 310 SIM not inserted 311 SIM PIN necessary 312 PH-SIM PIN necessary 313 SIM failure 314 SIM busy 315 SIM wrong 320 Memory failure 321 Invalid memory index 322 Memory full 330 SMSC (message service center) address unknown 331 No network service 332 Network timeout 500 Unknown error 512 Manufacturer specific Regards. --- Victor Severgnini victor.severgnini at opservices.com.br OpServices www.opservices.com.br Porto Alegre - RS - Brazil Phone: (55) 51 3275 3588 Mobile: (55) 51 -81944997 ----- Mensagem original ----- De: "Simon Kainz" Para: nagios-users at lists.sourceforge.net Enviadas: Quarta-feira, 1 de Outubro de 2008 16:51:21 (GMT-0300) Auto-Detected Assunto: [Nagios-users] SMS notification problem . HW trouble ? Hi List ! I hope this is not too off-topic, but it is somehow related to Nagios, so here we go... I use a Siemens T35i GSM module for sending Nagios notifications as well as using it as a email-to-sms gateway. This worked for at least 3 years in a total of about 12000 SMS. Since several days i get strange errors, like some sms not being sent or even received, which is rather annoying, at least. As far as I know, sending SMS works like copy the sms to sim card and send it fro there. Could it be possible the the EEPROM starage area on the SIM is "written to death" after this many sms's ? I use debian and smstools, which tells me the following errors: +CMS ERROR: 321 with the following error codes: 303 314 321 500 Maybe someone has already encountered soemthing similar ? Regards , Simon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Oct 2 09:26:55 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 02 Oct 2008 02:26:55 -0500 Subject: Filtering out false alarms in unreliable network References: <32216.194.42.61.10.1222875885.squirrel@imap.lanwan.fi> Message-ID: <8et8e45ghvj5osobvkfpe61tfef1112hgj@4ax.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 1 Oct 2008 18:44:45 +0300 (EEST), "Tuomas Toropainen" wrote: >The problem: how to filter out false alarms caused by short-time breaks in >an unreliable network. > >Think about a simple monitoring scenario in which you only want to ping >various devices to see if they are up or not. So you have 200 hosts with >only one service (PING) for each. > >For a reason or another, short-time breaks occur in the network. That is, >a particular host does not reply to PINGs for e.g. 30 seconds. These >breaks should not cause a notification to be sent. > >What comes to services, the filtering is easy with max_check_attempt and >retry_check_interval. But the host check becomes a problem: after first >PING failure (soft state) the host is checked, and there is no >retry_check_interval for hosts. So the host is declared to be down >(almost) immediately. I'm going to guess you're using nagios 2. Nagios 3 has a retry_interval for both service, and host. However, that being said, that just hints to me that the host check will be executed "max_check_attempts" at the "check_interval" rate (both options exist on a host). So set your max_check_attempts to a reasonible number (3 for 3 minutes for example), and check_interval to another reasonible number (1 for 1 minute), and that should handle 30 second "blips" in networks. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjkd6wACgkQK4PoFPj9H3P/bACdEPhfz6wPYCAqLpYHcU/wI7JZ OBgAoOqAadpvYuHSQbnGU5zHkbjl85TQ =jj8S -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Oct 2 09:41:29 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 02 Oct 2008 02:41:29 -0500 Subject: Check_netapp.pl plugin Issues References: Message-ID: <6cu8e4lnq7u0j3rma7phdcsdrlmvm0ap1a@4ax.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 30 Sep 2008 21:23:07 -0400, Don wrote: >Hi, I am having the following issue running the check_netapp plugin. The >specific plugin I am using is the check_netapp3.pl from nagiosexchange. Here >is the issue, > >Running the plugin by hand works perfectly I get the results wanted as seen >below: >[root at nagios libexec]# ./check_netapp -H netapp -C mystring -v DISKUSED >DISKUSED WARNING - Kb Used : 8496184|*/vol/volnetapp/* >But, when I added the checks into my nagios configuration to start checking >the host using the following syntax: >define command{ >command_name check_netapp_DISKUSED >command_line $USER1$/check_netapp -H $HOSTADDRESS$ -C $USER4$ -v DISKUSED >} I'm asuming $USER4$ is a properly defined macro? Have you attempted to hard code the value in there "mystring" in your above example. >define service{ >use Unix-Service >host_name netapp.example.com >service_description check_netapp_DISKUSED >contact_groups Unix-Administrators >check_command check_netapp_DISKUSED >} > >When I go to the web interface and look at the service detail I get the >following error in the STATUS information window: > >CRITICAL:Requested table is empty or does not exist for >.1.3.6.1.4.1.789.1.5.4.1 with snmp version 1 As it's complaining about version info, have you tried adding -P 2? Have you tried turning on the debugging, and seeing what the command is being expanded to? >It seems that Nagios cannot find the OID associated with this query? >I was thinking that the OS is not aware of the MIB's based on the output so >I downloaded the Netapp MIBS with no luck. Can someone offer some >assistance? MIBs are generally just to make it easier for us meer humans to read. As long as the server/device responds to the number you request, the machine doesn't really need the words. It only comes in handy if you decide you want to write code that does nice queries, such as getting the system uptime sysUpTime.0. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjkexwACgkQK4PoFPj9H3MDxQCeKPbESU58Fsu9r9ZV5BOvdL9L EgsAoPf0k27iW5NmInMLImEzQpp5jN1x =mZlU -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Oct 2 10:13:35 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 02 Oct 2008 03:13:35 -0500 Subject: nagios on call schedule w/ escalations? References: <22DEED01-E27A-40EA-A539-A92E76A9BBCE@gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 30 Sep 2008 16:22:16 -0500, Charlie Reddington wrote: >Hi guys / gals, > >I am working on the final stages of my nagios setup, but I'm entering >territory which I haven't been before and can use some guidance. I'm sure you've probably taken a peek at the "On Call Rotations" details in the documentation: http://nagios.sourceforge.net/docs/3_0/oncallrotation.html There are plenty of examples to get a good idea. >Here's what I'm trying to achieve. We have a team of 3 admins, where >we rotate weeks who is on call. Of course, they aren't every other 3rd >week , because of people having vacation time, etc. So some weeks >people are on call for 2 weeks, or every 2 weeks, etc. > >What we'd like is, to have a schedule setup where the primary guy gets >woken up first. But if he doesn't answer his call after an hour, it >drops down to the rest of us admins. No matter if your just at home >sleeping, or if your on vacation, you get pinged. After that it goes >up to our manager. >I can figure out the setting of people's initial schedule, as I have >it looking something like this.... > ># contacts > >define contact{ > contact_name user1 > use generic-contact > alias user1 > email user1 > host_notification_period user1_oncall > service_notfication_period user1_oncall > } > >define contact{ > contact_name user2 > use generic-contact > alias user2 > email user2 > host_notification_period user2_oncall > service_notfication_period user2_oncall > } > >define contact{ > contact_name user3 > use generic-contact > alias user3 > email user3 > host_notification_period user3_oncall > service_notfication_period user3_oncall > } >define contact{ > contact_name manager1 > use generic-contact > email manager1 > } > ># groiups > >define contactgroup{ > contact_groupname admins > members user1,user2,user3 >} >define contactgroup{ > contact_groupname managers > members manager1 >} > ># Time periods > >define timeperiod{ > timeperiod_name user1_oncall > Sept 29 - Oct 5 00:00-24:00 > Oct 20 - Oct 26 00:00-24:00 > Nov 17 - Nov 23 00:00-24:00 > Dec 1 - Dec 7 00:00-24:00 > Dec 15 - Dec 21 00:00-24:00 >} > >define timeperiod{ > timeperiod_name user2_oncall > Oct 6 - Oct 12 00:00-24:00 > Nov 3 - Nov 9 00:00-24:00 > Nov 24 - Nov 30 00:00-24:00 > Dec 22 - Dec 23 00:00-24:00 >} > >define timeperiod{ > timeperiod_name user3_oncall > Oct 13 - Oct 19 00:00-24:00 > Oct 27 - Nov 2 00:00-24:00 > Nov 10 - Nov 16 00:00-24:00 > Dec 8 - Dec 14 00:00-24:00 >} >Would / Does escalations trump the initial contacts? > ># First escalations >define serviceescalation{ > hostgroup_name Servers > service_description * > first_notification 2 > last_notification 3 > notification_interval 30 > contact_groups admins >} > ># Second escalations >define serviceescalation{ > hostgroup_name Servers > service_description * > first_notification 3 > last_notification 8 > notification_interval 60 > contact_groups admins,managers >} > >So I know this isn't quite right, as our admins are part of the admin >group, but also trying to restrict when they get contacted. So I'm not >really sure how to proceed with this. You might want to read up on notifications, and serviceescalations, too... Looking at the time stuff you've got, what'll happen is at any one point, only 1 of the admins will be reachable by notifications at any time. This is because the "timeperiods" stop nagios from sending notifications to a user that is outside their timeperiod. For example, a host goes down at 2100 on Oct 15th, only user3 will be notified, even after the escalations kick in. There will be a period of 0-3 notifications where user3 is the only recipient. It'll only get to another person when the 3rd notification goes out, and it engages the "managers" contact group. Depending on how many users/admins you're looking at, you could use a trick with templating, and inheritence. Keeping your base users as you have above, then build escalation users' and groups. define timeperiod { timeperiod_name AllTimes alias All Times sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define contact { contact_name disable_times host_notification_period AllTimes service_notification_period AllTimes register 0 } define contact{ contact_name user1 use generic-contact alias user1 email user1 host_notification_period user1_oncall service_notfication_period user1_oncall } define contact{ contact_name user2 use generic-contact alias user2 email user2 host_notification_period user2_oncall service_notfication_period user2_oncall } define contact { use disable_times,user1 contact_name user1_esc } define contact { user disable_times,user2 contact_name user2_esc } define contactgroup { contactgroup_name admins members user1,user2 } define contactgroup { contactgroup_name admins_esc members user1_esc,user2_esc } Then your service escalations use admins_esc instead of just admins. I've not tested it, but looking at the way inheritence works, you should be OK. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjkgqMACgkQK4PoFPj9H3MthQCg4XgD5eNyl190umm7Ew8OouKK kCoAoNsRdPjpTMX/tO/eC00ejVb3MjzF =XHky -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Oct 2 10:26:37 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 02 Oct 2008 03:26:37 -0500 Subject: Integration with Request Tracker References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> <02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk> <302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com> <48E22878.90402@op5.se> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 30 Sep 2008 15:24:08 +0200, Andreas Ericsson wrote: >Jim Perrin wrote: >> On Tue, Sep 30, 2008 at 3:26 AM, Bo Philip Larsen wrote: >>> This found on nagiosexchange http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2542.html;d=1 >> >> Thanks for this, but the limitation the author lists at the bottom is >> just about exactly what I'm running in to. How do you track the ticket >> number between nagios and RT? Tracking the consistent data for the >> duration of an issue complicates ticket generation/closure a little >> bit :-) >> >> > >Nagios 3 introduces notification id's. Once you can connect a >notification id and an rt number, you're home free. How to make that >connection is up to you though. Not directly. Looking at the description, the ID increases on each new notification sent. : The notification ID number is incremented by one (1) each time a new : host notification is sent out, and regardless of how many contacts are : notified. I read this being that each notification gets a new ID. For example, a host goes down, the first notification gets 1... second gets 2... etc. Host recovers. A service on another host goes down, and the notification ID is 3. It'd be a little easier if the notification ID stayed the same for the entire duration of the host being down. You might want to look at $SERVICEPROBLEMID$ and $HOSTPROBLEMID$ instead. And the $LAST...$ versions of both of those. Combining with an event handler, you can probably use a small table containing the RT ticket number, the host/service name, and the problem ID. You'd then feed the state, statetype, service, host, and the problem ID macros to the event handler, and you should then be home free :) - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjkhbUACgkQK4PoFPj9H3OJSQCfTAjWQlnsjFemAPu3T/v6KQX5 oCwAnj1gov/YsCbn/aezABh9bwL0qs44 =oliQ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Thu Oct 2 11:01:43 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 02 Oct 2008 11:01:43 +0200 Subject: Integration with Request Tracker In-Reply-To: References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> <02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk> <302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com> <48E22878.90402@op5.se> Message-ID: <1222938103.30176.15.camel@bofh.dtnet.de> Hi > Not directly. Looking at the description, the ID increases on each > new notification sent. > > : The notification ID number is incremented by one (1) each time a new > > : host notification is sent out, and regardless of how many contacts > are > : notified. > > I read this being that each notification gets a new ID. For example, > a host goes down, the first notification gets 1... second gets 2... > etc. Host recovers. A service on another host goes down, and the > notification ID is 3. No. The Order is: Host goes down Notification 1 Notification 2 Notification 3 Host recovers Notification 4 (Recovery) Host goes down (any) Notification 1 Notification 2 ... Notifications are counted for each problem without regarding other problems. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bartek at net-serwis.pl Thu Oct 2 11:26:40 2008 From: bartek at net-serwis.pl (Bartlomiej Korupczynski) Date: Thu, 2 Oct 2008 11:26:40 +0200 Subject: Services get stuck in warning/critical state Message-ID: <20081002112640.5f373a09.bartek@net-serwis.pl> Hello, Since upgrade to 3.0.3 from ports on FreeBSD 6.2-RELEASE. It's used to monitor approx. 300 services on 150 hosts. The problem is, that sometimes random services get stuck in warning/critical state. I've checked scheduling queue in CGI and it seems right, but as I see, it says only about hosts, not services. I probably should also mention, that nagios host sometimes has quite high load (up to 2.0 on uniprocessor machine), as a result of monitoring scripts. Next thing is that monitoring host has big constant clock skew that I can't get rid of (time runs faster, ca. 5s for every 2 minutes, this gets corrected by ntpdate every 2 minutes). - example host status: Host Status: UP (for 1d 9h 35m 23s) Status Information: PING OK - Packet loss = 0%, RTA = 15.33 ms Performance Data: rta=15.333000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0 Current Attempt: 1/5 (HARD state) Last Check Time: 02-10-2008 10:32:44 Check Type: ACTIVE Check Latency / Duration: 0.732 / 0.152 seconds Next Scheduled Active Check: 02-10-2008 10:37:54 Last State Change: 01-10-2008 01:02:43 Last Notification: N/A (notification 0) Is This Host Flapping? N/A In Scheduled Downtime? NO Last Update: 02-10-2008 10:37:58 ( 0d 0h 0m 8s ago) - service status on the host above: Current Status: CRITICAL (for 2d 2h 55m 9s) Status Information: PING CRITICAL - Packet loss = 0%, RTA = 313.92 ms Performance Data: Current Attempt: 3/5 (SOFT state) Last Check Time: 30-09-2008 07:44:36 Check Type: ACTIVE Check Latency / Duration: 0.116 / 4.657 seconds Next Scheduled Check: 30-09-2008 07:45:36 Last State Change: 30-09-2008 07:44:36 Last Notification: N/A (notification 0) Is This Service Flapping? N/A In Scheduled Downtime? NO Last Update: 02-10-2008 10:39:43 ( 0d 0h 0m 2s ago) Notice the Last Check Time, the service status is two days old. Problem can be resolved by nagios restart, or by "Re-schedule the next check of this service" in the CGI. Parent host is up, and the service has no parent. Is there any configuration directive that may cause service check to be dropped by the scheduler? - configuration related to host: define host { register 0 name generic-host check_command check-host-alive notification_period 24x7 notification_options d,u,r max_check_attempts 5 notification_interval 240 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define host { register 0 use generic-host name generic-device-ext contact_groups noc,tech } define host { use generic-device-ext host_name ... alias ... address ... parents ... } - service: define service { name generic-service active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options u,w,c,r register 0 } define service { use generic-service name nrpe max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 register 0 } define service { use nrpe name nrpe-ping service_description PING-nrpe check_command check_nrpe_ping!... contact_groups noc-prio host_name ... } Thanks in advance for any clues. Best regards, Bart?omiej Korupczy?ski ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 2 16:08:44 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Oct 2008 16:08:44 +0200 Subject: Integration with Request Tracker In-Reply-To: References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> <02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk> <302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com> <48E22878.90402@op5.se> Message-ID: <48E4D5EC.7060401@op5.se> Jon Angliss wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 30 Sep 2008 15:24:08 +0200, Andreas Ericsson > wrote: > >> Jim Perrin wrote: >>> On Tue, Sep 30, 2008 at 3:26 AM, Bo Philip Larsen wrote: >>>> This found on nagiosexchange http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2542.html;d=1 >>> Thanks for this, but the limitation the author lists at the bottom is >>> just about exactly what I'm running in to. How do you track the ticket >>> number between nagios and RT? Tracking the consistent data for the >>> duration of an issue complicates ticket generation/closure a little >>> bit :-) >>> >>> >> Nagios 3 introduces notification id's. Once you can connect a >> notification id and an rt number, you're home free. How to make that >> connection is up to you though. > > Not directly. Looking at the description, the ID increases on each > new notification sent. > > : The notification ID number is incremented by one (1) each time a new > > : host notification is sent out, and regardless of how many contacts > are > : notified. > > I read this being that each notification gets a new ID. For example, > a host goes down, the first notification gets 1... second gets 2... > etc. Host recovers. A service on another host goes down, and the > notification ID is 3. > > It'd be a little easier if the notification ID stayed the same for the > entire duration of the host being down. > > You might want to look at $SERVICEPROBLEMID$ and $HOSTPROBLEMID$ > instead. And the $LAST...$ versions of both of those. Combining with > an event handler, you can probably use a small table containing the RT > ticket number, the host/service name, and the problem ID. You'd then > feed the state, statetype, service, host, and the problem ID macros to > the event handler, and you should then be home free :) > Ah, right. Those were the ones I was thinking about. Notification id's are old news. It's the problem id's that are fresh and good. Thanks for paying attention :) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charlie.reddington at gmail.com Thu Oct 2 16:28:12 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Thu, 2 Oct 2008 09:28:12 -0500 Subject: nagios on call schedule w/ escalations? In-Reply-To: References: <22DEED01-E27A-40EA-A539-A92E76A9BBCE@gmail.com> Message-ID: On Oct 2, 2008, at 3:13 AM, Jon Angliss wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 30 Sep 2008 16:22:16 -0500, Charlie Reddington > wrote: > >> Hi guys / gals, >> >> I am working on the final stages of my nagios setup, but I'm entering >> territory which I haven't been before and can use some guidance. > > I'm sure you've probably taken a peek at the "On Call Rotations" > details in the documentation: > > http://nagios.sourceforge.net/docs/3_0/oncallrotation.html > > There are plenty of examples to get a good idea. Yep, this is where I started. > > >> Here's what I'm trying to achieve. We have a team of 3 admins, where >> we rotate weeks who is on call. Of course, they aren't every other >> 3rd >> week , because of people having vacation time, etc. So some weeks >> people are on call for 2 weeks, or every 2 weeks, etc. >> >> What we'd like is, to have a schedule setup where the primary guy >> gets >> woken up first. But if he doesn't answer his call after an hour, it >> drops down to the rest of us admins. No matter if your just at home >> sleeping, or if your on vacation, you get pinged. After that it goes >> up to our manager. > >> I can figure out the setting of people's initial schedule, as I have >> it looking something like this.... >> >> # contacts >> >> define contact{ >> contact_name user1 >> use generic-contact >> alias user1 >> email user1 >> host_notification_period user1_oncall >> service_notfication_period user1_oncall >> } >> >> define contact{ >> contact_name user2 >> use generic-contact >> alias user2 >> email user2 >> host_notification_period user2_oncall >> service_notfication_period user2_oncall >> } >> >> define contact{ >> contact_name user3 >> use generic-contact >> alias user3 >> email user3 >> host_notification_period user3_oncall >> service_notfication_period user3_oncall >> } >> define contact{ >> contact_name manager1 >> use generic-contact >> email manager1 >> } >> >> # groiups >> >> define contactgroup{ >> contact_groupname admins >> members user1,user2,user3 >> } >> define contactgroup{ >> contact_groupname managers >> members manager1 >> } >> >> # Time periods >> >> define timeperiod{ >> timeperiod_name user1_oncall >> Sept 29 - Oct 5 00:00-24:00 >> Oct 20 - Oct 26 00:00-24:00 >> Nov 17 - Nov 23 00:00-24:00 >> Dec 1 - Dec 7 00:00-24:00 >> Dec 15 - Dec 21 00:00-24:00 >> } >> >> define timeperiod{ >> timeperiod_name user2_oncall >> Oct 6 - Oct 12 00:00-24:00 >> Nov 3 - Nov 9 00:00-24:00 >> Nov 24 - Nov 30 00:00-24:00 >> Dec 22 - Dec 23 00:00-24:00 >> } >> >> define timeperiod{ >> timeperiod_name user3_oncall >> Oct 13 - Oct 19 00:00-24:00 >> Oct 27 - Nov 2 00:00-24:00 >> Nov 10 - Nov 16 00:00-24:00 >> Dec 8 - Dec 14 00:00-24:00 >> } > >> Would / Does escalations trump the initial contacts? >> >> # First escalations >> define serviceescalation{ >> hostgroup_name Servers >> service_description * >> first_notification 2 >> last_notification 3 >> notification_interval 30 >> contact_groups admins >> } >> >> # Second escalations >> define serviceescalation{ >> hostgroup_name Servers >> service_description * >> first_notification 3 >> last_notification 8 >> notification_interval 60 >> contact_groups admins,managers >> } >> >> So I know this isn't quite right, as our admins are part of the admin >> group, but also trying to restrict when they get contacted. So I'm >> not >> really sure how to proceed with this. > > You might want to read up on notifications, and serviceescalations, > too... Looking at the time stuff you've got, what'll happen is at any > one point, only 1 of the admins will be reachable by notifications at > any time. This is because the "timeperiods" stop nagios from sending > notifications to a user that is outside their timeperiod. For > example, a host goes down at 2100 on Oct 15th, only user3 will be > notified, even after the escalations kick in. There will be a period > of 0-3 notifications where user3 is the only recipient. It'll only > get to another person when the 3rd notification goes out, and it > engages the "managers" contact group. That's kind of what I thought would happen. > > > Depending on how many users/admins you're looking at, you could use a > trick with templating, and inheritence. Keeping your base users as you > have above, then build escalation users' and groups. > > define timeperiod { > timeperiod_name AllTimes > alias All Times > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > define contact { > contact_name disable_times > host_notification_period AllTimes > service_notification_period AllTimes > register 0 > } > > define contact{ > contact_name user1 > use generic-contact > alias user1 > email user1 > host_notification_period user1_oncall > service_notfication_period user1_oncall > } > > define contact{ > contact_name user2 > use generic-contact > alias user2 > email user2 > host_notification_period user2_oncall > service_notfication_period user2_oncall > } > > define contact { > use disable_times,user1 > contact_name user1_esc > } > > define contact { > user disable_times,user2 > contact_name user2_esc > } > > define contactgroup { > contactgroup_name admins > members user1,user2 > } > > define contactgroup { > contactgroup_name admins_esc > members user1_esc,user2_esc > } > > Then your service escalations use admins_esc instead of just admins. > I've not tested it, but looking at the way inheritence works, you > should be OK. I'll give this a test run and see if I can get this working. Thanks for the help. > > > - -- > Jon Angliss > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 > > iEYEARECAAYFAkjkgqMACgkQK4PoFPj9H3MthQCg4XgD5eNyl190umm7Ew8OouKK > kCoAoNsRdPjpTMX/tO/eC00ejVb3MjzF > =XHky > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Thu Oct 2 18:06:12 2008 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 2 Oct 2008 12:06:12 -0400 Subject: Integration with Request Tracker In-Reply-To: References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> <02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk> <302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com> <48E22878.90402@op5.se> Message-ID: <302ce8b50810020906u2b16d02br5c0f71af9fd79403@mail.gmail.com> On Thu, Oct 2, 2008 at 4:26 AM, Jon Angliss wrote: > You might want to look at $SERVICEPROBLEMID$ and $HOSTPROBLEMID$ > instead. And the $LAST...$ versions of both of those. Combining with > an event handler, you can probably use a small table containing the RT > ticket number, the host/service name, and the problem ID. You'd then > feed the state, statetype, service, host, and the problem ID macros to > the event handler, and you should then be home free :) Yes, event handlers were the plan all along but I lacked a simple method to track an incident between nagios and RT reliably. Your suggestion of problem id's looks very promising. This, combined with nagios having its own queue within RT, and a few custom ticket fields should do quite nicely. Thanks again! -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hars at bik-gmbh.de Thu Oct 2 21:14:07 2008 From: hars at bik-gmbh.de (Florian Hars) Date: Thu, 02 Oct 2008 21:14:07 +0200 Subject: out of bounds array access in mmap_fgets_multiline Message-ID: <48E51D7F.6010202@bik-gmbh.de> As noticed before http://archive.netbsd.se/?ml=nagios-users&a=2008-05&t=7383489 nagios 3 tends to segfault while reading its config files on OpenBSD. It always happens in the same position in the code: | Program received signal SIGSEGV, Segmentation fault. | [Switching to process 32062, thread 0x8511f400] | 0x1c03c443 in mmap_fgets_multiline (temp_mmapfile=0x88b82b60) at | utils.c:3487 | 3487 else if(buf[end]=='\\') | (gdb) print buf | $1 = 0x81bc8000 "\n" | (gdb) print end | $2 = -1 but in different locations in the config file: | (gdb) print *temp_mmapfile | $3 = {path = 0x8bddf100 "/usr/local/nagios/etc/nagios.cfg", | mode = 0,fd = 8, file_size = 42546, current_position = 4794, | current_line = 144, mmap_buf = 0x82f46000} | $4 = {path = 0x7ff95540 "/usr/local/nagios/etc/nagios.cfg", | mode = 0,fd = 8, file_size = 42546, current_position = 8733, | current_line = 260, mmap_buf = 0x89ec5000} Sometimes it will just stop reading the config files halfway through and claim that things look okay. The value of -1 for end is a dead giveaway: It leads to an undefined access to buf[-1], which suggested OpenBSDs address randomization as the source for the curious nondeterminism. I changed two lines in the source: --- nagios-3.0.3-orig/base/utils.c Mon Jun 23 22:47:41 2008 +++ nagios-3.0.3/base/utils.c Thu Oct 2 20:15:56 2008 @@ -3472,7 +3472,8 @@ end=len-1; #ifdef DEBUG - printf("LEN: %d, END: %d, BUF=%s",len,end,buf); + printf("LEN: %d, END: %d, BUF=(%p) %s",len,end,buf,buf); + fflush(stdout); #endif /* two backslashes found, so unescape first backslash first and break */ And indeed, the segfaults happen if, and only if end is -1 and buf is allocated at the start of a page: | LEN: 1, END: -1, BUF=(0x7fecf000) | | Program received signal SIGSEGV, Segmentation fault. The root cause lies in these lines: 3465 /* handle Windows/DOS CR/LF */ 3466 if(len>=2 && buf[len-2]=='\r') 3467 end=len-3; 3468 /* normal Unix LF */ 3469 else if(len>=1 && buf[len-1]=='\n') 3470 end=len-2; 3471 else 3472 end=len-1; which result in end=-1 if buf contains just an end of line. - Florian. -- But our moral language is fragmented; our contemporaries reject the Kantian hunch that choosing those things most admirable and plausible as ends in themselves is the best practice; autonomous sources of the good are everywhere brown and broken. Thus we have PHP. http://lambda-the-ultimate.org/node/1463 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick_knight at rlknight.com Thu Oct 2 22:16:24 2008 From: rick_knight at rlknight.com (Rick Knight) Date: Thu, 02 Oct 2008 13:16:24 -0700 Subject: 3-D Status Map not working Message-ID: <48E52C18.5060509@rlknight.com> I've installed openvrml with it's Mozilla plugin. I've tested the plugin and it works fine with the models supplied with openvrml, but not with Nagios. When I click on 3-D Status Map I get a black screen. I found this error in my apache2 log... [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not found or unable to stat: /usr/local/nagios/sbin/nagios I get this each time I try to view the 3-D maps. Is this a configuration issue? I don't have a /usr/local/nagios/sbin/nagios, I do have /usr/local/bin/nagios. Thanks, Rick ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick_knight at rlknight.com Thu Oct 2 23:24:15 2008 From: rick_knight at rlknight.com (Rick Knight) Date: Thu, 02 Oct 2008 14:24:15 -0700 Subject: 3-D Status Map not working In-Reply-To: <48E52C18.5060509@rlknight.com> References: <48E52C18.5060509@rlknight.com> Message-ID: <48E53BFF.5000202@rlknight.com> Rick Knight wrote: > I've installed openvrml with it's Mozilla plugin. I've tested the plugin > and it works fine with the models supplied with openvrml, but not with > Nagios. When I click on 3-D Status Map I get a black screen. I found > this error in my apache2 log... > > [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not found > or unable to stat: /usr/local/nagios/sbin/nagios > > I get this each time I try to view the 3-D maps. Is this a configuration > issue? I don't have a /usr/local/nagios/sbin/nagios, I do have > /usr/local/bin/nagios. > > Thanks, > Rick > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Also, when I save a map to my Desktop on my PC and then try to open with sdl-viewer, I get this error (the first line is the command to open the file)... rknight at calinxpit01:~/Desktop/NewDownloads/openvrml-0.17.8/examples$ ./sdl-viewer ~/Desktop/statuswrl.wrl file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png: unrecognized error during resolution no alternative URI could be resolved The path to my Nagios images directory is /usr/local/nagios/share/images. Where is the path above comming from? Thanks, Rick ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdc154 at psu.edu Thu Oct 2 23:03:41 2008 From: mdc154 at psu.edu (Mike Carey) Date: Thu, 2 Oct 2008 17:03:41 -0400 Subject: Editing CGI files in Nagios Message-ID: <01E9BE53DDA8974BA1A4E4C6DB8BA15B0510CAA3@tnshestia.tnsadmin.tns.psu.edu> Is it possible to customize the avail.cgi file to add things like Title and Logos to the Summary and Availability reports that run? Everytime I try to adjust the avail.cgi file in /usr/local/share/nagios/sbin on a Ubuntu server, the Availability main report page doesn't come up anymore. I've tried editing it with both vi and nano. And I'm just testing it with a simple change, like making Nagios, ALL CAPS, in the frame box just to see if it will work. Michael D. Carey Telecommunications and Networking Services Information Technology Services Pennsylvania State University (814) 863-7712 mdc154 at psu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Fri Oct 3 02:11:58 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Thu, 2 Oct 2008 16:11:58 -0800 Subject: 3-D Status Map not working In-Reply-To: <48E53BFF.5000202@rlknight.com> References: <48e52c18.5060509@rlknight.com> Message-ID: <2C0BB3F9548.0000095Dizz_abdullah@inbox.com> Hi Rick, I've also done this just to make Nagios "pretty" to the users and customize for our customers. If you see the documentation, you must create the logos directory with 40x40 pixel png (other formats acceptable) for the VRML logos to work, also, this will create little logos in your regular status map as well as a pic next to the host in the summary page. If I am not mistaken, you will need to put together a: define hostextinfo{...} declaration, but it's all in the documentation. Here is an example completely specific to my internal setup for APAC usage justification: in the say...windows.cfg file: define hostextinfo{ host_name #APAC-TEST #this should be the host you want #the special pic for which is located in your logos directory in which you created notes Test 2003 Domain Controller icon_image Simpsons_couch_gag.jpg statusmap_image Simpsons_couch_gag.jpg vrml_image Simpsons_couch_gag.jpg } The icon, statusmap, and vrml image doesn't have to be the same, I just opted for the same... Hope this helps. Regards - Izz > -----Original Message----- > From: rick_knight at rlknight.com > Sent: Thu, 02 Oct 2008 14:24:15 -0700 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] 3-D Status Map not working > > Rick Knight wrote: >> I've installed openvrml with it's Mozilla plugin. I've tested the plugin >> and it works fine with the models supplied with openvrml, but not with >> Nagios. When I click on 3-D Status Map I get a black screen. I found >> this error in my apache2 log... >> >> [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not found >> or unable to stat: /usr/local/nagios/sbin/nagios >> >> I get this each time I try to view the 3-D maps. Is this a configuration >> issue? I don't have a /usr/local/nagios/sbin/nagios, I do have >> /usr/local/bin/nagios. >> >> Thanks, >> Rick >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > Also, when I save a map to my Desktop on my PC and then try to open with > sdl-viewer, I get this error (the first line is the command to open the > file)... > > rknight at calinxpit01:~/Desktop/NewDownloads/openvrml-0.17.8/examples$ > ./sdl-viewer ~/Desktop/statuswrl.wrl > > file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png: > unrecognized error during resolution > no alternative URI could be resolved > > The path to my Nagios images directory is > /usr/local/nagios/share/images. Where is the path above comming from? > > Thanks, > Rick > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Fri Oct 3 05:34:17 2008 From: myoung at nagios.org (Mark Young) Date: Thu, 2 Oct 2008 22:34:17 -0500 Subject: 3-D Status Map not working In-Reply-To: <2C0BB3F9548.0000095Dizz_abdullah@inbox.com> References: <48e52c18.5060509@rlknight.com> <2C0BB3F9548.0000095Dizz_abdullah@inbox.com> Message-ID: <21CBCCB7-F2DD-4391-A05A-4C64F4008470@nagios.org> On Oct 2, 2008, at 7:11 PM, Izz Abdullah wrote: > Hi Rick, > I've also done this just to make Nagios "pretty" to the users and > customize for our customers. If you see the documentation, you must > create the logos directory with 40x40 pixel png (other formats > acceptable) for the VRML logos to work, also, this will create > little logos in your regular status map as well as a pic next to the > host in the summary page. If I am not mistaken, you will need to > put together a: > define hostextinfo{...} declaration, but it's all in the > documentation. Here is an example completely specific to my > internal setup for APAC usage justification: > in the say...windows.cfg file: > define hostextinfo{ > host_name #APAC-TEST #this should be the host you want > #the special pic for which is located in your > logos directory in which you created > notes Test 2003 Domain Controller > icon_image Simpsons_couch_gag.jpg > statusmap_image Simpsons_couch_gag.jpg > vrml_image Simpsons_couch_gag.jpg > } Hi Izz, These can now be included in the actual host/service definitions (or better yet, their templates). 'hostextinfo' and 'serviceextinfo' are no longer necessary but are still supported as of now. It is now just a style decision. >> Rick Knight wrote: >>> I've installed openvrml with it's Mozilla plugin. I've tested the >>> plugin >>> and it works fine with the models supplied with openvrml, but not >>> with >>> Nagios. When I click on 3-D Status Map I get a black screen. I found >>> this error in my apache2 log... >>> >>> [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not >>> found >>> or unable to stat: /usr/local/nagios/sbin/nagios >>> >>> I get this each time I try to view the 3-D maps. Is this a >>> configuration >>> issue? I don't have a /usr/local/nagios/sbin/nagios, I do have >>> /usr/local/bin/nagios. >>> >>> Thanks, >>> Rick Hi Rick, Did you compile this from source? What version of nagios are you running? It is obvious from the logs that the CGI is looking for something that does not exist. My idea of the problem might be that you are, pointing 'vrml_image' or another such script url in the configs to the nonexistant location. Which could be from an error in how Nagios was originally configured. >> Also, when I save a map to my Desktop on my PC and then try to open >> with >> sdl-viewer, I get this error (the first line is the command to open >> the >> file)... >> >> rknight at calinxpit01:~/Desktop/NewDownloads/openvrml-0.17.8/examples$ >> ./sdl-viewer ~/Desktop/statuswrl.wrl >> >> file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png: >> unrecognized error during resolution >> no alternative URI could be resolved >> >> The path to my Nagios images directory is >> /usr/local/nagios/share/images. Where is the path above comming from? >> >> Thanks, >> Rick The vrml should not be able to run from your desktop as it needs to communicate with the CGI to read the relative host relationships from the Nagios server. Good luck. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Fri Oct 3 05:13:29 2008 From: myoung at nagios.org (Mark Young) Date: Thu, 2 Oct 2008 22:13:29 -0500 Subject: Editing CGI files in Nagios In-Reply-To: <01E9BE53DDA8974BA1A4E4C6DB8BA15B0510CAA3@tnshestia.tnsadmin.tns.psu.edu> References: <01E9BE53DDA8974BA1A4E4C6DB8BA15B0510CAA3@tnshestia.tnsadmin.tns.psu.edu> Message-ID: <56F4599A-22BF-41DD-8D30-2FDF0CA18BB2@nagios.org> On Oct 2, 2008, at 4:03 PM, Mike Carey wrote: > Is it possible to customize the avail.cgi file to add things like > Title and Logos to the Summary and Availability reports that run? > Everytime I try to adjust the avail.cgi file in /usr/local/share/ > nagios/sbin on a Ubuntu server, the Availability main report page > doesn?t come up anymore. > > I?ve tried editing it with both vi and nano. And I?m just testing > it with a simple change, like making Nagios, ALL CAPS, in the frame > box just to see if it will work. Hi Mike, Nagios CGIs are compiled C programs. You must be more familiar with interpreted language CGIs such as perl. I am guessing the problem is that you accidently modified the binary file 'avail.cgi' with you text editor. You will need to either restore from a backup or reinstall/ recompile the Nagios binary files. So if you are still interested in making your changes, you would instead need to point your text editor to the Nagios source code ('nagios-3.0.3/cgi/avail.c' plus the includes in 'nagios-3.0.3/ includes'), edit, then recompile. 'avail.c' and the CGIs in general are pretty tricky if you are unfamiliar with nagios and C. Though it sounds like you may be more interested in adding custom headers and footers. There is some documentation in the nagios docs here: http://nagios.sourceforge.net/docs/3_0/cgiincludes.html It will allow you an easier way to insert some amounts of html and javascript. I do not use this feature so there may be others that may be able to point you to better resources for its use. Best of luck! Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.kainz at tugraz.at Fri Oct 3 08:32:45 2008 From: simon.kainz at tugraz.at (Simon Kainz) Date: Fri, 03 Oct 2008 08:32:45 +0200 Subject: [solved] SMS notification problem . HW trouble ? Message-ID: <48E5BC8D.6070208@tugraz.at> Hi! Thank you all for you tips. After careful inspection of my log files i was even able tu identify the faulty sms storage slots :-). I got a replacement sim card from my employer and now everything is working as expected. Regards, -- Simon Kainz, BSc Graz, University of Technology Department Computing Phone: ++43 (0) 316 / 873 6885 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Oct 3 10:54:24 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 03 Oct 2008 10:54:24 +0200 Subject: Services get stuck in warning/critical state In-Reply-To: <20081002112640.5f373a09.bartek@net-serwis.pl> References: <20081002112640.5f373a09.bartek@net-serwis.pl> Message-ID: <48E5DDC0.50607@op5.se> Bartlomiej Korupczynski wrote: > Hello, > > Since upgrade to 3.0.3 from ports on FreeBSD 6.2-RELEASE. It's > used to monitor approx. 300 services on 150 hosts. The problem is, that > sometimes random services get stuck in warning/critical state. I've checked > scheduling queue in CGI and it seems right, but as I see, it says only about > hosts, not services. Odd stuff. > I probably should also mention, that nagios host > sometimes has quite high load (up to 2.0 on uniprocessor machine), as a > result of monitoring scripts. Next thing is that monitoring host has big > constant clock skew that I can't get rid of (time runs faster, ca. 5s for > every 2 minutes, this gets corrected by ntpdate every 2 minutes). > And this is almost certainly the problem. Are you running Nagios in a vmware system? If yes, what happens when you move it out to its own hardware? Nagios relies on a reasonably accurate system clock. One that jumps backwards and forwards will cause problems. You could try running the snapshot from the branch 'unplanned-checks'. Download from http://www.op5.org/git/?p=nagios.git;a=shortlog;h=refs/heads/unplanned-checks (click the "snapshot" link in the upper right). > - example host status: > Host Status: UP (for 1d 9h 35m 23s) > Status Information: PING OK - Packet loss = 0%, RTA = 15.33 ms > Performance Data: rta=15.333000ms;3000.000000;5000.000000;0.000000 > pl=0%;80;100;0 > Current Attempt: 1/5 (HARD state) > Last Check Time: 02-10-2008 10:32:44 > Check Type: ACTIVE > Check Latency / Duration: 0.732 / 0.152 seconds > Next Scheduled Active Check: 02-10-2008 10:37:54 > Last State Change: 01-10-2008 01:02:43 > Last Notification: N/A (notification 0) > Is This Host Flapping? N/A > In Scheduled Downtime? NO > Last Update: 02-10-2008 10:37:58 ( 0d 0h 0m 8s ago) > > - service status on the host above: > Current Status: CRITICAL (for 2d 2h 55m 9s) > Status Information: PING CRITICAL - Packet loss = 0%, RTA = 313.92 ms > Performance Data: > Current Attempt: 3/5 (SOFT state) > Last Check Time: 30-09-2008 07:44:36 > Check Type: ACTIVE > Check Latency / Duration: 0.116 / 4.657 seconds > Next Scheduled Check: 30-09-2008 07:45:36 > Last State Change: 30-09-2008 07:44:36 > Last Notification: N/A (notification 0) > Is This Service Flapping? N/A > In Scheduled Downtime? NO > Last Update: 02-10-2008 10:39:43 ( 0d 0h 0m 2s ago) > > Notice the Last Check Time, the service status is two days old. Problem can > be resolved by nagios restart, or by "Re-schedule the next check of this > service" in the CGI. Parent host is up, and the service has no parent. > Is there any configuration directive that may cause service check to be > dropped by the scheduler? > No, but there's a bug in Nagios 3 that can cause checks to be marked as "do not reschedule" and also causes them to be scheduled one year into the future. By the looks of it, this is not the problem you're running into, although it could be worth examining if the issue is related. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelcome at tenet.ac.za Fri Oct 3 12:43:30 2008 From: twelcome at tenet.ac.za (Traiano Welcome) Date: Fri, 3 Oct 2008 12:43:30 +0200 Subject: Integration with Request Tracker References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com><02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk><302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com><48E22878.90402@op5.se> <302ce8b50810020906u2b16d02br5c0f71af9fd79403@mail.gmail.com> Message-ID: Hi All How viable would it be to distribute/develop a plugin for NRPE which is provided with the RT3/NAGIOS distribution and which logs a ticket directly in the RT database when provided the necessary information by a nagios server? It seems NRPE plus some plugin code could serve as decent framework for an integration layer between RT and Nagios systems (which are commonly found together in the same IT environments!). It doesn't seem technically difficult, but the question is whether this would be viable to maintain as part of future nagios distributions? Regards, Traiano -----Original Message----- From: Jim Perrin [mailto:jperrin at gmail.com] Sent: Thu 10/2/2008 6:06 PM To: Jon Angliss Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Integration with Request Tracker On Thu, Oct 2, 2008 at 4:26 AM, Jon Angliss wrote: > You might want to look at $SERVICEPROBLEMID$ and $HOSTPROBLEMID$ > instead. And the $LAST...$ versions of both of those. Combining with > an event handler, you can probably use a small table containing the RT > ticket number, the host/service name, and the problem ID. You'd then > feed the state, statetype, service, host, and the problem ID macros to > the event handler, and you should then be home free :) Yes, event handlers were the plan all along but I lacked a simple method to track an incident between nagios and RT reliably. Your suggestion of problem id's looks very promising. This, combined with nagios having its own queue within RT, and a few custom ticket fields should do quite nicely. Thanks again! -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Fri Oct 3 15:39:53 2008 From: jon at netdork.net (Jonathan Angliss) Date: Fri, 3 Oct 2008 08:39:53 -0500 (CDT) Subject: nagios on call schedule w/ escalations? In-Reply-To: <9761BC32-7D9D-4B77-8563-8420A1C3E32D@gmail.com> References: <22DEED01-E27A-40EA-A539-A92E76A9BBCE@gmail.com> <9761BC32-7D9D-4B77-8563-8420A1C3E32D@gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Jon thanks. I got things figured out. > > I setup 2 sets of contacts with the same users. One was just for the > regular contact. I setup this group of 'admins' so they are only > contacted on their oncall schedule. > > I then just did nearly exactly as you wrote and made a totally > seperate set of contacts, that can be contacted 24x7. > > I have 2 groups. Admins and Escalations. > > Escalations use the second set of 24x7 contacts, and the Admins > contacts uses the oncall schedule. > > Inheritance wasn't really necessary, just the separate groups. The reason I'd setup inheritance was for maintenance... If you decided you wanted to change one person's email, you changed it once, and didn't have to worry about fixing a second contact. Either way works obviously :) > Oh and I made a separate contact template that used the proper contact > time period. > > Thanks again, works perfect. You're welcome, glad I could help. - -- Jonathan Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjmIIcACgkQK4PoFPj9H3Mb7QCfbEIO+jslsummDBP69ruNW6+o jrMAoJ8c7FMJ4LV8/gxYcZ286EdJ7Eq9 =ZFfp -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blynch at ameliaschools.com Fri Oct 3 15:17:02 2008 From: blynch at ameliaschools.com (Bo Lynch) Date: Fri, 3 Oct 2008 09:17:02 -0400 (EDT) Subject: Changing the NRPE timeout Message-ID: <48165.65.161.127.93.1223039822.squirrel@ameliaschools.com> I am monitoring some boxes over a slow connection and need to up the CHECK_NRPE timeout from 10 sec to maybe 30. Where do I set this at. Thanks -- Bo Lynch ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdc154 at psu.edu Fri Oct 3 16:25:27 2008 From: mdc154 at psu.edu (Mike Carey) Date: Fri, 3 Oct 2008 10:25:27 -0400 Subject: Editing CGI files in Nagios In-Reply-To: <56F4599A-22BF-41DD-8D30-2FDF0CA18BB2@nagios.org> References: <01E9BE53DDA8974BA1A4E4C6DB8BA15B0510CAA3@tnshestia.tnsadmin.tns.psu.edu> <56F4599A-22BF-41DD-8D30-2FDF0CA18BB2@nagios.org> Message-ID: <01E9BE53DDA8974BA1A4E4C6DB8BA15B0510CB4C@tnshestia.tnsadmin.tns.psu.edu> That sounds like what I'm looking for. I was trying to customize that "grey colored" top box that says the Report Name, Last Update, Logged in, with some Company Information. I'll read up on the ssi file, but if anyone has a nice example of what they've done, I'd appreciate it. Thanks, Michael D. Carey Telecommunications and Networking Services Information Technology Services Pennsylvania State University (814) 863-7712 mdc154 at psu.edu -----Original Message----- From: Mark Young [mailto:myoung at nagios.org] Sent: Thursday, October 02, 2008 11:13 PM Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Editing CGI files in Nagios On Oct 2, 2008, at 4:03 PM, Mike Carey wrote: > Is it possible to customize the avail.cgi file to add things like > Title and Logos to the Summary and Availability reports that run? > Everytime I try to adjust the avail.cgi file in /usr/local/share/ > nagios/sbin on a Ubuntu server, the Availability main report page > doesn't come up anymore. > > I've tried editing it with both vi and nano. And I'm just testing > it with a simple change, like making Nagios, ALL CAPS, in the frame > box just to see if it will work. Hi Mike, Nagios CGIs are compiled C programs. You must be more familiar with interpreted language CGIs such as perl. I am guessing the problem is that you accidently modified the binary file 'avail.cgi' with you text editor. You will need to either restore from a backup or reinstall/ recompile the Nagios binary files. So if you are still interested in making your changes, you would instead need to point your text editor to the Nagios source code ('nagios-3.0.3/cgi/avail.c' plus the includes in 'nagios-3.0.3/ includes'), edit, then recompile. 'avail.c' and the CGIs in general are pretty tricky if you are unfamiliar with nagios and C. Though it sounds like you may be more interested in adding custom headers and footers. There is some documentation in the nagios docs here: http://nagios.sourceforge.net/docs/3_0/cgiincludes.html It will allow you an easier way to insert some amounts of html and javascript. I do not use this feature so there may be others that may be able to point you to better resources for its use. Best of luck! Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 3 16:40:56 2008 From: marc at ena.com (Marc Powell) Date: Fri, 3 Oct 2008 09:40:56 -0500 Subject: Changing the NRPE timeout In-Reply-To: <48165.65.161.127.93.1223039822.squirrel@ameliaschools.com> References: <48165.65.161.127.93.1223039822.squirrel@ameliaschools.com> Message-ID: On Oct 3, 2008, at 8:17 AM, Bo Lynch wrote: > I am monitoring some boxes over a slow connection and need to up the > CHECK_NRPE timeout from 10 sec to maybe 30. Where do I set this at. There are several potential timeouts in play here -- - check_nrpe timeout. Adjusted by modifying the check_nrpe command{} definition -- $ ./check_nrpe --help [snip] Usage: check_nrpe -H [-n] [-p ] [-t ] [-c ] [-a ] Options: [snip] [timeout] = Number of seconds before connection times out (default=10) - nagios overall service plugin execution timeout. This should be higher than your highest plugin specific timeout -- $ grep timeout etc/nagios.cfg service_check_timeout=60 - And the plugin that NRPE is executing on the remote host will have a default timeout value as well. Standard plugins support a -t parameter (like check_nrpe) but you can always run '/path/to/plugin --help' to see if it is a parameter and what it expects. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor.severgnini at opservices.com.br Fri Oct 3 16:22:53 2008 From: victor.severgnini at opservices.com.br (Victor Severgnini) Date: Fri, 3 Oct 2008 11:22:53 -0300 (BRT) Subject: Changing the NRPE timeout In-Reply-To: <48165.65.161.127.93.1223039822.squirrel@ameliaschools.com> References: <48165.65.161.127.93.1223039822.squirrel@ameliaschools.com> Message-ID: <26440262.1151223043773389.JavaMail.root@mail.opservices.com.br> Hello Bo Lynch, Usage: ./check_nrpe -H [-p port] [-c command] [-to to_sec] "-to" in seconds for timeout. Regards. --- Victor Severgnini victor.severgnini at opservices.com.br OpServices www.opservices.com.br Porto Alegre - RS - Brazil Phone: (55) 51 3275 3588 Mobile: (55) 51 -81944997 ----- Mensagem original ----- De: "Bo Lynch" Para: nagios-users at lists.sourceforge.net Enviadas: Sexta-feira, 3 de Outubro de 2008 10:17:02 (GMT-0300) Auto-Detected Assunto: [Nagios-users] Changing the NRPE timeout I am monitoring some boxes over a slow connection and need to up the CHECK_NRPE timeout from 10 sec to maybe 30. Where do I set this at. Thanks -- Bo Lynch ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick_knight at rlknight.com Fri Oct 3 18:28:28 2008 From: rick_knight at rlknight.com (Rick Knight) Date: Fri, 03 Oct 2008 09:28:28 -0700 Subject: 3-D Status Map not working In-Reply-To: <21CBCCB7-F2DD-4391-A05A-4C64F4008470@nagios.org> References: <48e52c18.5060509@rlknight.com> <2C0BB3F9548.0000095Dizz_abdullah@inbox.com> <21CBCCB7-F2DD-4391-A05A-4C64F4008470@nagios.org> Message-ID: <48E6482C.7060404@rlknight.com> Mark Young wrote: > On Oct 2, 2008, at 7:11 PM, Izz Abdullah wrote: > > >> Hi Rick, >> I've also done this just to make Nagios "pretty" to the users and >> customize for our customers. If you see the documentation, you must >> create the logos directory with 40x40 pixel png (other formats >> acceptable) for the VRML logos to work, also, this will create >> little logos in your regular status map as well as a pic next to the >> host in the summary page. If I am not mistaken, you will need to >> put together a: >> define hostextinfo{...} declaration, but it's all in the >> documentation. Here is an example completely specific to my >> internal setup for APAC usage justification: >> in the say...windows.cfg file: >> define hostextinfo{ >> host_name #APAC-TEST #this should be the host you want >> #the special pic for which is located in your >> logos directory in which you created >> notes Test 2003 Domain Controller >> icon_image Simpsons_couch_gag.jpg >> statusmap_image Simpsons_couch_gag.jpg >> vrml_image Simpsons_couch_gag.jpg >> } >> > > Hi Izz, > These can now be included in the actual host/service definitions (or > better yet, their templates). 'hostextinfo' and 'serviceextinfo' are > no longer necessary but are still supported as of now. It is now just > a style decision. > > > >>> Rick Knight wrote: >>> >>>> I've installed openvrml with it's Mozilla plugin. I've tested the >>>> plugin >>>> and it works fine with the models supplied with openvrml, but not >>>> with >>>> Nagios. When I click on 3-D Status Map I get a black screen. I found >>>> this error in my apache2 log... >>>> >>>> [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not >>>> found >>>> or unable to stat: /usr/local/nagios/sbin/nagios >>>> >>>> I get this each time I try to view the 3-D maps. Is this a >>>> configuration >>>> issue? I don't have a /usr/local/nagios/sbin/nagios, I do have >>>> /usr/local/bin/nagios. >>>> >>>> Thanks, >>>> Rick >>>> > > Hi Rick, > Did you compile this from source? What version of nagios are you > running? It is obvious from the logs that the CGI is looking for > something that does not exist. My idea of the problem might be that > you are, pointing 'vrml_image' or another such script url in the > configs to the nonexistant location. Which could be from an error in > how Nagios was originally configured. > > > >>> Also, when I save a map to my Desktop on my PC and then try to open >>> with >>> sdl-viewer, I get this error (the first line is the command to open >>> the >>> file)... >>> >>> rknight at calinxpit01:~/Desktop/NewDownloads/openvrml-0.17.8/examples$ >>> ./sdl-viewer ~/Desktop/statuswrl.wrl >>> >>> file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png: >>> unrecognized error during resolution >>> no alternative URI could be resolved >>> >>> The path to my Nagios images directory is >>> /usr/local/nagios/share/images. Where is the path above comming from? >>> >>> Thanks, >>> Rick >>> > > The vrml should not be able to run from your desktop as it needs to > communicate with the CGI to read the relative host relationships from > the Nagios server. > > Good luck. > > Mark Young > ___ > Nagios Enterprises, LLC > Web: www.nagios.com > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Mark, I'm running 3.0b3, compiled from source about a year ago, just now getting around to trying to use it. I'm sure the only compile time option I used would have been --prefix=/usr. Where can I look for this error? Or should I use a newer version and re-compile or use the Nagios2 in the Kubuntu 8.04 repositories? Thanks, Rick Thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Fri Oct 3 19:01:29 2008 From: myoung at nagios.org (Mark Young) Date: Fri, 3 Oct 2008 12:01:29 -0500 Subject: 3-D Status Map not working In-Reply-To: <48E6482C.7060404@rlknight.com> References: <48e52c18.5060509@rlknight.com> <2C0BB3F9548.0000095Dizz_abdullah@inbox.com> <21CBCCB7-F2DD-4391-A05A-4C64F4008470@nagios.org> <48E6482C.7060404@rlknight.com> Message-ID: On Oct 3, 2008, at 11:28 AM, Rick Knight wrote: > Mark Young wrote: >> On Oct 2, 2008, at 7:11 PM, Izz Abdullah wrote: >> >> >>> Hi Rick, >>> I've also done this just to make Nagios "pretty" to the users and >>> customize for our customers. If you see the documentation, you must >>> create the logos directory with 40x40 pixel png (other formats >>> acceptable) for the VRML logos to work, also, this will create >>> little logos in your regular status map as well as a pic next to the >>> host in the summary page. If I am not mistaken, you will need to >>> put together a: >>> define hostextinfo{...} declaration, but it's all in the >>> documentation. Here is an example completely specific to my >>> internal setup for APAC usage justification: >>> in the say...windows.cfg file: >>> define hostextinfo{ >>> host_name #APAC-TEST #this should be the host you want >>> #the special pic for which is located in your >>> logos directory in which you created >>> notes Test 2003 Domain Controller >>> icon_image Simpsons_couch_gag.jpg >>> statusmap_image Simpsons_couch_gag.jpg >>> vrml_image Simpsons_couch_gag.jpg >>> } >>> >> >> Hi Izz, >> These can now be included in the actual host/service definitions (or >> better yet, their templates). 'hostextinfo' and 'serviceextinfo' are >> no longer necessary but are still supported as of now. It is now >> just >> a style decision. >> >> >> >>>> Rick Knight wrote: >>>> >>>>> I've installed openvrml with it's Mozilla plugin. I've tested the >>>>> plugin >>>>> and it works fine with the models supplied with openvrml, but not >>>>> with >>>>> Nagios. When I click on 3-D Status Map I get a black screen. I >>>>> found >>>>> this error in my apache2 log... >>>>> >>>>> [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not >>>>> found >>>>> or unable to stat: /usr/local/nagios/sbin/nagios >>>>> >>>>> I get this each time I try to view the 3-D maps. Is this a >>>>> configuration >>>>> issue? I don't have a /usr/local/nagios/sbin/nagios, I do have >>>>> /usr/local/bin/nagios. >>>>> >>>>> Thanks, >>>>> Rick >>>>> >> >> Hi Rick, >> Did you compile this from source? What version of nagios are you >> running? It is obvious from the logs that the CGI is looking for >> something that does not exist. My idea of the problem might be that >> you are, pointing 'vrml_image' or another such script url in the >> configs to the nonexistant location. Which could be from an error in >> how Nagios was originally configured. >> >> >> >>>> Also, when I save a map to my Desktop on my PC and then try to open >>>> with >>>> sdl-viewer, I get this error (the first line is the command to open >>>> the >>>> file)... >>>> >>>> rknight at calinxpit01:~/Desktop/NewDownloads/openvrml-0.17.8/ >>>> examples$ >>>> ./sdl-viewer ~/Desktop/statuswrl.wrl >>>> >>>> file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png: >>>> unrecognized error during resolution >>>> no alternative URI could be resolved >>>> >>>> The path to my Nagios images directory is >>>> /usr/local/nagios/share/images. Where is the path above comming >>>> from? >>>> >>>> Thanks, >>>> Rick >>>> >> >> The vrml should not be able to run from your desktop as it needs to >> communicate with the CGI to read the relative host relationships from >> the Nagios server. >> >> Good luck. >> >> Mark Young >> ___ >> Nagios Enterprises, LLC >> Web: www.nagios.com >> > Mark, > > I'm running 3.0b3, compiled from source about a year ago, just now > getting around to trying to use it. I'm sure the only compile time > option I used would have been --prefix=/usr. Where can I look for this > error? Or should I use a newer version and re-compile or use the > Nagios2 > in the Kubuntu 8.04 repositories? > > Thanks, > Rick > > Thanks Well I'll try to send this out. I sent a message at 9:30 CDT and it is yet to appear. :) If you have the option, I would suggest to first backup your current / usr/local/nagios/* files, then recompile/reinstall with the latest Nagios 3.0.3 source and follow the quickstart guides (without using the 'make install-config' which overwrites your config files). This would bring you down to it being a problem with your Nagios configuration or your system configuration. Though this is a drastic step but a good chance to upgrade. Is the rest of your interface looking alright? Have you made any changes to the cgi.cfg file (maybe involving web root directory)? Did you try to take away all the url references from you config files? (the 'vrml_image', 'icon_image', 'statusmap_image' ) I would need more log data to help narrow it down. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick_knight at rlknight.com Fri Oct 3 20:44:59 2008 From: rick_knight at rlknight.com (Rick Knight) Date: Fri, 03 Oct 2008 11:44:59 -0700 Subject: 3-D Status Map not working In-Reply-To: References: <48e52c18.5060509@rlknight.com> <2C0BB3F9548.0000095Dizz_abdullah@inbox.com> <21CBCCB7-F2DD-4391-A05A-4C64F4008470@nagios.org> <48E6482C.7060404@rlknight.com> Message-ID: <48E6682B.8040000@rlknight.com> Mark Young wrote: > > On Oct 3, 2008, at 11:28 AM, Rick Knight wrote: > >> Mark Young wrote: >>> On Oct 2, 2008, at 7:11 PM, Izz Abdullah wrote: >>> >>> >>>> Hi Rick, >>>> I've also done this just to make Nagios "pretty" to the users and >>>> customize for our customers. If you see the documentation, you must >>>> create the logos directory with 40x40 pixel png (other formats >>>> acceptable) for the VRML logos to work, also, this will create >>>> little logos in your regular status map as well as a pic next to the >>>> host in the summary page. If I am not mistaken, you will need to >>>> put together a: >>>> define hostextinfo{...} declaration, but it's all in the >>>> documentation. Here is an example completely specific to my >>>> internal setup for APAC usage justification: >>>> in the say...windows.cfg file: >>>> define hostextinfo{ >>>> host_name #APAC-TEST #this should be the host you want >>>> #the special pic for which is located in your >>>> logos directory in which you created >>>> notes Test 2003 Domain Controller >>>> icon_image Simpsons_couch_gag.jpg >>>> statusmap_image Simpsons_couch_gag.jpg >>>> vrml_image Simpsons_couch_gag.jpg >>>> } >>>> >>> >>> Hi Izz, >>> These can now be included in the actual host/service definitions (or >>> better yet, their templates). 'hostextinfo' and 'serviceextinfo' are >>> no longer necessary but are still supported as of now. It is now just >>> a style decision. >>> >>> >>> >>>>> Rick Knight wrote: >>>>> >>>>>> I've installed openvrml with it's Mozilla plugin. I've tested the >>>>>> plugin >>>>>> and it works fine with the models supplied with openvrml, but not >>>>>> with >>>>>> Nagios. When I click on 3-D Status Map I get a black screen. I found >>>>>> this error in my apache2 log... >>>>>> >>>>>> [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not >>>>>> found >>>>>> or unable to stat: /usr/local/nagios/sbin/nagios >>>>>> >>>>>> I get this each time I try to view the 3-D maps. Is this a >>>>>> configuration >>>>>> issue? I don't have a /usr/local/nagios/sbin/nagios, I do have >>>>>> /usr/local/bin/nagios. >>>>>> >>>>>> Thanks, >>>>>> Rick >>>>>> >>> >>> Hi Rick, >>> Did you compile this from source? What version of nagios are you >>> running? It is obvious from the logs that the CGI is looking for >>> something that does not exist. My idea of the problem might be that >>> you are, pointing 'vrml_image' or another such script url in the >>> configs to the nonexistant location. Which could be from an error in >>> how Nagios was originally configured. >>> >>> >>> >>>>> Also, when I save a map to my Desktop on my PC and then try to open >>>>> with >>>>> sdl-viewer, I get this error (the first line is the command to open >>>>> the >>>>> file)... >>>>> >>>>> rknight at calinxpit01:~/Desktop/NewDownloads/openvrml-0.17.8/examples$ >>>>> ./sdl-viewer ~/Desktop/statuswrl.wrl >>>>> >>>>> file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png: >>>>> unrecognized error during resolution >>>>> no alternative URI could be resolved >>>>> >>>>> The path to my Nagios images directory is >>>>> /usr/local/nagios/share/images. Where is the path above comming from? >>>>> >>>>> Thanks, >>>>> Rick >>>>> >>> >>> The vrml should not be able to run from your desktop as it needs to >>> communicate with the CGI to read the relative host relationships from >>> the Nagios server. >>> >>> Good luck. >>> >>> Mark Young >>> ___ >>> Nagios Enterprises, LLC >>> Web: www.nagios.com >>> >> Mark, >> >> I'm running 3.0b3, compiled from source about a year ago, just now >> getting around to trying to use it. I'm sure the only compile time >> option I used would have been --prefix=/usr. Where can I look for this >> error? Or should I use a newer version and re-compile or use the Nagios2 >> in the Kubuntu 8.04 repositories? >> >> Thanks, >> Rick >> >> Thanks > > Well I'll try to send this out. I sent a message at 9:30 CDT and it > is yet to appear. :) > > If you have the option, I would suggest to first backup your current > /usr/local/nagios/* files, then recompile/reinstall with the latest > Nagios 3.0.3 source and follow the quickstart guides (without using > the 'make install-config' which overwrites your config files). This > would bring you down to it being a problem with your Nagios > configuration or your system configuration. Though this is a drastic > step but a good chance to upgrade. > OK, I can do that. > Is the rest of your interface looking alright? Have you made any > changes to the cgi.cfg file (maybe involving web root directory)? Did > you try to take away all the url references from you config files? > (the 'vrml_image', 'icon_image', 'statusmap_image' ) I would need > more log data to help narrow it down. I haven't customized anything yet. Just added my servers to windows.cfg > > > Mark Young > ___ > Nagios Enterprises, LLC > Web: www.nagios.com > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bedougla at cisco.com Fri Oct 3 21:14:45 2008 From: bedougla at cisco.com (Ben Douglas (bedougla)) Date: Fri, 3 Oct 2008 15:14:45 -0400 Subject: Nagios cgi's bomb out with fatal: libglib-2.0.so.0 Message-ID: Hello, I'm trying to install on Solaris 8 which has been hard enough ;) But I finally got everything installed, but all my cgis are biting the dust with the following in the apache error_log: ld.so.1: tac.cgi: fatal: libglib-2.0.so.0: open failed: No such file or directory [Fri Oct 3 13:35:06 2008] [error] [client 10.98.14.21] Premature end of script headers: /opt/local/nagios-3.0.3/sbin/tac.cgi The ldd looks okay for these files and it looks like it *has* the libglib-2.0.so.0 linked up correctly, but am at an impass with no clue where to do. Any tips for anyone else who's encountered this / knows how to fix it? bash-2.05b# ldd /opt/local/nagios/sbin/tac.cgi librt.so.1 => /lib/librt.so.1 libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 libintl.so.2 => /usr/local/lib/libintl.so.2 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libc.so.1 => /lib/libc.so.1 libaio.so.1 => /lib/libaio.so.1 libgcc_s.so.1 => /usr/cisco/packages/gcc/gcc-4.1.0/lib/libgcc_s.so.1 libdl.so.1 => /lib/libdl.so.1 /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1 bash-2.05b# Unfortunately the machine is behing a nice lab internal firewall, so have had to compile most everything from scratch in order to get stuff that Cisco didn't already have. Thanks, Ben Douglas -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 7375 bytes Desc: image003.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bret.Goodfellow at questar.com Fri Oct 3 21:03:37 2008 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Fri, 3 Oct 2008 13:03:37 -0600 Subject: Slow response from command remote call using SSH In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A027C8085@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A027C8085@QMAIL.corp.questar.com> Message-ID: <91EDB00F83BAD443A9D05FA67623955A027C8086@QMAIL.corp.questar.com> Hello there, I have just run into an issue with "multipath -ll" after upgrading to RHEL 4 Update 7. Apparently, now running "multipath" takes up to 15 seconds to get a response back. Before I updated the server in question to RHEL 4 Update 7, the 'multipath' command responded immediately, therefore not creating any timing issue with nagios. PROBLEM: my RHEL servers that have been updated to RHEL 4 Update 7, now respond too slowly to the "multipath" command and will give the following error in Nagios: Multipath CRITICAL 10-01-2008 12:16:59 0d 1h 0m 59s 3/3 CRITICAL - Plugin timed out while executing system call QUESTION: How do I set up 'nagios' so that it will wait up to 15 seconds for the service to complete? NAGIOS SETUP: I have cut and pasted screenshots of the services and commands in the Nagios setup: Please keep in mind that this service, check_ssh_multipath, worked fine prior to the upgrade to RHEL 4.7 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4993 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 73821 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 81550 bytes Desc: image003.png URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Kustner at RetirementPartner.com Fri Oct 3 21:27:12 2008 From: Tom.Kustner at RetirementPartner.com (Kustner, Tom) Date: Fri, 3 Oct 2008 13:27:12 -0600 Subject: After switching to Nagios 2.9, Nagios Checker always asking for credentials Message-ID: <2B90E837B30E394680C1C58A38487FFE423E07@ITS-EXMBX2.its.corp.gwl.com> Disclaimer: I'm a Nagios user, not the administrator. * Problem: When I was using the Nagios Checker version .13 against our old Nagios 1.2 system, there were no problems. However, since switching to a newer Nagios 2.9 system, Nagios is always asking for credentials whenever it wants to check. If I have configured Nagios to check five minutes, I am asked every five minutes for credentials. * This has apparently been bugged at http://code.google.com/p/nagioschecker/issues/detail?id=56&colspec=Stars %20ID%20Type%20Status%20Priority%20Summary%20Opened%20Modified%20Closed. However, this does not mean that the problem is ultimately in the plug-in itself. Perhaps I need to configure things differently. Does something need changing on the Nagios box itself? * I have tried various modifications of Nagios Checker configurations to resolve the issue but with no luck. Somehow, Nagios used to cache my credentials but isn't now, perhaps? Any suggestions? -Tom Kustner- The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information. This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Fri Oct 3 22:32:31 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Fri, 03 Oct 2008 21:32:31 +0100 Subject: Nagios cgi's bomb out with fatal: libglib-2.0.so.0 In-Reply-To: References: Message-ID: <48E6815F.9090400@networkmail.eu> Hi Ben, I've never used Solaris before, so this is just a quick stab in the dark - what are the permissions like on /usr/local/lib/libglib-2.0.so.0? I.e. can the user Apache is running as actually get to that file, from a permissions point-of-view? Also I know SELinux has caused numerous issues like this - does Solaris have something similar that may be interfering/preventing access? Andy Ben Douglas (bedougla) wrote: > Hello, > > I'm trying to install on Solaris 8 which has been hard enough ;) But > I finally got everything installed, but all my cgis are biting the > dust with the following in the apache error_log: > > ld.so.1: tac.cgi: fatal: libglib-2.0.so.0: open failed: No such file > or directory > [Fri Oct 3 13:35:06 2008] [error] [client 10.98.14.21] Premature end > of script headers: /opt/local/nagios-3.0.3/sbin/tac.cgi > The ldd looks okay for these files and it looks like it *has* the > libglib-2.0.so.0 linked up correctly, but am at an impass with no clue > where to do. Any tips for anyone else who's encountered this / knows > how to fix it? > > bash-2.05b# ldd /opt/local/nagios/sbin/tac.cgi > librt.so.1 => /lib/librt.so.1 > libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 > libintl.so.2 => /usr/local/lib/libintl.so.2 > libiconv.so.2 => /usr/local/lib/libiconv.so.2 > libc.so.1 => /lib/libc.so.1 > libaio.so.1 => /lib/libaio.so.1 > libgcc_s.so.1 => > /usr/cisco/packages/gcc/gcc-4.1.0/lib/libgcc_s.so.1 > libdl.so.1 => /lib/libdl.so.1 > /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1 > bash-2.05b# > Unfortunately the machine is behing a nice lab internal firewall, so > have had to compile most everything from scratch in order to get stuff > that Cisco didn't already have. > > Thanks, > Ben Douglas > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Oct 3 23:14:56 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 03 Oct 2008 23:14:56 +0200 Subject: Integration with Request Tracker In-Reply-To: References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com><02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk><302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com><48E22878.90402@op5.se> <302ce8b50810020906u2b16d02br5c0f71af9fd79403@mail.gmail.com> Message-ID: <48E68B50.5080104@op5.se> Traiano Welcome wrote: > Hi All > > How viable would it be to distribute/develop a plugin for NRPE which > is provided with the RT3/NAGIOS distribution and which logs a ticket > directly in the RT database when provided the necessary information > by a nagios server? It seems NRPE plus some plugin code could serve > as decent framework for an integration layer between RT and Nagios > systems (which are commonly found together in the same IT > environments!). > > > It doesn't seem technically difficult, but the question is whether > this would be viable to maintain as part of future nagios > distributions? > How viable it is to maintain depends on the amount of contributors that are willing to maintain it. If you want to do that, go right ahead and start a project for it. It's not something that should be put in the nagios core code though, imo. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Psung at gen-networks.com Sat Oct 4 00:15:18 2008 From: Psung at gen-networks.com (Phillip Sung) Date: Fri, 3 Oct 2008 18:15:18 -0400 Subject: How to compile check_icmp w/patch allowing Type of Service Bit? Message-ID: <8CD6889D1F91AA44A32B6247CA5A1CAB019AD566@mars.genesis-networks-inc.com> Hello Ciphron has developed a patch to the check_icmp plugin allowing the TOS bit to be set. I would like to use this modified check_icmp plugin, but I'm afraid I know nothing about gcc and compiling w/patches. Also, I do not know any German. Can anyone help me figure out how to compile this? http://www.ciphron.de/gfx/pool/check_icmp.c.patch http://www.ciphron.de/gfx/pool/check_icmp.c http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2659.html;d= 1 thank you in advance, Phillip Sung ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick_knight at rlknight.com Sat Oct 4 01:16:10 2008 From: rick_knight at rlknight.com (Rick Knight) Date: Fri, 03 Oct 2008 16:16:10 -0700 Subject: 3-D Status Map not working In-Reply-To: References: <48e52c18.5060509@rlknight.com> <2C0BB3F9548.0000095Dizz_abdullah@inbox.com> <21CBCCB7-F2DD-4391-A05A-4C64F4008470@nagios.org> <48E6482C.7060404@rlknight.com> Message-ID: <48E6A7BA.7080502@rlknight.com> Mark Young wrote: > > On Oct 3, 2008, at 11:28 AM, Rick Knight wrote: > >> Mark Young wrote: >>> On Oct 2, 2008, at 7:11 PM, Izz Abdullah wrote: >>> >>> >>>> Hi Rick, >>>> I've also done this just to make Nagios "pretty" to the users and >>>> customize for our customers. If you see the documentation, you must >>>> create the logos directory with 40x40 pixel png (other formats >>>> acceptable) for the VRML logos to work, also, this will create >>>> little logos in your regular status map as well as a pic next to the >>>> host in the summary page. If I am not mistaken, you will need to >>>> put together a: >>>> define hostextinfo{...} declaration, but it's all in the >>>> documentation. Here is an example completely specific to my >>>> internal setup for APAC usage justification: >>>> in the say...windows.cfg file: >>>> define hostextinfo{ >>>> host_name #APAC-TEST #this should be the host you want >>>> #the special pic for which is located in your >>>> logos directory in which you created >>>> notes Test 2003 Domain Controller >>>> icon_image Simpsons_couch_gag.jpg >>>> statusmap_image Simpsons_couch_gag.jpg >>>> vrml_image Simpsons_couch_gag.jpg >>>> } >>>> >>> >>> Hi Izz, >>> These can now be included in the actual host/service definitions (or >>> better yet, their templates). 'hostextinfo' and 'serviceextinfo' are >>> no longer necessary but are still supported as of now. It is now just >>> a style decision. >>> >>> >>> >>>>> Rick Knight wrote: >>>>> >>>>>> I've installed openvrml with it's Mozilla plugin. I've tested the >>>>>> plugin >>>>>> and it works fine with the models supplied with openvrml, but not >>>>>> with >>>>>> Nagios. When I click on 3-D Status Map I get a black screen. I found >>>>>> this error in my apache2 log... >>>>>> >>>>>> [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not >>>>>> found >>>>>> or unable to stat: /usr/local/nagios/sbin/nagios >>>>>> >>>>>> I get this each time I try to view the 3-D maps. Is this a >>>>>> configuration >>>>>> issue? I don't have a /usr/local/nagios/sbin/nagios, I do have >>>>>> /usr/local/bin/nagios. >>>>>> >>>>>> Thanks, >>>>>> Rick >>>>>> >>> >>> Hi Rick, >>> Did you compile this from source? What version of nagios are you >>> running? It is obvious from the logs that the CGI is looking for >>> something that does not exist. My idea of the problem might be that >>> you are, pointing 'vrml_image' or another such script url in the >>> configs to the nonexistant location. Which could be from an error in >>> how Nagios was originally configured. >>> >>> >>> >>>>> Also, when I save a map to my Desktop on my PC and then try to open >>>>> with >>>>> sdl-viewer, I get this error (the first line is the command to open >>>>> the >>>>> file)... >>>>> >>>>> rknight at calinxpit01:~/Desktop/NewDownloads/openvrml-0.17.8/examples$ >>>>> ./sdl-viewer ~/Desktop/statuswrl.wrl >>>>> >>>>> file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png: >>>>> unrecognized error during resolution >>>>> no alternative URI could be resolved >>>>> >>>>> The path to my Nagios images directory is >>>>> /usr/local/nagios/share/images. Where is the path above comming from? >>>>> >>>>> Thanks, >>>>> Rick >>>>> >>> >>> The vrml should not be able to run from your desktop as it needs to >>> communicate with the CGI to read the relative host relationships from >>> the Nagios server. >>> >>> Good luck. >>> >>> Mark Young >>> ___ >>> Nagios Enterprises, LLC >>> Web: www.nagios.com >>> >> Mark, >> >> I'm running 3.0b3, compiled from source about a year ago, just now >> getting around to trying to use it. I'm sure the only compile time >> option I used would have been --prefix=/usr. Where can I look for this >> error? Or should I use a newer version and re-compile or use the Nagios2 >> in the Kubuntu 8.04 repositories? >> >> Thanks, >> Rick >> >> Thanks > > Well I'll try to send this out. I sent a message at 9:30 CDT and it > is yet to appear. :) > > If you have the option, I would suggest to first backup your current > /usr/local/nagios/* files, then recompile/reinstall with the latest > Nagios 3.0.3 source and follow the quickstart guides (without using > the 'make install-config' which overwrites your config files). This > would bring you down to it being a problem with your Nagios > configuration or your system configuration. Though this is a drastic > step but a good chance to upgrade. > > Is the rest of your interface looking alright? Have you made any > changes to the cgi.cfg file (maybe involving web root directory)? Did > you try to take away all the url references from you config files? > (the 'vrml_image', 'icon_image', 'statusmap_image' ) I would need > more log data to help narrow it down. > > > Mark Young > ___ > Nagios Enterprises, LLC > Web: www.nagios.com > > Mark, As you suggested I backed up my config files and then removed nagios from my PC. Then I did a fresh install with nagios-3.0.3 and nagios-plugins-1.4.13 following the quick start guide for Ubuntu. I copied my configuration file backups to the appropriate locations, verified the configuration with sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and then started nagios. Everything looks OK. I can see the hosts I've configured, I can look at reports, everything seems to work except the 3-d maps. When I click on 3-D Status Map I get a black window and nothing else. When I look at my apache log I see this error... [Fri Oct 03 16:13:59 2008] [error] [client 127.0.0.1] script not found or unable to stat: /usr/local/nagios/sbin/nagios What is the next step in trouble shooting this problem? Thanks, Rick ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick_knight at rlknight.com Sat Oct 4 01:31:04 2008 From: rick_knight at rlknight.com (Rick Knight) Date: Fri, 03 Oct 2008 16:31:04 -0700 Subject: 3-D Status Map not working In-Reply-To: References: <48e52c18.5060509@rlknight.com> <2C0BB3F9548.0000095Dizz_abdullah@inbox.com> <21CBCCB7-F2DD-4391-A05A-4C64F4008470@nagios.org> <48E6482C.7060404@rlknight.com> Message-ID: <48E6AB38.1070808@rlknight.com> << snipped >> >> Mark, >> >> I'm running 3.0b3, compiled from source about a year ago, just now >> getting around to trying to use it. I'm sure the only compile time >> option I used would have been --prefix=/usr. Where can I look for this >> error? Or should I use a newer version and re-compile or use the Nagios2 >> in the Kubuntu 8.04 repositories? >> >> Thanks, >> Rick >> >> Thanks > > Well I'll try to send this out. I sent a message at 9:30 CDT and it > is yet to appear. :) > > If you have the option, I would suggest to first backup your current > /usr/local/nagios/* files, then recompile/reinstall with the latest > Nagios 3.0.3 source and follow the quickstart guides (without using > the 'make install-config' which overwrites your config files). This > would bring you down to it being a problem with your Nagios > configuration or your system configuration. Though this is a drastic > step but a good chance to upgrade. > > Is the rest of your interface looking alright? Have you made any > changes to the cgi.cfg file (maybe involving web root directory)? Did > you try to take away all the url references from you config files? > (the 'vrml_image', 'icon_image', 'statusmap_image' ) I would need > more log data to help narrow it down. > > > Mark Young > ___ > Nagios Enterprises, LLC > Web: www.nagios.com > > The only config file I have that points to /usr/local/nagios/sbin is the Apache2 config file for Nagios, nagios.conf. I've included it below... ## Apache2 config file for Nagios # nagios.conf ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" # SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios "/usr/local/nagios/share" # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Could this be causing the problem? Thanks, Rick ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From isma.silv at gmail.com Sat Oct 4 02:19:47 2008 From: isma.silv at gmail.com (Ismael Silva) Date: Fri, 3 Oct 2008 20:19:47 -0400 Subject: Nagios cgi's bomb out with fatal: libglib-2.0.so.0 In-Reply-To: <48E6815F.9090400@networkmail.eu> References: <48E6815F.9090400@networkmail.eu> Message-ID: <826270010810031719p314a8219sc60eeeb59c7c0a26@mail.gmail.com> i have the some problem, and i can`t install openssl for complete in the server... this for security protocols. (sorry for my english. y speak spanish) byee 2008/10/3 Andy Shellam > Hi Ben, > > I've never used Solaris before, so this is just a quick stab in the dark > - what are the permissions like on /usr/local/lib/libglib-2.0.so.0? > I.e. can the user Apache is running as actually get to that file, from a > permissions point-of-view? > > Also I know SELinux has caused numerous issues like this - does Solaris > have something similar that may be interfering/preventing access? > > Andy > > Ben Douglas (bedougla) wrote: > > Hello, > > > > I'm trying to install on Solaris 8 which has been hard enough ;) But > > I finally got everything installed, but all my cgis are biting the > > dust with the following in the apache error_log: > > > > ld.so.1: tac.cgi: fatal: libglib-2.0.so.0: open failed: No such file > > or directory > > [Fri Oct 3 13:35:06 2008] [error] [client 10.98.14.21] Premature end > > of script headers: /opt/local/nagios-3.0.3/sbin/tac.cgi > > The ldd looks okay for these files and it looks like it *has* the > > libglib-2.0.so.0 linked up correctly, but am at an impass with no clue > > where to do. Any tips for anyone else who's encountered this / knows > > how to fix it? > > > > bash-2.05b# ldd /opt/local/nagios/sbin/tac.cgi > > librt.so.1 => /lib/librt.so.1 > > libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 > > libintl.so.2 => /usr/local/lib/libintl.so.2 > > libiconv.so.2 => /usr/local/lib/libiconv.so.2 > > libc.so.1 => /lib/libc.so.1 > > libaio.so.1 => /lib/libaio.so.1 > > libgcc_s.so.1 => > > /usr/cisco/packages/gcc/gcc-4.1.0/lib/libgcc_s.so.1 > > libdl.so.1 => /lib/libdl.so.1 > > /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1 > > bash-2.05b# > > Unfortunately the machine is behing a nice lab internal firewall, so > > have had to compile most everything from scratch in order to get stuff > > that Cisco didn't already have. > > > > Thanks, > > Ben Douglas > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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 the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ................................................................................. Saludos Ismael Silva C. +56 7 7682753 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From howachen at gmail.com Sat Oct 4 15:43:08 2008 From: howachen at gmail.com (howard chen) Date: Sat, 4 Oct 2008 21:43:08 +0800 Subject: Full data logging? Message-ID: Hello, Is the monitored data such as load average, disk usage stored somewhere in the nagios system, so we can view the past statistics, even no alert was generated? Thanks. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Oct 4 17:41:39 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 04 Oct 2008 11:41:39 -0400 Subject: Full data logging? In-Reply-To: References: Message-ID: <48E78EB3.7090201@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/10/08 09:43 AM, howard chen wrote: > Hello, > > Is the monitored data such as load average, disk usage stored > somewhere in the nagios system, > > so we can view the past statistics, even no alert was generated? No, you need another system for using that data. Usually it is passed to one of the many RRD-based graphing system available. Some of them are based on Nagios (NagiosGrapher, PNP) or you can usually integrate it with other tools like Cacti with some additional work. My method was to use a daemon reading the performance data pipe and caching data for a sort period, and a cacti script to read it back. see: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2520.html;d=1 Search around, you will likely find other applications and utilities for doing that. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI546z6dZ+Kt5BchYRAnsUAJ4j2rxSaLlOPw7jrGhQfbP2ORTVbgCcCJKn RdONiFPdaCO2WnAb0VemIsU= =n1py -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Oct 4 17:51:20 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 04 Oct 2008 11:51:20 -0400 Subject: Slow response from command remote call using SSH In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A027C8086@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A027C8085@QMAIL.corp.questar.com> <91EDB00F83BAD443A9D05FA67623955A027C8086@QMAIL.corp.questar.com> Message-ID: <48E790F8.9080006@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/10/08 03:03 PM, Bret Goodfellow wrote: > Hello there, > > > > I have just run into an issue with ?multipath -ll? after upgrading to > RHEL 4 Update 7. Apparently, now running ?multipath? takes up to 15 > seconds to get a response back. Before I updated the server in question > to RHEL 4 Update 7, the ?multipath? command responded immediately, > therefore not creating any timing issue with nagios. > > > > PROBLEM: my RHEL servers that have been updated to RHEL 4 Update 7, now > respond too slowly to the ?multipath? command and will give the > following error in Nagios: > > > > Multipath CRITICAL 10-01-2008 12:16:59 0d 1h 0m > 59s 3/3 CRITICAL ? Plugin timed out while executing system call > > > > > > QUESTION: How do I set up ?nagios? so that it will wait up to 15 > seconds for the service to complete? Use the "-t" switch of check-by-ssh. Do a "check_by_ssh --help" for more info. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI55D46dZ+Kt5BchYRAgEiAKCa7xvrFSXlvswYoyAnTGz7lB0wXQCfcoh7 Xzk9Agx8fiQSRTWVpTmzqZc= =7SMd -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From howachen at gmail.com Sat Oct 4 19:26:42 2008 From: howachen at gmail.com (howard chen) Date: Sun, 5 Oct 2008 01:26:42 +0800 Subject: Full data logging? In-Reply-To: <48E78EB3.7090201@aei.ca> References: <48E78EB3.7090201@aei.ca> Message-ID: Hello, On Sat, Oct 4, 2008 at 11:41 PM, Thomas Guyot-Sionnest wrote: > No, you need another system for using that data. Usually it is passed to > one of the many RRD-based graphing system available. Some of them are > based on Nagios (NagiosGrapher, PNP) or you can usually integrate it > with other tools like Cacti with some additional work. My method was to > use a daemon reading the performance data pipe and caching data for a > sort period, and a cacti script to read it back. see: > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2520.html;d=1 > Thanks for your reply. Sure I can use system such as ganglia to do the logging and generate the nice graphs. The reason I don't like is since I am using nagios for monitoring anyway, I don't want to install another program on my production server which monitor the same set or data, which cost additional cpu cycles, I/O etc. So I am finding some more efficient, and easy to setup method to do the tasks. Thanks anyway. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Sat Oct 4 21:11:48 2008 From: hir3npatel at gmail.com (hirenp) Date: Sat, 04 Oct 2008 21:11:48 +0200 Subject: check_disk In-Reply-To: <1222687281.6134.7.camel@nazgul.af.didata.local> References: <1222687281.6134.7.camel@nazgul.af.didata.local> Message-ID: <1223147508.9369.0.camel@goldbox.localdomain> see below. re-posting since not sure if original request for this went through, now on the list so should get any replies. thanks. On Mon, 2008-09-29 at 13:21 +0200, hiren wrote: > Hi, > > from the -h switch of check_disk: > > -u, --units=STRING > Choose bytes, kB, MB, GB, TB (default: MB) > > Examples: > check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p / > Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB > > --- > > if the default as specified by -u is MB, how would the example be > checking the values specified, they'd be 100 and 50 no? > would the help text need adjusting or am I misunderstanding something > there? > thanks. > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Wed Oct 1 22:50:15 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 01 Oct 2008 16:50:15 -0400 Subject: SMS notification problem . HW trouble ? In-Reply-To: <20081001215121.11904h3wwdh3sccg@webmail.tugraz.at> References: <20081001215121.11904h3wwdh3sccg@webmail.tugraz.at> Message-ID: <48E3E287.8000202@collaborativefusion.com> Simon Kainz wrote: > I use debian and smstools, which tells me the following errors: > > +CMS ERROR: 321 > > with the following error codes: > > 303 314 321 500 This is most definitely a problem with the hardware, your wireless provider, or smstools (are you using SMSTools3 or the original SMSTools)? From http://www.developershome.com/sms/resultCodes2.asp: 303 = The operation to be done by the AT command is not supported. 314 = The SIM card is busy. 321 = The memory/message storage index assigned to the AT command is invalid. 500 = An unknown error occurred. Feel free to take this off-list. -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 1 21:32:21 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Oct 2008 21:32:21 +0200 Subject: Filtering out false alarms in unreliable network In-Reply-To: <32216.194.42.61.10.1222875885.squirrel@imap.lanwan.fi> References: <32216.194.42.61.10.1222875885.squirrel@imap.lanwan.fi> Message-ID: <48E3D045.6040200@op5.se> Tuomas Toropainen wrote: > The problem: how to filter out false alarms caused by short-time breaks in > an unreliable network. > > Think about a simple monitoring scenario in which you only want to ping > various devices to see if they are up or not. So you have 200 hosts with > only one service (PING) for each. > > For a reason or another, short-time breaks occur in the network. That is, > a particular host does not reply to PINGs for e.g. 30 seconds. These > breaks should not cause a notification to be sent. > > What comes to services, the filtering is easy with max_check_attempt and > retry_check_interval. But the host check becomes a problem: after first > PING failure (soft state) the host is checked, and there is no > retry_check_interval for hosts. So the host is declared to be down > (almost) immediately. > > The notifications about hosts can be delayed using > first_notification_delay. This seems to work fine except for one thing: > flap detection. Even if the notification is not sent, the host (and > service) is logged to have changed state, and when enough such state > changes occur, the host (and service) is placed in flapping state. > > I do not want to disable flapping detection (or flapping notifications) > completely, because they might be useful in many cases. What I would like > to achieve is not to count those short-time outages when computing > flapping percent state changes. How can I accomplish that? > You can't. Flapping detection was designed to detect changes over a short time, so making it *not* do that would be the same as disabling it. > Should I go ahead and disable host checks completely? If there only was > retry_check_interval for hosts, it would solve all these problems. > Upgrade to Nagios 3. Then you can specify retry_interval for hosts. > I think it is quite common that the short-time outages are > network-related, i.e. the complete host is unresponsive instead of a > single service. When this is taken into account, it seems weird that there > is retry_check_interval for services but not for hosts. Or would it ruin > the scheduling logic? > AFAIU, enabling a longer retry_interval * max_check_attempts for the host than you have for the services on that host will cause the services to send notifications even if the host later turns out to actually be down, instead of just glitching. You'll want to look out for that. Other than that, there's no real problem. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leosilva at tse.gov.br Wed Oct 1 20:16:13 2008 From: leosilva at tse.gov.br (Leandro de Oliveira) Date: Wed, 1 Oct 2008 15:16:13 -0300 Subject: Place the same service Message-ID: <001a01c923f1$c9c4d3e0$2df41c0a@tse.gov.br> Hi Is there a way to place the same service for multiple hosts ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu Oct 2 03:00:22 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 1 Oct 2008 21:00:22 -0400 Subject: English and German Counters with NSClient++ In-Reply-To: <48E33FDE.3050105@medin.name> References: <20080930161258.GA12005@umbach-racing.de> <48E2741F.7000900@medin.name> <20081001063329.GB12005@umbach-racing.de> <48E33FDE.3050105@medin.name> Message-ID: Hi, Just 2 quick comment, WMI can "usually" provide the All the same information that you retrieve from preformance counters, However the hard part is finding the correct WMI that matches the counter. And accessing WMI sometimes has a Subsystem delay That Performance counters do not have. WMI also sometimes has other unanticipated subsystem effects. For example a WMI to check Freespace on Disks actually accesses each Logical disk (including Floppy disk drives) unless the WMI querry is writen to explicitly exclude particular types. Other WMI queries may check remote hosts before responding thus adding delays instead of imediate responces. on the issue of the German vrs English Counters , I just patched a similar issue in NC_Net below is a Comment Emailed to me from a NC_NEt user that may be helpful in retriving the COunters (It requires REGEDIT) <> generell german counter without umlaute works. I don?t think it is a nagios/nc_net problem, maybe it is a generell linux problem with the umlaute.(default systemlanguage) some guys got a workaround by adding the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib there you got 007 for german and 009 for englisch. they fixed it by modifying the counter part im 007 folder. there they changes the ? in oe and the ? in ae, that is how german people write the umlaute when they cant use the original ?. <> Hope this Helps TOny On Wed, Oct 1, 2008 at 5:16 AM, Michael Medin wrote: > Klaus Umbach skrev: > > On 30/09/08 20:46, Michael Medin wrote: > > > Hello, > > NSClient++ (version 3 and above) do not use the "counter names" so they > are no longer language specific. > The coutners.defs is there as a "fall back" so it is probably never used... > > > So is there a way of asking NSClient++ language independent for e.g. > > > > Ahh... now I understand... no... (though I guess I could add it if you > want). > Feel free to make such a request at the trac site at nsclient.org and I > shall see if I can fix it (going to Germany for maschinenfest so might take > a week or two before you get it in a "nightly build"). > > Another option would be to "include" a "local.ini" file and have the > language specific counters there. > (look under the [include] section). But this would I guess require you to > make some "manual" handling so I think an index based solution would perhaps > be better. > Also there is WMI which does much of what PDH does but again the index > solution might be simpler... > > > // Michael Medin > > > > "\Physikalischer Datentr?ger(_Total)\Durchschnittl. Warteschlangenl?nge des Datentr?gers" > vs > "\PhysicalDisk(_Total)\Avg. Disk Queue Length" > > or do I have to define different services for different languages? > > - > Treibholz > > > > // Michael Medin > > Klaus Umbach skrev: > > > Hi, > > I was just scared by the discovery that the performance counters in Windows > are language specific... (Those morons even use Umlauts!) > > Is it somehow possible to define all I need in counters.defs and use them > with a language-independent call? > > I already defined some, but I don't know how to call them now. > > > > > Cheers > Klaus > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Oct 2 14:24:24 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 02 Oct 2008 07:24:24 -0500 Subject: Integration with Request Tracker References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> <02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk> <302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com> <48E22878.90402@op5.se> <1222938103.30176.15.camel@bofh.dtnet.de> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 02 Oct 2008 11:01:43 +0200, Sebastian Ries wrote: >Hi > >> Not directly. Looking at the description, the ID increases on each >> new notification sent. >> >> : The notification ID number is incremented by one (1) each time a new >> >> : host notification is sent out, and regardless of how many contacts >> are >> : notified. >> >> I read this being that each notification gets a new ID. For example, >> a host goes down, the first notification gets 1... second gets 2... >> etc. Host recovers. A service on another host goes down, and the >> notification ID is 3. > >No. > >The Order is: > >Host goes down >Notification 1 >Notification 2 >Notification 3 >Host recovers >Notification 4 (Recovery) >Host goes down (any) >Notification 1 >Notification 2 >... No, that would be $HOSTNOTIFICATIONNUMBER$, not $HOSTNOTIFICATIONID$. $HOSTNOTIFICATIONNUMBER$ The current notification number for the host. The notification number increases by one (1) each time a new notification is sent out for the host (except for acknowledgements). The notification number is reset to 0 when the host recovers (after the recovery notification has gone out). Acknowledgements do not cause the notification number to increase, nor do notifications dealing with flap detection or scheduled downtime. $HOSTNOTIFICATIONID$ A unique number identifying a host notification. Notification ID numbers are unique across both hosts and service notifications, so you could potentially use this unique number as a primary key in a notification database. Notification ID numbers should remain unique across restarts of the Nagios process, so long as you have state retention enabled. The notification ID number is incremented by one (1) each time a new host notification is sent out, and regardless of how many contacts are notified. >Notifications are counted for each problem without regarding other >problems. http://nagios.sourceforge.net/docs/3_0/macrolist.html - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjkvWwACgkQK4PoFPj9H3OqtQCglQRiHy4JOh+aQ1u0FWi77xa2 7KAAn3QbTsJRuU2gyUmU22rcSDfYPcmW =Hvq0 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Oct 2 10:40:35 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 02 Oct 2008 03:40:35 -0500 Subject: monitoring bigip F5 References: <716095.7471.qm@web26104.mail.ukl.yahoo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 30 Sep 2008 08:04:52 +0000 (GMT), Kermito le kermit wrote: > >hello all, > >I want to know if is possible to monitoring the active and standby F5 or know the OID to have this information snmptraps will send out the state changes of a node. Details are in the F5-BIGIP-COMMON-MIB... looks like it's burried in the tree .1.3.6.1.4.1.3375.0 And it'll be a .15 for going active, and .14 going into standby. If you don't want to do snmptraps, you'll probably want to look at the F5-BIGIP-SYSTEM-MIB... http://support.ipmonitor.com/mibs/F5-BIGIP-SYSTEM-MIB/tree.aspx - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjkiPIACgkQK4PoFPj9H3NtlQCgmQrWsxR6MW33jv8cXAzdQocO FOcAoMS2uPBFvGghYs2Hg4J+3Tosvbi7 =vb7R -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hars at bik-gmbh.de Thu Oct 2 17:45:59 2008 From: hars at bik-gmbh.de (Florian Hars) Date: Thu, 02 Oct 2008 17:45:59 +0200 Subject: Segfault in mmap_fgets_multiline Message-ID: <48E4ECB7.4030108@bik-gmbh.de> I tried running Nagios 3.0.3 on a recent OpenBSD snapshot and (apart from the gd problems due to a lack of libttf) hit on the problem that nagios segfaults in mmap_fgets_multiline. Not on every run, but if it segfaults, it always segfaults at the same place in the code. It looks related to http://archive.netbsd.se/?ml=nagios-users&a=2008-05&t=7383489 -------------- snip -------------------- Program received signal SIGSEGV, Segmentation fault. [Switching to process 11262, thread 0x81cf3000] 0x1c03c42d in mmap_fgets_multiline (temp_mmapfile=0x8318aca0) at utils.c:3486 3486 else if(buf[end]=='\\') (gdb) l 3481 buf[end+1]='\x0'; 3482 break; 3483 } 3484 3485 /* one backslash found, so we should continue reading the next line */ 3486 else if(buf[end]=='\\') 3487 buf[end]='\x0'; 3488 3489 /* else no continuation marker was found, so break */ 3490 else (gdb) print end $1 = -1 (gdb) print buf $2 = 0x7ce6a000 "\n" (gdb) bt #0 0x1c03c42d in mmap_fgets_multiline (temp_mmapfile=0x8318aca0) at utils.c:3486 #1 0x1c018757 in read_main_config_file (main_config_file=0x7cecc000 "/usr/local/nagios/etc/nagios.cfg") at config.c:281 #2 0x1c00e0b2 in main (argc=3, argv=0xcfbda84c) at nagios.c:475 (gdb) It ssem to happen in different places in the input file, though: (gdb) print *temp_mmapfile $2 = {path = 0x80319600 "/usr/local/nagios/etc/nagios.cfg", mode = 0, fd = 8, file_size = 42546, current_position = 8259, current_line = 244, mmap_buf = 0x7e4a2000} $4 = {path = 0x80c68600 "/usr/local/nagios/etc/nagios.cfg", mode = 0, fd = 8, file_size = 42546, current_position = 8710, current_line = 258, mmap_buf = 0x8af0c000} $6 = {path = 0x7fd22340 "/usr/local/nagios/etc/nagios.cfg", mode = 0, fd = 8, file_size = 42546, current_position = 6989, current_line = 211, mmap_buf = 0x883aa000} $8 = {path = 0x7cb245c0 "/usr/local/nagios/etc/nagios.cfg", mode = 0, fd = 8, file_size = 42546, current_position = 12151, current_line = 375, mmap_buf = 0x83b74000} $9 = {path = 0x80fdd480 "/usr/local/nagios/etc/nagios.cfg", mode = 0, fd = 8, file_size = 42546, current_position = 7212, current_line = 221, mmap_buf = 0x7c66f000} Sometimes it even seems to get confused over the real end of the config files: | LEN: 37, END: 35, BUF=# "TRUE" REGULAR EXPRESSION MATCHING | BUFNOW: # "TRUE" REGULAR EXPRESSION MATCHING | LEN: 65, END: 63, BUF=# This option controls whether or not | Total Warnings: 0 | Total Errors: 0 | | Things look okay - No serious problems were detected during the pre-flight check or | LEN: 71, END: 69, BUF=# This directive is used to specify an event broker module that should | BUFNOW: # This directive is used to specify an event broker module that should | LEN: 71, END: 69, BUF=# by loaded by Nagios at start | Total Warnings: 0 | Total Errors: 0 | | Things look okay - No serious problems were detected during the pre-flight check I think these lines make end negative if buf contains just an end of line: 3465 /* handle Windows/DOS CR/LF */ 3466 if(len>=2 && buf[len-2]=='\r') 3467 end=len-3; 3468 /* normal Unix LF */ 3469 else if(len>=1 && buf[len-1]=='\n') 3470 end=len-2; 3471 else 3472 end=len-1; But apart from that I am completely confused, as I can see no source of non-determinism in the code. Maybe it is address randomization: sometimes buf is allocated at the beginning of a page, so buf[-1] segfaults, and sometimes not, so that the erroneous code continues to run, yielding undefined behaviour. Memtest86+ shows nothing suspicious on the machine, so there seems to be no involuntary hardware RNG involved. - Florian. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.nagios at gmail.com Thu Oct 2 18:03:13 2008 From: john.nagios at gmail.com (Nagios User) Date: Thu, 2 Oct 2008 12:03:13 -0400 Subject: notify-html-email.sh Message-ID: Hello, I am trying to us the notify-html-email.sh mailscript on nagios 3.0.1 with no success. Does this work with Nagios 3.0.1? if you have any information please let me know. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2002.html;d=1 Thanks, -john ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charlie.reddington at gmail.com Thu Oct 2 23:42:41 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Thu, 2 Oct 2008 16:42:41 -0500 Subject: nagios on call schedule w/ escalations? In-Reply-To: References: <22DEED01-E27A-40EA-A539-A92E76A9BBCE@gmail.com> Message-ID: <9761BC32-7D9D-4B77-8563-8420A1C3E32D@gmail.com> Jon thanks. I got things figured out. I setup 2 sets of contacts with the same users. One was just for the regular contact. I setup this group of 'admins' so they are only contacted on their oncall schedule. I then just did nearly exactly as you wrote and made a totally seperate set of contacts, that can be contacted 24x7. I have 2 groups. Admins and Escalations. Escalations use the second set of 24x7 contacts, and the Admins contacts uses the oncall schedule. Inheritance wasn't really necessary, just the separate groups. Oh and I made a separate contact template that used the proper contact time period. Thanks again, works perfect. charlie On Oct 2, 2008, at 3:13 AM, Jon Angliss wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 30 Sep 2008 16:22:16 -0500, Charlie Reddington > wrote: > >> Hi guys / gals, >> >> I am working on the final stages of my nagios setup, but I'm entering >> territory which I haven't been before and can use some guidance. > > I'm sure you've probably taken a peek at the "On Call Rotations" > details in the documentation: > > http://nagios.sourceforge.net/docs/3_0/oncallrotation.html > > There are plenty of examples to get a good idea. > >> Here's what I'm trying to achieve. We have a team of 3 admins, where >> we rotate weeks who is on call. Of course, they aren't every other >> 3rd >> week , because of people having vacation time, etc. So some weeks >> people are on call for 2 weeks, or every 2 weeks, etc. >> >> What we'd like is, to have a schedule setup where the primary guy >> gets >> woken up first. But if he doesn't answer his call after an hour, it >> drops down to the rest of us admins. No matter if your just at home >> sleeping, or if your on vacation, you get pinged. After that it goes >> up to our manager. > >> I can figure out the setting of people's initial schedule, as I have >> it looking something like this.... >> >> # contacts >> >> define contact{ >> contact_name user1 >> use generic-contact >> alias user1 >> email user1 >> host_notification_period user1_oncall >> service_notfication_period user1_oncall >> } >> >> define contact{ >> contact_name user2 >> use generic-contact >> alias user2 >> email user2 >> host_notification_period user2_oncall >> service_notfication_period user2_oncall >> } >> >> define contact{ >> contact_name user3 >> use generic-contact >> alias user3 >> email user3 >> host_notification_period user3_oncall >> service_notfication_period user3_oncall >> } >> define contact{ >> contact_name manager1 >> use generic-contact >> email manager1 >> } >> >> # groiups >> >> define contactgroup{ >> contact_groupname admins >> members user1,user2,user3 >> } >> define contactgroup{ >> contact_groupname managers >> members manager1 >> } >> >> # Time periods >> >> define timeperiod{ >> timeperiod_name user1_oncall >> Sept 29 - Oct 5 00:00-24:00 >> Oct 20 - Oct 26 00:00-24:00 >> Nov 17 - Nov 23 00:00-24:00 >> Dec 1 - Dec 7 00:00-24:00 >> Dec 15 - Dec 21 00:00-24:00 >> } >> >> define timeperiod{ >> timeperiod_name user2_oncall >> Oct 6 - Oct 12 00:00-24:00 >> Nov 3 - Nov 9 00:00-24:00 >> Nov 24 - Nov 30 00:00-24:00 >> Dec 22 - Dec 23 00:00-24:00 >> } >> >> define timeperiod{ >> timeperiod_name user3_oncall >> Oct 13 - Oct 19 00:00-24:00 >> Oct 27 - Nov 2 00:00-24:00 >> Nov 10 - Nov 16 00:00-24:00 >> Dec 8 - Dec 14 00:00-24:00 >> } > >> Would / Does escalations trump the initial contacts? >> >> # First escalations >> define serviceescalation{ >> hostgroup_name Servers >> service_description * >> first_notification 2 >> last_notification 3 >> notification_interval 30 >> contact_groups admins >> } >> >> # Second escalations >> define serviceescalation{ >> hostgroup_name Servers >> service_description * >> first_notification 3 >> last_notification 8 >> notification_interval 60 >> contact_groups admins,managers >> } >> >> So I know this isn't quite right, as our admins are part of the admin >> group, but also trying to restrict when they get contacted. So I'm >> not >> really sure how to proceed with this. > > You might want to read up on notifications, and serviceescalations, > too... Looking at the time stuff you've got, what'll happen is at any > one point, only 1 of the admins will be reachable by notifications at > any time. This is because the "timeperiods" stop nagios from sending > notifications to a user that is outside their timeperiod. For > example, a host goes down at 2100 on Oct 15th, only user3 will be > notified, even after the escalations kick in. There will be a period > of 0-3 notifications where user3 is the only recipient. It'll only > get to another person when the 3rd notification goes out, and it > engages the "managers" contact group. > > Depending on how many users/admins you're looking at, you could use a > trick with templating, and inheritence. Keeping your base users as you > have above, then build escalation users' and groups. > > define timeperiod { > timeperiod_name AllTimes > alias All Times > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > define contact { > contact_name disable_times > host_notification_period AllTimes > service_notification_period AllTimes > register 0 > } > > define contact{ > contact_name user1 > use generic-contact > alias user1 > email user1 > host_notification_period user1_oncall > service_notfication_period user1_oncall > } > > define contact{ > contact_name user2 > use generic-contact > alias user2 > email user2 > host_notification_period user2_oncall > service_notfication_period user2_oncall > } > > define contact { > use disable_times,user1 > contact_name user1_esc > } > > define contact { > user disable_times,user2 > contact_name user2_esc > } > > define contactgroup { > contactgroup_name admins > members user1,user2 > } > > define contactgroup { > contactgroup_name admins_esc > members user1_esc,user2_esc > } > > Then your service escalations use admins_esc instead of just admins. > I've not tested it, but looking at the way inheritence works, you > should be OK. > > - -- > Jon Angliss > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 > > iEYEARECAAYFAkjkgqMACgkQK4PoFPj9H3MthQCg4XgD5eNyl190umm7Ew8OouKK > kCoAoNsRdPjpTMX/tO/eC00ejVb3MjzF > =XHky > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 3 00:38:38 2008 From: marc at ena.com (Marc Powell) Date: Thu, 2 Oct 2008 17:38:38 -0500 Subject: Editing CGI files in Nagios In-Reply-To: <01E9BE53DDA8974BA1A4E4C6DB8BA15B0510CAA3@tnshestia.tnsadmin.tns.psu.edu> References: <01E9BE53DDA8974BA1A4E4C6DB8BA15B0510CAA3@tnshestia.tnsadmin.tns.psu.edu> Message-ID: On Oct 2, 2008, at 4:03 PM, Mike Carey wrote: > Is it possible to customize the avail.cgi file to add things like > Title and Logos to the Summary and Availability reports that run? > Everytime I try to adjust the avail.cgi file in /usr/local/share/ > nagios/sbin on a Ubuntu server, the Availability main report page > doesn?t come up anymore. > > I?ve tried editing it with both vi and nano. And I?m just testing > it with a simple change, like making Nagios, ALL CAPS, in the frame > box just to see if it will work. It's a binary program and not editable like that. You're corrupting it every time you save it. ;) You need to edit the source file from the nagios tarball (avail.c for example) and recompile nagios. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Fri Oct 3 16:37:17 2008 From: myoung at nagios.org (Mark Young) Date: Fri, 3 Oct 2008 09:37:17 -0500 Subject: Changing the NRPE timeout In-Reply-To: <48165.65.161.127.93.1223039822.squirrel@ameliaschools.com> References: <48165.65.161.127.93.1223039822.squirrel@ameliaschools.com> Message-ID: <828326CE-D0FC-41A7-B70E-11AF7DCC458F@nagios.org> On Oct 3, 2008, at 8:17 AM, Bo Lynch wrote: > I am monitoring some boxes over a slow connection and need to up the > CHECK_NRPE timeout from 10 sec to maybe 30. Where do I set this at. > Thanks > -- > Bo Lynch Timeouts are maintained in the nagios.cfg and in how you call each plugin. Most plugins will have a timeout option that you can change by modifying your command to pass an additional flag. For example './ check_nrpe -H HOSTNAME -t 30 -c CMD' would give you a timeout of 30 seconds. As long as you are not setting a timeout value for the plugin greater than that set globally for Nagios in the nagios.cfg you should be fine. Otherwise adjust the global settings *CAREFULLY* as you may run into potential performance problems. Normally with plugin issues you should run the plugin from the commandline as user nagios to find useful help information (passing '- h' or '--help') and debugging problems. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Fri Oct 3 15:52:46 2008 From: jon at netdork.net (Jonathan Angliss) Date: Fri, 3 Oct 2008 08:52:46 -0500 (CDT) Subject: Integration with Request Tracker In-Reply-To: References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com><02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk><302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com><48E22878.90402@op5.se> <302ce8b50810020906u2b16d02br5c0f71af9fd79403@mail.gmail.com> Message-ID: <12b9ec4207c979c65a0fc2cbab294086.squirrel@sm-14.netdork.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Hi All > > How viable would it be to distribute/develop a plugin for NRPE which is > provided with the RT3/NAGIOS distribution and which logs a ticket directly > in the RT database when provided the necessary information by a nagios > server? It seems NRPE plus some plugin code could serve as decent > framework for an integration layer between RT and Nagios systems (which > are commonly found together in the same IT environments!). I don't think it'd have to be limited to NRPE to be honest. As long as you can build a script that can accept input to read/write something that RT can understand (be it direct to the DB, or if RT supports it via some interface), then it can be just a simple script. NRPE will just allow you to execute that same script on different servers, it's just a case of passing the arguments over. > It doesn't seem technically difficult, but the question is whether this > would be viable to maintain as part of future nagios distributions? I'm not sure. I guess a generic ticket generator would be feasible, just to provide an example of how to create the ticket. However, you can never be entirely sure on how somebody has their RT system setup. They might use different custom fields for stuff that the generic generator tries to use to remember the problem ID. - -- Jonathan Angliss > -----Original Message----- > From: Jim Perrin [mailto:jperrin at gmail.com] > Sent: Thu 10/2/2008 6:06 PM > To: Jon Angliss > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Integration with Request Tracker > > On Thu, Oct 2, 2008 at 4:26 AM, Jon Angliss wrote: > >> You might want to look at $SERVICEPROBLEMID$ and $HOSTPROBLEMID$ >> instead. And the $LAST...$ versions of both of those. Combining with >> an event handler, you can probably use a small table containing the RT >> ticket number, the host/service name, and the problem ID. You'd then >> feed the state, statetype, service, host, and the problem ID macros to >> the event handler, and you should then be home free :) > > Yes, event handlers were the plan all along but I lacked a simple > method to track an incident between nagios and RT reliably. Your > suggestion of problem id's looks very promising. This, combined with > nagios having its own queue within RT, and a few custom ticket fields > should do quite nicely. Thanks again! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjmI5sACgkQK4PoFPj9H3NgvgCeKq/RE7aN0h0aQbIQ4fcucVsl gAQAoP4IxiL5jnYGgbkkj3t4xvZ+8KRx =GLtM -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 3 23:20:36 2008 From: marc at ena.com (Marc Powell) Date: Fri, 3 Oct 2008 16:20:36 -0500 Subject: After switching to Nagios 2.9, Nagios Checker always asking for credentials In-Reply-To: <2B90E837B30E394680C1C58A38487FFE423E07@ITS-EXMBX2.its.corp.gwl.com> References: <2B90E837B30E394680C1C58A38487FFE423E07@ITS-EXMBX2.its.corp.gwl.com> Message-ID: <5563A691-94EB-49F2-8309-B6D1C411982A@ena.com> On Oct 3, 2008, at 2:27 PM, Kustner, Tom wrote: > ? This has apparently been bugged at http://code.google.com/p/nagioschecker/issues/detail?id=56&colspec=Stars%20ID%20Type%20Status%20Priority%20Summary%20Opened%20Modified%20Closed > . However, this does not mean that the problem is ultimately in the > plug-in itself. Perhaps I need to configure things differently. > Does something need changing on the Nagios box itself? > If you can log into the nagios Web GUI without being re-prompted then the problem would lie with the way nagioschecker is (not) storing your credentials. Nagios itself doesn't have anything to do with the authentication, apache does. There might be something in apache's error log that could be a clue to the problem. I can't imagine how it could be anything else but a nagioschecker related problem since it _must_ send the auth information with every request. It appears to not be doing that or sending incorrect auth information that apache is rejecting. Is your NC configuration such that it's using the browser's password manager? If no, the plugin indicates that the auth information will be saved in Firefox's configuration files. Maybe it's incorrect there. Again, the apache logs will be helpful in showing what's being sent. I've just tested with FF 3.0.3, NC 0.13 and Nagios 2.7 with no problems. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bedougla at cisco.com Fri Oct 3 22:38:25 2008 From: bedougla at cisco.com (Ben Douglas (bedougla)) Date: Fri, 3 Oct 2008 16:38:25 -0400 Subject: Nagios cgi's bomb out with fatal: libglib-2.0.so.0 In-Reply-To: <48E6815F.9090400@networkmail.eu> References: <48E6815F.9090400@networkmail.eu> Message-ID: Not sure about SELinux issues. The path to the actual shared object looks okay: mpls-golden-stage:/users/bedougla> ls -l /usr/local/lib/libglib-2.0.so.0 lrwxrwxrwx 1 root other 35 Feb 7 2008 /usr/local/lib/libglib-2.0.so.0 -> ../depot/glib2/lib/libglib-2.0.so.0 mpls-golden-stage:/users/bedougla> ls -l /usr/local/depot/glib2/lib/libglib-2.0.so.0 lrwxrwxrwx 1 root other 24 Feb 8 2008 /usr/local/depot/glib2/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.1200.13 mpls-golden-stage:/users/bedougla> ls -l /usr/local/depot/glib2/lib/libglib-2.0.so.0.1200.13 -rwxr-xr-x 1 root other 1756496 Mar 18 2008 /usr/local/depot/glib2/lib/libglib-2.0.so.0.1200.13 mpls-golden-stage:/users/bedougla> And as the user "nobody" I can see the files as well: $ ls -l /usr/local/lib/libglib-2.0.so.0 lrwxrwxrwx 1 root other 35 Feb 7 2008 /usr/local/lib/libglib-2.0.so.0 -> ../depot/glib2/lib/libglib-2.0.so.0 $ ls -l /usr/local/depot/glib2/lib/libglib-2.0.so.0 lrwxrwxrwx 1 root other 24 Feb 8 2008 /usr/local/depot/glib2/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.1200.13 $ ls -l /usr/local/depot/glib2/lib/libglib-2.0.so.0.1200.13 -rwxr-xr-x 1 root other 1756496 Mar 18 2008 /usr/local/depot/glib2/lib/libglib-2.0.so.0.1200.13 $ Thanks, Ben -----Original Message----- From: Andy Shellam [mailto:andy-lists at networkmail.eu] Sent: Friday, October 03, 2008 4:33 PM To: Ben Douglas (bedougla) Cc: nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios cgi's bomb out with fatal: libglib-2.0.so.0 Hi Ben, I've never used Solaris before, so this is just a quick stab in the dark - what are the permissions like on /usr/local/lib/libglib-2.0.so.0? I.e. can the user Apache is running as actually get to that file, from a permissions point-of-view? Also I know SELinux has caused numerous issues like this - does Solaris have something similar that may be interfering/preventing access? Andy Ben Douglas (bedougla) wrote: > Hello, > > I'm trying to install on Solaris 8 which has been hard enough ;) But > I finally got everything installed, but all my cgis are biting the > dust with the following in the apache error_log: > > ld.so.1: tac.cgi: fatal: libglib-2.0.so.0: open failed: No such file > or directory [Fri Oct 3 13:35:06 2008] [error] [client 10.98.14.21] > Premature end of script headers: /opt/local/nagios-3.0.3/sbin/tac.cgi > The ldd looks okay for these files and it looks like it *has* the > libglib-2.0.so.0 linked up correctly, but am at an impass with no clue > where to do. Any tips for anyone else who's encountered this / knows > how to fix it? > > bash-2.05b# ldd /opt/local/nagios/sbin/tac.cgi > librt.so.1 => /lib/librt.so.1 > libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 > libintl.so.2 => /usr/local/lib/libintl.so.2 > libiconv.so.2 => /usr/local/lib/libiconv.so.2 > libc.so.1 => /lib/libc.so.1 > libaio.so.1 => /lib/libaio.so.1 > libgcc_s.so.1 => > /usr/cisco/packages/gcc/gcc-4.1.0/lib/libgcc_s.so.1 > libdl.so.1 => /lib/libdl.so.1 > /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1 > bash-2.05b# > Unfortunately the machine is behing a nice lab internal firewall, so > have had to compile most everything from scratch in order to get stuff > that Cisco didn't already have. > > Thanks, > Ben Douglas > > > > > > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & > win great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 3 23:02:55 2008 From: marc at ena.com (Marc Powell) Date: Fri, 3 Oct 2008 16:02:55 -0500 Subject: Slow response from command remote call using SSH In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A027C8086@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A027C8085@QMAIL.corp.questar.com> <91EDB00F83BAD443A9D05FA67623955A027C8086@QMAIL.corp.questar.com> Message-ID: <23BF46B5-82EA-43D3-9AF5-D2B7F998E10D@ena.com> On Oct 3, 2008, at 2:03 PM, Bret Goodfellow wrote: > > Multipath CRITICAL 10-01-2008 12:16:59 0d 1h > 0m 59s 3/3 CRITICAL ? Plugin timed out while executing system > call > > Wouldn't copy/paste have been easier? ;) Please don't send screenshots, especially screenshots of text content that would have been easier to read/quote/respond to as _text_. It's bad for readers, responders, the Digests and archives and usually considered bad form. If you must have screenshots, post them to a public location and provide a full link (no TinyURLs please). > > QUESTION: How do I set up ?nagios? so that it will wait up to 15 > seconds for the service to complete? Quoting from a response this morning (changing NRPE timeout) -- "- nagios overall service plugin execution timeout. This should be higher than your highest plugin specific timeout -- $ grep timeout etc/nagios.cfg service_check_timeout=15 - And the plugin that NRPE is executing on the remote host will have a default timeout value as well. Standard plugins support a -t parameter (like check_nrpe) but you can always run '/path/to/plugin --help' to see if it is a parameter and what it expects." In this case, the plugin isn't NRPE but the blurb about 'Standard plugins' applies. check_by_ssh is a standard plugin that has a configurable timeout value. You'll need to adjust your check_by_ssh definition's command_line to include the '-t 15' parameter. > Please keep in mind that this service, check_ssh_multipath, worked > fine prior to the upgrade to RHEL 4.7 Stored but I don't think I'll need it. I've saved it in the cells that'll be killed by the wine tonight so it has a short TTL. -- Marc - Did someone say it's EOB Friday? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From isma.silv at gmail.com Sat Oct 4 02:34:55 2008 From: isma.silv at gmail.com (Ismael Silva) Date: Fri, 3 Oct 2008 20:34:55 -0400 Subject: Slow response from command remote call using SSH In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A027C8086@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A027C8085@QMAIL.corp.questar.com> <91EDB00F83BAD443A9D05FA67623955A027C8086@QMAIL.corp.questar.com> Message-ID: <826270010810031734sbd262d4k71ab9385feebf8b@mail.gmail.com> why you no uses NRPE? the ssh session occuped too resources from you server.. (sorry for my english , i speak spanish) 2008/10/3 Bret Goodfellow > Hello there, > > > > I have just run into an issue with "multipath -ll" after upgrading to RHEL > 4 Update 7. Apparently, now running "multipath" takes up to 15 seconds to > get a response back. Before I updated the server in question to RHEL 4 > Update 7, the 'multipath' command responded immediately, therefore not > creating any timing issue with nagios. > > > > PROBLEM: my RHEL servers that have been updated to RHEL 4 Update 7, now > respond too slowly to the "multipath" command and will give the following > error in Nagios: > > > > Multipath CRITICAL 10-01-2008 12:16:59 0d 1h 0m > 59s 3/3 CRITICAL ? Plugin timed out while executing system call > > > > > > QUESTION: How do I set up 'nagios' so that it will wait up to 15 seconds > for the service to complete? > > > > NAGIOS SETUP: I have cut and pasted screenshots of the services and > commands in the Nagios setup: > > > > > > > > Please keep in mind that this service, check_ssh_multipath, worked fine > prior to the upgrade to RHEL 4.7 > > > > > > > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ................................................................................. Saludos Ismael Silva C. +56 7 7682753 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 81550 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 73821 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4993 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Oct 4 05:10:27 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 03 Oct 2008 23:10:27 -0400 Subject: Services get stuck in warning/critical state In-Reply-To: <48E5DDC0.50607@op5.se> References: <20081002112640.5f373a09.bartek@net-serwis.pl> <48E5DDC0.50607@op5.se> Message-ID: <48E6DEA3.5020506@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/10/08 04:54 AM, Andreas Ericsson wrote: > Bartlomiej Korupczynski wrote: >> Hello, >> >> I probably should also mention, that nagios host >> sometimes has quite high load (up to 2.0 on uniprocessor machine), as a >> result of monitoring scripts. Next thing is that monitoring host has big >> constant clock skew that I can't get rid of (time runs faster, ca. 5s for >> every 2 minutes, this gets corrected by ntpdate every 2 minutes). > > And this is almost certainly the problem. Are you running Nagios in a > vmware system? If yes, what happens when you move it out to its own hardware? > Nagios relies on a reasonably accurate system clock. One that jumps backwards > and forwards will cause problems. Hey Andreas... FYI I noticed the similar load thing (have no problem with the clock though)... Upon upgrading from 2.7 to 3.0.1-cvs (IIRC pretty much between the two releases) I had to adjust the load thresholds for that box as I had very high spikes. Everything keeps running smoothly, the number of process, cpu usage, check latency, check execution time and checks performed per minute graphs are nearly flat (1-minute average graphs), I/O wait and number of zombies stays very low. There's nothing else running besides Nagios and a minutely Cacti poller that was there years ago The server is a dual CPU (+ HT = 4-way), 2GB ram and fast SCSI RAID, running at ~ 43% cpu load with ~ 1280 active checks per minute. temp_path and check_result_path are on tmpfs filesystems. I attached a graph of the load average... - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI5t6j6dZ+Kt5BchYRAlavAKDNA1KBgHuHxW9cZ4JsNM0uLgbAAACfdOG6 cTZAhfA7Fv+cKqElq1CFWOg= =6Ggx -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios_load.png Type: image/png Size: 55679 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Oct 4 09:30:47 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 04 Oct 2008 09:30:47 +0200 Subject: After switching to Nagios 2.9, Nagios Checker always asking for credentials In-Reply-To: <2B90E837B30E394680C1C58A38487FFE423E07@ITS-EXMBX2.its.corp.gwl.com> References: <2B90E837B30E394680C1C58A38487FFE423E07@ITS-EXMBX2.its.corp.gwl.com> Message-ID: <48E71BA7.9090600@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kustner, Tom wrote: > Disclaimer: I?m a Nagios user, not the administrator. > > ? Problem: When I was using the Nagios Checker version .13 against > our old Nagios 1.2 system, there were no problems. However, since > switching to a newer Nagios 2.9 system, Nagios is always asking for > credentials whenever it wants to check. If I have configured Nagios to > check five minutes, I am asked every five minutes for credentials. Remove the definition and set it up again. Nagios < 2 is handled differently. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI5xukBvzDRVjxmYERAsxrAJ424WzO0jpxhpBVTVemNSK82nOdxgCgiEEU xpLMfw9xPkuawqVHJGvEqUk= =8KHC -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sun Oct 5 00:33:17 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 04 Oct 2008 18:33:17 -0400 Subject: Full data logging? In-Reply-To: References: <48E78EB3.7090201@aei.ca> Message-ID: <48E7EF2D.4060102@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/10/08 01:26 PM, howard chen wrote: > Hello, > > On Sat, Oct 4, 2008 at 11:41 PM, Thomas Guyot-Sionnest wrote: >> No, you need another system for using that data. Usually it is passed to >> one of the many RRD-based graphing system available. Some of them are >> based on Nagios (NagiosGrapher, PNP) or you can usually integrate it >> with other tools like Cacti with some additional work. My method was to >> use a daemon reading the performance data pipe and caching data for a >> sort period, and a cacti script to read it back. see: >> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2520.html;d=1 >> > > Thanks for your reply. > > Sure I can use system such as ganglia to do the logging and generate > the nice graphs. The reason I don't like is since I am using nagios > for monitoring anyway, I don't want to install another program on my > production server which monitor the same set or data, which cost > additional cpu cycles, I/O etc. > > So I am finding some more efficient, and easy to setup method to do the tasks. I'm not telling you to poll the same data twice, Nagios provides performance data for compatible plugins that can be passed to a graphing system. Since Nagios doesn't keep this data the additional cpu cycles, as you say, are necessary... BTW I don't think Ganglia is very well suitable, it's designed to spread across all hosts while in this case all data is already available by Nagios. If you want something simple and efficient a Nagios-based grapher is probably what you'll want. If all you care about is the historical data, you could also write a daemon to insert all that perf data into a database... but RRD databases are very fast and will likely scale better than a database. FYI the most efficient way to get perfdata is to point the host_perfdata_file and/or service_perfdata_file to a named pipe (fifo) and have a daemon continuously read from it. Nagios 3 even allow a (p)ipe mode for host/service_perfdata_file_mode that will avoid possible lockups when using a fifo as a normal file. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI5+8s6dZ+Kt5BchYRApekAKCuQABYsLGRmVoIiDorUI0WCMWUawCffSsO 6zVR+coVn6fPPWINHaShlmI= =vRb+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eliot.Picken at wenaas.co.uk Sun Oct 5 05:00:45 2008 From: Eliot.Picken at wenaas.co.uk (Eliot.Picken at wenaas.co.uk) Date: Sun, 5 Oct 2008 04:00:45 +0100 Subject: AUTO: Eliot Picken is out of the office (returning 09/10/2008) Message-ID: I am out of the office until 09/10/2008. I am currently out of the office, returning Thursday 9th October During this time my email and mobile will be checked occasionally. For urgent issues, please contact Andrew Fay on +44 (0) 1224 894 000 Best regards Eliot Note: This is an automated response to your message "Re: [Nagios-users] After switching to Nagios 2.9, Nagios Checker always asking for credentials" sent on 10/4/2008 8:30:47 AM. This is the only notification you will receive while this person is away. **************************************************************************************************************************************** Important Note:? This message contains confidential information which is intended to?be recevied by the addressee only.???We acknowledge that e-mail is not an entirely secure medium of communication and you should be aware of this when replying.? If you have received this email in error, please advise the sender?of this at the earliest opportunity.??We take all reasonable steps to ensure?this email is free from any malicious content, but cannot provide any guarantee that this is the case.? The company's ?email and internet traffic is also?monitored under the provisions of the Regulation of Investigatory Powers Act 2000. Wenaas UK Ltd is a limited company registered in Scotland, under company number 62062. Registered Office : Unit 1 Hareness Circle, Altens, Aberdeen, AB12 3LY, United Kingdom **************************************************************************************************************************************** -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsalaz at meteostar.com Sun Oct 5 05:21:41 2008 From: jsalaz at meteostar.com (Jason Salaz) Date: Sat, 4 Oct 2008 21:21:41 -0600 Subject: Nagios 2 Results (via NSCA) to Nagios 3? Message-ID: <07DABC11-2F15-4A4B-AC03-EE1E6D4BDFEF@meteostar.com> Hello, I'm considering upgrading our core NAGIOS instance to 3(.0.3), but we have 4 other NAGIOS servers (a typical distributed setup) that all submit check results back to this core instance. While I intend to upgrade them too, that prospect is a little bit harder and will take a little bit more time. It will also be nearly impossible to "flip the switch" in order to upgrade them all at the same time. I haven't yet seen any reason for this to be a problem, but I've only read the "What's New" and upgrade changes/considerations. Would there be any reason why NAGIOS 2 processes, submitting check results back via NSCA to a NAGIOS 3 instance, would have any problems or incompatibilities? Thanks. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Oct 5 17:01:00 2008 From: marc at ena.com (Marc Powell) Date: Sun, 5 Oct 2008 10:01:00 -0500 Subject: Place the same service In-Reply-To: <001a01c923f1$c9c4d3e0$2df41c0a@tse.gov.br> References: <001a01c923f1$c9c4d3e0$2df41c0a@tse.gov.br> Message-ID: On Oct 1, 2008, at 1:16 PM, Leandro de Oliveira wrote: > Hi > > Is there a way to place the same service for multiple hosts ? http://nagios.sourceforge.net/docs/3_0/objecttricks.html#service -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sun Oct 5 21:42:51 2008 From: ae at op5.se (Andreas Ericsson) Date: Sun, 05 Oct 2008 21:42:51 +0200 Subject: Nagios 2 Results (via NSCA) to Nagios 3? In-Reply-To: <07DABC11-2F15-4A4B-AC03-EE1E6D4BDFEF@meteostar.com> References: <07DABC11-2F15-4A4B-AC03-EE1E6D4BDFEF@meteostar.com> Message-ID: <48E918BB.1070802@op5.se> Jason Salaz wrote: > Hello, > > I'm considering upgrading our core NAGIOS instance to 3(.0.3), but we > have 4 other NAGIOS servers (a typical distributed setup) that all > submit check results back to this core instance. > > While I intend to upgrade them too, that prospect is a little bit > harder and will take a little bit more time. It will also be nearly > impossible to "flip the switch" in order to upgrade them all at the > same time. > > I haven't yet seen any reason for this to be a problem, but I've only > read the "What's New" and upgrade changes/considerations. > > > Would there be any reason why NAGIOS 2 processes, submitting check > results back via NSCA to a NAGIOS 3 instance, would have any problems > or incompatibilities? > No. The format in which commands are submitted has not changed. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sarinyo at gmail.com Mon Oct 6 12:22:08 2008 From: sarinyo at gmail.com (Marc Torres) Date: Mon, 6 Oct 2008 12:22:08 +0200 Subject: Nagios not checking on time Message-ID: Hi all. I'm using Nagios v3.0 with NDO. My problem is that nagios isn't checking the services at the time it says it will (from NDO tables): +---------------+---------------------+---------------------+---------------------+ | current_state | display_name | next_check | last_check | +---------------+---------------------+---------------------+---------------------+ | 2 | CPU Load | 2008-10-06 10:00:00 | 2008-10-03 12:16:35 | | 2 | Drive Space C | 2008-10-06 10:00:00 | 2008-10-03 12:03:39 | | 0 | Explorer | 2008-10-06 10:00:00 | 1970-01-01 01:00:00 | | 0 | Memory Usage | 2008-10-06 10:00:00 | 1970-01-01 01:00:00 | | 0 | NSClient++ Version | 2008-10-06 10:00:00 | 1970-01-01 01:00:00 | | 0 | Registro de Sucesos | 2008-10-06 10:00:00 | 1970-01-01 01:00:00 | | 0 | Uptime | 2008-10-06 10:00:00 | 1970-01-01 01:00:00 | +---------------+---------------------+---------------------+---------------------+ but now it's 2008-10-06 12:10 and no checks where done at all on this services. I've to say that this host is down, but no where is written that the servcie check should not be made when nagios detects that the host is down (I've read de check_hosts and check_services docs). Am I missing something? Or this is normal behaviour? Cheers, Marc. PS: If you need more info for helping me (like host and services config) let me know. -- "I'm unique, just like everyone else". Read it out there -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.nagios at gmail.com Mon Oct 6 16:05:48 2008 From: john.nagios at gmail.com (Nagios User) Date: Mon, 6 Oct 2008 10:05:48 -0400 Subject: notify-html-email.sh Message-ID: Hello, I am trying to us the notify-html-email.sh mailscript on nagios 3.0.1 with no success. Does this work with Nagios 3.0.1? if you have any information please let me know. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2002.html;d=1 Thanks, -john ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rutski89 at gmail.com Mon Oct 6 16:23:57 2008 From: rutski89 at gmail.com (Patrick Rutkowski) Date: Mon, 6 Oct 2008 10:23:57 -0400 Subject: Time periods seem to be no-ops Message-ID: We've defined the following time period for use with a service which we know to be down between 9am and 10am every day: ========== BEGIN CODE SNIPPET ========== define timeperiod{ timeperiod_name do_not_notify_bw_9am_10am alias Every day and time, except 9am-10am sunday 00:00-8:59,10:01-24:00 monday 00:00-8:59,10:01-24:00 tuesday 00:00-8:59,10:01-24:00 wednesday 00:00-8:59,10:01-24:00 thursday 00:00-8:59,10:01-24:00 friday 00:00-8:59,10:01-24:00 saturday 00:00-8:59,10:01-24:00 } ========== END CODE SNIPPET ========== We then applied it to a service like so: ========== BEGIN CODE SNIPPET ========== define service { host_name our-special-host service_description Check status of MySQL reporting:3307 check_command check_mysql_service!16105 use generic-service notification_period do_not_notify_bw_9am_10am notification_interval 0 contact_groups company-admins } ========== END CODE SNIPPET ========== Oddly, the service continues to give us notifications during that time interval. We tried setting check_interval instead of notification_interval, but still no luck. We also tried setting both {notification,check}_interval, but again, no luck. To preempt the obvious question, yes, we did restart Nagios. Additionally, to ensure that the time period was indeed getting attached to the service, we used to GUI page to browse to "Configuration" -> "View Config" -> "Object Type: Services" and verified that the columns entitled "Check Period" and "Notification Period" had "do_not_notify_bw_9am_10am" instead of the usual "24x7". Despite all this, we're still getting warnings during this time interval. As a quick fix, we can use SCHEDULE_SVC_DOWNTIME with /var/lib/nagios2/rw/nagios.cmd, which does work; but it definitely doesn't feel like a permanent solution. -Patrick ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Mon Oct 6 16:54:42 2008 From: myoung at nagios.org (Mark Young) Date: Mon, 6 Oct 2008 09:54:42 -0500 Subject: 3-D Status Map not working In-Reply-To: <48E6AB38.1070808@rlknight.com> References: <48e52c18.5060509@rlknight.com> <2C0BB3F9548.0000095Dizz_abdullah@inbox.com> <21CBCCB7-F2DD-4391-A05A-4C64F4008470@nagios.org> <48E6482C.7060404@rlknight.com> <48E6AB38.1070808@rlknight.com> Message-ID: On Oct 3, 2008, at 6:31 PM, Rick Knight wrote: > The only config file I have that points to /usr/local/nagios/sbin is > the Apache2 config file for Nagios, nagios.conf. I've included it > below... > > ## Apache2 config file for Nagios This looks to be the standard sample config for apache which should not be a problem. > What is the next step in trouble shooting this problem? I believe the clear next step for you is to work on your configuration files. I would backup your configuration, stop nagios, install the sample config files ('make install-config' in the source directory), then start nagios. If that fixes the problem I'd look at the cgi.cfg and nagios.cfg as having some problem settings. If it does not work... It could be a number of things including the openvrml plugin you are using. A better tracing of the program and looking deeper into the logs might be required. The VRML components have largely been unmaintained for a long time. VRML technology never really took off. And sadly the 3D map is not as useful as you may hope. :( If you are looking to enhanced maps I would look at the great NagVis (http://www.nagvis.org/) project. If you are looking for more enhanced interactive mapping however, you may have to wait for something coming in the near future. ;) Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charlie.reddington at gmail.com Mon Oct 6 17:35:23 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Mon, 6 Oct 2008 10:35:23 -0500 Subject: check_by_ssh timeouts / how to work around? Message-ID: <47C22FE8-D8C6-4650-9E82-45B1D29C04B1@gmail.com> Hi, I have a couple machines that spit out a warning similar to this: WARNING - check_by_ssh: Remote command '/home/nagios/nagios-plugs/ check_disk' returned status 1 I believe this to be caused by the check itself is timing out. As when I try to login it will sometimes take up to a minute or two just to get a prompt. The server will respond to ping, so I'm generally not totally concerned about it. And the checks usually clear up in 5 minutes or soon as the server gets whatever IO hog out of the way. Is anyone else experiencing this, and if so how do you cope / deal with this? Thanks, Charlie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charlie.reddington at gmail.com Mon Oct 6 17:37:55 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Mon, 6 Oct 2008 10:37:55 -0500 Subject: check_by_ssh timeouts / how to work around? In-Reply-To: <47C22FE8-D8C6-4650-9E82-45B1D29C04B1@gmail.com> References: <47C22FE8-D8C6-4650-9E82-45B1D29C04B1@gmail.com> Message-ID: I should also mention that I also have these timeouts in place... service_check_timeout=90 host_check_timeout=30 event_handler_timeout=30 notification_timeout=60 ocsp_timeout=5 perfdata_timeout=5 Charlie On Oct 6, 2008, at 10:35 AM, Charlie Reddington wrote: > Hi, > > I have a couple machines that spit out a warning similar to this: > > WARNING - check_by_ssh: Remote command '/home/nagios/nagios-plugs/ > check_disk' returned status 1 > > I believe this to be caused by the check itself is timing out. As > when I try to login it will sometimes take up to a minute or two > just to get a prompt. > > The server will respond to ping, so I'm generally not totally > concerned about it. And the checks usually clear up in 5 minutes or > soon as the server gets whatever IO hog out of the way. > > Is anyone else experiencing this, and if so how do you cope / deal > with this? > > Thanks, > > Charlie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rivet at secure-24.com Mon Oct 6 17:58:42 2008 From: matt.rivet at secure-24.com (Matt Rivet) Date: Mon, 6 Oct 2008 11:58:42 -0400 Subject: check_by_ssh timeouts / how to work around? In-Reply-To: <47C22FE8-D8C6-4650-9E82-45B1D29C04B1@gmail.com> References: <47C22FE8-D8C6-4650-9E82-45B1D29C04B1@gmail.com> Message-ID: <3A08B75200A4DF44B83752A09A93AFFB0131E6B9@ex1s24dca.S24.local> Are you using a LDAP server and RSA keys? -----Original Message----- From: Charlie Reddington [mailto:charlie.reddington at gmail.com] Sent: Monday, October 06, 2008 11:35 AM To: Nagios User list Subject: [Nagios-users] check_by_ssh timeouts / how to work around? Hi, I have a couple machines that spit out a warning similar to this: WARNING - check_by_ssh: Remote command '/home/nagios/nagios-plugs/ check_disk' returned status 1 I believe this to be caused by the check itself is timing out. As when I try to login it will sometimes take up to a minute or two just to get a prompt. The server will respond to ping, so I'm generally not totally concerned about it. And the checks usually clear up in 5 minutes or soon as the server gets whatever IO hog out of the way. Is anyone else experiencing this, and if so how do you cope / deal with this? Thanks, Charlie ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Mon Oct 6 18:03:50 2008 From: bjlockie at lockie.ca (James) Date: Mon, 6 Oct 2008 12:03:50 -0400 (EDT) Subject: check_by_ssh timeouts / how to work around? In-Reply-To: References: <47C22FE8-D8C6-4650-9E82-45B1D29C04B1@gmail.com> Message-ID: <0f18aae71ff25d634dc6e85125a7ded4.squirrel@www.lockie.ca> On Mon, October 6, 2008 11:37 am, Charlie Reddington wrote: > I should also mention that I also have these timeouts in place... > > > service_check_timeout=90 host_check_timeout=30 event_handler_timeout=30 > notification_timeout=60 ocsp_timeout=5 perfdata_timeout=5 > > Charlie > > > On Oct 6, 2008, at 10:35 AM, Charlie Reddington wrote: > > >> Hi, >> >> >> I have a couple machines that spit out a warning similar to this: >> >> >> WARNING - check_by_ssh: Remote command '/home/nagios/nagios-plugs/ >> check_disk' returned status 1 >> >> I believe this to be caused by the check itself is timing out. As >> when I try to login it will sometimes take up to a minute or two just to >> get a prompt. >> >> The server will respond to ping, so I'm generally not totally >> concerned about it. And the checks usually clear up in 5 minutes or soon >> as the server gets whatever IO hog out of the way. >> >> Is anyone else experiencing this, and if so how do you cope / deal >> with this? >> >> Thanks, >> >> >> Charlie The timeouts in nagios.cfg are ow long the nagios process waits before aborting a check. There are usually check specific timeouts that you can add to the command definition. Run the check_* command manually and see what the syntax is (sometimes '-t xx'). ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charlie.reddington at gmail.com Mon Oct 6 18:17:16 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Mon, 6 Oct 2008 11:17:16 -0500 Subject: check_by_ssh timeouts / how to work around? In-Reply-To: <3A08B75200A4DF44B83752A09A93AFFB0131E6B9@ex1s24dca.S24.local> References: <47C22FE8-D8C6-4650-9E82-45B1D29C04B1@gmail.com> <3A08B75200A4DF44B83752A09A93AFFB0131E6B9@ex1s24dca.S24.local> Message-ID: <5AAAE0F7-C6D7-4801-A64C-324DDDD5F888@gmail.com> Sorry, forgot the mail list.... I'm using no ldap, but with DSA keys. On Oct 6, 2008, at 10:58 AM, Matt Rivet wrote: > Are you using a LDAP server and RSA keys? > > -----Original Message----- > From: Charlie Reddington [mailto:charlie.reddington at gmail.com] > Sent: Monday, October 06, 2008 11:35 AM > To: Nagios User list > Subject: [Nagios-users] check_by_ssh timeouts / how to work around? > > Hi, > > I have a couple machines that spit out a warning similar to this: > > WARNING - check_by_ssh: Remote command '/home/nagios/nagios-plugs/ > check_disk' returned status 1 > > I believe this to be caused by the check itself is timing out. As when > I try to login it will sometimes take up to a minute or two just to > get a prompt. > > The server will respond to ping, so I'm generally not totally > concerned about it. And the checks usually clear up in 5 minutes or > soon as the server gets whatever IO hog out of the way. > > Is anyone else experiencing this, and if so how do you cope / deal > with this? > > Thanks, > > Charlie > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charlie.reddington at gmail.com Mon Oct 6 18:18:22 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Mon, 6 Oct 2008 11:18:22 -0500 Subject: check_by_ssh timeouts / how to work around? In-Reply-To: <0f18aae71ff25d634dc6e85125a7ded4.squirrel@www.lockie.ca> References: <47C22FE8-D8C6-4650-9E82-45B1D29C04B1@gmail.com> <0f18aae71ff25d634dc6e85125a7ded4.squirrel@www.lockie.ca> Message-ID: <31B89101-D6BE-43CC-B389-208AE2E3582F@gmail.com> On Oct 6, 2008, at 11:03 AM, James wrote: > On Mon, October 6, 2008 11:37 am, Charlie Reddington wrote: >> I should also mention that I also have these timeouts in place... >> >> >> service_check_timeout=90 host_check_timeout=30 >> event_handler_timeout=30 >> notification_timeout=60 ocsp_timeout=5 perfdata_timeout=5 >> >> Charlie >> >> >> On Oct 6, 2008, at 10:35 AM, Charlie Reddington wrote: >> >> >>> Hi, >>> >>> >>> I have a couple machines that spit out a warning similar to this: >>> >>> >>> WARNING - check_by_ssh: Remote command '/home/nagios/nagios-plugs/ >>> check_disk' returned status 1 >>> >>> I believe this to be caused by the check itself is timing out. As >>> when I try to login it will sometimes take up to a minute or two >>> just to >>> get a prompt. >>> >>> The server will respond to ping, so I'm generally not totally >>> concerned about it. And the checks usually clear up in 5 minutes >>> or soon >>> as the server gets whatever IO hog out of the way. >>> >>> Is anyone else experiencing this, and if so how do you cope / deal >>> with this? >>> >>> Thanks, >>> >>> >>> Charlie > > The timeouts in nagios.cfg are ow long the nagios process waits before > aborting a check. > There are usually check specific timeouts that you can add to the > command > definition. > Run the check_* command manually and see what the syntax is > (sometimes '-t > xx'). > I thought I had did that already , and just put the --timeout option on the check_by_ssh, but I guess not. I added the timeout, from 30 to 60. We'll see how it goes. Charlie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcelo.maia.garcia at googlemail.com Mon Oct 6 18:41:44 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Mon, 06 Oct 2008 17:41:44 +0100 Subject: nrpe: plugins on remove host? Message-ID: <48EA3FC8.9060802@googlemail.com> Hi To monitor a remove host using nagios-plugins and nrpe, do I need to have nagios and plugins or just plugins on the remote host? Thanks Marcelo ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Mon Oct 6 20:26:19 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 06 Oct 2008 19:26:19 +0100 Subject: nrpe: plugins on remove host? In-Reply-To: <48EA3FC8.9060802@googlemail.com> References: <48EA3FC8.9060802@googlemail.com> Message-ID: <48EA584B.7070402@networkmail.eu> Hi Marcelo, To monitor a remote host, you need the check_nrpe plugin on the Nagios server (this is built as part of the NRPE package) and on each remote host you need the NRPE server and the plugins. On a side-note, you also need OpenSSL if you want the channel between Nagios and the remote hosts to be encrypted. Andy Marcelo M. Garcia wrote: > Hi > > To monitor a remove host using nagios-plugins and nrpe, do I need to > have nagios and plugins or just plugins on the remote host? > > Thanks > > Marcelo > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly.terry.jones at gmail.com Mon Oct 6 21:29:46 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Mon, 6 Oct 2008 12:29:46 -0700 Subject: Simulating downtime in nagios Message-ID: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> What's the best way to simulate (not schedule) downtime in nagios? I want to "pretend" a service is down for a certain amount of time to see what alerts nagios sends, etc. I've come up w/ two bad ways to do this: % Edit the config file to change the test to "check_dummy". I want to run these "fire drills" via cron, and editing a file and restarting nagios seems a little ugly. % Submit a passive check saying the service is down, and reschedule the next check 4 hours later, so the service is 'down' for 4 hours. This can be done using the nagios named pipe, so it's easy to cron. Problem: doing things this way suppresses the alerts (when you don't test a service, it doesn't send an alert). Thoughts? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Mon Oct 6 22:06:28 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 06 Oct 2008 21:06:28 +0100 Subject: Simulating downtime in nagios In-Reply-To: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> References: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> Message-ID: <48EA6FC4.7070602@networkmail.eu> Hi Kelly, When I've done this in the past, for network services (e.g. http/smtp checks) I've actually blocked the target port on the Nagios server, which gives a better simulation that the service is down (e.g. for HTTP checks, block the Nagios server's outbound port 80.) This works for us because as well as the router firewalls, each server runs a local software firewall, so it's easy to block outbound packets to a particular port on the Nagios server without affecting the service itself, simulating the effect of a network/service failure. However when it comes to checks such as disk space, it can be a bit trickier! I've done things like changing the thresholds for a failure (e.g. if disk space is currently 15% capacity, I set my warning alert to be 20%, restart Nagios and wait for the alerts to come, and the same for critical, then reset back to 90% when complete) and I have done before as you suggested, change the service's check and retry intervals in Nagios to be something lengthy (e.g. an hour) then submit a passive 'failure' check result and wait until Nagios re-checks the service - this method also checks how Nagios alerts you when the service returns to OK. Hope this helps, it'd be interesting to hear how/if others do it! Andy Kelly Jones wrote: > What's the best way to simulate (not schedule) downtime in nagios? > > I want to "pretend" a service is down for a certain amount of time to > see what alerts nagios sends, etc. > > I've come up w/ two bad ways to do this: > > % Edit the config file to change the test to "check_dummy". I want to > run these "fire drills" via cron, and editing a file and restarting > nagios seems a little ugly. > > % Submit a passive check saying the service is down, and reschedule > the next check 4 hours later, so the service is 'down' for 4 > hours. This can be done using the nagios named pipe, so it's easy to > cron. Problem: doing things this way suppresses the alerts (when you > don't test a service, it doesn't send an alert). > > Thoughts? > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Oct 6 23:31:14 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 06 Oct 2008 23:31:14 +0200 Subject: Simulating downtime in nagios In-Reply-To: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> References: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> Message-ID: <48EA83A2.5080900@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kelly Jones wrote: > What's the best way to simulate (not schedule) downtime in nagios? Why do you care to do this in a live environment? I think you should considere these point: 1. Duplicate your production environment (nagios server) into a test environment and play all you want. 2. Tell us what you suspect is not working and what you think this simulation will tell you to solve it. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI6oOgBvzDRVjxmYERAoNkAJ9HHarh6umEg5XrZxwEvTRk3twQaACgg2bD 821LCtG8/mhddhBuqo1vipE= =7YF2 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at gmail.com Tue Oct 7 04:17:08 2008 From: throck at gmail.com (Tom Throckmorton) Date: Mon, 6 Oct 2008 22:17:08 -0400 Subject: Simulating downtime in nagios In-Reply-To: <26face530810061857t56088cb8q7976a3c324e34759@mail.gmail.com> References: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> <20081007014711.GA629@gmail.com> <26face530810061857t56088cb8q7976a3c324e34759@mail.gmail.com> Message-ID: <20081007021706.GA2581@gmail.com> On Oct 06 18:57, Kelly Jones wrote: > Thanks, Tom. > > Yes, I'm trying to simulate a host/service outage, not scheduled downtime. > > The problem w/ submitting a passive check is that the next ACTIVE check will > invalidate it. Example: you tell nagios that machine foo is down. That's soft > alert 1, not enough to generate any emails. Nagios then active checks foo and > sees that it's up. Of course, you can submit another passive check, but > you'll ping-pong (flap) between up and down states. OK, so it sounds like you want to be able to have Nagios temporarily stop managing the service check scheduling for this service, long enough for you to inject some bogus results. Seems like rescheduling the next active check (SCHEDULE_FORCED_SVC_CHECK) would do the right thing as far as pushing the next scheduled check into the future. Or maybe you want to disable active checks for the service (DISABLE_SVC_CHECK), run your simulation, and then re-enable them...? -tt ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly.terry.jones at gmail.com Tue Oct 7 03:57:06 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Mon, 6 Oct 2008 18:57:06 -0700 Subject: Simulating downtime in nagios In-Reply-To: <20081007014711.GA629@gmail.com> References: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> <20081007014711.GA629@gmail.com> Message-ID: <26face530810061857t56088cb8q7976a3c324e34759@mail.gmail.com> Thanks, Tom. Yes, I'm trying to simulate a host/service outage, not scheduled downtime. The problem w/ submitting a passive check is that the next ACTIVE check will invalidate it. Example: you tell nagios that machine foo is down. That's soft alert 1, not enough to generate any emails. Nagios then active checks foo and sees that it's up. Of course, you can submit another passive check, but you'll ping-pong (flap) between up and down states. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. On 10/6/08, Tom Throckmorton wrote: > On Oct 06 12:29, Kelly Jones wrote: >> What's the best way to simulate (not schedule) downtime in nagios? >> >> I want to "pretend" a service is down for a certain amount of time to >> see what alerts nagios sends, etc. > > Just to clarify, are you trying to simulate a service outage (as opposed to > simulating a scheduled downtime) so you can test alerts, and perhaps > notifications, in order to validate your configuration? > >> I've come up w/ two bad ways to do this: >> >> % Edit the config file to change the test to "check_dummy". I want to >> run these "fire drills" via cron, and editing a file and restarting >> nagios seems a little ugly. >> >> % Submit a passive check saying the service is down, and reschedule >> the next check 4 hours later, so the service is 'down' for 4 >> hours. This can be done using the nagios named pipe, so it's easy to >> cron. Problem: doing things this way suppresses the alerts (when you >> don't test a service, it doesn't send an alert). >> >> Thoughts? > > I use something similar to the second method to do ad hoc validation of > alerts/notifications, by submitting passive results via an external command, > though without diddling the service check scheduling. I'm a little confused > by > your last statement though... > > If you're only submitting a single passive check and then rescheduling the > next > check, of course there will be no alerts (and you'll likely never reach > $max_check_attempts) - is there some reason you can't submit multiple > passive > check results? > > -tt ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at gmail.com Tue Oct 7 03:47:11 2008 From: throck at gmail.com (Tom Throckmorton) Date: Mon, 6 Oct 2008 21:47:11 -0400 Subject: Simulating downtime in nagios In-Reply-To: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> References: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> Message-ID: <20081007014711.GA629@gmail.com> On Oct 06 12:29, Kelly Jones wrote: > What's the best way to simulate (not schedule) downtime in nagios? > > I want to "pretend" a service is down for a certain amount of time to > see what alerts nagios sends, etc. Just to clarify, are you trying to simulate a service outage (as opposed to simulating a scheduled downtime) so you can test alerts, and perhaps notifications, in order to validate your configuration? > I've come up w/ two bad ways to do this: > > % Edit the config file to change the test to "check_dummy". I want to > run these "fire drills" via cron, and editing a file and restarting > nagios seems a little ugly. > > % Submit a passive check saying the service is down, and reschedule > the next check 4 hours later, so the service is 'down' for 4 > hours. This can be done using the nagios named pipe, so it's easy to > cron. Problem: doing things this way suppresses the alerts (when you > don't test a service, it doesn't send an alert). > > Thoughts? I use something similar to the second method to do ad hoc validation of alerts/notifications, by submitting passive results via an external command, though without diddling the service check scheduling. I'm a little confused by your last statement though... If you're only submitting a single passive check and then rescheduling the next check, of course there will be no alerts (and you'll likely never reach $max_check_attempts) - is there some reason you can't submit multiple passive check results? -tt ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Oct 7 06:47:20 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Oct 2008 06:47:20 +0200 Subject: Time periods seem to be no-ops In-Reply-To: References: Message-ID: <48EAE9D8.9050009@op5.se> Patrick Rutkowski wrote: > We've defined the following time period for use with a service which we > know to be down between 9am and 10am every day: > > ========== BEGIN CODE SNIPPET ========== > define timeperiod{ > timeperiod_name do_not_notify_bw_9am_10am > alias Every day and time, except 9am-10am > sunday 00:00-8:59,10:01-24:00 > monday 00:00-8:59,10:01-24:00 > tuesday 00:00-8:59,10:01-24:00 > wednesday 00:00-8:59,10:01-24:00 > thursday 00:00-8:59,10:01-24:00 > friday 00:00-8:59,10:01-24:00 > saturday 00:00-8:59,10:01-24:00 > } > ========== END CODE SNIPPET ========== > > We then applied it to a service like so: > > ========== BEGIN CODE SNIPPET ========== > define service { > host_name our-special-host > service_description Check status of MySQL > reporting:3307 > check_command check_mysql_service!16105 > use generic-service > notification_period do_not_notify_bw_9am_10am > notification_interval 0 > contact_groups company-admins > } > ========== END CODE SNIPPET ========== > > Oddly, the service continues to give us notifications during that time > interval. We tried setting check_interval instead of > notification_interval, but still no luck. We also tried setting both > {notification,check}_interval, but again, no luck. > > To preempt the obvious question, yes, we did restart > Nagios. Additionally, to ensure that the time period was indeed > getting attached to the service, we used to GUI page to browse to > "Configuration" -> "View Config" -> "Object Type: Services" and > verified that the columns entitled "Check Period" and "Notification > Period" had "do_not_notify_bw_9am_10am" instead of the usual "24x7". > > Despite all this, we're still getting warnings during this time > interval. > I take it the system clock on the Nagios server is running correctly? > As a quick fix, we can use SCHEDULE_SVC_DOWNTIME with > /var/lib/nagios2/rw/nagios.cmd, which does work; but it definitely > doesn't feel like a permanent solution. > Make sure you don't have multiple nagios instances running. Timeperiods clearly work, or hundreds of thousands of people would have complained on a daily basis. Something else must be going wrong, but I can't for the life of me think of what. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Tue Oct 7 15:55:25 2008 From: scarolan at gmail.com (Sean Carolan) Date: Tue, 7 Oct 2008 08:55:25 -0500 Subject: oracle_check plugin not working Message-ID: <277020fc0810070655o7d2a0adcq3b2328340760a032@mail.gmail.com> I'd like to use the oracle_check plugin to monitor Oracle on a remote host. I have installed the basic client and sqlplus but get this error when trying to run the plugin: ./check_oracle: line 133: tnsping: command not found Where can I get the tnsping utility without having do do a full-blown oracle installation on my monitoring server? I'd really rather not have to run this over ssh or with NRPE. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Tue Oct 7 18:37:08 2008 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Tue, 7 Oct 2008 12:37:08 -0400 Subject: pnp error: *** CRITICAL Timeout after 5 Sec. **** Message-ID: <20081007163708.GA57142@bewilderbeast.blackhelicopters.org> Hi, I've searched on this problem, and haven't found anyone else experiencing it in any mailing list archive or forum. What could be causing these timeouts, and how badly are they harming my data? Details: I have PNP installed and almost working with NPCD on FreeBSD 7.0/amd64, with nagios 3.0.2. Nagios gathers perfdata and puts it in the perfcache. process_perfdata frequently runs, and puts data into RRDs. The process_perfdata.pl debugging log shows all sorts of successful updates, but then I get an entry like this: 2008-10-07 12:15:39 [62022] No Custom Template found for check_dcerpc (/usr/local/etc/pnp//check_commands/check_dcerpc.cfg) 2008-10-07 12:15:39 [62022] RRD Datatype is GAUGE 2008-10-07 12:15:39 [62022] Template is check_dcerpc.php 2008-10-07 12:15:39 [62022] data2rrd called 2008-10-07 12:15:39 [62022] RRDs::update /var/spool/nagios/pnp/rrd/viper025.am.local/Windows_DCERPC.rrd 1223396130:0.002143 2008-10-07 12:15:39 [62022] *** CRITICAL Timeout after 5 Sec. **** When this occurs a perfdata file remains, such as: service-perfdata.1223396254-PID-88114 This file is not deleted. Once NPCD thinks it's done, it processes these files again renames it to: service-perfdata.1223396194-PID-87765-PID-90732 If I let NPCD run, it eventually processes and removes all of these files. If these errors cause occasional blank spots in my graphs, that's OK; I can live with that while I investigate the timeouts. If they will cause obviously incorrect or misleading graphs, that's more serious and requires that I shut down user access to PNP until I debug it. (No data is better than wrong data!) Any thoughts, folks? Thanks, ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ "My pessimism extends to the point of even suspecting the sincerity of the pessimists." -- Jean Rostand, French biologist and philosopher ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Tue Oct 7 19:30:16 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 07 Oct 2008 19:30:16 +0200 Subject: pnp error: *** CRITICAL Timeout after 5 Sec. **** In-Reply-To: <20081007163708.GA57142@bewilderbeast.blackhelicopters.org> References: <20081007163708.GA57142@bewilderbeast.blackhelicopters.org> Message-ID: <48EB9CA8.6000704@ederdrom.de> Michael W. Lucas schrieb: > Hi, Hi Michael, > I've searched on this problem, and haven't found anyone else > experiencing it in any mailing list archive or forum. The best place to get support is the pnp4nagios-users Mailinglist or the Forums on www.nagios-portal.org > What could be > causing these timeouts, and how badly are they harming my data? > > Details: > > I have PNP installed and almost working with NPCD on FreeBSD > 7.0/amd64, with nagios 3.0.2. Nagios gathers perfdata and puts it in > the perfcache. process_perfdata frequently runs, and puts data into > RRDs. The process_perfdata.pl debugging log shows all sorts of > successful updates, but then I get an entry like this: The current PNP Version is PNP-0.4.11. Which Version do you use? Also some more informations about you Nagios installtion will be useful. Like number of Host/Service checks per minute. > 2008-10-07 12:15:39 [62022] No Custom Template found for check_dcerpc (/usr/local/etc/pnp//check_commands/check_dcerpc.cfg) > 2008-10-07 12:15:39 [62022] RRD Datatype is GAUGE > 2008-10-07 12:15:39 [62022] Template is check_dcerpc.php > 2008-10-07 12:15:39 [62022] data2rrd called > 2008-10-07 12:15:39 [62022] RRDs::update /var/spool/nagios/pnp/rrd/viper025.am.local/Windows_DCERPC.rrd 1223396130:0.002143 > 2008-10-07 12:15:39 [62022] *** CRITICAL Timeout after 5 Sec. **** > > When this occurs a perfdata file remains, such as: > > service-perfdata.1223396254-PID-88114 You can adjust the timeout in etc/pnp/process_perfdata.cfg > This file is not deleted. Once NPCD thinks it's done, it processes > these files again renames it to: > > service-perfdata.1223396194-PID-87765-PID-90732 > > If I let NPCD run, it eventually processes and removes all of these > files. > > If these errors cause occasional blank spots in my graphs, that's OK; > I can live with that while I investigate the timeouts. If they will > cause obviously incorrect or misleading graphs, that's more serious > and requires that I shut down user access to PNP until I debug it. > (No data is better than wrong data!) Thats changed in PNP-0.4.11 Regards Joerg ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 thepushors.com Tue Oct 7 19:26:42 2008 From: tim at thepushors.com (Tim Pushor) Date: Tue, 07 Oct 2008 11:26:42 -0600 Subject: Alarming on coredumps on Linux? Message-ID: <48EB9BD2.4010801@thepushors.com> Hello everyone, While not specifically a nagios issue, I am setting up a nagios installation to monitor a server that is used to run an interactive application by several users at once (> 50). The problem is, occasionally the application dumps core, and the users don't always notify us when this happens. We'd like to trigger a passive alarm to nagios on our application dumping core. On other OS's (specifically FreeBSD IIRC) the kernel logs coredumps and end up in the system log so watching the logfiles with swatch or something similar would do the trick. On my Linux system (CentOS 5.2) it appears that coredumps don't log. Does anyone have any ideas how I can trigger an event on coredump on Linux? Thanks, Tim (Just for clarification - I am not looking for a plugin - I am looking for a method to detect coredumps on Linux so I can write a plugin or preferably a swatch configuration) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly.terry.jones at gmail.com Wed Oct 8 05:30:28 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Tue, 7 Oct 2008 20:30:28 -0700 Subject: Simulating downtime in nagios In-Reply-To: <20081007021706.GA2581@gmail.com> References: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> <20081007014711.GA629@gmail.com> <26face530810061857t56088cb8q7976a3c324e34759@mail.gmail.com> <20081007021706.GA2581@gmail.com> Message-ID: <26face530810072030o377b6635l76f049fec85ebd5c@mail.gmail.com> On 10/6/08, Tom Throckmorton wrote: > On Oct 06 18:57, Kelly Jones wrote: >> Thanks, Tom. >> >> Yes, I'm trying to simulate a host/service outage, not scheduled downtime. >> >> The problem w/ submitting a passive check is that the next ACTIVE check >> will >> invalidate it. Example: you tell nagios that machine foo is down. That's >> soft >> alert 1, not enough to generate any emails. Nagios then active checks foo >> and >> sees that it's up. Of course, you can submit another passive check, but >> you'll ping-pong (flap) between up and down states. > > OK, so it sounds like you want to be able to have Nagios temporarily stop > managing the service check scheduling for this service, long enough for you > to > inject some bogus results. Seems like rescheduling the next active check > (SCHEDULE_FORCED_SVC_CHECK) would do the right thing as far as pushing the > next > scheduled check into the future. Or maybe you want to disable active checks > for the service (DISABLE_SVC_CHECK), run your simulation, and then re-enable > them...? I may've done it wrong, but SCHEDULE_FORCED_SVC_CHECK means that nagios won't send any alerts at all. Basically, messing with nagios' check schedule also screws up its notification schedule. And, since I'm testing notifications, that's not useful. I've written several nagios tests myself, and they're all in one Perl program (each subroutine = one test). For these, simulating downtime is easy. The script reads downtime from a file and automatically exits w/ 1 or 2 during downtime instead of running the subroutine. I'm tempted to run ALL nagios tests in a wrapper, but that seems so ugly for such a simple? problem. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harald at webmeisterei.com Tue Oct 7 22:34:15 2008 From: harald at webmeisterei.com (Harald Friessnegger) Date: Tue, 07 Oct 2008 22:34:15 +0200 Subject: how to setup nagiosgrapher correctly Message-ID: hi nagios users i'm having problems getting nagiosgrapher to work with my Nagios Version 3.0.2 on my debian etch box. the graphs are not shown. instead i get an image with the following error message:: ? RRD Error: No DS called ?mailq? in ?...nagios/var/rdd//2514.rrd? ? Options: ? ? -cBACK#ffffff ? ... ? Values: ? ? DEF:mailq=...nagios/var/rdd//2514.rrd:mailq:AVERAGE ? ... in ngraph.log i can see that the servicedata can't be extracted correctly: ? 2008-10-05 14:17:53 collect2.pl: Got signal: Use of uninitialized value in regexp compilation at /usr/local/nagios/contrib/perl/NagiosGrapher.pm line 780, line 1. ? ... ? 2008-10-05 14:17:53 PRG: error, Inappropriate ioctl for device ? 2008-10-05 14:17:53 collect2.pl: Got signal: Use of uninitialized value in substitution (s///) at /usr/local/nagios/contrib/collect2.pl line 383, line 1. looks like the ?service_name variable is not set so the regex can't be compiled. (this is line 780 in NagiosGrapher.pm):: ? @out = grep $service =~ m/$_->{service_name}/i, @out ? ? if ( defined($service) ); any hints what's wrong with my setup? i'd also appreciate any hint on how to use a self-compiled version of rrdtool (eg under /opt/rddtool/bin/rrdtool) since ngrapher should be used with the most recent version available (1.3.4) and my systems version is 1.2.15. i tried "rddtool /opt/rrdtool-1.3.4/bin/rrdtool" in ngraph.ncfg. but i guess this should be defined when calling autoconf or configure in step 2 below so the correct binary is used in rrd2-graph.cgi here are the steps i followed for setting up ngrapher: 1) download NagiosGrapher-1.6.1-rc5-0.5.tar.gz from https://www.nagiosforge.org/gf/project/nagiosgrapher/ 2) untar and follow doc/INSTALL (autoconf, configure, make testdeps, make install) 3) added cfg_dir=/usr/local/nagios/etc/serviceext to nagios.cfg since i want a separate config file for each host (Serviceexttype, MULTIPLE) 4) changed the following variables in nagios.cfg:: ? process_performance_data=1 ? service_perfdata_command=process-service-perfdata and added the new command to etc/objects/commands.cfg:: ? define command{ ? ? command_name process-service-perfdata ? ? command_line /usr/local/nagios/contrib/fifo_write /usr/local/nagios/var/rw/ngraph.pipe '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3 ? } 5) uncomment out step ?and set it to 300 in ngraph.ncfg (suggested in http://www.nagios-portal.org/wbb/index.php?page=Thread&threadID=9523 at the bottom) 6) start nagios_grapher and restart nagios. i can see that ngrapher starts to collect data, and hands it over to rrd in `/usr/local/nagios/var/ngraph.log` ngrapher also writes serviceextensions for my hosts to /usr/local/nagios/etc/serviceext/ and there is data for each host in /usr/local/nagios/var/rrd/ 7) restarting nagios to make the graph icons appear in the webinterface regards, fRiSi -- Webmeisterei GmbH - B?ro f?r Netzfragen Tel: +43 5572 908877, Fax: +43 5572 908877-66 Schmelzh?tterstra?e 26a, A-6850 Dornbirn http://www.webmeisterei.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Oct 8 09:41:30 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 08 Oct 2008 03:41:30 -0400 Subject: Alarming on coredumps on Linux? In-Reply-To: <48EB9BD2.4010801@thepushors.com> References: <48EB9BD2.4010801@thepushors.com> Message-ID: <48EC642A.1050300@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/10/08 01:26 PM, Tim Pushor wrote: > Hello everyone, > > While not specifically a nagios issue, I am setting up a nagios > installation to monitor a server that is used to run an interactive > application by several users at once (> 50). The problem is, > occasionally the application dumps core, and the users don't always > notify us when this happens. We'd like to trigger a passive alarm to > nagios on our application dumping core. > > On other OS's (specifically FreeBSD IIRC) the kernel logs coredumps and > end up in the system log so watching the logfiles with swatch or > something similar would do the trick. > > On my Linux system (CentOS 5.2) it appears that coredumps don't log. > Does anyone have any ideas how I can trigger an event on coredump on Linux? This is not really a nagios issue... AFAIK segfaults are logged in Linux; have you looked at the kernel messages (dmesg)? If it shows in dmesg output but not on your logs, make sure syslog is configured properly to retrieve those messages. You could also log kern.* to a specific files to be sure. I think log levels can also be tuned with /proc/sys/kernel/printk; see "man 5 proc". - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI7GQp6dZ+Kt5BchYRAu8TAJ98E5xxKIRDZh8l/gFPd50uZeNM+QCggpct r7QppHPqVgdZTMZKtgPJYgU= =Ta0T -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Guillaume.Rousse at inria.fr Wed Oct 8 10:20:59 2008 From: Guillaume.Rousse at inria.fr (Guillaume Rousse) Date: Wed, 08 Oct 2008 10:20:59 +0200 Subject: [Nagios-devel] how to specify multiple dependencies In-Reply-To: <48EB94F6.4070906@networkmail.eu> References: <48EB3B14.9060606@inria.fr> <48EB94F6.4070906@networkmail.eu> Message-ID: <48EC6D6B.8000303@inria.fr> Andy Shellam a ?crit : > Hi Guillaume (again!) > > I think you've got these the wrong way round. > > In your example, if service A depends on B or C, then hosts B and C > become the dependent hosts. Does this work? (I've not used service > dependencies a great deal so forgive me if I'm wrong.) > > define servicedependency { > host_name A > service_description X > dependent_host_name B,C > dependent_service_description Y > } > > I think this says that service X on host A depends on service Y on hosts > B and C. It says than you have two services Y, running on hosts hosts B and C, each relying on a single service X, running on host A. If X fails, monitoring of Y will be affected on both hosts. I'm looking for exactly the opposite: two redundant authentications backends available, and one authenticated service, for wich I'd like to avoid useless notifications if both backends are down. > Whether this is an AND or an OR (e.g. host A depends on hosts > B AND C, or host A depends on hosts B OR C) I don't know. AFAIK, this is purely syntactic sugar for multiple declarations, so rather an OR relationship. > PS. Both of your last questions should have been directed at the > nagios-users list - nagios-devel is for reviewing and submitting > patches, or other questions that concern the development of Nagios. > Indeed. -- Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Guillaume.Rousse at inria.fr Wed Oct 8 12:43:39 2008 From: Guillaume.Rousse at inria.fr (Guillaume Rousse) Date: Wed, 08 Oct 2008 12:43:39 +0200 Subject: NRPE way too fragile ? Message-ID: <48EC8EDB.3050209@inria.fr> Hello list. I'm using nrpe quite heavily for testing lots of local service on all my machines. It work usually well, but seems a bit unreliable: too much often, nrpe itself fails to accept incoming connections, and test fails: CHECK_NRPE: Socket timeout after 10 seconds. stracing nrpe process shows it is probably waiting itself on another connection: [root at denfert ~]# strace -p 22444 Process 22444 attached - interrupt to quit select(6, [5], NULL, [5], {0, 170000}) = 0 (Timeout) accept(5, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) It usually recovers itself alone, but that's enough to cause much unwanted notifications, even if all monitored services have nrpe itself as dependency. I'm using ssl encryption, as usually advised, but I'm planning shifting to plain-text connection (everything occurs on a distinc VLAN, without user access). Does everyone else has similar experience ? -- Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sofam84 at gmail.com Wed Oct 8 14:23:45 2008 From: sofam84 at gmail.com (Oscar Elfving) Date: Wed, 8 Oct 2008 14:23:45 +0200 Subject: Negating regular expression matching a host_name Message-ID: Hello everyone, I'm currently trying to exclude a range of hosts that do not share certain hardware with the rest of the cluster, and I want to exclude them by using regular expressions. Whenever I try to use the exclamation mark with the star, nagios tells me it can't find any matching hosts. I'm obviously missing something here, how can I do this in a good way? define service { hostgroup_name mailgw-servers # Exceptions host_name !mailgwb* service_description AACRAID controller status check_command check_nrpe_1arg!check_aacraid_config use generic-service notification_interval 0 } Also, thank you for a great Nordic Nagios meet in Stockholm in June! Best regards, Oscar Elfving ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Wed Oct 8 15:00:27 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Wed, 8 Oct 2008 15:00:27 +0200 Subject: Negating regular expression matching a host_name In-Reply-To: References: Message-ID: <200810081500.28014.cschneemann@suse.de> On Wednesday October 8 2008 02:23:45 pm Oscar Elfving wrote: > Hello everyone, > I'm currently trying to exclude a range of hosts that do not share > certain hardware with the rest of the cluster, and I want to exclude > them by using regular expressions. > Whenever I try to use the exclamation mark with the star, nagios tells > me it can't find any matching hosts. Hi, did you set "use_regexp_matching" in your nagios.cfg to 1? You have to activate this to use regex in your matching (as the name says ;) Greetings, Christian > > I'm obviously missing something here, how can I do this in a good way? > > > define service { > hostgroup_name mailgw-servers > # Exceptions > host_name !mailgwb* > service_description AACRAID controller status > check_command > check_nrpe_1arg!check_aacraid_config use > generic-service > notification_interval 0 > } > > Also, thank you for a great Nordic Nagios meet in Stockholm in June! > > Best regards, > Oscar Elfving > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sofam84 at gmail.com Wed Oct 8 15:20:22 2008 From: sofam84 at gmail.com (Oscar Elfving) Date: Wed, 8 Oct 2008 15:20:22 +0200 Subject: Negating regular expression matching a host_name In-Reply-To: <200810081500.28014.cschneemann@suse.de> References: <200810081500.28014.cschneemann@suse.de> Message-ID: Sure, I use it to put the hosts in different host groups and so forth... the problem is just when I want to use the exclamation mark to exclude hosts AND use regular expressions to match the hosts. If I write the full hostnames there is no problem. Best regards, Oscar Elfving On Wed, Oct 8, 2008 at 3:00 PM, Christian Schneemann wrote: > On Wednesday October 8 2008 02:23:45 pm Oscar Elfving wrote: >> Hello everyone, >> I'm currently trying to exclude a range of hosts that do not share >> certain hardware with the rest of the cluster, and I want to exclude >> them by using regular expressions. >> Whenever I try to use the exclamation mark with the star, nagios tells >> me it can't find any matching hosts. > Hi, > did you set "use_regexp_matching" in your nagios.cfg to 1? You have to > activate this to use regex in your matching (as the name says ;) > > > Greetings, > Christian >> >> I'm obviously missing something here, how can I do this in a good way? >> >> >> define service { >> hostgroup_name mailgw-servers >> # Exceptions >> host_name !mailgwb* >> service_description AACRAID controller status >> check_command >> check_nrpe_1arg!check_aacraid_config use >> generic-service >> notification_interval 0 >> } >> >> Also, thank you for a great Nordic Nagios meet in Stockholm in June! >> >> Best regards, >> Oscar Elfving >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge Build the coolest Linux based applications with Moblin SDK & win >> great prizes Grand prize is a trip for two to an Open Source event anywhere >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> ::: reporting any issue. Messages without supporting info will risk being >> ::: sent to /dev/null > > > > -- > Christian Schneemann > > ------------------------------------- > SUSE LINUX Products GmbH, > Maxfeldstr. 5, D - 90409 N?rnberg > > Phone: +49 (0)911 - 740 53 0 > e-mail: cschneemann at suse.de > ------------------------------------- > SUSE LINUX Products GmbH, GF: Markus Rex > HRB 16746 (AG N?rnberg) > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at gmail.com Wed Oct 8 16:29:09 2008 From: throck at gmail.com (Tom Throckmorton) Date: Wed, 8 Oct 2008 10:29:09 -0400 Subject: Simulating downtime in nagios In-Reply-To: <26face530810072030o377b6635l76f049fec85ebd5c@mail.gmail.com> References: <26face530810061229j9e887b1ie8b2543e2f86ed2a@mail.gmail.com> <20081007014711.GA629@gmail.com> <26face530810061857t56088cb8q7976a3c324e34759@mail.gmail.com> <20081007021706.GA2581@gmail.com> <26face530810072030o377b6635l76f049fec85ebd5c@mail.gmail.com> Message-ID: <20081008142907.GA22072@gmail.com> On Oct 07 20:30, Kelly Jones wrote: > On 10/6/08, Tom Throckmorton wrote: > > On Oct 06 18:57, Kelly Jones wrote: > >> Thanks, Tom. > >> > >> Yes, I'm trying to simulate a host/service outage, not scheduled downtime. > >> > >> The problem w/ submitting a passive check is that the next ACTIVE check > >> will > >> invalidate it. Example: you tell nagios that machine foo is down. That's > >> soft > >> alert 1, not enough to generate any emails. Nagios then active checks foo > >> and > >> sees that it's up. Of course, you can submit another passive check, but > >> you'll ping-pong (flap) between up and down states. > > > > OK, so it sounds like you want to be able to have Nagios temporarily stop > > managing the service check scheduling for this service, long enough for you > > to > > inject some bogus results. Seems like rescheduling the next active check > > (SCHEDULE_FORCED_SVC_CHECK) would do the right thing as far as pushing the > > next > > scheduled check into the future. Or maybe you want to disable active checks > > for the service (DISABLE_SVC_CHECK), run your simulation, and then re-enable > > them...? > > I may've done it wrong, but SCHEDULE_FORCED_SVC_CHECK means that > nagios won't send any alerts at all. This command manipulates the check scheduling queue for _active_ checks; it has no direct impact on alerts: http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=129 ...so forcing a service check to some time in the future will delay the active checks, but you can still submit passive checks (and generate alerts, assuming the result you're submitting is different than the current state of the service) > Basically, messing with nagios' check schedule also screws up its > notification schedule. > > And, since I'm testing notifications, that's not useful. I must be missing something here. If, for example, I do the following for a given service which is currently OK, and for which active checks are normally accepted: - delay the next check via SCHEDULE_FORCED_SVC_CHECK now + 1 hour - submit a passive result with a state of CRITICAL (PROCESS_SERVICE_CHECK_RESULT) x $max_check_attempts As expected, I see: - an alert for each result I've submitted - the status changes to SOFT/CRITICAL after the first result, and HARD/CRITICAL after $max_check_attempts has been reached - a notification about the problem The next scheduled check remains at the time + 1 hour. If I submit an OK result, the status changes from CRITICAL to OK, and I get a recovery notification. And I can repeat this as often as I like within the time before the next scheduled active check. How is this different than what you're trying to achieve? -tt > I've written several nagios tests myself, and they're all in one Perl > program (each subroutine = one test). For these, simulating downtime > is easy. The script reads downtime from a file and automatically > exits w/ 1 or 2 during downtime instead of running the subroutine. > > I'm tempted to run ALL nagios tests in a wrapper, but that seems so > ugly for such a simple? problem. > > -- > We're just a Bunch Of Regular Guys, a collective group that's trying > to understand and assimilate technology. We feel that resistance to > new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbroughton at truecos.com Wed Oct 8 17:06:26 2008 From: jbroughton at truecos.com (Jayson Broughton) Date: Wed, 8 Oct 2008 09:06:26 -0600 Subject: NRPE way too fragile ? In-Reply-To: <48EC8EDB.3050209@inria.fr> References: <48EC8EDB.3050209@inria.fr> Message-ID: <00d301c92957$716d6ca0$544845e0$@com> Guillaume, We actually have the same problem here where Nagios is setup. I use the NRPE daemon on both windows and linux servers. Two of our servers do backups early in the morning and during that time we get NRPE Timeout messages from the two servers. I have set the timeout on the server and the clients to timeout after 30 seconds, thinking that would fix it. But alas, we still get timeout messages. I haven't had much time to see what I can do to fix this, so for now our solution is to not email out warning messages from those two servers (I have the thresholds set enough where the critical messages still gives enough window to take care of the problem before going too critical) I have come to the conclusion that the servers are running the backup and eating up so much processing that the nrpe times out trying to connect and send information. If you find a solution or even an idea to try, feel free to let me know and I'll give it a shot! Jayson Broughton Linux Systems Administrator True Computer Operations Dept. True Oil LLC -----Original Message----- From: Guillaume Rousse [mailto:Guillaume.Rousse at inria.fr] Sent: Wednesday, October 08, 2008 4:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE way too fragile ? Hello list. I'm using nrpe quite heavily for testing lots of local service on all my machines. It work usually well, but seems a bit unreliable: too much often, nrpe itself fails to accept incoming connections, and test fails: CHECK_NRPE: Socket timeout after 10 seconds. stracing nrpe process shows it is probably waiting itself on another connection: [root at denfert ~]# strace -p 22444 Process 22444 attached - interrupt to quit select(6, [5], NULL, [5], {0, 170000}) = 0 (Timeout) accept(5, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) It usually recovers itself alone, but that's enough to cause much unwanted notifications, even if all monitored services have nrpe itself as dependency. I'm using ssl encryption, as usually advised, but I'm planning shifting to plain-text connection (everything occurs on a distinc VLAN, without user access). Does everyone else has similar experience ? -- Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastien.lelievre at aznetwork.fr Wed Oct 8 17:21:23 2008 From: sebastien.lelievre at aznetwork.fr (M. =?ISO-8859-1?Q?S=E9bastien_LELI=C8VRE?=) Date: Wed, 08 Oct 2008 17:21:23 +0200 Subject: How-to debug a NAGIOS-not-sending-email problem ? Message-ID: <1223479283.9384.33.camel@AZemaria> Greetings, I'm experiencing some odd issue with my nagios server. It dosen't notify by email anymore When I execute the corresponding command in the nagios (user) shell, I receive an email A. So it is not postfix nor a system problem, just nagios which doesn't send email Reload/Restart-ing program (both postfix and nagios) didn't work out I do not know where to start my investigation Here are some info : notify-host-by-email : /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE $\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "[$HOSTGROUPNOTES$ $NOTIFICATIONTYPE$ Host $HOSTSTATE$ in $HOSTNAME$]" $CONTACTEMAIL$ notify-service-by-email : /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE $\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS $\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "[$HOSTGROUPNOTES$ $NOTIFICATIONTYPE$ Service $SERVICESTATE$ in $HOSTNAME$/$SERVICEDESC$]" $CONTACTEMAIL$ Best Regards -- M. S?bastien LELI?VRE Ing?nieur Syst?me & Base de Donn?es ABF H?bergement / AZ Network 40, rue Amp?re 61000 ALEN?ON (ORNE) FRANCE Tel. : + 33 (0) 233 320 616 Port. : + 33 (0) 673 457 243 Poste : 120 e-mail : sebastien.lelievre at aznetwork.fr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Wed Oct 8 18:03:53 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 8 Oct 2008 17:03:53 +0100 Subject: How-to debug a NAGIOS-not-sending-email problem ? In-Reply-To: <1223479283.9384.33.camel@AZemaria> References: <1223479283.9384.33.camel@AZemaria> Message-ID: <200810081703.53103.assaf.flatto@ssp.uk.com> I'll ask a silly point , what is your notification time and notification commands ? do you see in the nagios log that it is actually going to the notification commands ? Assaf On Wednesday 08 October 2008 16:21:23 M. S?bastien LELI?VRE wrote: > Greetings, > > I'm experiencing some odd issue with my nagios server. > > It dosen't notify by email anymore > > When I execute the corresponding command in the nagios (user) shell, I > receive an email > > A. So it is not postfix nor a system problem, just nagios which > doesn't send email > > Reload/Restart-ing program (both postfix and nagios) didn't work out > > I do not know where to start my investigation > > Here are some info : > > notify-host-by-email : > > /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE > $\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s > "[$HOSTGROUPNOTES$ $NOTIFICATIONTYPE$ Host $HOSTSTATE$ in $HOSTNAME$]" > $CONTACTEMAIL$ > > > notify-service-by-email : > > /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE > $\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS > $\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "[$HOSTGROUPNOTES$ > $NOTIFICATIONTYPE$ Service $SERVICESTATE$ in $HOSTNAME$/$SERVICEDESC$]" > $CONTACTEMAIL$ > > Best Regards -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Guillaume.Rousse at inria.fr Wed Oct 8 18:13:34 2008 From: Guillaume.Rousse at inria.fr (Guillaume Rousse) Date: Wed, 08 Oct 2008 18:13:34 +0200 Subject: How-to debug a NAGIOS-not-sending-email problem ? In-Reply-To: <1223479283.9384.33.camel@AZemaria> References: <1223479283.9384.33.camel@AZemaria> Message-ID: <48ECDC2E.9070606@inria.fr> M. S?bastien LELI?VRE a ?crit : > I do not know where to start my investigation Set your debug level to macro expansion (or some other value), and check in the debug file (not the log file). -- Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Wed Oct 8 18:18:50 2008 From: myoung at nagios.org (Mark Young) Date: Wed, 8 Oct 2008 11:18:50 -0500 Subject: NRPE way too fragile ? In-Reply-To: <00d301c92957$716d6ca0$544845e0$@com> References: <48EC8EDB.3050209@inria.fr> <00d301c92957$716d6ca0$544845e0$@com> Message-ID: <6AB4C075-FECE-4BD0-BC79-A93778EADDDC@nagios.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 8, 2008, at 10:06 AM, Jayson Broughton wrote: > Guillaume, > > We actually have the same problem here where Nagios is setup. I use > the > NRPE daemon on both windows and linux servers. Two of our servers do > backups early in the morning and during that time we get NRPE Timeout > messages from the two servers. I have set the timeout on the server > and the > clients to timeout after 30 seconds, thinking that would fix it. > But alas, > we still get timeout messages. I haven't had much time to see what > I can do > to fix this, so for now our solution is to not email out warning > messages > from those two servers (I have the thresholds set enough where the > critical > messages still gives enough window to take care of the problem > before going > too critical) I have come to the conclusion that the servers are > running > the backup and eating up so much processing that the nrpe times out > trying > to connect and send information. > > If you find a solution or even an idea to try, feel free to let me > know and > I'll give it a shot! NRPE is normally setup with Xinetd listening for incoming connections. When I say normally I mean if you followed the documentation. ;) By default Xinetd has a low threshold of connections per instance in order to lessen the load on the server and prevent DDoS type attacks. You can view what I mentioned in my previous post here: http://article.gmane.org/gmane.network.nagios.user/56713 NRPE can be fine until Nagios decides to run many checks to the same host at the same time that hits the threshold.. For example when you go to the extended host information and "Schedule a check of all services on this host". If you are not running it under Xinetd it may be other issues. Including system load and/or running into possible bugs with NPRE on your system. > >> -----Original Message----- >> From: Guillaume Rousse [mailto:Guillaume.Rousse at inria.fr] >> Sent: Wednesday, October 08, 2008 4:44 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] NRPE way too fragile ? >> >> Hello list. >> >> I'm using nrpe quite heavily for testing lots of local service on >> all my >> machines. It work usually well, but seems a bit unreliable: too much >> often, nrpe itself fails to accept incoming connections, and test >> fails: >> CHECK_NRPE: Socket timeout after 10 seconds. >> >> stracing nrpe process shows it is probably waiting itself on another >> connection: >> [root at denfert ~]# strace -p 22444 >> Process 22444 attached - interrupt to quit >> select(6, [5], NULL, [5], {0, 170000}) = 0 (Timeout) >> accept(5, 0, NULL) = -1 EAGAIN (Resource >> temporarily unavailable) >> >> It usually recovers itself alone, but that's enough to cause much >> unwanted notifications, even if all monitored services have nrpe >> itself >> as dependency. I'm using ssl encryption, as usually advised, but I'm >> planning shifting to plain-text connection (everything occurs on a >> distinc VLAN, without user access). >> >> Does everyone else has similar experience ? You seem to be running it as a daemon process itself. What system and NRPE version are you running? What version of Nagios? How many NRPE checks are you trying to perform in a given time? You may see some benefit to enabling Nagios to spread its checks out more evenly, though this is simply covering the underlaying problem. Maybe consider running it with the xinetd daemon and increase the number of allowed connections a second as a test. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkjs3WoACgkQ0KipU7WwlaWtXgCgs+77/o8Pyh0t/++FIbOEycgx oiAAoMj2awwRG4HCernz7pcdf/K484Ca =oKG0 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 optiksecurite.com Wed Oct 8 18:18:37 2008 From: nagios at optiksecurite.com (Francis Dube) Date: Wed, 08 Oct 2008 12:18:37 -0400 Subject: How-to debug a NAGIOS-not-sending-email problem ? In-Reply-To: <200810081703.53103.assaf.flatto@ssp.uk.com> References: <1223479283.9384.33.camel@AZemaria> <200810081703.53103.assaf.flatto@ssp.uk.com> Message-ID: <48ECDD5D.4000902@optiksecurite.com> Few things to check : 1- In your service definition, check the following : contact_groups, notification_period, notification_enabled 1. 2- In your contact definition, check the following : host_notification_period, service_notification_period, host_notification_commands, service_notification_commands, host_notification_options, service_notification_options and email. 3- In your contact group definition, be sure you have the right members 4- If you are using custom timeperiod for your notification, double-check them. Francis Dube R&D Optik Securite > I'll ask a silly point , what is your notification time and notification commands ? > > do you see in the nagios log that it is actually going to the notification commands ? > > Assaf > > > > On Wednesday 08 October 2008 16:21:23 M. S?bastien LELI?VRE wrote: > >> Greetings, >> >> I'm experiencing some odd issue with my nagios server. >> >> It dosen't notify by email anymore >> >> When I execute the corresponding command in the nagios (user) shell, I >> receive an email >> >> A. So it is not postfix nor a system problem, just nagios which >> doesn't send email >> >> Reload/Restart-ing program (both postfix and nagios) didn't work out >> >> I do not know where to start my investigation >> >> Here are some info : >> >> notify-host-by-email : >> >> /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE >> $\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: >> $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s >> "[$HOSTGROUPNOTES$ $NOTIFICATIONTYPE$ Host $HOSTSTATE$ in $HOSTNAME$]" >> $CONTACTEMAIL$ >> >> >> notify-service-by-email : >> >> /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE >> $\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS >> $\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional >> Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "[$HOSTGROUPNOTES$ >> $NOTIFICATIONTYPE$ Service $SERVICESTATE$ in $HOSTNAME$/$SERVICEDESC$]" >> $CONTACTEMAIL$ >> >> Best Regards >> > > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Wed Oct 8 18:08:14 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Wed, 8 Oct 2008 12:08:14 -0400 Subject: How-to debug a NAGIOS-not-sending-email problem ? Message-ID: The first place that I would look would be your mail and Nagios logs. There is probably something in one of them related to your troubles. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com Never agrue with an idiot. They drag you down to their level and then beat you with their experience. -----Original Message----- From: M. S?bastien LELI?VRE [mailto:sebastien.lelievre at aznetwork.fr] Sent: Wednesday, October 08, 2008 11:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How-to debug a NAGIOS-not-sending-email problem ? Greetings, I'm experiencing some odd issue with my nagios server. It dosen't notify by email anymore When I execute the corresponding command in the nagios (user) shell, I receive an email A. So it is not postfix nor a system problem, just nagios which doesn't send email Reload/Restart-ing program (both postfix and nagios) didn't work out I do not know where to start my investigation Here are some info : notify-host-by-email : /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE $\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "[$HOSTGROUPNOTES$ $NOTIFICATIONTYPE$ Host $HOSTSTATE$ in $HOSTNAME$]" $CONTACTEMAIL$ notify-service-by-email : /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE $\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS $\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "[$HOSTGROUPNOTES$ $NOTIFICATIONTYPE$ Service $SERVICESTATE$ in $HOSTNAME$/$SERVICEDESC$]" $CONTACTEMAIL$ Best Regards -- M. S?bastien LELI?VRE Ing?nieur Syst?me & Base de Donn?es ABF H?bergement / AZ Network 40, rue Amp?re 61000 ALEN?ON (ORNE) FRANCE Tel. : + 33 (0) 233 320 616 Port. : + 33 (0) 673 457 243 Poste : 120 e-mail : sebastien.lelievre at aznetwork.fr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefan+nagiosusers at cae.wisc.edu Wed Oct 8 18:29:58 2008 From: stefan+nagiosusers at cae.wisc.edu (Stefan Strandberg) Date: Wed, 8 Oct 2008 11:29:58 -0500 Subject: Problem with external commands and custom variables Message-ID: <20081008162957.GA2205@masimaro.cae.wisc.edu> Hi, I'm attempting to implement some custom variables for hosts. Supposedly the external command to change the custom variable for a host is CHANGE_CUSTOM_HOST_VAR with a certain syntax. Unfortunately for me, it doesn't seem to be working. Nagios receives the command and logs it, but doesn't seem to actually process it. The command given is: -- start script -- #!/bin/sh now=`date +%s` commandfile='/var/lib/nagios3/rw/nagios.cmd' /usr/bin/printf "[%lu] CHANGE_CUSTOM_HOST_VAR;dent;_REPAIRSTATUS;repair\n" $now > $commandfile -- end script -- and nagios logs it with [1223412361] EXTERNAL COMMAND: CHANGE_CUSTOM_HOST_VAR;dent;_REPAIRSTATUS;repair in nagios.log, so I think it should be working. However, the variable never changes in the status.dat file. Am I missing a step or doing something wrong? The documentation doesn't have any other examples, and nothing turns up on google. Thanks, -stefan -- Stefan Strandberg UNIX group Computer Aided Engineering - UW Madison stefan at cae.wisc.edu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 optiksecurite.com Wed Oct 8 17:52:58 2008 From: nagios at optiksecurite.com (Francis Dube) Date: Wed, 08 Oct 2008 11:52:58 -0400 Subject: Strange NRPE issue Message-ID: <48ECD75A.5010605@optiksecurite.com> Hi, I'm using Nagios nagios-2.12_1 with NRPE nrpe2-2.11_1 to check if my display is working properly. I'm taking a screenshot every 4 minutes and then i compare it with the last screenshot. My script is working very well when it's ran locally but when i'm calling it from the server the screenshot isn't taken. I tought it was a right problem on the Xorg server, but i tried with "xhost +" (which do "access control disabled, clients can connect from any host"). Both ways i run the script with the user 'nagios'. The rest of the commands in the scripts work fine, the only problem is with the screenshot which is taken using this command : import -display :0 -window root /afolder/myscreenshot.png I also tried to run the script over shh (ssh nagios at 1.2.3.4 /usr/local/libexec/nagios/check_news) and this method is working as fine as locally. So i think there's something wrong with the way NRPE execute my script. Anyone got an idea of the reason why the screenshot isn't working when i run the script with NRPE ? Thanks ! Francis ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 8 19:52:27 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Oct 2008 19:52:27 +0200 Subject: Problem with external commands and custom variables In-Reply-To: <20081008162957.GA2205@masimaro.cae.wisc.edu> References: <20081008162957.GA2205@masimaro.cae.wisc.edu> Message-ID: <48ECF35B.4050501@op5.se> Stefan Strandberg wrote: > Hi, > > I'm attempting to implement some custom variables for hosts. Supposedly > the external command to change the custom variable for a host is > CHANGE_CUSTOM_HOST_VAR with a certain syntax. Unfortunately for me, it > doesn't seem to be working. > > Nagios receives the command and logs it, but doesn't seem to actually > process it. > > The command given is: > > -- start script -- > > #!/bin/sh > > now=`date +%s` > commandfile='/var/lib/nagios3/rw/nagios.cmd' > > /usr/bin/printf "[%lu] > CHANGE_CUSTOM_HOST_VAR;dent;_REPAIRSTATUS;repair\n" $now > $commandfile > > -- end script -- > > and nagios logs it with > [1223412361] EXTERNAL COMMAND: > CHANGE_CUSTOM_HOST_VAR;dent;_REPAIRSTATUS;repair > > in nagios.log, so I think it should be working. Nagios always logs external commands, even if they're properly formatted or not. The logging happens before the command is processed, not after, so there's no telling if Nagios does the right thing with it or not. > However, the variable > never changes in the status.dat file. > > Am I missing a step or doing something wrong? The documentation doesn't > have any other examples, and nothing turns up on google. > I can imagine. This is, afaik, the first time the question has been asked on the nagios-users list. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 8 20:00:02 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Oct 2008 20:00:02 +0200 Subject: Strange NRPE issue In-Reply-To: <48ECD75A.5010605@optiksecurite.com> References: <48ECD75A.5010605@optiksecurite.com> Message-ID: <48ECF522.2030308@op5.se> Francis Dube wrote: > Hi, > > I'm using Nagios nagios-2.12_1 with NRPE nrpe2-2.11_1 to check if my > display is working properly. I'm taking a screenshot every 4 minutes and > then i compare it with the last screenshot. My script is working very > well when it's ran locally but when i'm calling it from the server the > screenshot isn't taken. Are you running it as the user NRPE is running as when you're taking the screenshot locally? > I tought it was a right problem on the Xorg > server, but i tried with "xhost +" (which do "access control disabled, > clients can connect from any host"). Both ways i run the script with the > user 'nagios'. The rest of the commands in the scripts work fine, the > only problem is with the screenshot which is taken using this command : > import -display :0 -window root /afolder/myscreenshot.png > > I also tried to run the script over shh (ssh nagios at 1.2.3.4 > /usr/local/libexec/nagios/check_news) and this method is working as fine > as locally. So i think there's something wrong with the way NRPE execute > my script. > > Anyone got an idea of the reason why the screenshot isn't working when i > run the script with NRPE ? > The only thing I can imagine is access problems. By default, only root can snoop on other user's X sessions, so for that to work for nrpe the X session ought to be owned by the nrpe user. I'm not well-versed in X enough to give a definite answer though, so don't trust my word on it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sofam84 at gmail.com Wed Oct 8 20:36:33 2008 From: sofam84 at gmail.com (Oscar Elfving) Date: Wed, 8 Oct 2008 20:36:33 +0200 Subject: Strange NRPE issue In-Reply-To: <48ECD75A.5010605@optiksecurite.com> References: <48ECD75A.5010605@optiksecurite.com> Message-ID: Perhaps enable running the command with sudo in nrpe.cfg? It seems like a security issue. 2008/10/8, Francis Dube : > Hi, > > I'm using Nagios nagios-2.12_1 with NRPE nrpe2-2.11_1 to check if my > display is working properly. I'm taking a screenshot every 4 minutes and > then i compare it with the last screenshot. My script is working very > well when it's ran locally but when i'm calling it from the server the > screenshot isn't taken. I tought it was a right problem on the Xorg > server, but i tried with "xhost +" (which do "access control disabled, > clients can connect from any host"). Both ways i run the script with the > user 'nagios'. The rest of the commands in the scripts work fine, the > only problem is with the screenshot which is taken using this command : > import -display :0 -window root /afolder/myscreenshot.png > > I also tried to run the script over shh (ssh nagios at 1.2.3.4 > /usr/local/libexec/nagios/check_news) and this method is working as fine > as locally. So i think there's something wrong with the way NRPE execute > my script. > > Anyone got an idea of the reason why the screenshot isn't working when i > run the script with NRPE ? > > Thanks ! > > Francis > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 optiksecurite.com Wed Oct 8 20:21:12 2008 From: nagios at optiksecurite.com (Francis Dube) Date: Wed, 08 Oct 2008 14:21:12 -0400 Subject: Strange NRPE issue In-Reply-To: <48ECF522.2030308@op5.se> References: <48ECD75A.5010605@optiksecurite.com> <48ECF522.2030308@op5.se> Message-ID: <48ECFA18.5060809@optiksecurite.com> Andreas Ericsson a ?crit : > Francis Dube wrote: >> Hi, >> >> I'm using Nagios nagios-2.12_1 with NRPE nrpe2-2.11_1 to check if my >> display is working properly. I'm taking a screenshot every 4 minutes >> and then i compare it with the last screenshot. My script is working >> very well when it's ran locally but when i'm calling it from the >> server the screenshot isn't taken. > > Are you running it as the user NRPE is running as when you're taking the > screenshot locally? > >> I tought it was a right problem on the Xorg server, but i tried with >> "xhost +" (which do "access control disabled, clients can connect >> from any host"). Both ways i run the script with the user 'nagios'. >> The rest of the commands in the scripts work fine, the only problem >> is with the screenshot which is taken using this command : import >> -display :0 -window root /afolder/myscreenshot.png >> >> I also tried to run the script over shh (ssh nagios at 1.2.3.4 >> /usr/local/libexec/nagios/check_news) and this method is working as >> fine as locally. So i think there's something wrong with the way NRPE >> execute my script. >> >> Anyone got an idea of the reason why the screenshot isn't working >> when i run the script with NRPE ? >> > > The only thing I can imagine is access problems. By default, only root > can snoop on other user's X sessions, so for that to work for nrpe the > X session ought to be owned by the nrpe user. I'm not well-versed in X > enough to give a definite answer though, so don't trust my word on it. > Yes the screenshot is taken with the user 'nagios' which is my NRPE user. 'xhost +' disable access control for X, so i dont think it's the problem. Thanks. Francis ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bret.Goodfellow at questar.com Wed Oct 8 21:26:36 2008 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Wed, 8 Oct 2008 13:26:36 -0600 Subject: Slow response from command remote call using SSH In-Reply-To: <23BF46B5-82EA-43D3-9AF5-D2B7F998E10D@ena.com> References: <91EDB00F83BAD443A9D05FA67623955A027C8085@QMAIL.corp.questar.com><91EDB00F83BAD443A9D05FA67623955A027C8086@QMAIL.corp.questar.com> <23BF46B5-82EA-43D3-9AF5-D2B7F998E10D@ena.com> Message-ID: <91EDB00F83BAD443A9D05FA67623955A027C808C@QMAIL.corp.questar.com> That fixed my problem. The 'multipath' command now takes longer to complete since upgrading to RHEL 4 Update 7. By adding the '-t 20' field to 'check_by_ssh', the time outs have now disappeared. Thanks. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Friday, October 03, 2008 3:03 PM To: Nagios Users Subject: Re: [Nagios-users] Slow response from command remote call using SSH On Oct 3, 2008, at 2:03 PM, Bret Goodfellow wrote: > > Multipath CRITICAL 10-01-2008 12:16:59 0d 1h > 0m 59s 3/3 CRITICAL - Plugin timed out while executing system > call > > Wouldn't copy/paste have been easier? ;) Please don't send screenshots, especially screenshots of text content that would have been easier to read/quote/respond to as _text_. It's bad for readers, responders, the Digests and archives and usually considered bad form. If you must have screenshots, post them to a public location and provide a full link (no TinyURLs please). > > QUESTION: How do I set up 'nagios' so that it will wait up to 15 > seconds for the service to complete? Quoting from a response this morning (changing NRPE timeout) -- "- nagios overall service plugin execution timeout. This should be higher than your highest plugin specific timeout -- $ grep timeout etc/nagios.cfg service_check_timeout=15 - And the plugin that NRPE is executing on the remote host will have a default timeout value as well. Standard plugins support a -t parameter (like check_nrpe) but you can always run '/path/to/plugin --help' to see if it is a parameter and what it expects." In this case, the plugin isn't NRPE but the blurb about 'Standard plugins' applies. check_by_ssh is a standard plugin that has a configurable timeout value. You'll need to adjust your check_by_ssh definition's command_line to include the '-t 15' parameter. > Please keep in mind that this service, check_ssh_multipath, worked > fine prior to the upgrade to RHEL 4.7 Stored but I don't think I'll need it. I've saved it in the cells that'll be killed by the wine tonight so it has a short TTL. -- Marc - Did someone say it's EOB Friday? ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Oct 8 23:46:59 2008 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 9 Oct 2008 10:46:59 +1300 Subject: Windows Eventlog agent v1.9.0 released Message-ID: <6B587E8C999646469B54486AF219584606F3E1E34B@UXCHANGE7-1.UoA.auckland.ac.nz> An updated version of the Nagios Windows Eventlog agent has been released and is available on the Nagios Exchange. This fixes a fairly large bug in the filter code so you are advised to upgrade. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1689.html;d=1 This version contains a number of fixes, primarily a fix for the bug where existing filters would work incorrectly if new eventlog definitions were added. The eventlogs are now identified by name, rather than by sequence number. There is also a new status type, 'Ignore', to allow you to create filters to drop messages. Now you no longer need to send NSCA alerts with invalid service names. Finally, it has been compiled with 64bit and wide character support, so it should work better with international language messages; however I am unable to test this. This version does not yet have a binary for 64bit Windows. I am hoping that some members of the community who have offered to help will be able to provide this. Thankyou for your time, Steve --- Steve Shipway UNIX Systems Administration, University of Auckland, New Zealand +64 9 3737 599 x 86487 s.shipway at auckland.ac.nz P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Thu Oct 9 03:55:09 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Wed, 8 Oct 2008 17:55:09 -0800 Subject: Sendmail setup with Nagios Message-ID: <78623817FC6.0000011Eizz_abdullah@inbox.com> I've read the documentation, and have two options: 1. relay alerts from the Nagios server to our local Exchange server (which is too much company politics) 2. setup sendmail correctly to send alerts So, I know now how to do number one (I think), but number 2, cannot. I am an experienced linux user, but have always been anti-sendmail because of the different security risks over the past. I am guessing that not only does sendmail have to be installed, but the Nagios server must also act as a mail server. Can someone please guide me in arranging this setup correctly as I am stuck and need to get alert notifications setup correctly soon. Nagios 3.0.1 Redhat Linux Enterprise Server AS v4 Thanks in advance, Izz ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Oct 9 08:00:24 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 09 Oct 2008 08:00:24 +0200 Subject: Sendmail setup with Nagios In-Reply-To: <78623817FC6.0000011Eizz_abdullah@inbox.com> References: <78623817FC6.0000011Eizz_abdullah@inbox.com> Message-ID: <48ED9DF8.7090800@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Izz Abdullah wrote: > I've read the documentation, and have two options: > 1. relay alerts from the Nagios server to our local Exchange server (which is too much company politics) > 2. setup sendmail correctly to send alerts > > So, I know now how to do number one (I think), but number 2, cannot. I am an experienced linux user, but have always been anti-sendmail because of the different security risks over the past. I am guessing that not only does sendmail have to be installed, but the Nagios server must also act as a mail server. Can someone please guide me in arranging this setup correctly as I am stuck and need to get alert notifications setup correctly soon. Sendmail as activated default by RHEL will listen on the loopback address only and send out email to any address you please to send it. The ony thing you might want to add is a smarthost to send it all to the central SMTP server. Nothing too complicated. The thing you do not know yourself can be found in a matter of seconds with a decent search engine. But configuring sendmail is not a Nagios job. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI7Z33BvzDRVjxmYERAkCdAJ9RldxV3wvy2tBl9mex8LFIpb69+gCfaEp+ l7XhbDfLnza/++IESv85deY= =O/Ue -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at iphh.net Thu Oct 9 10:03:14 2008 From: ck at iphh.net (Christoph Kluenter) Date: Thu, 9 Oct 2008 10:03:14 +0200 Subject: Strange NRPE issue In-Reply-To: <48ECD75A.5010605@optiksecurite.com> References: <48ECD75A.5010605@optiksecurite.com> Message-ID: <200810091003.15040.ck@iphh.net> On Wednesday 08 October 2008 17:52:58 Francis Dube wrote: > Hi, > > I'm using Nagios nagios-2.12_1 with NRPE nrpe2-2.11_1 to check if my > display is working properly. I'm taking a screenshot every 4 minutes and > then i compare it with the last screenshot. My script is working very > well when it's ran locally but when i'm calling it from the server the > screenshot isn't taken. I tought it was a right problem on the Xorg > server, but i tried with "xhost +" (which do "access control disabled, > clients can connect from any host"). Both ways i run the script with the > user 'nagios'. The rest of the commands in the scripts work fine, the > only problem is with the screenshot which is taken using this command : > import -display :0 -window root /afolder/myscreenshot.png Have you tried setting the PATH ? Or using /usr/bin/import instead of plain "import" ? Cheers, Christoph > > I also tried to run the script over shh (ssh nagios at 1.2.3.4 > /usr/local/libexec/nagios/check_news) and this method is working as fine > as locally. So i think there's something wrong with the way NRPE execute > my script. > > Anyone got an idea of the reason why the screenshot isn't working when i > run the script with NRPE ? > > Thanks ! > > Francis > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christoph Kluenter E-Mail: ck at iphh.net Technik Tel: +49 (0)40 374919-10 IPHH Internet Port Hamburg GmbH Fax: +49 (0)40 374919-29 Grosse Reichenstrasse 27 AG Hamburg, HRB 76071 D-20457 Hamburg Geschaeftsfuehrung: Axel G. Kroeger ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 optiksecurite.com Thu Oct 9 15:25:01 2008 From: nagios at optiksecurite.com (Francis Dube) Date: Thu, 09 Oct 2008 09:25:01 -0400 Subject: Strange NRPE issue In-Reply-To: <200810091003.15040.ck@iphh.net> References: <48ECD75A.5010605@optiksecurite.com> <200810091003.15040.ck@iphh.net> Message-ID: <48EE062D.6020004@optiksecurite.com> Christoph Kluenter a ?crit : > On Wednesday 08 October 2008 17:52:58 Francis Dube wrote: > >> Hi, >> >> I'm using Nagios nagios-2.12_1 with NRPE nrpe2-2.11_1 to check if my >> display is working properly. I'm taking a screenshot every 4 minutes and >> then i compare it with the last screenshot. My script is working very >> well when it's ran locally but when i'm calling it from the server the >> screenshot isn't taken. I tought it was a right problem on the Xorg >> server, but i tried with "xhost +" (which do "access control disabled, >> clients can connect from any host"). Both ways i run the script with the >> user 'nagios'. The rest of the commands in the scripts work fine, the >> only problem is with the screenshot which is taken using this command : >> import -display :0 -window root /afolder/myscreenshot.png >> > Have you tried setting the PATH ? > Or using /usr/bin/import instead of plain "import" ? > > Cheers, > Christoph > >> I also tried to run the script over shh (ssh nagios at 1.2.3.4 >> /usr/local/libexec/nagios/check_news) and this method is working as fine >> as locally. So i think there's something wrong with the way NRPE execute >> my script. >> >> Anyone got an idea of the reason why the screenshot isn't working when i >> run the script with NRPE ? >> >> Thanks ! >> >> Francis >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge Build the coolest Linux based applications with Moblin SDK & win >> great prizes Grand prize is a trip for two to an Open Source event anywhere >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> ::: reporting any issue. Messages without supporting info will risk being >> ::: sent to /dev/null >> I gave it a try, it worked !! It's kinda pathetic because in the whole script every single commands are called usgin the full path except this one. The reason why I never tought it would be a problem is because when i ran the command over ssh i never got a "command not found" error or anything like that. Anyway, thanks a lot my friend ! :) Francis Dube R&D Optik Securite www.optiksecurite.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phillhocking at gmail.com Thu Oct 9 17:31:02 2008 From: phillhocking at gmail.com (Phill Hocking) Date: Thu, 9 Oct 2008 08:31:02 -0700 Subject: Error: Could not add object property in file '/usr/local/etc/nagios/objects/commands.cfg' on line 29. Message-ID: <298f05730810090831v4bdff357ya1285bb955df9326@mail.gmail.com> Greetings, my name is Phill and I am having difficulties with a fresh install. Here is the error I get: # nagios -v /usr/local/etc/nagios/nagios.cfg Nagios 3.0.3 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 06-25-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'notify-host-by-email' (config file '/usr/local/etc/nagios/objects/commands.cfg', starting on line 28) Error: Could not add object property in file '/usr/local/etc/nagios/objects/commands.cfg' on line 29. ***> 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 regarding the config files, as well as the 'Whats New' section to find out what has changed. however that is the only notify-host-by-email entry in the file. I made a pastebin of said file at http://pastebin.ca/1223752. If blank out out all of the .cfg files in that directory, nagios starts to parse the main config file, but throws a bunch of errors for the undef stuff. The search wrapsin vi for that string notify-host-by-email. This is why I am scratching my head. Nagios 3.0.3 FreeBSD 7.0 So any help that you all can give me would be sincerely appreciated, thanks a bundle and I look forward to hearing back from you! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Thu Oct 9 17:35:38 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 9 Oct 2008 12:35:38 -0300 Subject: Windows Eventlog agent v1.9.0 released In-Reply-To: <6B587E8C999646469B54486AF219584606F3E1E34B@UXCHANGE7-1.UoA.auckland.ac.nz> References: <6B587E8C999646469B54486AF219584606F3E1E34B@UXCHANGE7-1.UoA.auckland.ac.nz> Message-ID: Steve, just to clarify. Why not use the event trigger or the event to trap map? 2008/10/8 Steve Shipway : > An updated version of the Nagios Windows Eventlog agent has been released > and is available on the Nagios Exchange. This fixes a fairly large bug in > the filter code so you are advised to upgrade. > > > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1689.html;d=1 > > > > This version contains a number of fixes, primarily a fix for the bug where > existing filters would work incorrectly if new eventlog definitions were > added. The eventlogs are now identified by name, rather than by sequence > number. > > > > There is also a new status type, 'Ignore', to allow you to create filters to > drop messages. Now you no longer need to send NSCA alerts with invalid > service names. > > > > Finally, it has been compiled with 64bit and wide character support, so it > should work better with international language messages; however I am unable > to test this. > > > > This version does not yet have a binary for 64bit Windows. I am hoping that > some members of the community who have offered to help will be able to > provide this. > > > > Thankyou for your time, > > > > Steve > > > > --- > > Steve Shipway > > UNIX Systems Administration, University of Auckland, New Zealand > > +64 9 3737 599 x 86487 > > s.shipway at auckland.ac.nz > > P Please consider the environment before printing this e-mail > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- []'s L?vio Zanol Puppim ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 9 17:51:32 2008 From: marc at ena.com (Marc Powell) Date: Thu, 9 Oct 2008 10:51:32 -0500 Subject: Error: Could not add object property in file '/usr/local/etc/nagios/objects/commands.cfg' on line 29. In-Reply-To: <298f05730810090831v4bdff357ya1285bb955df9326@mail.gmail.com> References: <298f05730810090831v4bdff357ya1285bb955df9326@mail.gmail.com> Message-ID: On Oct 9, 2008, at 10:31 AM, Phill Hocking wrote: > Greetings, my name is Phill and I am having difficulties with a fresh > install. Here is the error I get: Welcome Phill. > Warning: Duplicate definition found for command 'notify-host-by-email' > (config file '/usr/local/etc/nagios/objects/commands.cfg', starting on > line 28) > Error: Could not add object property in file > '/usr/local/etc/nagios/objects/commands.cfg' on line 29. Duplicate command_name's aren't permitted. They must be unique. > stuff. The search wrapsin vi for that string notify-host-by-email. > This is why I am > scratching my head. It's already defined in another cfg_file that you specify in nagios.cfg then. Use grep to find which on, choose the one you want to use and remove or comment out the other definition. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manish at gslab.com Thu Oct 9 18:20:06 2008 From: manish at gslab.com (Manish Sapariya) Date: Thu, 09 Oct 2008 21:50:06 +0530 Subject: Alarming on coredumps on Linux? In-Reply-To: <48EC642A.1050300@aei.ca> References: <48EB9BD2.4010801@thepushors.com> <48EC642A.1050300@aei.ca> Message-ID: <48EE2F36.5070207@gslab.com> Try this out echo "kernel.core_pattern = /tmp/core.%e.%p.%t" >> /etc/sysctl.conf It most probably needs reboot to take effect. After the reboot, all core files will be created in /tmp with exe name, pid and the time stamp appended. I watch the any new core file by using the find with mtime option. I can share the script if you would like to see it. Regards, Manish Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 07/10/08 01:26 PM, Tim Pushor wrote: >> Hello everyone, >> >> While not specifically a nagios issue, I am setting up a nagios >> installation to monitor a server that is used to run an interactive >> application by several users at once (> 50). The problem is, >> occasionally the application dumps core, and the users don't always >> notify us when this happens. We'd like to trigger a passive alarm to >> nagios on our application dumping core. >> >> On other OS's (specifically FreeBSD IIRC) the kernel logs coredumps and >> end up in the system log so watching the logfiles with swatch or >> something similar would do the trick. >> >> On my Linux system (CentOS 5.2) it appears that coredumps don't log. >> Does anyone have any ideas how I can trigger an event on coredump on Linux? > > This is not really a nagios issue... AFAIK segfaults are logged in > Linux; have you looked at the kernel messages (dmesg)? > > If it shows in dmesg output but not on your logs, make sure syslog is > configured properly to retrieve those messages. You could also log > kern.* to a specific files to be sure. > > I think log levels can also be tuned with /proc/sys/kernel/printk; see > "man 5 proc". > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFI7GQp6dZ+Kt5BchYRAu8TAJ98E5xxKIRDZh8l/gFPd50uZeNM+QCggpct > r7QppHPqVgdZTMZKtgPJYgU= > =Ta0T > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rivet at secure-24.com Thu Oct 9 18:48:41 2008 From: matt.rivet at secure-24.com (Matt Rivet) Date: Thu, 9 Oct 2008 12:48:41 -0400 Subject: NRPE way too fragile ? In-Reply-To: <6AB4C075-FECE-4BD0-BC79-A93778EADDDC@nagios.org> References: <48EC8EDB.3050209@inria.fr> <00d301c92957$716d6ca0$544845e0$@com> <6AB4C075-FECE-4BD0-BC79-A93778EADDDC@nagios.org> Message-ID: <3A08B75200A4DF44B83752A09A93AFFB0131E6D4@ex1s24dca.S24.local> I am running into the same issue. I monitoring multiple windows hosts using NRPE and NSClient++ on the windows machines. I have turned the time out up to 20 seconds and this has helped. Currently I may see 3 or 4 time outs usually due to virus scans or back up jobs. Does anyone know any possible tweaks that can be done on the windows machines (using NSClient++) to abolish or at least reduce time outs? -----Original Message----- From: Mark Young [mailto:myoung at nagios.org] Sent: Wednesday, October 08, 2008 12:19 PM To: Jayson Broughton Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE way too fragile ? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 8, 2008, at 10:06 AM, Jayson Broughton wrote: > Guillaume, > > We actually have the same problem here where Nagios is setup. I use > the > NRPE daemon on both windows and linux servers. Two of our servers do > backups early in the morning and during that time we get NRPE Timeout > messages from the two servers. I have set the timeout on the server > and the > clients to timeout after 30 seconds, thinking that would fix it. > But alas, > we still get timeout messages. I haven't had much time to see what > I can do > to fix this, so for now our solution is to not email out warning > messages > from those two servers (I have the thresholds set enough where the > critical > messages still gives enough window to take care of the problem > before going > too critical) I have come to the conclusion that the servers are > running > the backup and eating up so much processing that the nrpe times out > trying > to connect and send information. > > If you find a solution or even an idea to try, feel free to let me > know and > I'll give it a shot! NRPE is normally setup with Xinetd listening for incoming connections. When I say normally I mean if you followed the documentation. ;) By default Xinetd has a low threshold of connections per instance in order to lessen the load on the server and prevent DDoS type attacks. You can view what I mentioned in my previous post here: http://article.gmane.org/gmane.network.nagios.user/56713 NRPE can be fine until Nagios decides to run many checks to the same host at the same time that hits the threshold.. For example when you go to the extended host information and "Schedule a check of all services on this host". If you are not running it under Xinetd it may be other issues. Including system load and/or running into possible bugs with NPRE on your system. > >> -----Original Message----- >> From: Guillaume Rousse [mailto:Guillaume.Rousse at inria.fr] >> Sent: Wednesday, October 08, 2008 4:44 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] NRPE way too fragile ? >> >> Hello list. >> >> I'm using nrpe quite heavily for testing lots of local service on >> all my >> machines. It work usually well, but seems a bit unreliable: too much >> often, nrpe itself fails to accept incoming connections, and test >> fails: >> CHECK_NRPE: Socket timeout after 10 seconds. >> >> stracing nrpe process shows it is probably waiting itself on another >> connection: >> [root at denfert ~]# strace -p 22444 >> Process 22444 attached - interrupt to quit >> select(6, [5], NULL, [5], {0, 170000}) = 0 (Timeout) >> accept(5, 0, NULL) = -1 EAGAIN (Resource >> temporarily unavailable) >> >> It usually recovers itself alone, but that's enough to cause much >> unwanted notifications, even if all monitored services have nrpe >> itself >> as dependency. I'm using ssl encryption, as usually advised, but I'm >> planning shifting to plain-text connection (everything occurs on a >> distinc VLAN, without user access). >> >> Does everyone else has similar experience ? You seem to be running it as a daemon process itself. What system and NRPE version are you running? What version of Nagios? How many NRPE checks are you trying to perform in a given time? You may see some benefit to enabling Nagios to spread its checks out more evenly, though this is simply covering the underlaying problem. Maybe consider running it with the xinetd daemon and increase the number of allowed connections a second as a test. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkjs3WoACgkQ0KipU7WwlaWtXgCgs+77/o8Pyh0t/++FIbOEycgx oiAAoMj2awwRG4HCernz7pcdf/K484Ca =oKG0 -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Thu Oct 9 19:41:11 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Thu, 09 Oct 2008 18:41:11 +0100 Subject: [Nagios-devel] how to specify multiple dependencies In-Reply-To: <48EC6D6B.8000303@inria.fr> References: <48EB3B14.9060606@inria.fr> <48EB94F6.4070906@networkmail.eu> <48EC6D6B.8000303@inria.fr> Message-ID: <48EE4237.3060103@networkmail.eu> Hi Guillaume, >> define servicedependency { >> host_name A >> service_description X >> dependent_host_name B,C >> dependent_service_description Y >> } >> >> I think this says that service X on host A depends on service Y on hosts >> B and C. >> > It says than you have two services Y, running on hosts hosts B and C, > each relying on a single service X, running on host A. If X fails, > monitoring of Y will be affected on both hosts. I'm looking for exactly > the opposite: two redundant authentications backends available, and one > authenticated service, for wich I'd like to avoid useless notifications > if both backends are down. > Ah OK, in that case switch host_name and dependent_host_name and service_description and dependent_service_description around. > >> Whether this is an AND or an OR (e.g. host A depends on hosts >> B AND C, or host A depends on hosts B OR C) I don't know. >> > AFAIK, this is purely syntactic sugar for multiple declarations, so > rather an OR relationship. > Is that not what you need? You asked in your original question "how to specify than A depends on (B or C) ?" The documentation says "You can create several dependencies for a given service, but you must add a separate service dependency definition for each dependency you create" which I would read as you'd need to create 2 separate servicedependency entries, one for the dependency on host/service B and one for the dependency on host/service C to get this effect, again I'm not 100% sure. > >> PS. Both of your last questions should have been directed at the >> nagios-users list - nagios-devel is for reviewing and submitting >> patches, or other questions that concern the development of Nagios. >> >> > Indeed. > Andy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Thu Oct 9 18:41:10 2008 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Thu, 9 Oct 2008 11:41:10 -0500 Subject: NRPE not display correct results Message-ID: I have just noticed a strange thing and hope that someone out there could shed some lite on it. I have a disk check set to warn at 80% and crit at 10%. If I run the check_disk command locally it returns a warning message that the disk is at 81%, which is correct. But, if I run the check_disk command from out Nagios server using nrpe it reports a status of "Ok". Also, the main display does not display it as a warning. Can anyone help? Thanks, Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.nagios at gmail.com Thu Oct 9 21:05:02 2008 From: john.nagios at gmail.com (Nagios User) Date: Thu, 9 Oct 2008 15:05:02 -0400 Subject: How-to debug a NAGIOS-not-sending-email problem ? In-Reply-To: References: Message-ID: Is your mail command under /usr/bin/mail or /bin/mail ? -john On Wed, Oct 8, 2008 at 12:08 PM, Valdinger, Stephen (DOV, MSX) wrote: > The first place that I would look would be your mail and Nagios logs. There is probably something in one of them related to your troubles. > > Stephen Valdinger > MIS Helpdesk Coordinator > 330.365.3622 -O > 740.491.0958 - C > svalding at doverchem.com > Never agrue with an idiot. They drag you down to their level and then beat you with their experience. > > > -----Original Message----- > From: M. S?bastien LELI?VRE [mailto:sebastien.lelievre at aznetwork.fr] > Sent: Wednesday, October 08, 2008 11:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How-to debug a NAGIOS-not-sending-email problem ? > > Greetings, > > I'm experiencing some odd issue with my nagios server. > > It dosen't notify by email anymore > > When I execute the corresponding command in the nagios (user) shell, I > receive an email > > A. So it is not postfix nor a system problem, just nagios which > doesn't send email > > Reload/Restart-ing program (both postfix and nagios) didn't work out > > I do not know where to start my investigation > > Here are some info : > > notify-host-by-email : > > /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE > $\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s > "[$HOSTGROUPNOTES$ $NOTIFICATIONTYPE$ Host $HOSTSTATE$ in $HOSTNAME$]" > $CONTACTEMAIL$ > > > notify-service-by-email : > > /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE > $\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS > $\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "[$HOSTGROUPNOTES$ > $NOTIFICATIONTYPE$ Service $SERVICESTATE$ in $HOSTNAME$/$SERVICEDESC$]" > $CONTACTEMAIL$ > > Best Regards > -- > M. S?bastien LELI?VRE > > Ing?nieur Syst?me & Base de Donn?es > > ABF H?bergement / AZ Network > 40, rue Amp?re > 61000 ALEN?ON (ORNE) > FRANCE > > Tel. : + 33 (0) 233 320 616 > Port. : + 33 (0) 673 457 243 > > Poste : 120 > e-mail : sebastien.lelievre at aznetwork.fr > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Oct 9 21:08:58 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 9 Oct 2008 12:08:58 -0700 Subject: NRPE not display correct results In-Reply-To: References: Message-ID: <20081009190858.GM14923@bakgwai.americas.hpqcorp.net> On Thu, 09 Oct 2008, Edwin Zoeller wrote: > I have just noticed a strange thing and hope that someone out there could shed some lite on it. > > I have a disk check set to warn at 80% and crit at 10%. If I run the check_disk command locally it returns a warning message that the disk is at 81%, which is correct. But, if I run the check_disk command from out Nagios server using nrpe it reports a status of "Ok". Also, the main display does not display it as a warning. > > Can anyone help? Without specifics of how you've got your check set up, no, probably not. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Thu Oct 9 21:13:28 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 9 Oct 2008 15:13:28 -0400 (EDT) Subject: NRPE not display correct results In-Reply-To: References: Message-ID: <20081009151311.J29402@arbitor.digitalfreaks.org> EZ: We're going to need to see some config files and example outputs. ~BAS On Thu, 9 Oct 2008, Edwin Zoeller wrote: > I have just noticed a strange thing and hope that someone out there -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Thu Oct 9 21:38:42 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Thu, 09 Oct 2008 20:38:42 +0100 Subject: NRPE not display correct results In-Reply-To: <20081009190858.GM14923@bakgwai.americas.hpqcorp.net> References: <20081009190858.GM14923@bakgwai.americas.hpqcorp.net> Message-ID: <48EE5DC2.9050308@networkmail.eu> Hi, I thought that check_disk returns a warning/error when the disk space falls _below_ the values you set? Therefore if it's giving 81% an OK but your warning level is 80% - that's correct because 81 (the current free space) is greater than 80 (your warning) and 10 (your critical.) Or is it too late in the evening and I'm missing something? Andy Patrick Morris wrote: > On Thu, 09 Oct 2008, Edwin Zoeller wrote: > > >> I have just noticed a strange thing and hope that someone out there could shed some lite on it. >> >> I have a disk check set to warn at 80% and crit at 10%. If I run the check_disk command locally it returns a warning message that the disk is at 81%, which is correct. But, if I run the check_disk command from out Nagios server using nrpe it reports a status of "Ok". Also, the main display does not display it as a warning. >> >> Can anyone help? >> > > Without specifics of how you've got your check set up, no, probably not. > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Guillaume.Rousse at inria.fr Thu Oct 9 22:07:57 2008 From: Guillaume.Rousse at inria.fr (Guillaume Rousse) Date: Thu, 09 Oct 2008 22:07:57 +0200 Subject: Alarming on coredumps on Linux? In-Reply-To: <48EE2F36.5070207@gslab.com> References: <48EB9BD2.4010801@thepushors.com> <48EC642A.1050300@aei.ca> <48EE2F36.5070207@gslab.com> Message-ID: <48EE649D.8010307@inria.fr> Manish Sapariya a ?crit : > Try this out > > echo "kernel.core_pattern = /tmp/core.%e.%p.%t" >> /etc/sysctl.conf > > It most probably needs reboot to take effect. sysctl -w kernel.core_pattern=/tmp/core.%e.%p.%t to change it on the fly. -- Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at michael.cl Thu Oct 9 23:45:47 2008 From: michael at michael.cl (Michael =?ISO-8859-1?Q?Fern=E1ndez?= M) Date: Thu, 09 Oct 2008 17:45:47 -0400 Subject: Check_cpu Message-ID: <1223588747.2642.98.camel@amokk.microserv.cl> Hi, Someone knows a plugin to check the cpu, but only if it's at 90% for 5 minutes? I do not need to check the cpu peak..... Is for Linux... (Centos 5.2) Thanks!!! Michael.- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Thu Oct 9 23:01:33 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 9 Oct 2008 17:01:33 -0400 Subject: Check_cpu Message-ID: Why not check-cpu from the nagios plugins?? Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 -----Original Message----- From: Michael Fern?ndez M To: nagios-users at lists.sourceforge.net Sent: Thu Oct 09 17:45:47 2008 Subject: [Nagios-users] Check_cpu Hi, Someone knows a plugin to check the cpu, but only if it's at 90% for 5 minutes? I do not need to check the cpu peak..... Is for Linux... (Centos 5.2) Thanks!!! Michael.- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at michael.cl Thu Oct 9 23:57:07 2008 From: michael at michael.cl (Michael =?ISO-8859-1?Q?Fern=E1ndez?= M) Date: Thu, 09 Oct 2008 17:57:07 -0400 Subject: Check_cpu In-Reply-To: References: Message-ID: <1223589427.2642.106.camel@amokk.microserv.cl> On Thu, 2008-10-09 at 17:01 -0400, Valdinger, Stephen (DOV, MSX) wrote: > Why not check-cpu from the nagios plugins?? > I already did, but nothing like that i found.... Michael.- > > Stephen Valdinger > MIS Helpdesk Coordinator > P: 330.365.3622 > C: 740.491.0958 > > > -----Original Message----- > From: Michael Fern?ndez M > To: nagios-users at lists.sourceforge.net > Sent: Thu Oct 09 17:45:47 2008 > Subject: [Nagios-users] Check_cpu > > Hi, > > Someone knows a plugin to check the cpu, but only if it's at 90% for 5 > minutes? > > I do not need to check the cpu peak..... > > Is for Linux... (Centos 5.2) > > Thanks!!! > > Michael.- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Melin at co.hennepin.mn.us Thu Oct 9 23:01:11 2008 From: Jim.Melin at co.hennepin.mn.us (Jim.Melin at co.hennepin.mn.us) Date: Thu, 9 Oct 2008 16:01:11 -0500 Subject: Check_cpu In-Reply-To: <1223588747.2642.98.camel@amokk.microserv.cl> References: <1223588747.2642.98.camel@amokk.microserv.cl> Message-ID: I have been working on a modified check_cpu process that will keep some history and be able to average it. Mostly because I cannot explain check_load clearly enough to management to use it as a resource alarm. I will post back here in a while when I have it working to my satisfaction. James Melin Sr. Systems Software Programmer Hennepin County Mainframe Services 612-348-7147 Michael Fern?ndez M 10/09/2008 03:56 PM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Check_cpu Hi, Someone knows a plugin to check the cpu, but only if it's at 90% for 5 minutes? I do not need to check the cpu peak..... Is for Linux... (Centos 5.2) Thanks!!! Michael.- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Thu Oct 9 23:17:08 2008 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Thu, 9 Oct 2008 17:17:08 -0400 Subject: Host shows down while all services but ping show OK Message-ID: Hello All, I am trying to monitor a windows based host over the internal network using Nagios 2.9 and nrpe_nt.0.8. Ping is not allowed over the network; I have setup the hosts and am able to get response for the disk, cpu, memory, but the host itself shows down as ping is not allowed over the network. Is there any way to get around this? Thanks for your help ++++++++++++++++++++++++++++ Masoud Tabrizi P Please consider the environment before printing this email ++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Thu Oct 9 23:39:01 2008 From: myoung at nagios.org (Mark Young) Date: Thu, 9 Oct 2008 16:39:01 -0500 Subject: Host shows down while all services but ping show OK In-Reply-To: References: Message-ID: <2D6814A6-811C-4376-958D-4F50F3027E9D@nagios.org> On Oct 9, 2008, at 4:17 PM, Masoud Tabrizi wrote: > Hello All, > I am trying to monitor a windows based host over the internal > network using Nagios 2.9 and nrpe_nt.0.8. > Ping is not allowed over the network; I have setup the hosts and am > able to get response for the disk, cpu, memory, but the host itself > shows down as ping is not allowed over the network. Is there any way > to get around this? Make a new host check command. Then define that for the hosts you want. It seems nrpe is working on your systems so just use a simple check_nrpe command your host check on those hosts. define command{ command_name new_host_check_cmd command_line $USER1$/check_nrpe -H $HOSTADDRESS$ } define host{ check_command new_host_check_cmd } Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Oct 9 23:33:37 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 9 Oct 2008 14:33:37 -0700 Subject: Check_cpu In-Reply-To: <1223588747.2642.98.camel@amokk.microserv.cl> References: <1223588747.2642.98.camel@amokk.microserv.cl> Message-ID: <20081009213337.GP14923@bakgwai.americas.hpqcorp.net> On Thu, 09 Oct 2008, Michael Fern?ndez M wrote: > Hi, > > Someone knows a plugin to check the cpu, but only if it's at 90% for 5 > minutes? > > I do not need to check the cpu peak..... > > Is for Linux... (Centos 5.2) > > Thanks!!! > > Michael.- The standard check_cpu can do this. Set the max to 90 and the retries to 5, one minute apart. It'll check 5 times and alert if the CPU was over 90 all five times. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Thu Oct 9 23:52:09 2008 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Thu, 9 Oct 2008 17:52:09 -0400 Subject: Host shows down while all services but ping show OK In-Reply-To: <2D6814A6-811C-4376-958D-4F50F3027E9D@nagios.org> References: <2D6814A6-811C-4376-958D-4F50F3027E9D@nagios.org> Message-ID: <3CC771C54894421CA613CE1E829AC5B5@EDI3MT> Thanks for all the suggestions. I am all set now. Created the new check_host and it worked perfectly. Thanks again! M \\\|/// \\ - - // ( @ @ ) o00o-(_)-o00o------------------ Masoud Tabrizi -----------0ooo------------------- ooo0 ( ) ( ) ) / \ ( (_/ \_) Make a new host check command. Then define that for the hosts you want. It seems nrpe is working on your systems so just use a simple check_nrpe command your host check on those hosts. define command{ command_name new_host_check_cmd command_line $USER1$/check_nrpe -H $HOSTADDRESS$ } define host{ check_command new_host_check_cmd } Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at conundrum.com Mon Oct 6 19:27:41 2008 From: matt at conundrum.com (Matthew Pounsett) Date: Mon, 6 Oct 2008 13:27:41 -0400 Subject: check_by_ssh timeouts / how to work around? In-Reply-To: <5AAAE0F7-C6D7-4801-A64C-324DDDD5F888@gmail.com> References: <47C22FE8-D8C6-4650-9E82-45B1D29C04B1@gmail.com> <3A08B75200A4DF44B83752A09A93AFFB0131E6B9@ex1s24dca.S24.local> <5AAAE0F7-C6D7-4801-A64C-324DDDD5F888@gmail.com> Message-ID: <2B11C488-ABAB-4014-8049-FAD970862053@conundrum.com> > > I believe this to be caused by the check itself is timing out. As when > I try to login it will sometimes take up to a minute or two just to > get a prompt. > As for setting the timeouts for that sort of thing, this is what I do. In my resource.cfg: -- # check_by_ssh timeout $USER4$=10 -- .. and in my commands.cfg definitions.. --- # 'check_disk_remote' command definition define command { command_name check_disk_remote command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -t $USER4$ - C "$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$" } --- And I use the same $USER4$ definition for all of the check_by_ssh calls, so that it's easy to tune. Have you looked into the reason for the long login delay though? I think I'd start there. A 60 second wait for ssh to get you a shell indicates some sort of problem. Either the target machine is so resource starved that it can't negotiate the authentication and encryption, or you've got some other delay in there. The most likely culprit to my mind is DNS -- ssh itself, login and your shell on the target machine might all be trying to do a reverse DNS lookup on the source of the connection. If that's timing out, it could cause very long delays. There are lots of other potential problems, but I'd start looking there. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Oct 9 23:32:11 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 9 Oct 2008 14:32:11 -0700 Subject: Host shows down while all services but ping show OK In-Reply-To: References: Message-ID: <20081009213211.GO14923@bakgwai.americas.hpqcorp.net> On Thu, 09 Oct 2008, Masoud Tabrizi wrote: > Hello All, > I am trying to monitor a windows based host over the internal network using Nagios 2.9 and nrpe_nt.0.8. > Ping is not allowed over the network; I have setup the hosts and am able to get response for the disk, cpu, memory, but the host itself shows down as ping is not allowed over the network. Is there any way to get around this? Sure. Don't use a ping as a host check if you can't ping hosts. Use some other check that does work. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Thu Oct 9 23:24:11 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 9 Oct 2008 15:24:11 -0600 Subject: Host shows down while all services but ping show OK In-Reply-To: References: Message-ID: Change your host check to something that actually works. ________________________________ From: Masoud Tabrizi [mailto:masoud.tabrizi at gmail.com] Sent: Thursday, October 09, 2008 3:17 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host shows down while all services but ping show OK Hello All, I am trying to monitor a windows based host over the internal network using Nagios 2.9 and nrpe_nt.0.8. Ping is not allowed over the network; I have setup the hosts and am able to get response for the disk, cpu, memory, but the host itself shows down as ping is not allowed over the network. Is there any way to get around this? Thanks for your help ++++++++++++++++++++++++++++ Masoud Tabrizi P Please consider the environment before printing this email ++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Fri Oct 10 04:10:43 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 09 Oct 2008 21:10:43 -0500 Subject: Sendmail setup with Nagios References: <78623817FC6.0000011Eizz_abdullah@inbox.com> Message-ID: On Wed, 8 Oct 2008 17:55:09 -0800, Izz Abdullah wrote: >I've read the documentation, and have two options: >1. relay alerts from the Nagios server to our local Exchange server (which is too much company politics) >2. setup sendmail correctly to send alerts > >So, I know now how to do number one (I think), but number 2, cannot. I am an experienced linux user, but have always been anti-sendmail because of the different security risks over the past. I am guessing that not only does sendmail have to be installed, but the Nagios server must also act as a mail server. Can someone please guide me in arranging this setup correctly as I am stuck and need to get alert notifications setup correctly soon. I'm trying to figure out what you're trying to do. Are you trying to send your emails through the exchange server's SMTP service? Or are you trying to get the server running nagios send them directly to their destination? If you're trying to use the Exchange server as a relay, use the SMARTHOST option in Sendmail. However, I think that's overkill for simply relaying. Checkout nullmailer, or ssmtp. Both are small, lightweight smtp services that relay through a server, which in this case would be your exchange server. You just have to be cautious of relying on your Exchange server, as if that goes down, you won't get alerts. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Fri Oct 10 05:21:10 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 09 Oct 2008 22:21:10 -0500 Subject: How-to debug a NAGIOS-not-sending-email problem ? References: <1223479283.9384.33.camel@AZemaria> Message-ID: <7dite4t89nciivfvr60jg6pl24co13ov5o@4ax.com> On Wed, 08 Oct 2008 17:21:23 +0200, "M." S?bastien LELI?VRE wrote: >Greetings, > >I'm experiencing some odd issue with my nagios server. > >It dosen't notify by email anymore Anymore? So it worked before? What changed? Stuff generally doesn't stop working unless something was changed. >When I execute the corresponding command in the nagios (user) shell, I >receive an email The notification commands below have macros in. How did you execute the same command? Did you increase the debugging levels in nagios to see what it was executing? >I do not know where to start my investigation > >Here are some info : > >notify-host-by-email : > >/usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE >$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: >$HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s >"[$HOSTGROUPNOTES$ $NOTIFICATIONTYPE$ Host $HOSTSTATE$ in $HOSTNAME$]" >$CONTACTEMAIL$ > > >notify-service-by-email : > >/usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE >$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS >$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional >Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "[$HOSTGROUPNOTES$ >$NOTIFICATIONTYPE$ Service $SERVICESTATE$ in $HOSTNAME$/$SERVICEDESC$]" >$CONTACTEMAIL$ 1. Increase the debugging levels to see what the macros are 2. Make sure there are entries in the logs saying it generated the alerts -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Oct 10 07:46:31 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 10 Oct 2008 07:46:31 +0200 Subject: Check_cpu In-Reply-To: <20081009213337.GP14923@bakgwai.americas.hpqcorp.net> References: <1223588747.2642.98.camel@amokk.microserv.cl> <20081009213337.GP14923@bakgwai.americas.hpqcorp.net> Message-ID: <48EEEC37.6070100@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Patrick Morris wrote: > On Thu, 09 Oct 2008, Michael Fern?ndez M wrote: > >> Hi, >> >> Someone knows a plugin to check the cpu, but only if it's at 90% for 5 >> minutes? >> >> I do not need to check the cpu peak..... >> >> Is for Linux... (Centos 5.2) > > The standard check_cpu can do this. Set the max to 90 and the retries > to 5, one minute apart. It'll check 5 times and alert if the CPU was > over 90 all five times. It will take 5 (not so) random snapshots of the CPU usage at that moment. If you want to monitor averages you could gather statistics wit RRD and read the CPU counter to store those. You can then also use RRD to check for the average over the last N minutes. Sounds like a fun thing to make. But I get a lot of those in the queue and no immediate need for this particular fun project. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI7uwxBvzDRVjxmYERAgHNAJ96eJCmcRFHTqx2HmMvw1Ph/1i4gQCggQwB JrWcrbjKFLMh/eNAOc+ftv4= =qGrb -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rupertt at gmail.com Fri Oct 10 09:29:58 2008 From: rupertt at gmail.com (Heiko) Date: Fri, 10 Oct 2008 09:29:58 +0200 Subject: multiple escalation steps Message-ID: <537dcd6b0810100029u58368793ya562a5c39b63527c@mail.gmail.com> Hello, we have planned our notification escalation periods and run into the question if we can define multiple steps in one serviceescalation definition, or if we can "use" multiple templates? I have the following templates: svc-esc-err-step2-tmpl svc-esc-err-step3-tmpl svc-esc-crit-step2-tmpl svc-esc-crit-step3-tmpl svc-esc-debug-step2-tmpl svc-esc-debug-step3-tmpl and tried this: define serviceescalation{ use svc-esc-err-step2-tmpl, svc-esc-err-step3-tmpl hostgroup_name servers2 service_description PING,SWAP, CPU LOAD, ntp } i can reload nagios, but the 3rd step is not displayed in nagios. Right now i would have to do for each step the same escalation definition, which would make the whole thing bloated. Are there some things that can my life easier? greetings Heiko ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Fri Oct 10 14:58:39 2008 From: hir3npatel at gmail.com (hiren) Date: Fri, 10 Oct 2008 14:58:39 +0200 Subject: cgi restart and manual config change Message-ID: <1223643519.6155.11.camel@nazgul.af.didata.local> Hi all, I run nagios server 2.9. within the front end cgi I have configured a host to passive checks only, I disabled active checks. I noticed that this was how the host was configured in the host definition in the config file, I changed the config file and enabled active checks, hoping a HUP to the nagios server would put it into effect. after a HUP I checked the front end and noticed that active checks were still disabled. from this my question is, what exactly does HUP do for nagios, would it ignore changes make to hosts via the cgi's even if the config files have different settings? I can't find anything in the documentation that specifies what HUP will and will not do, and searching hasn't been helpful either. please let me know if I've supplied too little information about this, or am missing something. thanks in advance. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Fri Oct 10 15:25:27 2008 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 10 Oct 2008 08:25:27 -0500 Subject: NRPE not display correct results In-Reply-To: <48EE5DC2.9050308@networkmail.eu> References: <20081009190858.GM14923@bakgwai.americas.hpqcorp.net> <48EE5DC2.9050308@networkmail.eu> Message-ID: Sorry for the miss understanding. My warning is set for 20%, the file system has used 81% thus leaving 19%, which gives me the warning message when run locally. -----Original Message----- From: Andy Shellam [mailto:andy-lists at networkmail.eu] Sent: Thursday, October 09, 2008 2:39 PM To: nagios-user Mailinglist Subject: Re: [Nagios-users] NRPE not display correct results Hi, I thought that check_disk returns a warning/error when the disk space falls _below_ the values you set? Therefore if it's giving 81% an OK but your warning level is 80% - that's correct because 81 (the current free space) is greater than 80 (your warning) and 10 (your critical.) Or is it too late in the evening and I'm missing something? Andy Patrick Morris wrote: > On Thu, 09 Oct 2008, Edwin Zoeller wrote: > > >> I have just noticed a strange thing and hope that someone out there could shed some lite on it. >> >> I have a disk check set to warn at 80% and crit at 10%. If I run the check_disk command locally it returns a warning message that the disk is at 81%, which is correct. But, if I run the check_disk command from out Nagios server using nrpe it reports a status of "Ok". Also, the main display does not display it as a warning. >> >> Can anyone help? >> > > Without specifics of how you've got your check set up, no, probably not. > > > ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Oct 10 15:57:04 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 10 Oct 2008 09:57:04 -0400 Subject: NRPE not display correct results In-Reply-To: References: <20081009190858.GM14923@bakgwai.americas.hpqcorp.net> <48EE5DC2.9050308@networkmail.eu> Message-ID: <48EF5F30.2080603@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/10/08 09:25 AM, Edwin Zoeller wrote: > Sorry for the miss understanding. > > My warning is set for 20%, the file system has used 81% thus leaving > 19%, which gives me the warning message when run locally. What is the check command defined in Nagios (show both the one in the service definition and the checkcommand object matching it). What it the check command defined in the nrpe configuration? - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI718v6dZ+Kt5BchYRAiH7AJ40nlvFHtPinC1JyTHcUT1DVctc6ACg4mHs sk9sA7I7iWInWTl0zA6cysk= =2mSf -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenneho.ndu at gmail.com Fri Oct 10 16:17:55 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Fri, 10 Oct 2008 16:17:55 +0200 Subject: Monitoring which user is running a service/process Message-ID: Hello all. I have some processes that are meant to be run by user A, but are often (for some human error reason) run by the root user. Is there a way to set up Nagios to alert me whenever this happens? Regards, Kenneth Holter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Fri Oct 10 16:28:55 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Fri, 10 Oct 2008 08:28:55 -0600 Subject: Monitoring which user is running a service/process In-Reply-To: References: Message-ID: Yes. Note the '-u' option. $ ./check_procs -h check_procs (nagios-plugins 1.4.2) 1.46 Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2004 Nagios Plugin Development Team Checks all processes and generates WARNING or CRITICAL states if the specified metric is outside the required threshold ranges. The metric defaults to number of processes. Search filters can be applied to limit the processes to check. Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] [-C command] [-t timeout] [-v] Required Arguments: -w, --warning=RANGE Generate warning state if metric is outside this range -c, --critical=RANGE Generate critical state if metric is outside this range Optional Arguments: -m, --metric=TYPE Check thresholds against metric. Valid types: PROCS - number of processes (default) VSZ - virtual memory size RSS - resident set memory size CPU - percentage cpu ELAPSED - time elapsed in seconds -t, --timeout=INTEGER Seconds before connection times out (default: 10) -v, --verbose Extra information. Up to 3 verbosity levels Optional Filters: -s, --state=STATUSFLAGS Only scan for processes that have, in the output of `ps`, one or more of the status flags you specify (for example R, Z, S, RS, RSZDT, plus others based on the output of your 'ps' command). -p, --ppid=PPID Only scan for children of the parent process ID indicated. -z, --vsz=VSZ Only scan for processes with vsz higher than indicated. -r, --rss=RSS Only scan for processes with rss higher than indicated. -P, --pcpu=PCPU Only scan for processes with pcpu higher than indicated. -u, --user=USER Only scan for processes with user name or ID indicated. -a, --argument-array=STRING Only scan for processes with args that contain STRING. -C, --command=COMMAND Only scan for exact matches of COMMAND (without path). RANGEs are specified 'min:max' or 'min:' or ':max' (or 'max'). If specified 'max:min', a warning status will be generated if the count is inside the specified range This plugin checks the number of currently running processes and generates WARNING or CRITICAL states if the process count is outside the specified threshold ranges. The process count can be filtered by process owner, parent process PID, current state (e.g., 'Z'), or may be the total number of running processes Examples: check_procs -w 2:2 -c 2:1024 -C portsentry Warning if not two processes with command name portsentry. Critical if < 2 or > 1024 processes check_procs -w 10 -a '/usr/local/bin/perl' -u root Warning alert if > 10 processes with command arguments containing '/usr/local/bin/perl' and owned by root check_procs -w 50000 -c 100000 --metric=VSZ Alert if vsz of any processes over 50K or 100K check_procs -w 10 -c 20 --metric=CPU Alert if cpu of any processes over 10% or 20% ________________________________ From: Kenneth Holter [mailto:kenneho.ndu at gmail.com] Sent: Friday, October 10, 2008 8:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring which user is running a service/process Hello all. I have some processes that are meant to be run by user A, but are often (for some human error reason) run by the root user. Is there a way to set up Nagios to alert me whenever this happens? Regards, Kenneth Holter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bbarriere at sle-fr.com Fri Oct 10 16:02:37 2008 From: bbarriere at sle-fr.com (Benoit Barriere) Date: Fri, 10 Oct 2008 16:02:37 +0200 Subject: undeterminate data in report Message-ID: Hi all, I have a problem about my archives log file. I had to change a description service in all archives logs (deleting a space character) and also in my nagios conf. I have done that by sed command. So all my logs are modified correctly if I see my logs by vi command. But nagios don't report correctly all datas before my modification. All datas before the modification aren't shown in the report ( see screenshot) My nagios release is : 2.12 Any ideas ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 77133 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 10 16:54:14 2008 From: marc at ena.com (Marc Powell) Date: Fri, 10 Oct 2008 09:54:14 -0500 Subject: cgi restart and manual config change In-Reply-To: <1223643519.6155.11.camel@nazgul.af.didata.local> References: <1223643519.6155.11.camel@nazgul.af.didata.local> Message-ID: On Oct 10, 2008, at 7:58 AM, hiren wrote: > from this my question is, what exactly does HUP do for nagios, would > it > ignore changes make to hosts via the cgi's even if the config files > have > different settings? A HUP tells nagios to re-read it's config files and apply any changes. I suspect that you have retention enabled though and that does change how some host/service parameters behave on reload/restart (yours is one of them). http://nagios.sourceforge.net/docs/2_0/xodtemplate.html "Retention Notes It is important to point out that several directives in host and service definitions may not be picked up by Nagios when you change them. Host and service directives that can exhibit this behavior are marked with an asterisk (*). The reason for this behavior is due to the fact that Nagios chooses to honor values stored in the state retention file over values found in the config files, assuming you have state retention enabled on a program-wide basis and the value of the directive is changed during runtime (by submitting an external command). One way to get around this problem is to disable the retention of non- status information using the retain_nonstatus_information directive in the host and service definitions. Disabling this directive will cause Nagios to take the initial values for these directives from your config files, rather than from the state retention file when it (re)starts. Using this option is not recommended, as it may result in some unexpected (from your point of view) results. Alternatively, you can issue the appropriate external command or change the value of the host or service directive via the web interface, so that it matches what you've changed it to in the config files. This is usually done by using the extended information CGI. This option takes a bit more work, but is preferable to disabling the retention of non-status information (mentioned above). " -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 10 17:00:51 2008 From: marc at ena.com (Marc Powell) Date: Fri, 10 Oct 2008 10:00:51 -0500 Subject: undeterminate data in report In-Reply-To: References: Message-ID: On Oct 10, 2008, at 9:02 AM, Benoit Barriere wrote: > Hi all, > > I have a problem about my archives log file. > > I had to change a description service in all archives logs (deleting > a space character) and also in my nagios conf. I have done that by > sed command. So all my logs are modified correctly if I see my logs > by vi command. But nagios don?t report correctly all datas before my > modification. All datas before the modification aren?t shown in the > report ( see screenshot) Verify that your sed did what you think it did and that you didn't munge the lines such that nagios can't parse them. It would appear that there are no matches in the log files you've specified until Oct 7, 14:53:22. Also, is there a SERVICE ALERT entry in the log files between Oct 3 15:59:45 and Oct 7 14:53:22 or in the 4 previous archive log files? If not, nagios will use your 'First assumed service state' of Unspecified/Indeterminate. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Fri Oct 10 17:22:41 2008 From: hir3npatel at gmail.com (hiren) Date: Fri, 10 Oct 2008 17:22:41 +0200 Subject: cgi restart and manual config change In-Reply-To: References: <1223643519.6155.11.camel@nazgul.af.didata.local> Message-ID: <1223652161.6155.19.camel@nazgul.af.didata.local> On Fri, 2008-10-10 at 09:54 -0500, Marc Powell wrote: > On Oct 10, 2008, at 7:58 AM, hiren wrote: > > > from this my question is, what exactly does HUP do for nagios, would > > it > > ignore changes make to hosts via the cgi's even if the config files > > have > > different settings? > > A HUP tells nagios to re-read it's config files and apply any changes. > I suspect that you have retention enabled though and that does change > how some host/service parameters behave on reload/restart (yours is > one of them). I do have retention switched on, hadn't realized this, and obviously haven't gone through all the documentation. thanks a lot. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From antoine.musso at laposte.fr Fri Oct 10 17:26:12 2008 From: antoine.musso at laposte.fr (Antoine Musso) Date: Fri, 10 Oct 2008 17:26:12 +0200 Subject: service latency troubles Message-ID: <48EF7414.50608@laposte.fr> Hello, For testing purposes, we are monitoring 1750 services on 580 hosts. We would like to check each service every 300 second, unfortunatly, nagios report a service check latency of 150 to 250 seconds ! I noticed nagios launch roughly 200 checks and then idle for roughly a minute. I checked that using a lame script : while true; do ps -u nagios | wc -l; sleep 1; done; Our inter_check_delay_method and inter_leave_factor_method are set to smart : SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 1750 Total scheduled services: 1750 Service inter-check delay method: SMART Average service check interval: 300.00 sec ^^^ This is our aim -----------------------/// Inter-check delay: 0.17 sec Interleave factor method: SMART Average services per host: 3.01 Service interleave factor: 4 Max service check spread: 5 min First scheduled check: Fri Oct 10 17:00:15 2008 Last scheduled check: Fri Oct 10 17:05:15 2008 The maximum concurrent service checks is set to 200 : CHECK PROCESSING INFORMATION ---------------------------- Check result reaper interval: 10 sec Max concurrent service checks: 200 And here is an overview of nagiostat output (we do not use passive checks nor flapping detection). Total Services: 1750 Services Checked: 1750 Services Scheduled: 1750 Services Actively Checked: 1750 Total Service State Change: 0.000 / 55.720 / 0.530 % Active Service Latency: 146.819 / 214.765 / 177.500 sec Active Service Execution Time: 0.083 / 12.984 / 1.074 sec Active Service State Change: 0.000 / 55.720 / 0.530 % Active Services Last 1/5/15/60 min: 92 / 1098 / 1750 / 1750 Services Ok/Warn/Unk/Crit: 1671 / 60 / 7 / 12 Active Service Checks Last 1/5/15 min: 176 / 1159 / 3432 Scheduled: 176 / 1159 / 3432 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 I have not found how to make nagios to launch service checks more often than every minutes. Does anyone have any idea ? :) -- Antoine MUSSO DISIT/PROD/QFO/OUT mailto:antoine.musso at laposte.fr t?l. 02 40 12 73 62 -------------- next part -------------- Post-scriptum La Poste Ce message est confidentiel. Sous r?serve de tout accord conclu par ?crit entre vous et La Poste, son contenu ne repr?sente en aucun cas un engagement de la part de La Poste. Toute publication, utilisation ou diffusion, m?me partielle, doit ?tre autoris?e pr?alablement. Si vous n'?tes pas destinataire de ce message, merci d'en avertir imm?diatement l'exp?diteur. -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 10 18:40:52 2008 From: marc at ena.com (Marc Powell) Date: Fri, 10 Oct 2008 11:40:52 -0500 Subject: undeterminate data in report In-Reply-To: References: Message-ID: <4D72F042-6B34-41D1-AAAE-391AB182F512@ena.com> Please always respond on list so that others, now and in the future, benefit from your experience. On Oct 10, 2008, at 10:27 AM, Benoit Barriere wrote: > I confirm that my sed command has done the job. If I check my > nagios-10-07-2008-00.log file > > All seems correct: > > > [1223244000] CURRENT SERVICE_STATE: > SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD;1;1 cs_kernel.exe Running > (Ram:24.79 MB) ? > [1223244149] SERVICE_ALERT: SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD; > 1;1 cs_kernel.exe Running (Ram:24.81 MB) -- > > I have a lot of service alerts before the Oct 7 : for example the > Oct 4 log file > > [1222985058] SERVICE_ALERT: SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD; > 1;1 cs_kernel.exe Running (Ram:38.82 MB) -- > > Any ideas Did you change permissions on the files such that your web server can't read them any more? How about if you set the start date of your report to be Oct 3? What you've done shouldn't cause a problem. I do the same kind of thing for hostnames several times a month. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Fri Oct 10 19:42:16 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Fri, 10 Oct 2008 13:42:16 -0400 (EDT) Subject: Check_CVSUp / PServer - Nagios Plugins? Message-ID: <20081010133141.D29402@arbitor.digitalfreaks.org> Hey all: One of the big pitfalls of running a public CVS/CVSup/FTP mirror seems to be poor reporting on failed updates. I'd like add some Nagios monitoring to our project. For FTP and CVSUP rsyncs, I can have my cron(8)'d update scripts touch(1) a file if [ $? = 0 ]; then check them with libexec/nagios/check_file_age for mtime/utime. However, I'd also like to monitor the CVSup and PServer services as well at the protocol level. There do not seem to be any plugins in the public domain. Ideas: CVSUp: - php/perl/python bindings/libraries to talk cvsup protocol and maybe query a list of collections, plus the protocol version negotiated? - Is there maybe a way to exec() the cvsup(1)/csup(1) client in "list" mode? Does the protocol have a list operation? CVS Pserver: - Maybe just do a "cvs log src/Makefile" -- verifies that the protocol is active. SSH: - Duh FTP/RSYNC: - Yea Thougths? Discussion? l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan _______________________________________________ freebsd-questions at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From tim at thepushors.com Fri Oct 10 19:39:43 2008 From: tim at thepushors.com (Tim Pushor) Date: Fri, 10 Oct 2008 11:39:43 -0600 Subject: Alarming on coredumps on Linux? In-Reply-To: <48EC642A.1050300@aei.ca> References: <48EB9BD2.4010801@thepushors.com> <48EC642A.1050300@aei.ca> Message-ID: <48EF935F.3050302@thepushors.com> Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 07/10/08 01:26 PM, Tim Pushor wrote: > >> Hello everyone, >> >> While not specifically a nagios issue, I am setting up a nagios >> installation to monitor a server that is used to run an interactive >> application by several users at once (> 50). The problem is, >> occasionally the application dumps core, and the users don't always >> notify us when this happens. We'd like to trigger a passive alarm to >> nagios on our application dumping core. >> >> On other OS's (specifically FreeBSD IIRC) the kernel logs coredumps and >> end up in the system log so watching the logfiles with swatch or >> something similar would do the trick. >> >> On my Linux system (CentOS 5.2) it appears that coredumps don't log. >> Does anyone have any ideas how I can trigger an event on coredump on Linux? >> > > This is not really a nagios issue... AFAIK segfaults are logged in > Linux; have you looked at the kernel messages (dmesg)? > > If it shows in dmesg output but not on your logs, make sure syslog is > configured properly to retrieve those messages. You could also log > kern.* to a specific files to be sure. > > I think log levels can also be tuned with /proc/sys/kernel/printk; see > "man 5 proc". > > Thanks to all that responded. In case any one else finds this thread looking for something similar it seems that userland segfault reporting was just just added to the kernel and my version of Linux (Centos 5.2) doesn't have it. Bummer. Thanks again, Tim ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 10 20:53:44 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 10 Oct 2008 11:53:44 -0700 Subject: Check_cpu In-Reply-To: <48EEEC37.6070100@vanderkooij.org> References: <1223588747.2642.98.camel@amokk.microserv.cl> <20081009213337.GP14923@bakgwai.americas.hpqcorp.net> <48EEEC37.6070100@vanderkooij.org> Message-ID: <20081010185344.GR14923@bakgwai.americas.hpqcorp.net> Hi Hugo! On Fri, 10 Oct 2008, Hugo van der Kooij wrote: > Patrick Morris wrote: > > On Thu, 09 Oct 2008, Michael Fern?ndez M wrote: > > > >> Hi, > >> > >> Someone knows a plugin to check the cpu, but only if it's at 90% for 5 > >> minutes? > >> > >> I do not need to check the cpu peak..... > >> > >> Is for Linux... (Centos 5.2) > > > > The standard check_cpu can do this. Set the max to 90 and the retries > > to 5, one minute apart. It'll check 5 times and alert if the CPU was > > over 90 all five times. > > It will take 5 (not so) random snapshots of the CPU usage at that moment. > > If you want to monitor averages you could gather statistics wit RRD and > read the CPU counter to store those. > > You can then also use RRD to check for the average over the last N minutes. > > Sounds like a fun thing to make. But I get a lot of those > in the queue and no immediate need for this particular fun project. At the risk of belaboring the point, if the goal is to see if CPU remains over 90% for five minutes, and five samples at one-minute intervals all say it was over 90%, how would the results be different if you were sampling the CPU counter and throwing it into RRD? If the samples were more frequent I can see it being more accurate, but that could be done either way. In either case your data's only going to be as good as your samples and, as far as I can tell, there should be no appreciable difference between doing it with check_cpu and doing it by some other method. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.bank at ix.nc.gov Fri Oct 10 21:37:35 2008 From: david.bank at ix.nc.gov (David Bank) Date: Fri, 10 Oct 2008 15:37:35 -0400 (EDT) Subject: Nagios v3.0 Statusmap and IE Message-ID: Hello the list. Happy Nagios user here who has run into a bit of a problem. My boss also likes Nagios, and wants to show it to his boss. However, my boss (and his boss) uses Internet Exploder (v6.0.2900.2180 on XP SP2) and it doesn't seem to be able to render the "Balanced Tree" status map correctly. The map shows up as a thin vertical line. We've only got about 300 hosts in Nagios, and the Statusmap image is only about 116KB (roughly 24,000 pixels wide by 500 pixels tall) in PNG format. The "Circular" versions of the Statusmap seem to work fine, as does the "Depth layers". But both "Balanced Tree" and "Collapsed Tree" fail to display properly. All Statusmaps display fine in Firefox (various versions; on both Winblows and Linux) and also on IE on Linux (v6.0 running under WINE). So this issue is specific to IE on Winblows. I also don't recall having this issue with Nagios v2.x before we migrated to v3, but I'm not sure anyone ever used IE for it when we were on that version. When I originally installed Nagios v3.0, I didn't have the gd2 libraries on the system. I've since added them and re-compiled/re-installed the CGIs. I do not have anything defined for "statusmap_background_image" in cgi.cfg. I've added imagepaks and several other images for use in the various statusmaps and screens - those all work fine (mostly JPEGs). We'd really like to be able to showcase Nagios up the management chain, but we're not going to be able to "sell" it unless we get all the Statusmaps working with IE on Winblows. Sad, but that's the way it is, at least for the time being. Anyone seen this, or have any suggestions? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Oct 10 23:33:38 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 10 Oct 2008 23:33:38 +0200 Subject: Check_cpu In-Reply-To: <20081010185344.GR14923@bakgwai.americas.hpqcorp.net> References: <1223588747.2642.98.camel@amokk.microserv.cl> <20081009213337.GP14923@bakgwai.americas.hpqcorp.net> <48EEEC37.6070100@vanderkooij.org> <20081010185344.GR14923@bakgwai.americas.hpqcorp.net> Message-ID: <48EFCA32.5050900@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Patrick Morris wrote: > Hi Hugo! > > On Fri, 10 Oct 2008, Hugo van der Kooij wrote: > >> Patrick Morris wrote: >>> On Thu, 09 Oct 2008, Michael Fern?ndez M wrote: >>> >>>> Hi, >>>> >>>> Someone knows a plugin to check the cpu, but only if it's at 90% for 5 >>>> minutes? >>>> >>>> I do not need to check the cpu peak..... >>>> >>>> Is for Linux... (Centos 5.2) >>> The standard check_cpu can do this. Set the max to 90 and the retries >>> to 5, one minute apart. It'll check 5 times and alert if the CPU was >>> over 90 all five times. >> It will take 5 (not so) random snapshots of the CPU usage at that moment. >> >> If you want to monitor averages you could gather statistics wit RRD and >> read the CPU counter to store those. >> >> You can then also use RRD to check for the average over the last N minutes. >> >> Sounds like a fun thing to make. But I get a lot of those >> in the queue and no immediate need for this particular fun project. > > At the risk of belaboring the point, if the goal is to see if CPU > remains over 90% for five minutes, and five samples at one-minute > intervals all say it was over 90%, how would the results be different > if you were sampling the CPU counter and throwing it into RRD? At 0:00:00 you CPU is 95% busy, it drops to 9% at 0:00:03, then raises to 93% at 0:00:54, drops to 7% at 0:01:08, ....... So what is you average if you only check at the whole minutes? And what if you double the amount of samples? So the best way is to do this the same way you would do this with network interfaces. Take an interval and see how much time the CPU spend in system, nice and user land. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI78oNBvzDRVjxmYERArz3AJkBlVsgN0kb2JcBcwgSWsZZRpQgAgCgnKbq 5fDqYbM02PqcjyPM11UY2so= =46sx -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly.terry.jones at gmail.com Sat Oct 11 19:15:19 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Sat, 11 Oct 2008 10:15:19 -0700 Subject: Reformatting "service detail" and similar pages Message-ID: <26face530810111015g560a9c96w12c734dc918ae1da@mail.gmail.com> When I click "service detail", it gives me some information on all my services. Can I change what information is displayed and how it's displayed? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Oct 11 20:42:29 2008 From: marc at ena.com (Marc Powell) Date: Sat, 11 Oct 2008 13:42:29 -0500 Subject: Reformatting "service detail" and similar pages In-Reply-To: <26face530810111015g560a9c96w12c734dc918ae1da@mail.gmail.com> References: <26face530810111015g560a9c96w12c734dc918ae1da@mail.gmail.com> Message-ID: <96599257-ED36-4D79-8A2C-18C5C5859529@ena.com> On Oct 11, 2008, at 12:15 PM, Kelly Jones wrote: > When I click "service detail", it gives me some information on all my > services. > > Can I change what information is displayed and how it's displayed? Not without changing the code in status.c and recompiling. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Sat Oct 11 21:18:07 2008 From: perldork at webwizarddesign.com (Max) Date: Sat, 11 Oct 2008 15:18:07 -0400 Subject: Reformatting "service detail" and similar pages In-Reply-To: <26face530810111015g560a9c96w12c734dc918ae1da@mail.gmail.com> References: <26face530810111015g560a9c96w12c734dc918ae1da@mail.gmail.com> Message-ID: On Sat, Oct 11, 2008 at 1:15 PM, Kelly Jones wrote: > Can I change what information is displayed and how it's displayed? if you are comfortable using JSON and doing some custom web development yourself, you can use http://www.yannj.fr/nagios2json and make whatever kind of display you want :). I used this to create a hobbit-like display of host groups from Nagios (including the simple bubble-up logic hobbit uses) for people at my job who wanted to see the flexibility of Nagios. The Nagios2JSON project is young and it is obvious the developer is a busy person and could use additional help, but nonetheless the project is in a very usable and useful state. - Max ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sun Oct 12 01:10:06 2008 From: ae at op5.se (Andreas Ericsson) Date: Sun, 12 Oct 2008 01:10:06 +0200 Subject: service latency troubles In-Reply-To: <48EF7414.50608@laposte.fr> References: <48EF7414.50608@laposte.fr> Message-ID: <48F1324E.70203@op5.se> Antoine Musso wrote: > Hello, > > For testing purposes, we are monitoring 1750 services on 580 hosts. We > would like to check each service every 300 second, unfortunatly, nagios > report a service check latency of 150 to 250 seconds ! > > I noticed nagios launch roughly 200 checks and then idle for roughly a > minute. I checked that using a lame script : > > while true; do ps -u nagios | wc -l; sleep 1; done; > > > Our inter_check_delay_method and inter_leave_factor_method are set to > smart : > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 1750 > Total scheduled services: 1750 > Service inter-check delay method: SMART > Average service check interval: 300.00 sec > ^^^ > This is our aim -----------------------/// > > Inter-check delay: 0.17 sec > Interleave factor method: SMART > Average services per host: 3.01 > Service interleave factor: 4 > Max service check spread: 5 min > First scheduled check: Fri Oct 10 17:00:15 2008 > Last scheduled check: Fri Oct 10 17:05:15 2008 > > > The maximum concurrent service checks is set to 200 : > > CHECK PROCESSING INFORMATION > ---------------------------- > Check result reaper interval: 10 sec > Max concurrent service checks: 200 > > > And here is an overview of nagiostat output (we do not use passive > checks nor flapping detection). > > Total Services: 1750 > Services Checked: 1750 > Services Scheduled: 1750 > Services Actively Checked: 1750 > > Total Service State Change: 0.000 / 55.720 / 0.530 % > Active Service Latency: 146.819 / 214.765 / 177.500 sec > Active Service Execution Time: 0.083 / 12.984 / 1.074 sec > Active Service State Change: 0.000 / 55.720 / 0.530 % > Active Services Last 1/5/15/60 min: 92 / 1098 / 1750 / 1750 > Services Ok/Warn/Unk/Crit: 1671 / 60 / 7 / 12 > > Active Service Checks Last 1/5/15 min: 176 / 1159 / 3432 > Scheduled: 176 / 1159 / 3432 > On-demand: 0 / 0 / 0 > Cached: 0 / 0 / 0 > > > I have not found how to make nagios to launch service checks more often > than every minutes. Does anyone have any idea ? :) > As detailed as your report is, it doesn't mention what OS (with version) you're using, nor does it mention what version of Nagios you're using. Besides that though, what other "extras" are you using? Typical latency- raisers are: * OCHP/OCSP commands * Older versions of NDOUtils * Home-written eventbroker modules * Clumsily written plugins that don't time out in a timely manner and don't complete quickly enough. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From u_d_myzone at yahoo.com Mon Oct 13 08:43:54 2008 From: u_d_myzone at yahoo.com (yudhi putra) Date: Sun, 12 Oct 2008 23:43:54 -0700 (PDT) Subject: nagios web - internal server error Message-ID: <278332.60793.qm@web63001.mail.re1.yahoo.com> i install nagios on fc8 and i get this problem : in my nagios web i found my alert history,notifications,and event log has an 'internal server error' can anybody solve this problem?....thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From u_d_myzone at yahoo.com Mon Oct 13 08:47:53 2008 From: u_d_myzone at yahoo.com (yudhi putra) Date: Sun, 12 Oct 2008 23:47:53 -0700 (PDT) Subject: nagios redundant method......... Message-ID: <652395.69318.qm@web63002.mail.re1.yahoo.com> can anyone help me to give the detail configuration on how setting nagios in the redundant method.......i install my nagios on fc8.......thanks a lot........ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Mon Oct 13 08:59:12 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Mon, 13 Oct 2008 08:59:12 +0200 Subject: nagios web - internal server error In-Reply-To: <278332.60793.qm@web63001.mail.re1.yahoo.com> References: <278332.60793.qm@web63001.mail.re1.yahoo.com> Message-ID: <48F2F1C0.6050705@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 yudhi putra schrieb: > i install nagios on fc8 and i get this problem : in my nagios web i > found my alert history,notifications,and event log has an > 'internal server error' can anybody solve this problem?....thanks > > > You don't realy think that this might be enough informations to help you, don't you? Nagios Version? Apache Version? RPM or Source compiled? Logs from apache error / access log? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFI8vHAlI0PwfxLQjkRAtsnAJsEVJ/uxA3+hYxZs/KusY+DFn7yRQCfZpKV 7TTyNuiZucCwpbzWvmy9Z/8= =dzay -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Oct 13 10:06:47 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 13 Oct 2008 08:06:47 +0000 Subject: nagios web - internal server error In-Reply-To: <48F2F1C0.6050705@process-zero.de> References: <278332.60793.qm@web63001.mail.re1.yahoo.com> <48F2F1C0.6050705@process-zero.de> Message-ID: <4b008f7d0810130106g67ea3173na866e53c58915c4c@mail.gmail.com> Give us more info i.e. nagios version output from apache log compilation logs stuff like that. This will give us a clue about ur environment and how better to assist you Lex On Mon, Oct 13, 2008 at 6:59 AM, Hendrik B?cker wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > yudhi putra schrieb: > > i install nagios on fc8 and i get this problem : in my nagios web i > > found my alert history,notifications,and event log has an > > 'internal server error' can anybody solve this problem?....thanks > > > > > > > You don't realy think that this might be enough informations to help > you, don't you? > > Nagios Version? > Apache Version? > RPM or Source compiled? > Logs from apache error / access log? > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > > iD8DBQFI8vHAlI0PwfxLQjkRAtsnAJsEVJ/uxA3+hYxZs/KusY+DFn7yRQCfZpKV > 7TTyNuiZucCwpbzWvmy9Z/8= > =dzay > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Oct 13 10:42:38 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 13 Oct 2008 10:42:38 +0200 Subject: nagios redundant method......... In-Reply-To: <652395.69318.qm@web63002.mail.re1.yahoo.com> References: <652395.69318.qm@web63002.mail.re1.yahoo.com> Message-ID: <48F309FE.6000802@op5.se> yudhi putra wrote: > can anyone help me to give the detail configuration on how setting nagios in the redundant method.......i install my nagios on fc8.......thanks a lot........ > > RTFM or pay someone to do it for you. That's about as detailed as it gets ;-) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From antoine.musso at laposte.fr Mon Oct 13 15:29:52 2008 From: antoine.musso at laposte.fr (Antoine Musso) Date: Mon, 13 Oct 2008 15:29:52 +0200 Subject: service latency troubles In-Reply-To: <48F1324E.70203@op5.se> References: <48EF7414.50608@laposte.fr> <48F1324E.70203@op5.se> Message-ID: <48F34D50.3050909@laposte.fr> Andreas Ericsson wrote : > As detailed as your report is, it doesn't mention what OS (with version) > you're using, nor does it mention what version of Nagios you're using. > > Besides that though, what other "extras" are you using? Typical latency- > raisers are: > * OCHP/OCSP commands > * Older versions of NDOUtils > * Home-written eventbroker modules > * Clumsily written plugins that don't time out in a timely manner and > don't complete quickly enough. Hello Andreas, Some details about our versions: - Linux Redhat Enterprise 4 (x86_64, kernel 2.6.9). - Nagios : 3.0.3 - NDOutils : 1.4b7 The OCHP/OCSP commands is just doing an echo to a file. -- Antoine MUSSO DISIT/PROD/QFO/OUT mailto:antoine.musso at laposte.fr t?l. 02 40 12 73 62 -------------- next part -------------- Post-scriptum La Poste Ce message est confidentiel. Sous r?serve de tout accord conclu par ?crit entre vous et La Poste, son contenu ne repr?sente en aucun cas un engagement de la part de La Poste. Toute publication, utilisation ou diffusion, m?me partielle, doit ?tre autoris?e pr?alablement. Si vous n'?tes pas destinataire de ce message, merci d'en avertir imm?diatement l'exp?diteur. -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bbarriere at sle-fr.com Mon Oct 13 16:46:03 2008 From: bbarriere at sle-fr.com (Benoit Barriere) Date: Mon, 13 Oct 2008 16:46:03 +0200 Subject: =?iso-8859-1?q?RE=A0=3A__undeterminate_data_in_rep?= =?iso-8859-1?q?ort?= References: <53C1A9A28F35584788A8BA244214657F4F0C87@exchange01.sle2000.local> Message-ID: ________________________________ De: Benoit Barriere Date: ven. 10/10/2008 17:27 ?: Marc Powell Objet : RE: [Nagios-users] undeterminate data in report I confirm that my sed command has done the job. If I check my nagios-10-07-2008-00.log file All seems correct: [1223244000] CURRENT SERVICE_STATE: SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD;1;1 cs_kernel.exe Running (Ram:24.79 MB) - [1223244149] SERVICE_ALERT: SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD;1;1 cs_kernel.exe Running (Ram:24.81 MB) -- I have a lot of service alerts before the Oct 7 : for example the Oct 4 log file [1222985058] SERVICE_ALERT: SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD;1;1 cs_kernel.exe Running (Ram:38.82 MB) -- Any ideas -----Message d'origine----- De : Marc Powell [mailto:marc at ena.com] Envoy? : vendredi 10 octobre 2008 17:01 ? : Nagios Users Objet : Re: [Nagios-users] undeterminate data in report On Oct 10, 2008, at 9:02 AM, Benoit Barriere wrote: > Hi all, > > I have a problem about my archives log file. > > I had to change a description service in all archives logs (deleting > a space character) and also in my nagios conf. I have done that by > sed command. So all my logs are modified correctly if I see my logs > by vi command. But nagios don't report correctly all datas before my > modification. All datas before the modification aren't shown in the > report ( see screenshot) Verify that your sed did what you think it did and that you didn't munge the lines such that nagios can't parse them. It would appear that there are no matches in the log files you've specified until Oct 7, 14:53:22. Also, is there a SERVICE ALERT entry in the log files between Oct 3 15:59:45 and Oct 7 14:53:22 or in the 4 previous archive log files? If not, nagios will use your 'First assumed service state' of Unspecified/Indeterminate. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 13 17:23:15 2008 From: marc at ena.com (Marc Powell) Date: Mon, 13 Oct 2008 10:23:15 -0500 Subject: Fwd: undeterminate data in report References: <4D72F042-6B34-41D1-AAAE-391AB182F512@ena.com> Message-ID: This is fun. Let's always re-send our previous posts! =) Begin forwarded message: > From: Marc Powell > Date: October 10, 2008 11:40:52 AM CDT > To: Nagios Users > Subject: Re: [Nagios-users] undeterminate data in report > > Please always respond on list so that others, now and in the future, > benefit from your experience. > > On Oct 10, 2008, at 10:27 AM, Benoit Barriere wrote: > >> I confirm that my sed command has done the job. If I check my >> nagios-10-07-2008-00.log file >> >> All seems correct: >> >> >> [1223244000] CURRENT SERVICE_STATE: >> SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD;1;1 cs_kernel.exe Running >> (Ram:24.79 MB) ? >> [1223244149] SERVICE_ALERT: SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD; >> 1;1 cs_kernel.exe Running (Ram:24.81 MB) -- >> >> I have a lot of service alerts before the Oct 7 : for example the >> Oct 4 log file >> >> [1222985058] SERVICE_ALERT: SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD; >> 1;1 cs_kernel.exe Running (Ram:38.82 MB) -- >> >> Any ideas > > Did you change permissions on the files such that your web server > can't read them any more? How about if you set the start date of your > report to be Oct 3? > > What you've done shouldn't cause a problem. I do the same kind of > thing for hostnames several times a month. > > -- > Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Oct 13 17:50:55 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 13 Oct 2008 17:50:55 +0200 Subject: service latency troubles In-Reply-To: <48F34D50.3050909@laposte.fr> References: <48EF7414.50608@laposte.fr> <48F1324E.70203@op5.se> <48F34D50.3050909@laposte.fr> Message-ID: <48F36E5F.1080507@op5.se> Antoine Musso wrote: > Andreas Ericsson wrote : > >> As detailed as your report is, it doesn't mention what OS (with version) >> you're using, nor does it mention what version of Nagios you're using. >> >> Besides that though, what other "extras" are you using? Typical latency- >> raisers are: >> * OCHP/OCSP commands >> * Older versions of NDOUtils >> * Home-written eventbroker modules >> * Clumsily written plugins that don't time out in a timely manner and >> don't complete quickly enough. > > Hello Andreas, > > Some details about our versions: > > - Linux Redhat Enterprise 4 (x86_64, kernel 2.6.9). > - Nagios : 3.0.3 > - NDOutils : 1.4b7 > > The OCHP/OCSP commands is just doing an echo to a file. > Turn off OCHP and OCSP and then reload Nagios. If that doesn't help, unload NDOUtils and then restart Nagios. If that helps, re-enable the OCSP/OCHP commands again. If it's working then, it was NDOUtils fault. If not, it's the combined load of NDOUtils and the OC?P commands. OC?P commands add a rather extraordinary amount of load to the system irrespective of how simple they are. Usually, you'd be better off replacing them with an extremely simple NEB-module. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefan+nagiosusers at cae.wisc.edu Mon Oct 13 19:04:55 2008 From: stefan+nagiosusers at cae.wisc.edu (Stefan Strandberg) Date: Mon, 13 Oct 2008 12:04:55 -0500 Subject: Problem with external commands and custom variables In-Reply-To: <48ECF35B.4050501@op5.se> References: <20081008162957.GA2205@masimaro.cae.wisc.edu> <48ECF35B.4050501@op5.se> Message-ID: <20081013170455.GE7571@masimaro.cae.wisc.edu> So, nobody has any experience with custom variables and changing them via external command? It would save me a database if I can get this working. Thanks, -stefan On Wed, Oct 08, 2008 at 07:52:27PM +0200, Andreas Ericsson wrote: > Stefan Strandberg wrote: > >Hi, > > > >I'm attempting to implement some custom variables for hosts. Supposedly > >the external command to change the custom variable for a host is > >CHANGE_CUSTOM_HOST_VAR with a certain syntax. Unfortunately for me, it > >doesn't seem to be working. > > > >Nagios receives the command and logs it, but doesn't seem to actually > >process it. > > > >The command given is: > > > >-- start script -- > > > >#!/bin/sh > > > >now=`date +%s` > >commandfile='/var/lib/nagios3/rw/nagios.cmd' > > > >/usr/bin/printf "[%lu] > >CHANGE_CUSTOM_HOST_VAR;dent;_REPAIRSTATUS;repair\n" $now > $commandfile > > > >-- end script -- > > > >and nagios logs it with > >[1223412361] EXTERNAL COMMAND: > >CHANGE_CUSTOM_HOST_VAR;dent;_REPAIRSTATUS;repair > > > >in nagios.log, so I think it should be working. > > Nagios always logs external commands, even if they're properly formatted > or not. The logging happens before the command is processed, not after, > so there's no telling if Nagios does the right thing with it or not. > > > However, the variable > >never changes in the status.dat file. > > > >Am I missing a step or doing something wrong? The documentation doesn't > >have any other examples, and nothing turns up on google. > > > > I can imagine. This is, afaik, the first time the question has been > asked on the nagios-users list. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -- Stefan Strandberg UNIX group Computer Aided Engineering - UW Madison stefan at cae.wisc.edu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Mon Oct 13 19:38:34 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Mon, 13 Oct 2008 13:38:34 -0400 (EDT) Subject: Check_website_fingerprint ? Message-ID: <20081013133554.K7654@arbitor.digitalfreaks.org> All: Anyone have a nice plugin to valid a website's contents against a cryptographic fingerprint (e.g., defamation/content manipulation check)? nagiosexchange.org says no. I was thinking something simple with PHP+SimpleXML+mhash. Take the expected fingerprint as $argv[1] and the URL as $argv[0]. The tricky part is exempting dynamically generated content from the checksum. ~BAS ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Oct 14 06:14:24 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 14 Oct 2008 06:14:24 +0200 Subject: Problem with external commands and custom variables In-Reply-To: <20081013170455.GE7571@masimaro.cae.wisc.edu> References: <20081008162957.GA2205@masimaro.cae.wisc.edu> <48ECF35B.4050501@op5.se> <20081013170455.GE7571@masimaro.cae.wisc.edu> Message-ID: <48F41CA0.6030603@op5.se> Stefan Strandberg wrote: > So, nobody has any experience with custom variables and changing them > via external command? It would save me a database if I can get this > working. > Verify that the nagios code looks like it's doing what the docs says it's doing. Assuming that checks out, file a bug-report here and I'll take a look at it. Thanks -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Tue Oct 14 10:10:49 2008 From: jon at netdork.net (Jon Angliss) Date: Tue, 14 Oct 2008 03:10:49 -0500 Subject: Check_website_fingerprint ? References: <20081013133554.K7654@arbitor.digitalfreaks.org> Message-ID: On Mon, 13 Oct 2008 13:38:34 -0400 (EDT), "Brian A. Seklecki" wrote: > >All: > >Anyone have a nice plugin to valid a website's contents against a >cryptographic fingerprint (e.g., defamation/content manipulation check)? tripwire, or some such app? I think here is a nagios plugin for tripwire. >nagiosexchange.org says no. > >I was thinking something simple with PHP+SimpleXML+mhash. Take the >expected fingerprint as $argv[1] and the URL as $argv[0]. > >The tricky part is exempting dynamically generated content from the >checksum. If you're working with dynamic content, I'd give up trying to test it through the web server, and test the files themselves. A slight alternative is something like this: http://members.aol.com/EJNBell/pgp-www.html You can pgp sign your html portions of the code, and blank out the dynamic stuff... That becomes quite complex sometimes. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From renato.casagrande.jr at gmail.com Tue Oct 14 14:02:39 2008 From: renato.casagrande.jr at gmail.com (=?ISO-8859-1?Q?Renato_Casagrande_J=FAnior?=) Date: Tue, 14 Oct 2008 10:02:39 -0200 Subject: Nagios on FreeBSD Message-ID: <5f73c2b50810140502o3fee294bt129fd415dee85f65@mail.gmail.com> Hi everybody!! I've installed Nagios on FreeBSD. Ok, its works! However, I can't have external access to Nagios. Here in my work, we have 80 computers of laboratory using Ubuntu and one server using FreeBSD. My trouble is access Nagios from Ubuntu to FreeBSD (where Nagios was installed), the error is like "You don't have permission to access Nagios!". How I access Nagios in my case? Graciously, -- Renato Casagrande J?nior Graduando em Engenharia de Computa??o - Furg Bolsista do Laborat?rio de Software da Engenharia de Computa??o - Furg Furg - Universidade Federal do Rio Grande - -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benr at tlcdatasecurity.com.au Tue Oct 14 13:10:34 2008 From: benr at tlcdatasecurity.com.au (Ben Robson) Date: Tue, 14 Oct 2008 22:10:34 +1100 Subject: Monitoring Request Tracker Queus Message-ID: <3F63AA5E6554DB4D92D1DBB1D4A80462013B42DD@kookaburra.TLCIT.biz> Does anyone have experience configuring Nagios to monitor queues in RT (Request Tracker) for new tickets, or tickets that match other RT search criteria? If so, how did you do it? Did you use a Nagios plugin or did you right your own, and would you make it available to others? Thanks for the input. BenR -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org Tue Oct 14 14:21:52 2008 From: trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org (trevor obba) Date: Tue, 14 Oct 2008 12:21:52 +0000 (GMT) Subject: check_dxml_drvstate report incorrectly remotely Message-ID: <177131.18185.qm@web24208.mail.ird.yahoo.com> I running check_dxml_drvstate version 1.6 on a Sles10 (x86_64) check_dxml_drvstate has 755 permission When i execute check_dxml_drvstate plugin locally like ./check_dxml_drvstate-u nagiosdriver.services.unl -p password -d mail.urs-drivers.services.unl I get these responses Driver mail.urs-drivers.services.unl is RUNNING. as expected. However when i execute check_dxml_drvstate plugin through nagios nrpe.cfg using check_nrpe I get the following responses Driver idworks.urs-drivers.services.unl is STARTING. Even when the driver has been stopped I still get the response Driver idworks.urs-drivers.services.unl is STARTING. this only report incorrectly when I run remotely via nrpe.cfg using check_nrpe I am running version 2.5.1 of check_nrpe. How can i fix the problem? can you help? please ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Tue Oct 14 14:28:33 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 14 Oct 2008 13:28:33 +0100 Subject: Nagios on FreeBSD In-Reply-To: <5f73c2b50810140502o3fee294bt129fd415dee85f65@mail.gmail.com> References: <5f73c2b50810140502o3fee294bt129fd415dee85f65@mail.gmail.com> Message-ID: <200810141328.33411.assaf.flatto@ssp.uk.com> The problem is not with nagios , but with your setup of the web server. http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html read the steps 5 to the end - and prefrom the similar actions on your FreeBSD server. On Tuesday 14 October 2008 13:02:39 Renato Casagrande J?nior wrote: > Hi everybody!! > I've installed Nagios on FreeBSD. Ok, its works! However, I can't have > external access to Nagios. Here in my work, we have 80 computers of > laboratory using Ubuntu and one server using FreeBSD. My trouble is access > Nagios from Ubuntu to FreeBSD (where Nagios was installed), the error is > like "You don't have permission to access Nagios!". How I access Nagios in > my case? > > Graciously, -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goetz.reinicke at filmakademie.de Tue Oct 14 16:23:38 2008 From: goetz.reinicke at filmakademie.de (=?ISO-8859-15?Q?G=F6tz_Reinicke?=) Date: Tue, 14 Oct 2008 16:23:38 +0200 Subject: How to debug a check_http problem? Message-ID: <48F4AB6A.7070707@filmakademie.de> Hi, recently I noticed, that checking some virtual http services fails. If I launch the check_http command by hand, I do get a "HTTP OK" message. If the check is launched by nagios, it fails with an "HTTP WARNING: HTTP/1.1 404 Not Found" message. Checking some non-virtual http-servers works fine. What could be the problem? Thanks for any hint and best regards G?tz Reinicke -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrats: Prof. Dr. Claudia H?bner Staatsr?tin f?r Demographischen Wandel und f?r Senioren im Staatsministerium Gesch?ftsf?hrer: Prof. Thomas Schadt ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Tue Oct 14 17:00:00 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 14 Oct 2008 16:00:00 +0100 Subject: How to debug a check_http problem? In-Reply-To: <48F4AB6A.7070707@filmakademie.de> References: <48F4AB6A.7070707@filmakademie.de> Message-ID: <200810141600.00889.assaf.flatto@ssp.uk.com> Can you show us the command you are using and the way it is set in your commands.cfg file ? there shouldn't be a problem querying a virtual server , as your request goes to the IP. On Tuesday 14 October 2008 15:23:38 G?tz Reinicke wrote: > Hi, > > recently I noticed, that checking some virtual http services fails. > > If I launch the check_http command by hand, I do get a "HTTP OK" message. > > If the check is launched by nagios, it fails with an "HTTP WARNING: > HTTP/1.1 404 Not Found" message. > > Checking some non-virtual http-servers works fine. > > What could be the problem? > > Thanks for any hint and best regards > > G?tz Reinicke -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Tue Oct 14 17:01:48 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 14 Oct 2008 16:01:48 +0100 Subject: How to debug a check_http problem? In-Reply-To: <48F4AB6A.7070707@filmakademie.de> References: <48F4AB6A.7070707@filmakademie.de> Message-ID: <200810141601.48576.assaf.flatto@ssp.uk.com> In general to debug a check command , go to the libexec ( or the location of the plugins on your nagios machine and execute the check script you want to use with `--help` ./check_http --help On Tuesday 14 October 2008 15:23:38 G?tz Reinicke wrote: > Hi, > > recently I noticed, that checking some virtual http services fails. > > If I launch the check_http command by hand, I do get a "HTTP OK" message. > > If the check is launched by nagios, it fails with an "HTTP WARNING: > HTTP/1.1 404 Not Found" message. > > Checking some non-virtual http-servers works fine. > > What could be the problem? > > Thanks for any hint and best regards > > G?tz Reinicke -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 14 17:54:44 2008 From: marc at ena.com (Marc Powell) Date: Tue, 14 Oct 2008 10:54:44 -0500 Subject: How to debug a check_http problem? In-Reply-To: <48F4AB6A.7070707@filmakademie.de> References: <48F4AB6A.7070707@filmakademie.de> Message-ID: On Oct 14, 2008, at 9:23 AM, G?tz Reinicke wrote: > Hi, > > recently I noticed, that checking some virtual http services fails. > > If I launch the check_http command by hand, I do get a "HTTP OK" > message. > > If the check is launched by nagios, it fails with an "HTTP WARNING: > HTTP/1.1 404 Not Found" message. It sounds like your command{} definition is not the same as what you're using when you test by hand. Without example service{} and command{} definitions we can't really be more specific than that. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Tue Oct 14 17:54:30 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Tue, 14 Oct 2008 11:54:30 -0400 Subject: How to debug a check_http problem? In-Reply-To: <48F4AB6A.7070707@filmakademie.de> References: <48F4AB6A.7070707@filmakademie.de> Message-ID: <48F4C0B6.7070200@collaborativefusion.com> G?tz Reinicke wrote: > Hi, > > recently I noticed, that checking some virtual http services fails. > > If I launch the check_http command by hand, I do get a "HTTP OK" message. > > If the check is launched by nagios, it fails with an "HTTP WARNING: > HTTP/1.1 404 Not Found" message. > In situations like this, the problem is usually either permissions or a misconfiguration in templates/check_commands so the first step is always to enable debugging. This will allow you to get the actual macro-expanded command that Nagios is trying to execute: [1223999444.193398] [2048.1] [pid=44166] **** BEGIN MACRO PROCESSING *********** [1223999444.193410] [2048.1] [pid=44166] Processing: '$USER1$/check_nrpe2 -H $HOSTADDRESS$ -c check_nagios_status -a "$ARG1$"' [1223999444.193424] [2048.2] [pid=44166] Processing part: '' [1223999444.193437] [2048.2] [pid=44166] Not currently in macro. Running output (0): '' [1223999444.193450] [2048.2] [pid=44166] Processing part: 'USER1' [1223999444.193473] [2048.2] [pid=44166] Processed 'USER1', Clean Options: 0, Free: 0 [1223999444.193486] [2048.2] [pid=44166] Processed 'USER1', Clean Options: 0, Free: 0 [1223999444.193504] [2048.2] [pid=44166] Cleaning options: global=0, local=0, effective=0 [1223999444.193519] [2048.2] [pid=44166] Uncleaned macro. Running output (25): '/usr/local/libexec/nagios' [1223999444.193532] [2048.2] [pid=44166] Just finished macro. Running output (25): '/usr/local/libexec/nagios' [1223999444.193545] [2048.2] [pid=44166] Processing part: '/check_nrpe2 -H ' [1223999444.193559] [2048.2] [pid=44166] Not currently in macro. Running output (41): '/usr/local/libexec/nagios/check_nrpe2 -H ' [1223999444.193571] [2048.2] [pid=44166] Processing part: 'HOSTADDRESS' [1223999444.193585] [2048.2] [pid=44166] macro_x[2] (HOSTADDRESS) match. [1223999444.193601] [2048.2] [pid=44166] Processed 'HOSTADDRESS', Clean Options: 0, Free: 1 [1223999444.193614] [2048.2] [pid=44166] Processed 'HOSTADDRESS', Clean Options: 0, Free: 1 [1223999444.193627] [2048.2] [pid=44166] Cleaning options: global=0, local=0, effective=0 [1223999444.193642] [2048.2] [pid=44166] Uncleaned macro. Running output (97): '/usr/local/libexec/nagios/check_nrpe2 -H foo.domain.com' [1223999444.193655] [2048.2] [pid=44166] Just finished macro. Running output (97): '/usr/local/libexec/nagios/check_nrpe2 -H foo.domain.com' [1223999444.193668] [2048.2] [pid=44166] Processing part: ' -c check_nagios_status -a "' [1223999444.193681] [2048.2] [pid=44166] Not currently in macro. Running output (125): '/usr/local/libexec/nagios/check_nrpe2 -H foo.domain.com -c check_nagios_status -a "' [1223999444.193778] [2048.2] [pid=44166] Processing part: 'ARG1' [1223999444.193795] [2048.2] [pid=44166] Processed 'ARG1', Clean Options: 0, Free: 0 [1223999444.193808] [2048.2] [pid=44166] Processed 'ARG1', Clean Options: 0, Free: 0 [1223999444.193821] [2048.2] [pid=44166] Cleaning options: global=0, local=0, effective=0 [1223999444.193834] [2048.2] [pid=44166] Uncleaned macro. Running output (126): '/usr/local/libexec/nagios/check_nrpe2 -H foo.domain.com -c check_nagios_status -a "2' [1223999444.193848] [2048.2] [pid=44166] Just finished macro. Running output (126): '/usr/local/libexec/nagios/check_nrpe2 -H foo.domain.com -c check_nagios_status -a "2' [1223999444.193861] [2048.2] [pid=44166] Processing part: '"' [1223999444.193874] [2048.2] [pid=44166] Not currently in macro. Running output (127): '/usr/local/libexec/nagios/check_nrpe2 -H foo.domain.com -c check_nagios_status -a "2"' [1223999444.193887] [2048.1] [pid=44166] Done. Final output: '/usr/local/libexec/nagios/check_nrpe2 -H foo.domain.com -c check_nagios_status -a "2"' [1223999444.193899] [2048.1] [pid=44166] **** END MACRO PROCESSING ************* The second to last line (Final output:) contains the exact command that Nagios executed. Running this from the command line (as the Nagios user!) will go a long way toward helping you figure out the problem. -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goetz.reinicke at filmakademie.de Tue Oct 14 17:59:26 2008 From: goetz.reinicke at filmakademie.de (=?ISO-8859-1?Q?G=F6tz_Reinicke?=) Date: Tue, 14 Oct 2008 17:59:26 +0200 Subject: How to debug a check_http problem? In-Reply-To: <200810141600.00889.assaf.flatto@ssp.uk.com> References: <48F4AB6A.7070707@filmakademie.de> <200810141600.00889.assaf.flatto@ssp.uk.com> Message-ID: <48F4C1DE.1060302@filmakademie.de> Hi, pwd /usr/local/nagios/libexec ./check_http -H www.filmakademie.de HTTP OK HTTP/1.1 200 OK - 24726 bytes in 1,560 seconds |time=1,560469s;;;0,000000 size=24726B;;;0 # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } O.K. the problem is, that the command definition uses the IP Address ... changing the "-I" option to "-H" solves my problem. AFAIK I haven't ever touched this command definition.... Thanks so far and best regards G?tz Reinicke Assaf Flatto schrieb: > Can you show us the command you are using and the way it is set in your commands.cfg file ? > > there shouldn't be a problem querying a virtual server , as your request goes to the IP. > > > > On Tuesday 14 October 2008 15:23:38 G?tz Reinicke wrote: >> Hi, >> >> recently I noticed, that checking some virtual http services fails. >> >> If I launch the check_http command by hand, I do get a "HTTP OK" message. >> >> If the check is launched by nagios, it fails with an "HTTP WARNING: >> HTTP/1.1 404 Not Found" message. >> >> Checking some non-virtual http-servers works fine. >> >> What could be the problem? >> >> Thanks for any hint and best regards >> >> G?tz Reinicke > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fraser.scott at gmail.com Tue Oct 14 18:18:15 2008 From: fraser.scott at gmail.com (Fraser Scott) Date: Tue, 14 Oct 2008 17:18:15 +0100 Subject: DOWNTIMESTART sent on reload Message-ID: <2d26e54d0810140918u33b70e89o62f2efb32e02e848@mail.gmail.com> Nagios 3.0.3 Currently have an annoyance where a DOWNTIMESTART is sent for all hosts in downtime when Nagios is reloaded. Is the correct behavior? It seems slightly unncesssary to receive such an email every time a config change is made and Nagios is reloaded. Cheers, Fraser ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Oct 14 18:40:16 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 14 Oct 2008 12:40:16 -0400 Subject: [Nagiosplug-help] check_dxml_drvstate report incorrectly remotely In-Reply-To: <177131.18185.qm@web24208.mail.ird.yahoo.com> References: <177131.18185.qm@web24208.mail.ird.yahoo.com> Message-ID: <48F4CB70.6060005@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/10/08 08:21 AM, trevor obba wrote: First of all please do not cross-post. This is a user problem for a 3rd party plugin so there's no reason sending it to the devel mailing list, > I running check_dxml_drvstate version 1.6 on a Sles10 (x86_64) > check_dxml_drvstate has 755 permission > > When i execute check_dxml_drvstate plugin locally like > ./check_dxml_drvstate-u nagiosdriver.services.unl -p password -d mail.urs-drivers.services.unl > > > I get these responses > Driver mail.urs-drivers.services.unl is RUNNING. > > > as expected. > > However when i execute check_dxml_drvstate plugin through nagios nrpe.cfg using check_nrpe > > > I get the following responses > > Driver idworks.urs-drivers.services.unl is STARTING. > > Even when the driver has been stopped I still get the response > Driver idworks.urs-drivers.services.unl is STARTING. this only report incorrectly > when I run remotely via nrpe.cfg using check_nrpe > > I am running version 2.5.1 of check_nrpe. > How can i fix the problem? can you help? please Most likely permissions problems. Try running locally as the nagios user. You can use Sudo to make NRPE run the plugin as root. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI9Mtw6dZ+Kt5BchYRAu1hAJ0bBP1YYHiN3ITRqVdu4brkSi2tBwCgzpvq NRrYdVoWDmTNcu2/Yi6GkzI= =iDlI -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Oct 14 18:51:09 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 14 Oct 2008 12:51:09 -0400 Subject: DOWNTIMESTART sent on reload In-Reply-To: <2d26e54d0810140918u33b70e89o62f2efb32e02e848@mail.gmail.com> References: <2d26e54d0810140918u33b70e89o62f2efb32e02e848@mail.gmail.com> Message-ID: <48F4CDFD.1030003@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/10/08 12:18 PM, Fraser Scott wrote: > Nagios 3.0.3 > > Currently have an annoyance where a DOWNTIMESTART is sent for all > hosts in downtime when Nagios is reloaded. Is the correct behavior? It > seems slightly unncesssary to receive such an email every time a > config change is made and Nagios is reloaded. A quick workaround would be starting Nagios with notifications disabled and enabling them quickly after starting Nagios. I'm not sure how hard it is to fix this behaviour - I'll see what I can do if I find some time... - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI9M396dZ+Kt5BchYRAkVeAKDb4Am5VN83C4iYjQn9ng1s9VwzFgCdFOUd 4y47rz4O6SHpCiweDAwiHiw= =/ejl -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Tue Oct 14 19:29:58 2008 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Tue, 14 Oct 2008 13:29:58 -0400 Subject: service dependencies on a single host? Message-ID: <20081014172958.GA2085@bewilderbeast.blackhelicopters.org> Hi, I'm currently monitoring many services on certain hosts via SNMP, and making extensive use of host groups to ease configuration for my several hundred hosts. On occasion, the SNMP service on a host fails. This triggers dozens of alarms. I would like to have each service checked via SNMP depend on the base SNMP service, so that when SNMP fails I only get one alarm. I investigated service dependencies, but they don't seem amenable to hostgroup-friendly configuration. If I do something like: define servicedependency { hostgroup_name NetSnmpServers service_description Snmp dependent_host_name NetSnmpServers ... } that obviously isn't going to work. Surely other people have encountered this before? Any suggestions? Thanks, ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ "My pessimism extends to the point of even suspecting the sincerity of the pessimists." -- Jean Rostand, French biologist and philosopher ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Oct 14 20:11:45 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 14 Oct 2008 14:11:45 -0400 Subject: service dependencies on a single host? In-Reply-To: <20081014172958.GA2085@bewilderbeast.blackhelicopters.org> References: <20081014172958.GA2085@bewilderbeast.blackhelicopters.org> Message-ID: <48F4E0E1.4020702@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/10/08 01:29 PM, Michael W. Lucas wrote: > Hi, > > I'm currently monitoring many services on certain hosts via SNMP, and > making extensive use of host groups to ease configuration for my > several hundred hosts. > > On occasion, the SNMP service on a host fails. This triggers dozens > of alarms. I would like to have each service checked via SNMP depend > on the base SNMP service, so that when SNMP fails I only get one > alarm. I investigated service dependencies, but they don't seem > amenable to hostgroup-friendly configuration. > > If I do something like: > > define servicedependency { > hostgroup_name NetSnmpServers > service_description Snmp > dependent_host_name NetSnmpServers > ... > } > > that obviously isn't going to work. > > Surely other people have encountered this before? Any suggestions? same-host dependencies (or something similar) implemented in Nagios v3.0. Just omit the dependent_host*_name and dependencies will only occur within the same hosts. You can therefore apply it to hostsgroups without having deps between hosts. I have a patch for 2.x around if you need. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI9ODh6dZ+Kt5BchYRAkcwAKDDmM796MpVMvwUEqMt2YjVsqH6UwCfTOQV 01Ng9QV42iJWfjG4VedN+rk= =jDzR -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Tue Oct 14 21:02:14 2008 From: challenger_joseph at yahoo.com.mx (=?iso-8859-1?Q?Christian_I=F1iguez?=) Date: Tue, 14 Oct 2008 12:02:14 -0700 (PDT) Subject: Nagios and n2rrd templates Message-ID: <622645.64976.qm@web36507.mail.mud.yahoo.com> Hi !! I hope you can help me. I'm trying to graphic the outcome of plugin check_mem.pl, but I'm not able to do it, because the mem.env and mem.rrd are not being created and I don't know why. I have other graphics like: check_load and check_icmp with no problem. Also, could you provide the df.t and mem.t, please, probably that's the problem Thanks in advance ?Todo sobre Amor y Sexo! La gu?a completa para tu vida en Mujer de Hoy. http://mx.mujer.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Tue Oct 14 23:44:43 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Tue, 14 Oct 2008 22:44:43 +0100 Subject: service dependencies on a single host? In-Reply-To: <48F4E0E1.4020702@aei.ca> References: <20081014172958.GA2085@bewilderbeast.blackhelicopters.org> <48F4E0E1.4020702@aei.ca> Message-ID: <48F512CB.2070404@networkmail.eu> Hi Thomas, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 14/10/08 01:29 PM, Michael W. Lucas wrote: > >> Hi, >> >> I'm currently monitoring many services on certain hosts via SNMP, and >> making extensive use of host groups to ease configuration for my >> several hundred hosts. >> >> On occasion, the SNMP service on a host fails. This triggers dozens >> of alarms. I would like to have each service checked via SNMP depend >> on the base SNMP service, so that when SNMP fails I only get one >> alarm. I investigated service dependencies, but they don't seem >> amenable to hostgroup-friendly configuration. >> >> If I do something like: >> >> define servicedependency { >> hostgroup_name NetSnmpServers >> service_description Snmp >> dependent_host_name NetSnmpServers >> ... >> } >> >> that obviously isn't going to work. >> >> Surely other people have encountered this before? Any suggestions? >> > > same-host dependencies (or something similar) implemented in Nagios > v3.0. Just omit the dependent_host*_name and dependencies will only > occur within the same hosts. You can therefore apply it to hostsgroups > without having deps between hosts. > > I have a patch for 2.x around if you need. > Fantastic! I actually wrote a tool to do this back in Nagios 2.something, but I've lost the original code for it, so I'm glad it's been sorted in 3.0. We need to do the same thing for NRPE - if the NRPE daemon fails, we get a bomb of alerts - glad to hear this is no more. Andy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Wed Oct 15 00:09:40 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Tue, 14 Oct 2008 15:09:40 -0700 Subject: max_check_attempts error In-Reply-To: <1224021972.13278.6.camel@jeremiah-laptop> References: <1224021972.13278.6.camel@jeremiah-laptop> Message-ID: <1224022180.13278.9.camel@jeremiah-laptop> Also, here are the first 20 or so lines of my generic-host_nagios2.cfg. # Generic host definition template define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ host_name pse01 alias dev address (ip hidden) use generic-host } On Tue, 2008-10-14 at 15:06 -0700, jeremiah wrote: > Hello, > > I am relatively new to nagios. Am using version 2. > > Can anyone shed any light on this error? > > ++++ > Error: Invalid max_check_attempts value for host 'pse01' > Error: Could not register host (config file > '/etc/nagios2/conf.d/generic-host_nagios2.cfg', starting on line 13) > ++++ > > Thanks, > JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Wed Oct 15 00:06:12 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Tue, 14 Oct 2008 15:06:12 -0700 Subject: max_check_attempts error Message-ID: <1224021972.13278.6.camel@jeremiah-laptop> Hello, I am relatively new to nagios. Am using version 2. Can anyone shed any light on this error? ++++ Error: Invalid max_check_attempts value for host 'pse01' Error: Could not register host (config file '/etc/nagios2/conf.d/generic-host_nagios2.cfg', starting on line 13) ++++ Thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Wed Oct 15 04:33:40 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 14 Oct 2008 22:33:40 -0400 Subject: No parallel checks with scripts under? Message-ID: Hi, I have read through the p1.pl code again tonight and looked at perlxsi.c and read all of the docs on ePN I can find that come with Nagios, and I see nothing about ePN doing multiplexing or anything of that sort that would allow it to execute ePN checks in parallel the way forked checks can be run. Is this indeed the case? :) Asking because I am setting up a Nagios instance right now that is primarily fault checking (and trending on) SNMP-based services, so at this point I have all my service checks coded as Net::SNMP based perl scripts under ePN ... Nagios is barely executing 95% of the 135 checks that are running right now within 5 minutes and I and my coworker will need to run maaaany more than that :p. This is after spending a few hours tuning nagios.cfg .. out of the box without 'tweaks' I was only getting about 70% of the 135 run in 5 minutes. So I am thinking of using perlcc on some of the checks, only running heavier-weight SNMP checks under ePN (like scanning the TCP-MIB of an agent) and then keeping the lighter-weight checks (RAM uitilization) as normal perl scripts to let us get faster performance from parallel runs knowing we will take a hit on context switches and I/O. Has anyone else ran into this situation who is willing to share what they did? Wondering if it would be possible to do the ePN differently so that it either runs separate interpreters in 1 or more threads (I understand the difficultly level shoots up with that) or somehow else enhance the ePN architectuer to allow it to not just be efficient but allow for parallel checks. Multiplexing is another thought, that too introduces complexitities, that I understand as well. Thanks, Max ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 15 05:25:25 2008 From: marc at ena.com (Marc Powell) Date: Tue, 14 Oct 2008 22:25:25 -0500 Subject: max_check_attempts error In-Reply-To: <1224021972.13278.6.camel@jeremiah-laptop> References: <1224021972.13278.6.camel@jeremiah-laptop> Message-ID: On Oct 14, 2008, at 5:06 PM, jeremiah wrote: > Hello, > > I am relatively new to nagios. Am using version 2. > > Can anyone shed any light on this error? > > ++++ > Error: Invalid max_check_attempts value for host 'pse01' max_check_attempts is a required parameter for host definitions but you are not specifying it. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 15 09:31:14 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Oct 2008 09:31:14 +0200 Subject: No parallel checks with scripts under? In-Reply-To: References: Message-ID: <48F59C42.2080304@op5.se> Max wrote: > Hi, > > I have read through the p1.pl code again tonight and looked at > perlxsi.c and read all of the docs on ePN I can find that come with > Nagios, and I see nothing about ePN doing multiplexing or anything of > that sort that would allow it to execute ePN checks in parallel the > way forked checks can be run. > > Is this indeed the case? :) > No. Nagios forks after (optionally) caching the plugin in memory, bringing the embedded perl stuff with it. The child runs the cached plugin. The saving is entirely in avoiding to load /usr/bin/perl each and every time a plugin is run (at the slight expense of copying some more memory at every fork if epn is compiled in). > > Multiplexing is another thought, that too introduces complexitities, > that I understand as well. > Multiplexing would be the way to go. It's the most complex, but the most portable and the least resource-hungry. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gurkan.aslan at comturk.com Wed Oct 15 11:18:16 2008 From: gurkan.aslan at comturk.com (=?ISO-8859-1?Q?G=FCrkan?= Aslan) Date: Wed, 15 Oct 2008 12:18:16 +0300 Subject: Event Handlers Message-ID: <1224062296.6285.9.camel@idesktop> Hi, I'm trying to define an event handler for nagios. Actually it will work same as event handler example (http://nagios.sourceforge.net/docs/3_0/eventhandlers.html#example) but it doesn't work... i'm trying to create a file in /tmp folder to test, but nothing in return. event_handler_enabled = 1 in service definition and nagios.cfg. with nagios user, i can create a file under /tmp folder (touch /tmp/foo). Actually i'm trying to restart a service. I defined a sudo command for nagios like this (in /etc/sudoers file) nagios LOCAL=NOPASSWD:/etc/init.d/myservice restart sudo /etc/init.d/myservice restart command is properly running as nagios user (I'm switching user by: su - nagios). But i cannot run both of them via an event handler. As i feel that nagios couldn't trigger the event file... Any suggestion? Best regards -- G?rkan Aslan Senior Developer Komturk Iletisim Ltd. Sti Phone: +90 212 275 88 99 ext 125 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at edreams.com Wed Oct 15 14:23:20 2008 From: alex at edreams.com (Alex Torres) Date: Wed, 15 Oct 2008 14:23:20 +0200 Subject: NdoUtils 1.4b7 beta : file_rotation_command not working with Nagios 3.x Message-ID: <1224073400.10730.30.camel@isthar> Hi again Like explain in this post http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg15394.html running ndomod with output_type tcpsocket or unixsocket slow down nagios because until the data from nagios is stored in mysql, nagios no continue working. (sync) We try to work with output_type=file and later load the data to mysql with file2sock. Is this mode nagios run fine. file_rotation_command in ndomod.cfg define the command to be executed by nagios every file_rotation_interval secs. This not work in ndoutils 1.4b7 beta. We found the bug a now works fine. Where I can submit the bug and patch ? Thanks you ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Wed Oct 15 15:09:27 2008 From: perldork at webwizarddesign.com (Max) Date: Wed, 15 Oct 2008 09:09:27 -0400 Subject: No parallel checks with scripts under? In-Reply-To: <48F59C42.2080304@op5.se> References: <48F59C42.2080304@op5.se> Message-ID: On Wed, Oct 15, 2008 at 3:31 AM, Andreas Ericsson wrote: > No. Nagios forks after (optionally) caching the plugin in memory, > bringing the embedded perl stuff with it. The child runs the cached > plugin. The saving is entirely in avoiding to load /usr/bin/perl > each and every time a plugin is run (at the slight expense of copying > some more memory at every fork if epn is compiled in). Thank you, Andreas, I really appreciate your answer. I will go back to the drawing board to try to figure out what I am doing wrong then that is causing 135 checks to not complete in less than 5 minutes .. avg check time is 4 sec, avg check latency is .04 secs, so not sure what I am doing wrong. the machine is powerful enough to have dozens of checks run at the same time, but so far I only see Nagios forking one child at a time. I have interleave set to 's' and intercheck delay set to .5 and large_installation_tweaks at 1 and still only one fork at a time, which is what lead me to falsely think that ePN checks were treated differently. So now that i know otherwise, back to the drawing board to figure out what I messed up. > Multiplexing would be the way to go. It's the most complex, but the > most portable and the least resource-hungry. Excellent. Thank you. - Max ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at edreams.com Wed Oct 15 14:05:44 2008 From: alex at edreams.com (Alex Torres) Date: Wed, 15 Oct 2008 14:05:44 +0200 Subject: Serialize checks for certains hosts Message-ID: <1224072344.10730.13.camel@isthar> Hi There is a way to serialize services check for certains hosts ? If a click on Schedule a check of all services on this host nagios schedule all services checks and send to the host in parellel. The remote host is running nrpe and for every check, nrpe fork a new process. In the same time could be 5 o 6 nrpe processes and the memory its full. The remote hosts is a router with very low mem. Reading the documentation there is two options max_concurrent_checks service_interleave_factor but both are global to nagios.cfg. I tried put max_concurrent_checks in host definition but no luck. Do you know something about ? Thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 15 15:24:56 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Oct 2008 15:24:56 +0200 Subject: No parallel checks with scripts under? In-Reply-To: References: <48F59C42.2080304@op5.se> Message-ID: <48F5EF28.5070502@op5.se> Max wrote: > On Wed, Oct 15, 2008 at 3:31 AM, Andreas Ericsson wrote: >> No. Nagios forks after (optionally) caching the plugin in memory, >> bringing the embedded perl stuff with it. The child runs the cached >> plugin. The saving is entirely in avoiding to load /usr/bin/perl >> each and every time a plugin is run (at the slight expense of copying >> some more memory at every fork if epn is compiled in). > > Thank you, Andreas, I really appreciate your answer. I will go back to > the drawing board to try to figure out what I am doing wrong then that > is causing 135 checks to not complete in less than 5 minutes .. avg > check time is 4 sec, avg check latency is .04 secs, If average check latency is 0.04 seconds, you may have configured your checks to run with a greater interval than the default 5 minutes. I've seen this happen before. > so not sure what I > am doing wrong. the machine is powerful enough to have dozens of > checks run at the same time, but so far I only see Nagios forking one > child at a time. I have interleave set to 's' and intercheck delay > set to .5 and large_installation_tweaks at 1 and still only one fork > at a time, which is what lead me to falsely think that ePN checks were > treated differently. > > So now that i know otherwise, back to the drawing board to figure out > what I messed up. > Are you using slow-running OCSP/OCHP commands? Are you using them at all? Are you using NEB-modules? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 15 16:20:43 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Oct 2008 16:20:43 +0200 Subject: service latency troubles In-Reply-To: <48F5F8CC.8030403@laposte.fr> References: <48EF7414.50608@laposte.fr> <48F1324E.70203@op5.se> <48F34D50.3050909@laposte.fr> <48F36E5F.1080507@op5.se> <48F5F8CC.8030403@laposte.fr> Message-ID: <48F5FC3B.3090506@op5.se> Antoine Musso wrote: > Andreas Ericsson a ?crit : > > Turn off OCHP and OCSP and then reload Nagios. If that doesn't help, >> unload NDOUtils and then restart Nagios. If that helps, re-enable the >> OCSP/OCHP commands again. If it's working then, it was NDOUtils fault. >> If not, it's the combined load of NDOUtils and the OC?P commands. >> >> OC?P commands add a rather extraordinary amount of load to the system >> irrespective of how simple they are. Usually, you'd be better off >> replacing them with an extremely simple NEB-module. > > Hello Anderas, > > Thanks for answering :) The OCHP/OCSP stuff did not help but I found out > two causes for our high latencies : > > > The first one is a long timeout on a synchronous check. When a service > is non-OK, the main nagios thread trigger a synchronous host check : > > [1223978320.237542] [016.1] [pid=10613] Service is in a non-OK state! > [1223978320.237547] [016.1] [pid=10613] Host is currently UP, so we'll > recheck its state to make sure... > [1223978320.237694] [256.1] [pid=10613] Running command check_ping... > [1223978330.251788] [256.1] [pid=10613] Execution time=10.009 sec > > While this plugin is executing, nagios is just idling and the latency > raise up really fast. So I modified our check_host_alive command to > timeout after 3 seconds, still have to found optimal parameters. > > > > The second issue is ndo. We have ndo2db listening on a database server > on the same switch. ndomod send everything (data_processing_options > parameter set to -1) over a tcp connection. > > I analyzed the callback debugging messages (debug 64, verbosity 2) over > a period of 938 seconds : > > AGGREGATED_STATUS_DATA (#25) 124 calls, avg: 0.00s (total 0.00s) > LOG_DATA (# 9) 366 calls, avg: 0.00s (total 0.56s) > SERVICE_STATUS_DATA (#20) 8321 calls, avg: 0.02s (total 149.48s) > HOST_CHECK_DATA (#14) 4933 calls, avg: 0.01s (total 50.23s) > TIMED_EVENT_DATA (# 8) 12282 calls, avg: 0.00s (total 26.26s) > PROGRAM_STATUS_DATA (#18) 177 calls, avg: 0.00s (total 0.76s) > STATE_CHANGE_DATA (#30) 195 calls, avg: 0.00s (total 0.45s) > SERVICE_CHECK_DATA (#13) 12189 calls, avg: 0.01s (total 82.74s) > SYSTEM_COMMAND_DATA (#10) 8584 calls, avg: 0.01s (total 102.84s) > HOST_STATUS_DATA (#19) 2544 calls, avg: 0.03s (total 64.67s) > > 49715 calls, 477 seconds 50,85% of time spent on sending ndo messages. > > The impact on latency is really bad, one of my colleague filtered out > some of those callbacks (data_processing_options set to 276673) that > seems to help :) > > > This raise two new questions: > > 1/ is there any recommended setting for checking the liveness of a > host ? Since this check is synchronous, we want Nagios to achieve this > as fast as possible. > Upgrade to Nagios 3. It sports parallell hostchecks. > 2/ is ndomod waiting for ndo2db to insert the data in the database ? That I don't know, but Nagios waits for the NEB to finish its call before proceeding, so if ndomod runs some uninterruptable IO, you might be in for a long wait. Nagios has to wait for the NEB to finish though, so the only solution is to make sure the NEB returns control to Nagios asap. > If not, I am going to check why it takes so long to send a packet to the > remote ndo2db instance. > That's a good idea. Please let us know what you find. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 optiksecurite.com Wed Oct 15 16:51:51 2008 From: nagios at optiksecurite.com (Francis Dube) Date: Wed, 15 Oct 2008 10:51:51 -0400 Subject: Event Handlers In-Reply-To: <1224062296.6285.9.camel@idesktop> References: <1224062296.6285.9.camel@idesktop> Message-ID: <48F60387.6020400@optiksecurite.com> G?rkan Aslan a ?crit : > Hi, > > I'm trying to define an event handler for nagios. Actually it will work > same as event handler example > (http://nagios.sourceforge.net/docs/3_0/eventhandlers.html#example) but > it doesn't work... i'm trying to create a file in /tmp folder to test, > but nothing in return. event_handler_enabled = 1 in service definition > and nagios.cfg. > > with nagios user, i can create a file under /tmp folder > (touch /tmp/foo). Actually i'm trying to restart a service. I defined a > sudo command for nagios like this (in /etc/sudoers file) > > nagios LOCAL=NOPASSWD:/etc/init.d/myservice restart > > sudo /etc/init.d/myservice restart command is properly running as nagios > user (I'm switching user by: su - nagios). > > But i cannot run both of them via an event handler. As i feel that > nagios couldn't trigger the event file... > > Any suggestion? > > Best regards > Is your event handler script correctly assigned to your service ? (event_handler your-event-handler) Can you give me your command definition for you event handler, something like : define command{ command_name your-event-handler command_line /usr/local/nagios/libexec/eventhandlers/your-event-handler $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $ANY_OTHER_VARIABLE_YOU_MAY_NEED$ } Francis Dube R&D - Optik Securite www.optiksecurite.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gurkan.aslan at comturk.com Wed Oct 15 17:18:24 2008 From: gurkan.aslan at comturk.com (=?ISO-8859-1?Q?G=FCrkan?= Aslan) Date: Wed, 15 Oct 2008 18:18:24 +0300 Subject: Event Handlers In-Reply-To: <48F60387.6020400@optiksecurite.com> References: <1224062296.6285.9.camel@idesktop> <48F60387.6020400@optiksecurite.com> Message-ID: <1224083904.6306.1.camel@idesktop> Hi Francis, Thanks for your answer but i solved the problem. My Mistakes: * I must use full path in my bash script. * Event Handler is triggering the event only for the first state change. Best regards ?r?, 2008-10-15 tarihinde 10:51 -0400 saatinde, Francis Dube yazd?: > G?rkan Aslan a ?crit : > > Hi, > > > > I'm trying to define an event handler for nagios. Actually it will work > > same as event handler example > > (http://nagios.sourceforge.net/docs/3_0/eventhandlers.html#example) but > > it doesn't work... i'm trying to create a file in /tmp folder to test, > > but nothing in return. event_handler_enabled = 1 in service definition > > and nagios.cfg. > > > > with nagios user, i can create a file under /tmp folder > > (touch /tmp/foo). Actually i'm trying to restart a service. I defined a > > sudo command for nagios like this (in /etc/sudoers file) > > > > nagios LOCAL=NOPASSWD:/etc/init.d/myservice restart > > > > sudo /etc/init.d/myservice restart command is properly running as nagios > > user (I'm switching user by: su - nagios). > > > > But i cannot run both of them via an event handler. As i feel that > > nagios couldn't trigger the event file... > > > > Any suggestion? > > > > Best regards > > > Is your event handler script correctly assigned to your service ? > (event_handler your-event-handler) > > Can you give me your command definition for you event handler, something > like : > > define command{ > command_name your-event-handler > command_line /usr/local/nagios/libexec/eventhandlers/your-event-handler $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $ANY_OTHER_VARIABLE_YOU_MAY_NEED$ > } > > > Francis Dube > R&D - Optik Securite > www.optiksecurite.com -- G?rkan Aslan Senior Developer Komturk Iletisim Ltd. Sti Phone: +90 212 275 88 99 ext 125 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rmp.dmd1229 at gmail.com Wed Oct 15 17:28:09 2008 From: rmp.dmd1229 at gmail.com (rmp dmd) Date: Wed, 15 Oct 2008 11:28:09 -0400 Subject: Monitor nagios running on a different server Message-ID: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> Hi, We have a nagios monitoring system for Production systems installed on prodservmon1. We want to include monitoring of this in our nagios monitoring for our corporate systems. Simply put, we want to monitor nagios service running on prodservmon1. I've been googling but I haven't find anything. Kindly advise on how to do this. Thanks! Roehl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Wed Oct 15 17:40:57 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 15 Oct 2008 16:40:57 +0100 Subject: Monitor nagios running on a different server In-Reply-To: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> References: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> Message-ID: <200810151640.57721.assaf.flatto@ssp.uk.com> what you need to do it treat the prodservmon1 just like any other server and monitor it with NRPE or any other utility you use for linux servers. check if it's up (PING) , http ( Web Access ), do a check_proc to verify that the nagios server is running and so forth. On Wednesday 15 October 2008 16:28:09 rmp dmd wrote: > Hi, > > We have a nagios monitoring system for Production systems installed on > prodservmon1. We want to include monitoring of this in our nagios > monitoring for our corporate systems. Simply put, we want to monitor > nagios service running on prodservmon1. > > I've been googling but I haven't find anything. Kindly advise on how to do > this. > > > > Thanks! > Roehl -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 optiksecurite.com Wed Oct 15 17:44:46 2008 From: nagios at optiksecurite.com (Francis Dube) Date: Wed, 15 Oct 2008 11:44:46 -0400 Subject: Monitor nagios running on a different server In-Reply-To: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> References: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> Message-ID: <48F60FEE.3060709@optiksecurite.com> rmp dmd a ?crit : > Hi, > > We have a nagios monitoring system for Production systems installed on > prodservmon1. We want to include monitoring of this in our nagios > monitoring for our corporate systems. Simply put, we want to monitor > nagios service running on prodservmon1. > > I've been googling but I haven't find anything. Kindly advise on how > to do this. > > > > Thanks! > Roehl > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null If I correctly understood what you want to do, there's a check_nagios. /usr/local/libexec/nagios/check_nagios ? Francis Dube R&D - Optik Securite www.optiksecurite.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Wed Oct 15 18:16:32 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Wed, 15 Oct 2008 18:16:32 +0200 Subject: Monitor nagios running on a different server In-Reply-To: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> References: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> Message-ID: Hi, did you google for check_nagios? "This plugin checks the status of the Nagios process on the local machine The plugin will check to make sure the Nagios status log is no older than the number of minutes specified by the expires option. It also checks the process table for a process matching the command argument." Gerhard _____ Von: rmp dmd [mailto:rmp.dmd1229 at gmail.com] Gesendet: Mittwoch, 15. Oktober 2008 17:28 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Monitor nagios running on a different server Hi, We have a nagios monitoring system for Production systems installed on prodservmon1. We want to include monitoring of this in our nagios monitoring for our corporate systems. Simply put, we want to monitor nagios service running on prodservmon1. I've been googling but I haven't find anything. Kindly advise on how to do this. Thanks! Roehl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Wed Oct 15 18:07:55 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 15 Oct 2008 12:07:55 -0400 Subject: Monitor nagios running on a different server In-Reply-To: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> References: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> Message-ID: <48F6155B.1050405@collaborativefusion.com> rmp dmd wrote: > Hi, > > We have a nagios monitoring system for Production systems installed on > prodservmon1. We want to include monitoring of this in our nagios > monitoring for our corporate systems. Simply put, we want to monitor > nagios service running on prodservmon1. > > I've been googling but I haven't find anything. Kindly advise on how > to do this. Use check_nagios (one of the default checks in nagios-plugins - http://nagiosplugins.org/man/check_nagios) via NRPE. -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 optiksecurite.com Wed Oct 15 17:20:09 2008 From: nagios at optiksecurite.com (Francis Dube) Date: Wed, 15 Oct 2008 11:20:09 -0400 Subject: Host-based service check period Message-ID: <48F60A29.8050808@optiksecurite.com> Hi everyone, I'm using Nagios to monitor many hosts with services running at different time. Each host is connected to a Plasma TV and display publicity on it, but the all are installed in different public area with different working hours. Ex : Host #1 is in a restaurant, so the services are running from 6:00 to 21:00. Host #2 is in a bar, so the services are running from 12:00 to 3:00. Host #3 is in a mall, so the services are running from 9:00 to 17:00 on week days. To save power, we turn off the display during the non-working hours, but we need the Nagios check to stop at the same time. The check_period instruction in the host definition only affect the check-host-alive command and not the services check. I've read all i've found about the timeperiod and such, but i cant find a way to do host-based service check period. I would like to create a timeperiod for each host and that all the check for this host (service and host-alive) stop/start according to that timeperiod. Anybody knows a way to do this ? Thanks for your time ! Francis Dube R&D - Optik Securite www.optiksecurite.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Wed Oct 15 18:45:46 2008 From: perldork at webwizarddesign.com (Max) Date: Wed, 15 Oct 2008 12:45:46 -0400 Subject: No parallel checks with scripts under? In-Reply-To: <48F5EF28.5070502@op5.se> References: <48F59C42.2080304@op5.se> <48F5EF28.5070502@op5.se> Message-ID: On Wed, Oct 15, 2008 at 9:24 AM, Andreas Ericsson wrote: > If average check latency is 0.04 seconds, you may have configured your > checks to run with a greater interval than the default 5 minutes. I've > seen this happen before. After having it run overnight, average latency is .1xx seconds. For my base service template (all checks inherit from this and they do not override these attributes) I have obsess_over_service 0 normal_check_interval 5 retry_check_interval 5 max_check_attempts 3 > Are you using slow-running OCSP/OCHP commands? Are you using them at all? That is turned off, will be running in distributed mode down the road but not now :). > Are you using NEB-modules? Yes, I am using modpnpsender and a service performance data handler, but even with those commented out in the config I see the same results. This is a RHEL52 box running nagios 3.0.3, because of where it sits on the network I have had to manually add RPMs to the box to configure it .. I initially had glib2-devel and my perception was that performance was slow with that library being used so i took the devel package off of the host as most Linux hosts I have been on I have not had Nagios complied with glib2. As I look now at performance data again on Nagios with process_perfdata set to 0 and the PNP NEB module commented out (restarted Nagios about 10 minutes before starting this email) I am still only seeing 86% within 5 minutes, avg latency .22, for service checks and via top I am only see max 2 Nagios instances. With "top -i" I just see Nagios appear on and off occasionally. Maybe to test to see if there is something wrong with my compile I should turn down the check interval to 1 minute for checks to see if Nagios does what I would expect, constantly running checks to try and keep up? if it doesn't behave that way, would that be a relatively clear indication I have a compile issue? My configure options just in case something pops out that looks glaringly wrong, i don't expect anyone to go through them line by line :p: $ ./configure --prefix=/data/nagios --exec-prefix=/data/nagios --bindir=/data/nagios/bin --sbindir=/data/nagios/sbin --datadir=/data/nagios/share --libexecdir=/data/nagios/libexec --enable-event-broker --enable-embedded-perl --with-nagios-user=nagios --with-nagios-group=nagios --with-command-user=nagios --with-command-group=apache --with-mail=/bin/mail --with-httpd-conf=/etc/httpd/conf.d --with-checkresult-dir=/data/nagios/var/checkresults --with-temp-dir=/data/nagios/tmp --with-init-dir=/etc/init.d --with-lockfile=/data/nagios/var/nagios.lck --with-gd-lib=/usr/lib64 --with-gd-inc=/usr/include --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-perlcache uname -m = x86_64 uname -r = 2.6.18-53.el5 uname -s = Linux uname -v = #1 SMP Wed Oct 10 16:34:19 EDT 2007 Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux C=gcc CFLAGS=-g -O2 -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -DHAVE_CONFIG_H LDFLAGS= -L/usr/lib64 Thanks again for your help, I seem to be in a rare situation here as searches for Redhat and Nagios and performance issues turn up very few hits :p, which lets me know I am definitely at fault here. - Max ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 15 18:49:03 2008 From: marc at ena.com (Marc Powell) Date: Wed, 15 Oct 2008 11:49:03 -0500 Subject: Host-based service check period In-Reply-To: <48F60A29.8050808@optiksecurite.com> References: <48F60A29.8050808@optiksecurite.com> Message-ID: On Oct 15, 2008, at 10:20 AM, Francis Dube wrote: > check period. I would like to create a timeperiod for each host and > that > all the check for this host (service and host-alive) stop/start > according to that timeperiod. Anybody knows a way to do this ? Host and services have historically been separate entities for the most part with no inheritance between them at all. With nagios-3, there is some inheritance happening now between a service and it's host but only for three variables (contact_groups, notification_interval and notification_period: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html#implied_inheritance) . check_period isn't an inheritable property and the most direct way to a solution is to simply specify the same check_period name for the services that you are using for the host. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Wed Oct 15 19:06:57 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Wed, 15 Oct 2008 10:06:57 -0700 Subject: service error? In-Reply-To: <48F60A29.8050808@optiksecurite.com> References: <48F60A29.8050808@optiksecurite.com> Message-ID: <1224090417.6678.4.camel@jeremiah-laptop> Any thoughts on these errors? I'm stumped. Checking services... Error: Service check command 'check_ssh' specified in service 'SSH' for host 'server1' not defined anywhere! Error: Service check command 'check_ssh' specified in service 'SSH' for host 'server2' not defined anywhere! Services page looks like this.. define service{ use generic-service hostgroup_name ssh_servers service_description SSH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 30 notification_period 24x7 notification_options w,u,c,r check_command check_ssh } Thanks! Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 optiksecurite.com Wed Oct 15 19:20:18 2008 From: nagios at optiksecurite.com (Francis Dube) Date: Wed, 15 Oct 2008 13:20:18 -0400 Subject: service error? In-Reply-To: <1224090417.6678.4.camel@jeremiah-laptop> References: <48F60A29.8050808@optiksecurite.com> <1224090417.6678.4.camel@jeremiah-laptop> Message-ID: <48F62652.1020902@optiksecurite.com> jeremiah a ?crit : > Any thoughts on these errors? I'm stumped. > > Checking services... > > Error: Service check command 'check_ssh' specified in service 'SSH' for > host 'server1' not defined anywhere! > Error: Service check command 'check_ssh' specified in service 'SSH' for > host 'server2' not defined anywhere! > > Services page looks like this.. > > define service{ > use generic-service > hostgroup_name ssh_servers > service_description SSH > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups admins > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ssh > } > > Thanks! > > > > Disclaimer: The information contained in this transmission, including any > attachments, may contain confidential information of Panasonic Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or other use > of the information contained in this transmission is strictly prohibited. > If you have received this transmission in error or have reason to believe > you are not authorized to receive it, please notify the sender by return > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > You need to define this command in your command.cfg file. A check_ssh command usually looks like this : # 'check_ssh' command definition define command{ command_name check_ssh command_line $USER1$/check_ssh -H $HOSTADDRESS$ } Francis Dube R&D - Optik Securite www.optiksecurite.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 15 19:00:55 2008 From: marc at ena.com (Marc Powell) Date: Wed, 15 Oct 2008 12:00:55 -0500 Subject: max_check_attempts error In-Reply-To: <1224089317.6678.0.camel@jeremiah-laptop> References: <1224021972.13278.6.camel@jeremiah-laptop> <1224089317.6678.0.camel@jeremiah-laptop> Message-ID: <38C24708-89E0-40CC-AFA8-2C8311B28597@ena.com> On Oct 15, 2008, at 11:48 AM, jeremiah wrote: > Great. thanks. that helps. > > Any idea on this one? > > Error: Service check command 'check_ssh' specified in service 'SSH' > for > host 'pse06' not defined anywhere! Please always respond on list so that others, now and in the future, benefit from your experience. This can be answered by searching for 'not defined anywhere' in the archives but you have a service{} definition that references a command named 'check_ssh' but you don't have a command{} definition for it. Nagios has no idea what it is. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 15 19:52:10 2008 From: marc at ena.com (Marc Powell) Date: Wed, 15 Oct 2008 12:52:10 -0500 Subject: Host-based service check period In-Reply-To: <48F62691.9060604@optiksecurite.com> References: <48F60A29.8050808@optiksecurite.com> <48F62691.9060604@optiksecurite.com> Message-ID: <04166257-09FA-4833-B151-ED2F16FDAC5E@ena.com> On Oct 15, 2008, at 12:21 PM, Francis Dube wrote: > Yeah but if I specify the same check_period name for the service, I > have to define a service for every host (ex : a check_service_host1, > check_service_host2, and so on..) because the services running on > each hosts are running at different hours. Correct. The possibility does exist that you've chosen a config management scheme that doesn't meet your needs. Template shortcuts are nice but you can lose a lot of flexibility. > I'll take a look at notification_period inheritance, it may be a > good work around too. I agree, if you don't mind that the checks still happen. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Wed Oct 15 19:56:14 2008 From: perldork at webwizarddesign.com (Max) Date: Wed, 15 Oct 2008 13:56:14 -0400 Subject: No parallel checks with scripts under? In-Reply-To: References: <48F59C42.2080304@op5.se> <48F5EF28.5070502@op5.se> Message-ID: Deployed an increased config (200+ host with around 2000 checks) to a dual core laptop running CentOS with 1.5 GB RAM and am getting huge performance, 1531 checks in less than 5 minutes, seeing 8-10 nagios processes running at once as checks are parallelized, so I now know that something is messed up with the OS config i did on our prod host, just not sure what config setting is wrong .. comparing the CentOS config output with the prod output to see if I can find the problem i introduced, will post again when i find a solution. Again, if anyone sees a problem that stands out with my configs, feel free to tell me where i am being a dummy, otherwise i will do that myself :p when i find out what I did wrong with my manual rpm updates. Thanks again, Andreas, for your help with this. - Max ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 optiksecurite.com Wed Oct 15 19:21:21 2008 From: nagios at optiksecurite.com (Francis Dube) Date: Wed, 15 Oct 2008 13:21:21 -0400 Subject: Host-based service check period In-Reply-To: References: <48F60A29.8050808@optiksecurite.com> Message-ID: <48F62691.9060604@optiksecurite.com> Marc Powell a ?crit : > On Oct 15, 2008, at 10:20 AM, Francis Dube wrote: > > >> check period. I would like to create a timeperiod for each host and >> that >> all the check for this host (service and host-alive) stop/start >> according to that timeperiod. Anybody knows a way to do this ? >> > > Host and services have historically been separate entities for the > most part with no inheritance between them at all. With nagios-3, > there is some inheritance happening now between a service and it's > host but only for three variables (contact_groups, > notification_interval and notification_period: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html#implied_inheritance) > . check_period isn't an inheritable property and the most direct way > to a solution is to simply specify the same check_period name for the > services that you are using for the host. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Yeah but if I specify the same check_period name for the service, I have to define a service for every host (ex : a check_service_host1, check_service_host2, and so on..) because the services running on each hosts are running at different hours. I'll take a look at notification_period inheritance, it may be a good work around too. Thanks for the info. Francis Dube R&D www.optiksecurite.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Wed Oct 15 19:58:39 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Wed, 15 Oct 2008 10:58:39 -0700 Subject: nagios not starting In-Reply-To: <48F62652.1020902@optiksecurite.com> References: <48F60A29.8050808@optiksecurite.com> <1224090417.6678.4.camel@jeremiah-laptop> <48F62652.1020902@optiksecurite.com> Message-ID: <1224093519.6662.0.camel@jeremiah-laptop> Any ideas? ~$ sudo /etc/init.d/nagios2 start [sudo] password for user: * Starting nagios2 monitoring daemon nagios2 kill: 1: No such process [ OK ] Thanks! Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Wed Oct 15 21:00:38 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Wed, 15 Oct 2008 12:00:38 -0700 Subject: check_mysql Message-ID: <1224097238.11347.4.camel@jeremiah-laptop> I want nagios to automatically check mysql services on my servers. However when i view the web interface i see that staus is UNKNOWN and it displays the usage for check_mysql. In what file am i supposed to put the arguments for this command? Here is what i have so far in commands.cfg define command{ command_name check_mysql command_line $USER1$/check_mysql -H $HOSTADDRESS$ -P $ARG1$ -u $ARG2$ -p $ARG3$ } and my services.cf file... define service{ use generic-service ; Name of service template hostgroup_name mysql_servers service_description MYSQL is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 30 notification_period 24x7 notification_options w,u,c,r check_command check_mysql } Thanks! Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Wed Oct 15 21:04:56 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Wed, 15 Oct 2008 15:04:56 -0400 Subject: nagios not starting Message-ID: Where did you get a nagios2 binary? The Ubuntu repos? I've never seen that before. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com Never agrue with an idiot. They drag you down to their level and then beat you with their experience. -----Original Message----- From: jeremiah [mailto:jeremiah.jester at panasonic.aero] Sent: Wednesday, October 15, 2008 1:59 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios not starting Any ideas? ~$ sudo /etc/init.d/nagios2 start [sudo] password for user: * Starting nagios2 monitoring daemon nagios2 kill: 1: No such process [ OK ] Thanks! Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.maraschini at opservices.com.br Wed Oct 15 21:23:01 2008 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Wed, 15 Oct 2008 17:23:01 -0200 (BRST) Subject: check_mysql In-Reply-To: <1224097238.11347.4.camel@jeremiah-laptop> References: <1224097238.11347.4.camel@jeremiah-laptop> Message-ID: <2869775.44221224098581743.JavaMail.root@mail.opservices.com.br> ----- "jeremiah" wrote: > I want nagios to automatically check mysql services on my servers. > However when i view the web interface i see that staus is UNKNOWN and > it > displays the usage for check_mysql. In what file am i supposed to put > the arguments for this command? > > define service{ > use generic-service ; > Name > of service template > hostgroup_name mysql_servers > service_description MYSQL > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups admins > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > check_command check_mysql Change your check_command directive to check_mysql!ARG1!ARG2!ARG3, where ARG1 is the $ARG1$ value of your check command from commands.cfg and so... -rm ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Wed Oct 15 21:28:54 2008 From: scarolan at gmail.com (Sean Carolan) Date: Wed, 15 Oct 2008 14:28:54 -0500 Subject: How would you monitor a large list of URLs? Message-ID: <277020fc0810151228u587df571vce481465c45e0e5c@mail.gmail.com> I'm sure at least one of you may have been down this path before, so here's my question: I have a large list of URLs that I'd like to monitor with Nagios. At some point I may break them into groups but for the time being I'd be happy to have a simple check_url monitor with the same options for all URLs. How would you tackle this problem? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 15 21:33:37 2008 From: marc at ena.com (Marc Powell) Date: Wed, 15 Oct 2008 14:33:37 -0500 Subject: check_mysql In-Reply-To: <1224097238.11347.4.camel@jeremiah-laptop> References: <1224097238.11347.4.camel@jeremiah-laptop> Message-ID: On Oct 15, 2008, at 2:00 PM, jeremiah wrote: > I want nagios to automatically check mysql services on my servers. > However when i view the web interface i see that staus is UNKNOWN > and it > displays the usage for check_mysql. In what file am i supposed to put > the arguments for this command? Based on your command{} definition, they should be in your service definition. > Here is what i have so far in commands.cfg > > define command{ > command_name check_mysql > command_line $USER1$/check_mysql -H $HOSTADDRESS$ -P $ARG1$ > -u $ARG2$ -p $ARG3$ > } > > and my services.cf file... > > define service{ > [chop] > check_command check_mysql > } check_command should be something like -- check_command check_mysql!!! See the last half of the Macro Substitution section of http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Wed Oct 15 21:39:36 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 15 Oct 2008 13:39:36 -0600 Subject: How would you monitor a large list of URLs? In-Reply-To: <277020fc0810151228u587df571vce481465c45e0e5c@mail.gmail.com> References: <277020fc0810151228u587df571vce481465c45e0e5c@mail.gmail.com> Message-ID: Write a simple shell script wrapper for check_http to iterate over a list of URLs and report any errors. -----Original Message----- From: Sean Carolan [mailto:scarolan at gmail.com] Sent: Wednesday, October 15, 2008 1:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How would you monitor a large list of URLs? I'm sure at least one of you may have been down this path before, so here's my question: I have a large list of URLs that I'd like to monitor with Nagios. At some point I may break them into groups but for the time being I'd be happy to have a simple check_url monitor with the same options for all URLs. How would you tackle this problem? ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 15 21:42:39 2008 From: marc at ena.com (Marc Powell) Date: Wed, 15 Oct 2008 14:42:39 -0500 Subject: nagios not starting In-Reply-To: <1224093519.6662.0.camel@jeremiah-laptop> References: <48F60A29.8050808@optiksecurite.com> <1224090417.6678.4.camel@jeremiah-laptop> <48F62652.1020902@optiksecurite.com> <1224093519.6662.0.camel@jeremiah-laptop> Message-ID: <5A791972-0C76-4D4B-A6D5-85CF2D7E580F@ena.com> On Oct 15, 2008, at 12:58 PM, jeremiah wrote: > Any ideas? > > ~$ sudo /etc/init.d/nagios2 start > [sudo] password for user: > * Starting nagios2 monitoring daemon nagios2 > kill: 1: No such process Eliminate sudo as a culprit. Can you run it directly as root -- /etc/init.d/nagios2 start or /path/to/nagios/bin/nagios or /path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg or /path/to/nagios/bin/nagios -d /path/to/nagios/etc/nagios.cfg Did you happen to mount the partition that the nagios binary lives in with noexec? What OS is this on? -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Wed Oct 15 22:01:34 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Wed, 15 Oct 2008 22:01:34 +0200 Subject: How would you monitor a large list of URLs? In-Reply-To: <277020fc0810151228u587df571vce481465c45e0e5c@mail.gmail.com> References: <277020fc0810151228u587df571vce481465c45e0e5c@mail.gmail.com> Message-ID: Hi, check_multi @ http://my-plugin.de/wiki/projects/check_multi/start might be an option. It has a configuration file where you can put all the single check_http commands, one line for each of your urls. Gerhard > -----Urspr?ngliche Nachricht----- > Von: Sean Carolan [mailto:scarolan at gmail.com] > Gesendet: Mittwoch, 15. Oktober 2008 21:29 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] How would you monitor a large list of URLs? > > I'm sure at least one of you may have been down this path > before, so here's my question: > > I have a large list of URLs that I'd like to monitor with > Nagios. At some point I may break them into groups but for > the time being I'd be happy to have a simple check_url > monitor with the same options for all URLs. How would you > tackle this problem? > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge Build the coolest Linux based > applications with Moblin SDK & win great prizes Grand prize > is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Wed Oct 15 21:10:35 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 15 Oct 2008 11:10:35 -0800 Subject: check_mysql In-Reply-To: <1224097238.11347.4.camel@jeremiah-laptop> References: <1224097238.11347.4.camel@jeremiah-laptop> Message-ID: <56F561C0-2C98-4B79-A120-2562189A0AA3@frontierflying.com> On Oct 15, 2008, at 11:00 AM, jeremiah wrote: > I want nagios to automatically check mysql services on my servers. > However when i view the web interface i see that staus is UNKNOWN > and it > displays the usage for check_mysql. In what file am i supposed to put > the arguments for this command? The arguments go in your service definition on the check_command line, separated from each other and the command name by "!". So in your case, you would have a check_command line something like: check_command check_mysql!!! where and are respectively whatever you need for the -P, -u and -p switches to check_mysql. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > Here is what i have so far in commands.cfg > > define command{ > command_name check_mysql > command_line $USER1$/check_mysql -H $HOSTADDRESS$ -P $ARG1$ > -u $ARG2$ -p $ARG3$ > } > > and my services.cf file... > > define service{ > use generic-service ; Name > of service template > hostgroup_name mysql_servers > service_description MYSQL > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups admins > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > check_command check_mysql > } > > > Thanks! > > > > Disclaimer: The information contained in this transmission, > including any > attachments, may contain confidential information of Panasonic > Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or > other use > of the information contained in this transmission is strictly > prohibited. > If you have received this transmission in error or have reason to > believe > you are not authorized to receive it, please notify the sender by > return > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JHorowitz at looksmart.net Wed Oct 15 21:56:05 2008 From: JHorowitz at looksmart.net (Jonah Horowitz) Date: Wed, 15 Oct 2008 12:56:05 -0700 Subject: How would you monitor a large list of URLs? In-Reply-To: <277020fc0810151228u587df571vce481465c45e0e5c@mail.gmail.com> References: <277020fc0810151228u587df571vce481465c45e0e5c@mail.gmail.com> Message-ID: On 10/15/08 12:28 PM, "Sean Carolan" wrote: > I'm sure at least one of you may have been down this path before, so > here's my question: > > I have a large list of URLs that I'd like to monitor with Nagios. At > some point I may break them into groups but for the time being I'd be > happy to have a simple check_url monitor with the same options for all > URLs. How would you tackle this problem? > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null I would define a URL check template like so: define service{ name url-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 notification_options w,u,c,f,r servicegroups url,notifications is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 2 retry_check_interval 1 contact_groups admins notification_interval 10 notification_period 24x7 } And then follow that with a bunch of short checks. define service{ use url-service host_name foo.looksmart.com service_description http check check_command check_url!/foo/bar/weeeeee } define service{ use url-service host_name bar.looksmart.com service_description http check check_command check_url!/bar/foo/weeeeee } define service{ use url-service host_name weeeeee.looksmart.com service_description http check check_command check_url!/weeeeee/query?foo=bar } -- Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 LookSmart - Premium and Performance Advertising Solutions 625 Second Street, San Francisco, CA 94107 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2151 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaskada at email.cz Wed Oct 15 23:10:53 2008 From: kaskada at email.cz (kaskada at email.cz) Date: Wed, 15 Oct 2008 23:10:53 +0200 (CEST) Subject: adding legends inside status map links Message-ID: <1295.6940-24828-1921747509-1224105053@email.cz> Hello, is there a way how to add legends into a status map? Especially legends to lines between hosts. Or at least to the hosts - there are their names so far, so it should be possible to add there some more text which would come as a result of a plugin. Am I wright? I`m using Nagios for (not only) checking wireless bridges and it would be great if I could just look at the status map and see for example frequency and speed of that wireless links right next to the link in the map. Also this would be very nice for planning frequecies as they would be visible at first look. I think/hope I would be able to write a script/plugin for mining those data and injecting them somewhere. What I`m asking you for is a place in Nagios files, where these mined data from plugin could be placed. Thank you a lot. Pepe ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rmp.dmd1229 at gmail.com Wed Oct 15 23:19:01 2008 From: rmp.dmd1229 at gmail.com (rmp dmd) Date: Wed, 15 Oct 2008 17:19:01 -0400 Subject: Monitor nagios running on a different server In-Reply-To: References: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> Message-ID: <61d255bb0810151419t77a18c75p508d86243f2eea63@mail.gmail.com> Thanks for all the replies I appreciate it. But most of the reply advised to use check_nagios to monitor Nagios process on the local machine. What I need is to monitor whether nagios for our production system (installed on a different server) is running or has stopped. I'm not sure if this can be checked via port and which port? ie check_command check_tcp![portnumber] Thanks! On Wed, Oct 15, 2008 at 12:16 PM, Gerhard Lausser wrote: > Hi, > > did you google for check_nagios? > "This plugin checks the status of the Nagios process on the local machine > The plugin will check to make sure the Nagios status log is no older than > the number of minutes specified by the expires option. > It also checks the process table for a process matching the command > argument." > > Gerhard > > ------------------------------ > *Von:* rmp dmd [mailto:rmp.dmd1229 at gmail.com] > *Gesendet:* Mittwoch, 15. Oktober 2008 17:28 > *An:* nagios-users at lists.sourceforge.net > *Betreff:* [Nagios-users] Monitor nagios running on a different server > > Hi, > > We have a nagios monitoring system for Production systems installed on > prodservmon1. We want to include monitoring of this in our nagios > monitoring for our corporate systems. Simply put, we want to monitor nagios > service running on prodservmon1. > > I've been googling but I haven't find anything. Kindly advise on how to do > this. > > > > Thanks! > Roehl > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 16 00:06:50 2008 From: marc at ena.com (Marc Powell) Date: Wed, 15 Oct 2008 17:06:50 -0500 Subject: adding legends inside status map links In-Reply-To: <1295.6940-24828-1921747509-1224105053@email.cz> References: <1295.6940-24828-1921747509-1224105053@email.cz> Message-ID: <622CAA20-4C80-45CB-8F91-949149F12142@ena.com> On Oct 15, 2008, at 4:10 PM, kaskada at email.cz wrote: > I think/hope I would be able to write a script/plugin for mining > those data and injecting them somewhere. What I`m asking you for is > a place in Nagios files, where these mined data from plugin could be > placed This functionality doesn't exist within nagios; the statusmap is fairly limited. One of the other mapping addons (nagvis for example), might have options like this but I don't use them or know. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Wed Oct 15 23:31:50 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Wed, 15 Oct 2008 14:31:50 -0700 Subject: mysql connect error Message-ID: <1224106310.11347.12.camel@jeremiah-laptop> I'm getting the following check_mysql error through the web interface. +++ Access denied for user 'nagios'@'ipadddress' (using password: NO) " ++++ Is this trying to logon to the host with a nagios system account? Can someone help me with this in understanding what I'm supposed to do to resolve this? thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Thu Oct 16 00:57:53 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Wed, 15 Oct 2008 15:57:53 -0700 Subject: contacts.cfg error. Message-ID: <1224111473.11347.19.camel@jeremiah-laptop> Any thoughts on how to fix this one? ==== Checking contacts... Error: Service notification command 'notify-by-email' specified for contact 'root' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'root' is not defined anywhere! ===== Here is my contacts.cfg file... define contact{ contact_name root alias Jeremiah service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email jeremiah.jester at panasonic.aero } define contactgroup{ contactgroup_name admins alias Nagios Administrators members root } Thanks! JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Thu Oct 16 01:21:22 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 15 Oct 2008 19:21:22 -0400 Subject: Monitor nagios running on a different server In-Reply-To: <61d255bb0810151419t77a18c75p508d86243f2eea63@mail.gmail.com> References: <61d255bb0810150828gdf46472h8565fee0a3709da1@mail.gmail.com> <61d255bb0810151419t77a18c75p508d86243f2eea63@mail.gmail.com> Message-ID: <48F67AF2.3010009@collaborativefusion.com> rmp dmd wrote: > Thanks for all the replies I appreciate it. > > But most of the reply advised to use check_nagios to monitor Nagios > process on the local machine. > > What I need is to monitor whether nagios for our production system > (installed on a different server) is running or has stopped. > Right, but since Nagios isn't really a network service, it can only be checked locally. That's why my response mentioned NRPE. NRPE is installed on remote machines and allows you to run checks and plugins on the target machine and report the results back to your Nagios instance. Your main Nagios server will actually do check_nrpe - but with arguments directing the remote machine to run check_nagios and then report back the results. -- Sean McAfee Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 1710 Murray Avenue, Suite 320 Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Thu Oct 16 01:25:56 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 15 Oct 2008 19:25:56 -0400 Subject: contacts.cfg error. In-Reply-To: <1224111473.11347.19.camel@jeremiah-laptop> References: <1224111473.11347.19.camel@jeremiah-laptop> Message-ID: <48F67C04.8000504@collaborativefusion.com> jeremiah wrote: > Any thoughts on how to fix this one? > > ==== > Checking contacts... > Error: Service notification command 'notify-by-email' specified for > contact 'root' is not defined anywhere! > Error: Host notification command 'host-notify-by-email' specified for > contact 'root' is not defined anywhere! > ===== > > Here is my contacts.cfg file... The problem isn't actually with your contacts.cfg, it's just that you're missing the commands that are referenced (I know, it can get confusing). Is commands.cfg anywhere in your nagios.cfg? In a default install, that's where these would be defined. -- Sean McAfee Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 1710 Murray Avenue, Suite 320 Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Oct 16 01:26:22 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 16 Oct 2008 01:26:22 +0200 Subject: contacts.cfg error. In-Reply-To: <1224111473.11347.19.camel@jeremiah-laptop> References: <1224111473.11347.19.camel@jeremiah-laptop> Message-ID: <48F67C1E.7060807@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jeremiah wrote: > Error: Service notification command 'notify-by-email' specified for > contact 'root' is not defined anywhere! > Error: Host notification command 'host-notify-by-email' specified for > contact 'root' is not defined anywhere! The answer is right in front of you. You need to define these commands. In fact they should be listed in one of your sample configuration files. Which sections of the manuals did you use to find an answer to this question? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI9nwcBvzDRVjxmYERAvpJAJ9FY7Yx5NgoYsU7gtVhSvA65+mDUACfV6Gi SLilbuXS+MczNxNoWsdDooU= =GihX -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Thu Oct 16 01:40:12 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Wed, 15 Oct 2008 16:40:12 -0700 Subject: contacts.cfg error. In-Reply-To: <48F67C04.8000504@collaborativefusion.com> References: <1224111473.11347.19.camel@jeremiah-laptop> <48F67C04.8000504@collaborativefusion.com> Message-ID: <1224114012.11347.24.camel@jeremiah-laptop> Thanks for your response. I'm seeing this line in nagios.cfg. # Command definitions cfg_file=/etc/nagios2/commands.cfg What do you tihnk? JJ On Wed, 2008-10-15 at 16:25 -0700, Sean McAfee wrote: > jeremiah wrote: > > Any thoughts on how to fix this one? > > > > ==== > > Checking contacts... > > Error: Service notification command 'notify-by-email' specified for > > contact 'root' is not defined anywhere! > > Error: Host notification command 'host-notify-by-email' specified > for > > contact 'root' is not defined anywhere! > > ===== > > > > Here is my contacts.cfg file... > The problem isn't actually with your contacts.cfg, it's just that > you're > missing the commands that are referenced (I know, it can get > confusing). > > Is commands.cfg anywhere in your nagios.cfg? In a default install, > that's where these would be defined. > > -- > Sean McAfee > Collaborative Fusion, Inc. > > smcafee at collaborativefusion.com > 412-422-3463 x 4025 > > 1710 Murray Avenue, Suite 320 > Pittsburgh, PA 15217 > > **************************************************************** > IMPORTANT: This message contains confidential information > and is intended only for the individual named. If the reader of > this message is not an intended recipient (or the individual > responsible for the delivery of this message to an intended > recipient), please be advised that any re-use, dissemination, > distribution or copying of this message is prohibited. Please > notify the sender immediately by e-mail if you have received > this e-mail by mistake and delete this e-mail from your system. > E-mail transmission cannot be guaranteed to be secure or > error-free as information could be intercepted, corrupted, lost, > destroyed, arrive late or incomplete, or contain viruses. The > sender therefore does not accept liability for any errors or > omissions in the contents of this message, which arise as a > result of e-mail transmission. > **************************************************************** > > > > > Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Thu Oct 16 01:43:24 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Wed, 15 Oct 2008 16:43:24 -0700 Subject: contacts.cfg error. In-Reply-To: <48F67C1E.7060807@vanderkooij.org> References: <1224111473.11347.19.camel@jeremiah-laptop> <48F67C1E.7060807@vanderkooij.org> Message-ID: <1224114205.11347.27.camel@jeremiah-laptop> It appears to be defined to me. Is this not correct? define contact{ contact_name root alias Jeremiah service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email } On Wed, 2008-10-15 at 16:26 -0700, Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > jeremiah wrote: > > > Error: Service notification command 'notify-by-email' specified for > > contact 'root' is not defined anywhere! > > Error: Host notification command 'host-notify-by-email' specified > for > > contact 'root' is not defined anywhere! > > The answer is right in front of you. You need to define these > commands. > > In fact they should be listed in one of your sample configuration > files. > > Which sections of the manuals did you use to find an answer to this > question? > > Hugo. > > - -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc > > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > > Bored? Click on http://spamornot.org/ and rate those images. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org > > iD8DBQFI9nwcBvzDRVjxmYERAvpJAJ9FY7Yx5NgoYsU7gtVhSvA65+mDUACfV6Gi > SLilbuXS+MczNxNoWsdDooU= > =GihX > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Thu Oct 16 03:55:33 2008 From: perldork at webwizarddesign.com (Max) Date: Wed, 15 Oct 2008 21:55:33 -0400 Subject: No parallel checks with scripts under? In-Reply-To: References: <48F59C42.2080304@op5.se> <48F5EF28.5070502@op5.se> Message-ID: This is my official 'stupid guy' post. I finally got permission to use yum live instead of scping rpms around, so I de-installed gcc and it's dependencies (except for libgcc for obvious reasons :p) as well as gd, libjpeg and glibc-headers, and then re-installed them with yum and recompiled nagios now our dual AMD x64 host is doing over 300 checks a minute. :) with an average check latency of .046 secs and a max of 3 secs. Thanks again Andreas for your help. - Max ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Thu Oct 16 03:16:20 2008 From: ratty at they.org (frank) Date: Wed, 15 Oct 2008 18:16:20 -0700 (PDT) Subject: contacts.cfg error. In-Reply-To: <1224114205.11347.27.camel@jeremiah-laptop> References: <1224111473.11347.19.camel@jeremiah-laptop> <48F67C1E.7060807@vanderkooij.org> <1224114205.11347.27.camel@jeremiah-laptop> Message-ID: No, you have defined a _contact_. One part of the contact definition is a pointer to the notify-by-email command which is not defined. Here is a sample. It came from the misccommands.cfg file that was part of the RPM I installed from fedora. # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } -f On Wed, 15 Oct 2008, jeremiah wrote: > Date: Wed, 15 Oct 2008 16:43:24 -0700 > From: jeremiah > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] contacts.cfg error. > > It appears to be defined to me. Is this not correct? > > define contact{ > contact_name root > alias Jeremiah > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email > } > > > On Wed, 2008-10-15 at 16:26 -0700, Hugo van der Kooij wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> jeremiah wrote: >> >>> Error: Service notification command 'notify-by-email' specified for >>> contact 'root' is not defined anywhere! >>> Error: Host notification command 'host-notify-by-email' specified >> for >>> contact 'root' is not defined anywhere! >> >> The answer is right in front of you. You need to define these >> commands. >> >> In fact they should be listed in one of your sample configuration >> files. >> >> Which sections of the manuals did you use to find an answer to this >> question? >> >> Hugo. >> >> - -- >> hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ >> PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc >> >> A: Yes. >> >Q: Are you sure? >> >>A: Because it reverses the logical flow of conversation. >> >>>Q: Why is top posting frowned upon? >> >> Bored? Click on http://spamornot.org/ and rate those images. >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (GNU/Linux) >> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org >> >> iD8DBQFI9nwcBvzDRVjxmYERAvpJAJ9FY7Yx5NgoYsU7gtVhSvA65+mDUACfV6Gi >> SLilbuXS+MczNxNoWsdDooU= >> =GihX >> -----END PGP SIGNATURE----- >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > > Disclaimer: The information contained in this transmission, including any > attachments, may contain confidential information of Panasonic Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or other use > of the information contained in this transmission is strictly prohibited. > If you have received this transmission in error or have reason to believe > you are not authorized to receive it, please notify the sender by return > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Oct 16 08:11:53 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 16 Oct 2008 08:11:53 +0200 Subject: contacts.cfg error. In-Reply-To: <1224114205.11347.27.camel@jeremiah-laptop> References: <1224111473.11347.19.camel@jeremiah-laptop> <48F67C1E.7060807@vanderkooij.org> <1224114205.11347.27.camel@jeremiah-laptop> Message-ID: <48F6DB29.9020802@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jeremiah wrote: > It appears to be defined to me. Is this not correct? No. It only shows to me that you have not done the required thing. That is that you need to sit down and read the manual of nagios. So it would be very much appriciated if you take the time to sit down with the manual and find the answers in there as most of the questions you have send so far indicate that you have not even seen the manual. If something is unclear in the manual then by all means ask for clearification. But I think that asking questions that show a lack of commitment to read the manual and understanding the way in which nagios works is a cheap way of getting around you doing what you should do. And it is my simple view that we should not encourage people to start with nagios untill they have read the manual. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI9tsnBvzDRVjxmYERAisVAKCgQrwzccAsxI8klhw6ztot29iQLwCgiaEX coUF2KLGMD6MGMa8cthJU68= =pzlR -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gurkan.aslan at comturk.com Thu Oct 16 09:01:56 2008 From: gurkan.aslan at comturk.com (=?ISO-8859-1?Q?G=FCrkan?= Aslan) Date: Thu, 16 Oct 2008 10:01:56 +0300 Subject: nagios not starting In-Reply-To: <1224093519.6662.0.camel@jeremiah-laptop> References: <48F60A29.8050808@optiksecurite.com> <1224090417.6678.4.camel@jeremiah-laptop> <48F62652.1020902@optiksecurite.com> <1224093519.6662.0.camel@jeremiah-laptop> Message-ID: <1224140516.6334.1.camel@idesktop> Hi, /etc/init.d/nagios2 script trying to kill something in "start" case. You can check it by editing the /etc/init.d/nagios2 file content. Regards ?r?, 2008-10-15 tarihinde 10:58 -0700 saatinde, jeremiah yazd?: > Any ideas? > > ~$ sudo /etc/init.d/nagios2 start > [sudo] password for user: > * Starting nagios2 monitoring daemon nagios2 > kill: 1: No such process > > > [ OK ] -- G?rkan Aslan Senior Developer Komturk Iletisim Ltd. Sti Phone: +90 212 275 88 99 ext 125 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fferreira at osiatis.es Thu Oct 16 11:25:55 2008 From: fferreira at osiatis.es (Felipe Ferreira) Date: Thu, 16 Oct 2008 11:25:55 +0200 Subject: How would you monitor a large list of URLs? Message-ID: <48F708A3.9080409@osiatis.es> If your problem is the pain to add one by one by hand. I would write a script that would pull a list of the urls,hosts,IP from a text file and generate a hosts.cfg file, that should speed up things.I also advise to first create templates of Hosts,and Services... I use this script to parse 3 args CSV files like, Hostname,Info(Alias),IP You could adjust as you would like... * ->hosts.sh script:* #!/bin/sh #SCRIPT TO MAKE A HOST.CFG list #By Felipe Ferreira 09/10/2008 version 2.0 file=$1 echo "Nombre del Script: $0?; echo "Nombre del Host.txt : $file"; cat $file |while read line; do echo "${line}" NAME=`echo ${line}|cut -d, -f1` INFO=`echo ${line}|cut -d, -f2` IP=`echo ${line}|cut -d, -f3` cat hosts.skel | sed -e "s/NAME/$NAME/" -e "s/INFO/$INFO/" -e "s/IP/$IP/">>hosts.cfg done #clean Illegal Chars cat hosts.cfg | sed -e "s/?/c/" -e "s/?/e/" -e "s/?/e/" -e "s/?/o/" -e "s/?/o/" -e "s/?/a/" -e "s/?/_/" -e "s/?/i/" -e "s/?/u/" -e "s/'/_/" >>hostsCLEAN.cfg ***You will also need a hosts.skel file like this:* define host{ host_name Loopback_NAME use Routers-Dix alias INFO address IP hostgroups DIx_Loopback } Sorry for the long post, I do have it better explained here: http://felipeferreira.net/?p=48 -- *Felipe Ferreira* www.felipeferreira.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slackwaresupport at gmail.com Thu Oct 16 14:28:34 2008 From: slackwaresupport at gmail.com (chris king) Date: Thu, 16 Oct 2008 07:28:34 -0500 Subject: problem with emailing. Message-ID: <414848930810160528x21bfa6ddr3a74ba48feeb97d5@mail.gmail.com> ok heres my issue: nagios.debug ==> nagios.debug <== [1224160395.192595] [2048.1] [pid=2555] **** BEGIN MACRO PROCESSING *********** [1224160395.192619] [2048.1] [pid=2555] Processing: '$USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5' [1224160395.192638] [2048.1] [pid=2555] Done. Final output: '/usr/local/nagios/libexec/check_icmp -H 10.10.9.15 -w -c -p 5' [1224160395.192642] [2048.1] [pid=2555] **** END MACRO PROCESSING ************* [1224160405.037868] [2048.1] [pid=2555] **** BEGIN MACRO PROCESSING *********** [1224160405.037895] [2048.1] [pid=2555] Processing: 'HOST ALERT: apache0;$HOSTSTATE$;$HOSTSTATETYPE$;$HOSTATTEMPT$;CRITICAL - 10.10.9.15: rta nan, lost 100% ' [1224160405.037910] [2048.1] [pid=2555] Done. Final output: 'HOST ALERT: apache0;DOWN;SOFT;2;CRITICAL - 10.10.9.15: rta nan, lost 100% ' [1224160405.037914] [2048.1] [pid=2555] **** END MACRO PROCESSING ************* my mail.log Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: from=nagios, size=226, class=0, nrcpts=1, msgid=< 200810161232.m9GCWFwB002578 at nagios.nsanet.com>, relay=nagios at localhost Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: <$@nagios.nsanet.com>... User unknown Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: to=$, ctladdr=nagios (104/104), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30226, relay=[ 127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: from=< nagios at nagios.nsanet.com>, size=226, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=nagios at localhost [127.0.0.1] my contact-by-email command: define command { command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } can anyone see whats wrong????????? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 16 14:45:36 2008 From: marc at ena.com (Marc Powell) Date: Thu, 16 Oct 2008 07:45:36 -0500 Subject: problem with emailing. In-Reply-To: <414848930810160528x21bfa6ddr3a74ba48feeb97d5@mail.gmail.com> References: <414848930810160528x21bfa6ddr3a74ba48feeb97d5@mail.gmail.com> Message-ID: On Oct 16, 2008, at 7:28 AM, chris king wrote: > my mail.log > > Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: from=nagios, > size=226, class=0, nrcpts=1, msgid=<200810161232.m9GCWFwB002578 at nagios.nsanet.com > >, relay=nagios at localhost > Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: <$@nagios.nsanet.com > >... User unknown > Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: to=$, > ctladdr=nagios (104/104), delay=00:00:00, xdelay=00:00:00, > mailer=relay, pri=30226, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, > stat=User unknown > Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: from= >, size=226, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, > relay=nagios at localhost [127.0.0.1] > > my contact-by-email command: > > define command { > command_name notify-host-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n > \nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/ > Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ > Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ > } Please post the host, contactgroup and contact definitions. Is there something interesting about the contact's e-mail? Does it contain a $? -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slackwaresupport at gmail.com Thu Oct 16 14:49:07 2008 From: slackwaresupport at gmail.com (chris king) Date: Thu, 16 Oct 2008 07:49:07 -0500 Subject: problem with emailing. Message-ID: <414848930810160549w5e715c62kc1bf86a0e4057ac2@mail.gmail.com> hosts.cfg define host { host_name apache0 check_command check_icmp max_check_attempts 15 check_period 24x7 active_checks_enabled 1 event_handler notify-host-by-email event_handler_enabled 1 notification_interval 15 notification_period 24x7 notifications_enabled 1 alias apache0 address 10.10.9.15 notification_options d,u,r,f stalking_options o,d,u contact_groups linux hostgroups linux }* * contactgroup: define contactgroup { contactgroup_name linux alias linux members cking } contact: define contact { contact_name cking alias cking email cking at nsai.com host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 can_submit_commands 1 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands notify-host-by-email service_notification_commands notify-host-by-email } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Oct 16 14:49:35 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 16 Oct 2008 08:49:35 -0400 Subject: problem with emailing. In-Reply-To: <414848930810160528x21bfa6ddr3a74ba48feeb97d5@mail.gmail.com> References: <414848930810160528x21bfa6ddr3a74ba48feeb97d5@mail.gmail.com> Message-ID: <48F7385F.4010100@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/10/08 08:28 AM, chris king wrote: > ok heres my issue: > > nagios.debug > > ==> nagios.debug <== > [1224160395.192595] [2048.1] [pid=2555] **** BEGIN MACRO PROCESSING > *********** > [1224160395.192619] [2048.1] [pid=2555] Processing: '$USER1$/check_icmp > -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5' > [1224160395.192638] [2048.1] [pid=2555] Done. Final output: > '/usr/local/nagios/libexec/check_icmp -H 10.10.9.15 > -w -c -p 5' > [1224160395.192642] [2048.1] [pid=2555] **** END MACRO PROCESSING > ************* > [1224160405.037868] [2048.1] [pid=2555] **** BEGIN MACRO PROCESSING > *********** > [1224160405.037895] [2048.1] [pid=2555] Processing: 'HOST ALERT: > apache0;$HOSTSTATE$;$HOSTSTATETYPE$;$HOSTATTEMPT$;CRITICAL - 10.10.9.15 > : rta nan, lost 100% > ' > [1224160405.037910] [2048.1] [pid=2555] Done. Final output: 'HOST > ALERT: apache0;DOWN;SOFT;2;CRITICAL - 10.10.9.15 : > rta nan, lost 100% > ' > [1224160405.037914] [2048.1] [pid=2555] **** END MACRO PROCESSING > ************* > > > > > > > my mail.log > > Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: from=nagios, > size=226, class=0, nrcpts=1, > msgid=<200810161232.m9GCWFwB002578 at nagios.nsanet.com > >, > relay=nagios at localhost > Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: > <$@nagios.nsanet.com >... User unknown > Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: to=$, > ctladdr=nagios (104/104), delay=00:00:00, xdelay=00:00:00, mailer=relay, > pri=30226, relay=[127.0.0.1 ] [127.0.0.1 > ], dsn=5.1.1, stat=User unknown > Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: > from=>, > size=226, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, > relay=nagios at localhost [127.0.0.1 ] > > > > > > > > my contact-by-email command: > > define command { > command_name notify-host-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: > $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ > } > > > > > > > can anyone see whats wrong????????? Maybe the contact definition? - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI9zhf6dZ+Kt5BchYRAu4uAJ9Mnpd8H5hOHn2U6b+KWchsN5f2xwCgiCdl E5pXb7rS3+2XwGdfsnvIbt4= =eW9u -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Thu Oct 16 15:45:12 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 16 Oct 2008 14:45:12 +0100 Subject: problem with emailing. In-Reply-To: <414848930810160528x21bfa6ddr3a74ba48feeb97d5@mail.gmail.com> References: <414848930810160528x21bfa6ddr3a74ba48feeb97d5@mail.gmail.com> Message-ID: <200810161445.12298.assaf.flatto@ssp.uk.com> There are no arguments passed to the check_icmp command for the warning and critical ( -w and -c ) . i assume you are passing some arguments in your service declaration , but they are not parsed . Check the service declaration . Assaf On Thursday 16 October 2008 13:28:34 chris king wrote: > ok heres my issue: > nagios.debug > > ==> nagios.debug <== > [1224160395.192595] [2048.1] [pid=2555] **** BEGIN MACRO PROCESSING > *********** > [1224160395.192619] [2048.1] [pid=2555] Processing: '$USER1$/check_icmp -H > $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5' > [1224160395.192638] [2048.1] [pid=2555] Done. Final output: > '/usr/local/nagios/libexec/check_icmp -H 10.10.9.15 -w -c -p 5' > [1224160395.192642] [2048.1] [pid=2555] **** END MACRO PROCESSING > ************* > [1224160405.037868] [2048.1] [pid=2555] **** BEGIN MACRO PROCESSING > *********** > [1224160405.037895] [2048.1] [pid=2555] Processing: 'HOST ALERT: > apache0;$HOSTSTATE$;$HOSTSTATETYPE$;$HOSTATTEMPT$;CRITICAL - 10.10.9.15: > rta nan, lost 100% > ' > [1224160405.037910] [2048.1] [pid=2555] Done. Final output: 'HOST ALERT: > apache0;DOWN;SOFT;2;CRITICAL - 10.10.9.15: rta nan, lost 100% > ' > [1224160405.037914] [2048.1] [pid=2555] **** END MACRO PROCESSING > ************* > > > > > > > my mail.log > > Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: from=nagios, > size=226, class=0, nrcpts=1, msgid=< > 200810161232.m9GCWFwB002578 at nagios.nsanet.com>, relay=nagios at localhost > Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: > <$@nagios.nsanet.com>... User unknown > Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: to=$, ctladdr=nagios > (104/104), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30226, > relay=[ 127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown > Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: from=< > nagios at nagios.nsanet.com>, size=226, class=0, nrcpts=0, proto=ESMTP, > daemon=MSP-v4, relay=nagios at localhost [127.0.0.1] > > > > > > > > my contact-by-email command: > > define command { > command_name notify-host-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: > $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ > } > > > > > > > can anyone see whats wrong????????? -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 16 16:00:30 2008 From: marc at ena.com (Marc Powell) Date: Thu, 16 Oct 2008 09:00:30 -0500 Subject: problem with emailing. In-Reply-To: <414848930810160549w5e715c62kc1bf86a0e4057ac2@mail.gmail.com> References: <414848930810160549w5e715c62kc1bf86a0e4057ac2@mail.gmail.com> Message-ID: On Oct 16, 2008, at 7:49 AM, chris king wrote: > hosts.cfg > > define host { [snip] > > event_handler notify-host-by-email > event_handler_enabled 1 This is incorrect and un-necessary. I am betting that the e-mail log you're referencing is a result of this event handler firing. $CONTACTEMAIL$ isn't a valid macro for eventhandlers (http://nagios.sourceforge.net/docs/3_0/macrolist.html ). eventhandlers are designed for doing other things like restarting services and the like. notifications are handled by an entirely different process (http://nagios.sourceforge.net/docs/3_0/notifications.html ). You should remove these two parameters. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slackwaresupport at gmail.com Thu Oct 16 16:02:09 2008 From: slackwaresupport at gmail.com (chris king) Date: Thu, 16 Oct 2008 09:02:09 -0500 Subject: problem with emailing. In-Reply-To: <200810161445.12298.assaf.flatto@ssp.uk.com> References: <414848930810160528x21bfa6ddr3a74ba48feeb97d5@mail.gmail.com> <200810161445.12298.assaf.flatto@ssp.uk.com> Message-ID: <414848930810160702w1cbbb07bx3f6c7430a1a4e49d@mail.gmail.com> define host { host_name apache0 check_command check_icmp!100.0,20%!500.0,60% max_check_attempts 15 check_period 24x7 active_checks_enabled 1 event_handler notify-host-by-email event_handler_enabled 1 notification_interval 15 notification_period 24x7 notifications_enabled 1 alias apache0 address 10.10.9.15 notification_options d,u,r,f stalking_options o,d,u contact_groups linux hostgroups linux } fixed that.. still same thing.. On Thu, Oct 16, 2008 at 8:45 AM, Assaf Flatto wrote: > There are no arguments passed to the check_icmp command for the warning and > critical ( -w and -c ) . > > i assume you are passing some arguments in your service declaration , but > they are not parsed . > > Check the service declaration . > > Assaf > > > On Thursday 16 October 2008 13:28:34 chris king wrote: > > ok heres my issue: > > nagios.debug > > > > ==> nagios.debug <== > > [1224160395.192595] [2048.1] [pid=2555] **** BEGIN MACRO PROCESSING > > *********** > > [1224160395.192619] [2048.1] [pid=2555] Processing: '$USER1$/check_icmp > -H > > $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5' > > [1224160395.192638] [2048.1] [pid=2555] Done. Final output: > > '/usr/local/nagios/libexec/check_icmp -H 10.10.9.15 -w -c -p 5' > > [1224160395.192642] [2048.1] [pid=2555] **** END MACRO PROCESSING > > ************* > > [1224160405.037868] [2048.1] [pid=2555] **** BEGIN MACRO PROCESSING > > *********** > > [1224160405.037895] [2048.1] [pid=2555] Processing: 'HOST ALERT: > > apache0;$HOSTSTATE$;$HOSTSTATETYPE$;$HOSTATTEMPT$;CRITICAL - 10.10.9.15: > > rta nan, lost 100% > > ' > > [1224160405.037910] [2048.1] [pid=2555] Done. Final output: 'HOST > ALERT: > > apache0;DOWN;SOFT;2;CRITICAL - 10.10.9.15: rta nan, lost 100% > > ' > > [1224160405.037914] [2048.1] [pid=2555] **** END MACRO PROCESSING > > ************* > > > > > > > > > > > > > > my mail.log > > > > Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: from=nagios, > > size=226, class=0, nrcpts=1, msgid=< > > 200810161232.m9GCWFwB002578 at nagios.nsanet.com>, relay=nagios at localhost > > Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: > > <$@nagios.nsanet.com>... User unknown > > Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: to=$, > ctladdr=nagios > > (104/104), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30226, > > relay=[ 127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown > > Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: from=< > > nagios at nagios.nsanet.com>, size=226, class=0, nrcpts=0, proto=ESMTP, > > daemon=MSP-v4, relay=nagios at localhost [127.0.0.1] > > > > > > > > > > > > > > > > my contact-by-email command: > > > > define command { > > command_name notify-host-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > > $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: > > $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ > > } > > > > > > > > > > > > > > can anyone see whats wrong????????? > > > > -- > > Assaf Flatto > SSP Ops Team > Linux System Administrator > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use of > the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery > or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK > Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Thu Oct 16 16:03:34 2008 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Thu, 16 Oct 2008 10:03:34 -0400 Subject: check_fping timing Message-ID: <20081016140334.GA14105@bewilderbeast.blackhelicopters.org> Hi, At times, latency rises on my network. I'm trying to give check_fping a high timeout, 10 seconds to warn and 12 for critical. It seems that check_fping returns too quickly, however. Here, I've cranked up the warn and critical levels to an absurd level for illustration purposes, and timed the process. # /usr/bin/time ./check_fping -H roxsw001 -w 1000000.0,80% -c 12000000.0,100% -b 56 FPING CRITICAL - roxsw001 (loss=100% )|loss=100%;80;100;0;100 0.51 real 0.00 user 0.00 sys The check returns in half a second. Obviously, my timeout isn't working. Any thoughts on why this is, or what I can do? Surely someone else is checking hosts on an intermittently slow network? Thanks, ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ "My pessimism extends to the point of even suspecting the sincerity of the pessimists." -- Jean Rostand, French biologist and philosopher ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From antoine.musso at laposte.fr Thu Oct 16 17:04:16 2008 From: antoine.musso at laposte.fr (Antoine Musso) Date: Thu, 16 Oct 2008 17:04:16 +0200 Subject: service latency troubles In-Reply-To: <48F5FC3B.3090506@op5.se> References: <48EF7414.50608@laposte.fr> <48F1324E.70203@op5.se> <48F34D50.3050909@laposte.fr> <48F36E5F.1080507@op5.se> <48F5F8CC.8030403@laposte.fr> <48F5FC3B.3090506@op5.se> Message-ID: <48F757F0.8000707@laposte.fr> Andreas Ericsson a ?crit : >> 1/ is there any recommended setting for checking the liveness of a >> host ? Since this check is synchronous, we want Nagios to achieve this >> as fast as possible. > > Upgrade to Nagios 3. It sports parallell hostchecks. Hello, We do use Nagios 3 but we had 'use_aggressive_host_checking=1' thus triggering a synchronous check and lock the main Nagios process.* I have changed our check_host_alive command to only send 1 ICMP packet and wait for 3 seconds maximum. This issue is solved ;) >> If not, I am going to check why it takes so long to send a packet to the >> remote ndo2db instance. > > That's a good idea. Please let us know what you find. It is probably waiting for a tcp ack on each write() calls. With a round The average round-trip with the server is 17ms, it is most certainly the issue. From my previous analyse, you can see each call is 20ms average : SERVICE_STATUS_DATA (#20) 8321 calls, avg: 0.02s (total 149.48s) We are now checking latency with a connection to 127.0.0.1 but raise a segfault. I am going to write on nagios-dev list ;) Thanks for your answer Andreas. It helped us a lot. cheers, -- Antoine MUSSO DISIT/PROD/QFO/OUT mailto:antoine.musso at laposte.fr t?l. 02 40 12 73 62 -------------- next part -------------- Post-scriptum La Poste Ce message est confidentiel. Sous r?serve de tout accord conclu par ?crit entre vous et La Poste, son contenu ne repr?sente en aucun cas un engagement de la part de La Poste. Toute publication, utilisation ou diffusion, m?me partielle, doit ?tre autoris?e pr?alablement. Si vous n'?tes pas destinataire de ce message, merci d'en avertir imm?diatement l'exp?diteur. -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick at ttys0.us Thu Oct 16 18:07:59 2008 From: rick at ttys0.us (rick) Date: Thu, 16 Oct 2008 11:07:59 -0500 (CDT) Subject: check_dig display error Message-ID: In attempting to set up check_dig I am having a problem with Nagios 2.5 displaying a warning message when there is no valid reason that I can tell. The first section below shows the output of the Nagios display indicating that response time is 0.072 seconds but a warning is issued. If I understand the settings for the checkcommands.cfg the warning should not be issued for a time interval of at least three seconds and critical status should not be indicated for less than a five second response. Running check_dig from the command line always has shown response times of less than one second so I am having trouble understanding the why I keep receiving warning messages from Nagios. Can someone to point me in the right direction to fix this? I had googled this problem and found only one possibility for a code patch for the configure script but found that it was incorporated. thanks rick Nagios DISPLAY OUTPUT Host Service Status Last Check Duration xx.tx DIG WARNING 10-16-2008 10:25:28 0d 21h 23m 58s Attempt Status Information 3/3 DNS WARNING - 0.072 seconds response time (ns.xx.net. 3600 IN A xx.xx.8.2) Nagios command line output ./check_dig -H ns.xxx.net -l www.xx.net -T A -w 3.0 -c 5.0 DNS OK - 0.039 seconds response time (www.xx.net. 3600 IN A xx.xx.179.67)|time=0.038771s;3.000000;5.000000;0.000000 checkcommands.cfg # 'check_dig' command definition define command{ command_name check_dig command_line $USER1$/check_dig -H $HOSTADDRESS$ -l $ARG1$ -T $ARG2$ -w 3.0 -c 5.0 } services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name ns.xx service_description DIG is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups nagios-admins,dig notification_interval 120 notification_period 24x7 notification_options c,r check_command check_dig!ns.xx.net!www.xx.net!A uname -a Linux sport 2.6.11.4-21.17-default #1 Fri Apr 6 08:42:34 UTC 2007 i686 athlon i386 GNU/Linux ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 16 19:18:27 2008 From: marc at ena.com (Marc Powell) Date: Thu, 16 Oct 2008 12:18:27 -0500 Subject: check_dig display error In-Reply-To: References: Message-ID: <37DCBB3F-F3CE-459B-B54A-62568E677528@ena.com> On Oct 16, 2008, at 11:07 AM, rick wrote: > Nagios DISPLAY OUTPUT > Host Service Status Last Check Duration > xx.tx DIG WARNING 10-16-2008 10:25:28 0d 21h 23m 58s > Attempt Status Information > 3/3 DNS WARNING - 0.072 seconds response time (ns.xx.net. 3600 IN > A xx.xx.8.2) At a basic level, there is a discrepency between the record that's being checked here (ns.xx.net) and what you tested below (www.xx.net). That's a clue to your issue. > Nagios command line output > ./check_dig -H ns.xxx.net -l www.xx.net -T A -w 3.0 -c 5.0 > DNS OK - 0.039 seconds response time (www.xx.net. 3600 IN A > xx.xx.179.67)|time=0.038771s;3.000000;5.000000;0.000000 > > checkcommands.cfg > # 'check_dig' command definition > define command{ > command_name check_dig > command_line $USER1$/check_dig -H $HOSTADDRESS$ -l $ARG1$ > -T $ARG2$ -w 3.0 -c 5.0 > } > services.cfg > # Service definition > define service{ {chop} > > check_command check_dig!ns.xx.net! > www.xx.net!A $ARG1$ = ns.xx.net, $ARG2$ = www.xx.net, $ARG3$ = A Final command run by nagios is -- /path/to/check_dig - H
-l ns.xx.net -T www.xx.net -w 3.0 -c 5.0 You're trying to look up a record of type 'www.xx.net' for the hostname 'ns.xx.net'. It's not a valid record type so you get WARNING from check_dig no matter what the response time is. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ibloodyhatespam at gmail.com Thu Oct 16 21:25:56 2008 From: ibloodyhatespam at gmail.com (ibloodyhatespam at gmail.com) Date: Thu, 16 Oct 2008 21:25:56 +0200 Subject: check_ide_smart & commands.cfg Message-ID: <009401c92fc5$0379da70$0a6d8f50$@com> Hi, I seem to have run into a bit of a problem with Nagios 3.0.3, nagiosplug 1.4.13 and check_ide_smart. I've added the suid bit to the script file and it's running just fine for the nagios user on its own ("./check_ide_smart -n -d /dev/sda" results in "OK - Operational (15/15 tests passed)"). When I try to incorporate it into commands.cfg and add it to the localhost checks however, nagios refuses to load the updated scripts. commands.cfg: # 'check_ide_smart' command definition define command{ command_name check_ide_smart command_line $USER1$/check_ide_smart -n -d $ARG1$ } localhost.cfg: #define service{ use local-service host_name localhost service_description SMART sda check_command check_ide_smart!/dev/sda notifications_enabled 0 } No useful output either (nor in the logs)... Commenting both means everything loads fine again though, so the problem has to be in here. What exactly am I doing wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtillotson at techtarget.com Thu Oct 16 22:06:01 2008 From: jtillotson at techtarget.com (Tillotson, Jeff) Date: Thu, 16 Oct 2008 16:06:01 -0400 Subject: Schedule downtime by triggers and/or by service group Message-ID: I just had to schedule my first downtime in Nagios 3.0.3. I ran into a few things that I want to ask about. 1) Is it possible to schedule downtimes by service group? 2) When I tried to trigger a downtime of another scheduled downtime (a host) it got the end of the downtime right but started the downtime immediately. Is this a bug or am I doing something wrong? Regards, Jeff ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Oct 16 22:29:14 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 16 Oct 2008 13:29:14 -0700 Subject: check_ide_smart & commands.cfg In-Reply-To: <009401c92fc5$0379da70$0a6d8f50$@com> References: <009401c92fc5$0379da70$0a6d8f50$@com> Message-ID: <20081016202914.GT14923@bakgwai.americas.hpqcorp.net> On Thu, 16 Oct 2008, ibloodyhatespam at gmail.com wrote: > Hi, I seem to have run into a bit of a problem with Nagios 3.0.3, nagiosplug 1.4.13 and check_ide_smart. > > I've added the suid bit to the script file and it's running just fine for the nagios user on its own ("./check_ide_smart -n -d /dev/sda" results in "OK - Operational (15/15 tests passed)"). When I try to incorporate it into commands.cfg and add it to the localhost checks however, nagios refuses to load the updated scripts. > > > commands.cfg: > # 'check_ide_smart' command definition > define command{ > command_name check_ide_smart > command_line $USER1$/check_ide_smart -n -d $ARG1$ > } > > localhost.cfg: > #define service{ > use local-service > host_name localhost > service_description SMART sda > check_command check_ide_smart!/dev/sda > notifications_enabled 0 > } > > > No useful output either (nor in the logs)... Commenting both means everything loads fine again though, so the problem has to be in here. > What exactly am I doing wrong? What do you mean by "nagios refuses to load the updated scripts?" Do you mean the configs? If so, a "nagios -v /etc/nagios/nagios.cfg" (or wherever your nagios.cfg lives) should ihelp point you to the issue. One thing that's definitely not right as you posted it here is the "define service" being commented out in your service config, since that will make the rest of the uncommented lines under it generate an error when loading. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Thu Oct 16 22:32:40 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Thu, 16 Oct 2008 13:32:40 -0700 Subject: check_load issue Message-ID: <1224189160.17490.3.camel@jeremiah-laptop> My check_load service keeps on giving me the following error. "Warning threshold must be float or float triplet! " However, when i run the command from the system it works just fine. ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; My services.cfg file looks as such..same values. check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 Any thoughts? Thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Oct 16 22:32:09 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 16 Oct 2008 13:32:09 -0700 Subject: Schedule downtime by triggers and/or by service group In-Reply-To: References: Message-ID: <20081016203209.GU14923@bakgwai.americas.hpqcorp.net> On Thu, 16 Oct 2008, Tillotson, Jeff wrote: > I just had to schedule my first downtime in Nagios 3.0.3. I ran into a few things that I want to ask about. > > 1) Is it possible to schedule downtimes by service group? Yes. On one of the servicegroup pages (Summary, Overview or Grid) click on the "short" name of the servicegroup. You'll see it. > > 2) When I tried to trigger a downtime of another scheduled downtime (a host) it got the end of the downtime right but started the downtime immediately. Is this a bug or am I doing something wrong? How exactly did you schedule this downtime? There are several different ways downtimes start, and it's hard to say why this one did without knowing what your parameters were. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Oct 16 22:37:16 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 16 Oct 2008 13:37:16 -0700 Subject: check_load issue In-Reply-To: <1224189160.17490.3.camel@jeremiah-laptop> References: <1224189160.17490.3.camel@jeremiah-laptop> Message-ID: <20081016203716.GV14923@bakgwai.americas.hpqcorp.net> On Thu, 16 Oct 2008, jeremiah wrote: > My check_load service keeps on giving me the following error. > > "Warning threshold must be float or float triplet! " > > However, when i run the command from the system it works just fine. > > ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 > OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; > load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; > > My services.cfg file looks as such..same values. > > check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 How is your check_load check command defined? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 16 22:38:03 2008 From: marc at ena.com (Marc Powell) Date: Thu, 16 Oct 2008 15:38:03 -0500 Subject: check_ide_smart & commands.cfg In-Reply-To: <009401c92fc5$0379da70$0a6d8f50$@com> References: <009401c92fc5$0379da70$0a6d8f50$@com> Message-ID: On Oct 16, 2008, at 2:25 PM, wrote: > When I try to incorporate it into commands.cfg and add it to the > localhost checks however, nagios refuses to load the updated scripts. Telling us what it says when doing so is useful information. > localhost.cfg: > #define service{ > use local-service > host_name localhost > service_description SMART sda > check_command check_ide_smart!/dev/sda > notifications_enabled 0 > } > > > No useful output either (nor in the logs)... Any output is useful output when troubleshooting; it eliminates possibilities. > Commenting both means everything loads fine again though, so the > problem has to be in here. > What exactly am I doing wrong? You've commented out the first line of the service definition. Running '/path/to/nagios -v /path/to/nagios.cfg' will cause nagios to perform syntax checks on the config files and report errors. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Thu Oct 16 22:40:33 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 16 Oct 2008 14:40:33 -0600 Subject: check_load issue In-Reply-To: <1224189160.17490.3.camel@jeremiah-laptop> References: <1224189160.17490.3.camel@jeremiah-laptop> Message-ID: Going to at least need to see the command definition. -----Original Message----- From: jeremiah [mailto:jeremiah.jester at panasonic.aero] Sent: Thursday, October 16, 2008 2:33 PM To: Nagios Subject: [Nagios-users] check_load issue My check_load service keeps on giving me the following error. "Warning threshold must be float or float triplet! " However, when i run the command from the system it works just fine. ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; My services.cfg file looks as such..same values. check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 Any thoughts? Thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 16 22:42:26 2008 From: marc at ena.com (Marc Powell) Date: Thu, 16 Oct 2008 15:42:26 -0500 Subject: check_load issue In-Reply-To: <1224189160.17490.3.camel@jeremiah-laptop> References: <1224189160.17490.3.camel@jeremiah-laptop> Message-ID: On Oct 16, 2008, at 3:32 PM, jeremiah wrote: > My check_load service keeps on giving me the following error. > > "Warning threshold must be float or float triplet! " > > However, when i run the command from the system it works just fine. > > ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 > OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; > load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; Then this isn't what nagios has been told to run. > My services.cfg file looks as such..same values. > > check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 > > Any thoughts? Your check_load command definition doesn't properly use the $ARG1$ and $ARG2$ macros, most likely. See Example 2 at http://nagios.sourceforge.net/docs/3_0/macros.html . -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Thu Oct 16 22:49:17 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Thu, 16 Oct 2008 13:49:17 -0700 Subject: check_load issue In-Reply-To: <20081016203716.GV14923@bakgwai.americas.hpqcorp.net> References: <1224189160.17490.3.camel@jeremiah-laptop> <20081016203716.GV14923@bakgwai.americas.hpqcorp.net> Message-ID: <1224190157.17490.8.camel@jeremiah-laptop> I checked my commands.cfg file and noticed the command wasn't defined so I went and put this in there... define command { command_name check_load command_line libexec/check_load -w $ARG1$ $ARG2$ $ARG3 -c $ARG4$ $ARG5$ $ARG6$ } However, when i restarted nagios it told me the command was already defined. So, i then commented it out and restarted..it started but still the same error/problem: ""Warning threshold must be float or float triplet! " Thoughts? JJ ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; jesterj at pse02:/usr/lib/nagios/plugins$ sudo pico /etc/nagios2/conf.d/services_nagios2.cfg On Thu, 2008-10-16 at 13:37 -0700, Patrick Morris wrote: > On Thu, 16 Oct 2008, jeremiah wrote: > > > My check_load service keeps on giving me the following error. > > > > "Warning threshold must be float or float triplet! " > > > > However, when i run the command from the system it works just fine. > > > > ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 > > OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; > > load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; > > > > My services.cfg file looks as such..same values. > > > > check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 > > How is your check_load check command defined? > > > Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtillotson at techtarget.com Thu Oct 16 22:52:28 2008 From: jtillotson at techtarget.com (Tillotson, Jeff) Date: Thu, 16 Oct 2008 16:52:28 -0400 Subject: Schedule downtime by triggers and/or by service group In-Reply-To: <20081016203209.GU14923@bakgwai.americas.hpqcorp.net> References: <20081016203209.GU14923@bakgwai.americas.hpqcorp.net> Message-ID: Thanks for your response. >> 1) Is it possible to schedule downtimes by service group? > >Yes. On one of the servicegroup pages (Summary, Overview or >Grid) click on the "short" name of the servicegroup. You'll see it. Yeah. I laughed with a co-worker. About 2 minutes after hitting send I did just that and found what I was looking for. >> 2) When I tried to trigger a downtime of another scheduled >downtime (a host) it got the end of the downtime right but >started the downtime immediately. Is this a bug or am I doing >something wrong? > >How exactly did you schedule this downtime? There are several >different ways downtimes start, and it's hard to say why this >one did without knowing what your parameters were. I scheduled a downtime for a host with a fixed start and stop time. Then when I went to schedule a downtime for a service I use the scheduled host's down time as the trigger. It seemed to ignore the triggers start time. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Thu Oct 16 23:03:09 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 16 Oct 2008 15:03:09 -0600 Subject: check_load issue In-Reply-To: <1224190603.17490.10.camel@jeremiah-laptop> References: <1224189160.17490.3.camel@jeremiah-laptop> <1224190603.17490.10.camel@jeremiah-laptop> Message-ID: Please, always reply on-list. If the check is running via nagios, the command is defined somewhere. Find it and send it. We can't help without that information. Also, you would benefit from reading the documentation pertaining to service/command definitions. -----Original Message----- From: jeremiah [mailto:jeremiah.jester at panasonic.aero] Sent: Thursday, October 16, 2008 2:57 PM To: Aaron Segura Subject: RE: [Nagios-users] check_load issue Aaron, Thanks for your response. Here's the message I sent to the list. Date: Thu, 16 Oct 2008 13:49:17 -0700 I checked my commands.cfg file and noticed the command wasn't defined so I went and put this in there... define command { command_name check_load command_line libexec/check_load -w $ARG1$ $ARG2$ $ARG3 -c $ARG4$ $ARG5$ $ARG6$ } However, when i restarted nagios it told me the command was already defined. So, i then commented it out and restarted..it started but still the same error/problem: ""Warning threshold must be float or float triplet! " Thoughts? JJ On Thu, 2008-10-16 at 13:40 -0700, Aaron Segura wrote: > Going to at least need to see the command definition. > > -----Original Message----- > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > Sent: Thursday, October 16, 2008 2:33 PM > To: Nagios > Subject: [Nagios-users] check_load issue > > My check_load service keeps on giving me the following error. > > "Warning threshold must be float or float triplet! " > > However, when i run the command from the system it works just fine. > > ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 > OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; > load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; > > My services.cfg file looks as such..same values. > > check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 > > Any thoughts? > > Thanks, > JJ > > > > > Disclaimer: The information contained in this transmission, including > any > attachments, may contain confidential information of Panasonic > Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or > other > use > of the information contained in this transmission is strictly > prohibited. > If you have received this transmission in error or have reason to > believe > you are not authorized to receive it, please notify the sender by > return > > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Oct 16 23:06:04 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 16 Oct 2008 14:06:04 -0700 Subject: check_load issue In-Reply-To: <1224190157.17490.8.camel@jeremiah-laptop> References: <1224189160.17490.3.camel@jeremiah-laptop> <20081016203716.GV14923@bakgwai.americas.hpqcorp.net> <1224190157.17490.8.camel@jeremiah-laptop> Message-ID: <20081016210604.GX14923@bakgwai.americas.hpqcorp.net> Hi jeremiah! On Thu, 16 Oct 2008, jeremiah wrote: > I checked my commands.cfg file and noticed the command wasn't defined so > I went and put this in there... > > define command { > command_name check_load > command_line libexec/check_load -w $ARG1$ $ARG2$ $ARG3 -c > $ARG4$ $ARG5$ $ARG6$ > } > > However, when i restarted nagios it told me the command was already > defined. So, i then commented it out and restarted..it started but still > the same error/problem: ""Warning threshold must be float or float > triplet! " check_load *is* defined if that's what it's telling you. Keep looking through your config files and you should find it eventually. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Thu Oct 16 23:14:44 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 16 Oct 2008 15:14:44 -0600 Subject: check_load issue In-Reply-To: <1224191343.17490.13.camel@jeremiah-laptop> References: <1224189160.17490.3.camel@jeremiah-laptop> <1224190603.17490.10.camel@jeremiah-laptop> <1224191343.17490.13.camel@jeremiah-laptop> Message-ID: There's the problem. You should either modify your check_load command_line to: /usr/lib/nagios/plugins/check_load --warning=$ARG1$ --critical=$ARG2$ Or change your service check_command to: check_load!10.0!8.0!5.0!15.0!10.0!8.0 but not both. Also, read the docs regarding service/command definitions and macro usage. -----Original Message----- From: jeremiah [mailto:jeremiah.jester at panasonic.aero] Sent: Thursday, October 16, 2008 3:09 PM To: Aaron Segura Cc: Nagios Subject: RE: [Nagios-users] check_load issue I found this.. File: /etc/nagios-plugins/config/load.cfg # 'check_load' command definition define command{ command_name check_load command_line /usr/lib/nagios/plugins/check_load --warning= $ARG1$,$ARG2$,$ARG3$ --critical=$ARG4$,$ARG5$,$ARG6$ } I've been using an older nagios book but just ordered up the apress nagios 2 version. Thanks, JJ On Thu, 2008-10-16 at 14:03 -0700, Aaron Segura wrote: > Please, always reply on-list. > > If the check is running via nagios, the command is defined somewhere. > Find it and send it. We can't help without that information. > > Also, you would benefit from reading the documentation pertaining to > service/command definitions. > > -----Original Message----- > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > Sent: Thursday, October 16, 2008 2:57 PM > To: Aaron Segura > Subject: RE: [Nagios-users] check_load issue > > Aaron, > > Thanks for your response. Here's the message I sent to the list. > > > Date: > Thu, 16 Oct 2008 13:49:17 -0700 > > > I checked my commands.cfg file and noticed the command wasn't defined > so > I went and put this in there... > > define command { > command_name check_load > command_line libexec/check_load -w $ARG1$ $ARG2$ $ARG3 -c > $ARG4$ $ARG5$ $ARG6$ > } > > However, when i restarted nagios it told me the command was already > defined. So, i then commented it out and restarted..it started but > still > the same error/problem: ""Warning threshold must be float or float > triplet! " > > Thoughts? > > JJ > > > > On Thu, 2008-10-16 at 13:40 -0700, Aaron Segura wrote: > > Going to at least need to see the command definition. > > > > -----Original Message----- > > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > > Sent: Thursday, October 16, 2008 2:33 PM > > To: Nagios > > Subject: [Nagios-users] check_load issue > > > > My check_load service keeps on giving me the following error. > > > > "Warning threshold must be float or float triplet! " > > > > However, when i run the command from the system it works just fine. > > > > ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 > > OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; > > load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; > > > > My services.cfg file looks as such..same values. > > > > check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 > > > > Any thoughts? > > > > Thanks, > > JJ > > > > > > > > > > Disclaimer: The information contained in this transmission, > including > > any > > attachments, may contain confidential information of Panasonic > > Avionics > > Corporation. This transmission is intended only for the use of the > > addressee(s) listed above. Unauthorized review, dissemination or > > other > > use > > of the information contained in this transmission is strictly > > prohibited. > > If you have received this transmission in error or have reason to > > believe > > you are not authorized to receive it, please notify the sender by > > return > > > > email and promptly delete the transmission. > > > > > > > > > ------------------------------------------------------------------------ > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win > great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in > the > > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Thu Oct 16 23:09:03 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Thu, 16 Oct 2008 14:09:03 -0700 Subject: check_load issue In-Reply-To: References: <1224189160.17490.3.camel@jeremiah-laptop> <1224190603.17490.10.camel@jeremiah-laptop> Message-ID: <1224191343.17490.13.camel@jeremiah-laptop> I found this.. File: /etc/nagios-plugins/config/load.cfg # 'check_load' command definition define command{ command_name check_load command_line /usr/lib/nagios/plugins/check_load --warning= $ARG1$,$ARG2$,$ARG3$ --critical=$ARG4$,$ARG5$,$ARG6$ } I've been using an older nagios book but just ordered up the apress nagios 2 version. Thanks, JJ On Thu, 2008-10-16 at 14:03 -0700, Aaron Segura wrote: > Please, always reply on-list. > > If the check is running via nagios, the command is defined somewhere. > Find it and send it. We can't help without that information. > > Also, you would benefit from reading the documentation pertaining to > service/command definitions. > > -----Original Message----- > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > Sent: Thursday, October 16, 2008 2:57 PM > To: Aaron Segura > Subject: RE: [Nagios-users] check_load issue > > Aaron, > > Thanks for your response. Here's the message I sent to the list. > > > Date: > Thu, 16 Oct 2008 13:49:17 -0700 > > > I checked my commands.cfg file and noticed the command wasn't defined > so > I went and put this in there... > > define command { > command_name check_load > command_line libexec/check_load -w $ARG1$ $ARG2$ $ARG3 -c > $ARG4$ $ARG5$ $ARG6$ > } > > However, when i restarted nagios it told me the command was already > defined. So, i then commented it out and restarted..it started but > still > the same error/problem: ""Warning threshold must be float or float > triplet! " > > Thoughts? > > JJ > > > > On Thu, 2008-10-16 at 13:40 -0700, Aaron Segura wrote: > > Going to at least need to see the command definition. > > > > -----Original Message----- > > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > > Sent: Thursday, October 16, 2008 2:33 PM > > To: Nagios > > Subject: [Nagios-users] check_load issue > > > > My check_load service keeps on giving me the following error. > > > > "Warning threshold must be float or float triplet! " > > > > However, when i run the command from the system it works just fine. > > > > ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 > > OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; > > load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; > > > > My services.cfg file looks as such..same values. > > > > check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 > > > > Any thoughts? > > > > Thanks, > > JJ > > > > > > > > > > Disclaimer: The information contained in this transmission, > including > > any > > attachments, may contain confidential information of Panasonic > > Avionics > > Corporation. This transmission is intended only for the use of the > > addressee(s) listed above. Unauthorized review, dissemination or > > other > > use > > of the information contained in this transmission is strictly > > prohibited. > > If you have received this transmission in error or have reason to > > believe > > you are not authorized to receive it, please notify the sender by > > return > > > > email and promptly delete the transmission. > > > > > > > > > ------------------------------------------------------------------------ > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win > great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in > the > > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Thu Oct 16 23:20:56 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Thu, 16 Oct 2008 14:20:56 -0700 Subject: check_load issue In-Reply-To: References: <1224189160.17490.3.camel@jeremiah-laptop> <1224190603.17490.10.camel@jeremiah-laptop> <1224191343.17490.13.camel@jeremiah-laptop> Message-ID: <1224192056.17490.18.camel@jeremiah-laptop> Awesome. I will read it. Thanks! JJ On Thu, 2008-10-16 at 14:14 -0700, Aaron Segura wrote: > There's the problem. > > You should either modify your check_load command_line to: > > /usr/lib/nagios/plugins/check_load --warning=$ARG1$ --critical=$ARG2$ > > Or change your service check_command to: > > check_load!10.0!8.0!5.0!15.0!10.0!8.0 > > but not both. > > Also, read the docs regarding service/command definitions and macro > usage. > > -----Original Message----- > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > Sent: Thursday, October 16, 2008 3:09 PM > To: Aaron Segura > Cc: Nagios > Subject: RE: [Nagios-users] check_load issue > > I found this.. > > File: /etc/nagios-plugins/config/load.cfg > > > # 'check_load' command definition > define command{ > command_name check_load > command_line /usr/lib/nagios/plugins/check_load --warning= > $ARG1$,$ARG2$,$ARG3$ --critical=$ARG4$,$ARG5$,$ARG6$ > } > > I've been using an older nagios book but just ordered up the apress > nagios 2 version. > > Thanks, > JJ > > > On Thu, 2008-10-16 at 14:03 -0700, Aaron Segura wrote: > > Please, always reply on-list. > > > > If the check is running via nagios, the command is defined > somewhere. > > Find it and send it. We can't help without that information. > > > > Also, you would benefit from reading the documentation pertaining to > > service/command definitions. > > > > -----Original Message----- > > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > > Sent: Thursday, October 16, 2008 2:57 PM > > To: Aaron Segura > > Subject: RE: [Nagios-users] check_load issue > > > > Aaron, > > > > Thanks for your response. Here's the message I sent to the list. > > > > > > Date: > > Thu, 16 Oct 2008 13:49:17 -0700 > > > > > > I checked my commands.cfg file and noticed the command wasn't > defined > > so > > I went and put this in there... > > > > define command { > > command_name check_load > > command_line libexec/check_load -w $ARG1$ $ARG2$ $ARG3 -c > > $ARG4$ $ARG5$ $ARG6$ > > } > > > > However, when i restarted nagios it told me the command was already > > defined. So, i then commented it out and restarted..it started but > > still > > the same error/problem: ""Warning threshold must be float or float > > triplet! " > > > > Thoughts? > > > > JJ > > > > > > > > On Thu, 2008-10-16 at 13:40 -0700, Aaron Segura wrote: > > > Going to at least need to see the command definition. > > > > > > -----Original Message----- > > > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > > > Sent: Thursday, October 16, 2008 2:33 PM > > > To: Nagios > > > Subject: [Nagios-users] check_load issue > > > > > > My check_load sect: [Nagios-users] check_load issue > > > > > > My check_load service keeps on giving me the following error. > > > > > > "Warning threshold must be float or float triplet! " > > > > > > However, when i run the command from the system it works just > fine. > > > > > > ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 > > > OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; > > > load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; > > > > > > My services.cfg file looks as such..same values. > > > > > > check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 > > > > > > Any thoughts? > > > > > > Thanks, > > > JJ > > > > > > > > > > > > > > > Disclaimer: The information contained in this transmission, > > including > > > any > > > attachments, may contain confidential information of Panasonic > > > Avionics > > > Corporation. This transmission is intended only for the use of > the > > > addressee(s) listed above. Unauthorized review, dissemination or > > > other > > > use > > > of the information contained in this transmission is strictly > > > prohibited. > > > If you have received this transmission in error or have reason to > > > believe > > > you are not authorized to receive it, please notify the sender by > > > return > > > > > > email and promptly delete the transmission. > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > - > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge > > > Build the coolest Linux based applications with Moblin SDK & win > > great > > > prizes > > > Grand prize is a trip for two to an Open Source event anywhere in > > the > > > world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 17 02:15:57 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Thu, 16 Oct 2008 17:15:57 -0700 Subject: email notifications not working Message-ID: <1224202557.27509.19.camel@jeremiah-laptop> It doesn't appear that nagios v2 is sending email notifications to upon error. Here is what i've checked to troubleshoot the problem and verified config files. Am I missing something?? Thanks, JJ ========== !Errors do exists in the log file. ++ "LOAD-SCRIPT;CRITICAL;HARD;3;Connection refused" ++ !I've enabled notifications in each of my services in services.cfg ++ notifications_enabled 1 ++ !I've set the admin email in nagios.cfg. I've also enabled_notifications=1. ++ admin_email = (email hidden) ++ !Verified Contacts.cfg is set... ++ define contact{ contact_name root alias (my name) service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email (my email) } define contactgroup{ contactgroup_name admins alias Nagios Administrators members root } ++ !Mail agent on localhost is also running. ++ # telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 pse02.mascorp.com ESMTP Exim 4.69 Fri, 17 Oct 2008 00:13:58 +0000 ++ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 17 02:39:08 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 16 Oct 2008 17:39:08 -0700 Subject: email notifications not working In-Reply-To: <1224202557.27509.19.camel@jeremiah-laptop> References: <1224202557.27509.19.camel@jeremiah-laptop> Message-ID: <20081017003908.GF14923@bakgwai.americas.hpqcorp.net> Hi jeremiah! On Fri, 17 Oct 2008, jeremiah wrote: > It doesn't appear that nagios v2 is sending email notifications to upon > error. > > Here is what i've checked to troubleshoot the problem and verified > config files. > > Am I missing something?? > > Thanks, > JJ > > ========== > > !Errors do exists in the log file. > > ++ > "LOAD-SCRIPT;CRITICAL;HARD;3;Connection refused" > ++ > > !I've enabled notifications in each of my services in services.cfg > > ++ > notifications_enabled 1 > ++ > > !I've set the admin email in nagios.cfg. I've also > enabled_notifications=1. > > ++ > admin_email = (email hidden) > ++ > > !Verified Contacts.cfg is set... > > ++ > define contact{ > contact_name root > alias (my name) > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email (my email) > } > > define contactgroup{ > contactgroup_name admins > alias Nagios Administrators > members root > } > ++ > > !Mail agent on localhost is also running. > > ++ > # telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 pse02.mascorp.com ESMTP Exim 4.69 Fri, 17 Oct 2008 00:13:58 +0000 There are several important pieces missing here: 1. Does your Nagios log show that notifications are being sent? Look for "NOTIFICATION" in your Nagios log. If it's not there, you've got a configuration issue and you have not configured Nagios to notify when that service goes critical. 2. Have you assigned your "admins" contact group to the service you're not getting notifications for? 3. Does your mail log show anything regarding the notifications, and whether they were successfully or unsuccessfully relayed? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 17 02:52:31 2008 From: marc at ena.com (Marc Powell) Date: Thu, 16 Oct 2008 19:52:31 -0500 Subject: email notifications not working In-Reply-To: <1224202557.27509.19.camel@jeremiah-laptop> References: <1224202557.27509.19.camel@jeremiah-laptop> Message-ID: <37E995B6-6877-4783-927A-4704A38B1B1B@ena.com> On Oct 16, 2008, at 7:15 PM, jeremiah wrote: > !Errors do exists in the log file. > > ++ > "LOAD-SCRIPT;CRITICAL;HARD;3;Connection refused" > ++ Do you see a corresponding SERVICE NOTIFICATION log entry? If you do, do you see a corresponding log entry in your maillog? > !I've enabled notifications in each of my services in services.cfg > > ++ > notifications_enabled 1 > ++ ... and set 'admins' as a contact_group in this service definition and an appropriate notification_period and appropriate notification_options? > !I've set the admin email in nagios.cfg. I've also > enabled_notifications=1. > > ++ > admin_email = (email hidden) > ++ (admin_email doesn't matter in your case) > !Verified Contacts.cfg is set... These look fine. > !Mail agent on localhost is also running. > > ++ > # telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 pse02.mascorp.com ESMTP Exim 4.69 Fri, 17 Oct 2008 00:13:58 +0000 Good. The documentation on how notifications work might help clear things up -- http://nagios.sourceforge.net/docs/2_0/notifications.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sotiroff.Kristian at mtvne.com Fri Oct 17 10:25:28 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Fri, 17 Oct 2008 09:25:28 +0100 Subject: Using escalations and / or timeperiods for out of hours Message-ID: Hi (Version: Nagios 3.0.3 ) I'm trying to configure my alerts to work in such a way that engineers don't get mailed excessively out of hours. I've tried with escalations, but only with Nagios 2 and didn't have much success. Reading though the docs for v3 it seems that I can define an escalation with reduced email frequency to be active only during a specified period, so I thought this may be a way to do it. Let me explain my scenario Sun: 0000 - 0000 - reduced email Mon - Fri 0000 - 0800 - reduced email 0800 - 1900 - normal email 1900 - 0000 - reduced email Sat: 0000 - 0000 - reduced email If I configure the alerting to work so that after a single email is sent it escalates into my 'reduced email' period (if its in the right timeperiod) but otherwise will it then ignore the escalation and continue sending emails as normal? What happens if a server lets out some blue smoke over a weekend, so the escalation comes into play, but an engineer doesn't fix it until 12:00 Monday morning. Does this mean at 0800 (when the escalation is not valid any more) it will email normally? And if it continues into the next night will the escalation come back into play again or, because it has already been triggered, will it stay as normal. I'm sure someone has done this before. Does anybody have any first hand experience with it? How are other list users alerting out of hours? Cheers Kristian CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Fri Oct 17 13:25:22 2008 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Fri, 17 Oct 2008 11:25:22 +0000 (GMT) Subject: Nagios CGI Configuration not Synchronizing Message-ID: <406971.52886.qm@web24203.mail.ird.yahoo.com> I am running Nagios 2.10, on a sles10 machine. I have enabled ?use authentication? that functionality is checked in ?Nagios cgi configuration? however when a users with ?Global Host Information Access? and ?Global service Information Access? in ?Nagios cgi configuration? login they can execute any CGI command like ?Disable active checks of this host?, ?Disable notification for this service?. when any users login on Nagios, it appear as ?Logged in as nagiosadmin? for example when a user called ?tom? logins in it appears as ?Logged in as nagiosadmin? hence tom inherit admin privileges, rather than appearing as ?Logged in as tom? Can you help? Please. Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 17 14:26:10 2008 From: marc at ena.com (Marc Powell) Date: Fri, 17 Oct 2008 07:26:10 -0500 Subject: Nagios CGI Configuration not Synchronizing In-Reply-To: <406971.52886.qm@web24203.mail.ird.yahoo.com> References: <406971.52886.qm@web24203.mail.ird.yahoo.com> Message-ID: <54C04703-DCB1-4B7F-A21A-E67419190B28@ena.com> On Oct 17, 2008, at 6:25 AM, trevor obba wrote: > when any users login on Nagios, it appear as ?Logged in as > nagiosadmin? for example when a > user called ?tom? logins in it appears as ?Logged in as nagiosadmin? > hence tom > inherit admin privileges, rather than appearing as ?Logged in as tom? It sounds like you may not have properly configured htaccess for the _sbin_ directory. You're likely being prompted to login for access to the menu (share directory) but not for the cgi's (sbin directory). Since it's the cgi's that require access the the auth information, and are not finding it, they're falling back to your default username specified in cgi.cfg. http://nagios.sourceforge.net/docs/2_0/cgiauth.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcelo.maia.garcia at googlemail.com Fri Oct 17 15:13:29 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Fri, 17 Oct 2008 14:13:29 +0100 Subject: Problems building plugins 1.4.13 with mysql client libs Message-ID: <48F88F79.1080502@googlemail.com> Hi I'm building nagios-plugins 1.4.13 and I having problems with mysql. The mysql client is installed[1], but the "configure" command does not find[2]. My configure command is bellow[3]. How to specify "mysql" client libs? Thanks Marcelo [1] mysql-devel-5.0.45-7.el5 mysql-5.0.45-7.el5 [2] configure: WARNING: Skipping mysql plugin configure: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS). [3] ./configure --sysconfdir=$CONF_DIR \ --localstatedir=$VAR_DIR \ --with-fping-command=/usr/sbin/fping \ --with-mysql=/usr/bin/mysql_config >& myconfig.log ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Guillaume.Rousse at inria.fr Fri Oct 17 15:58:58 2008 From: Guillaume.Rousse at inria.fr (Guillaume Rousse) Date: Fri, 17 Oct 2008 15:58:58 +0200 Subject: Problems building plugins 1.4.13 with mysql client libs In-Reply-To: <48F88F79.1080502@googlemail.com> References: <48F88F79.1080502@googlemail.com> Message-ID: <48F89A22.90708@inria.fr> Marcelo M. Garcia a ?crit : > Hi > > I'm building nagios-plugins 1.4.13 and I having problems with mysql. The > mysql client is installed[1], but the "configure" command does not > find[2]. My configure command is bellow[3]. Check config.log to find the underlying issue. -- Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 17 18:26:16 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 17 Oct 2008 09:26:16 -0700 Subject: email notifications not working In-Reply-To: <20081017003908.GF14923@bakgwai.americas.hpqcorp.net> References: <1224202557.27509.19.camel@jeremiah-laptop> <20081017003908.GF14923@bakgwai.americas.hpqcorp.net> Message-ID: <1224260776.22592.9.camel@jeremiah-laptop> Hi Patrick, See below for answers. Puzzling. > There are several important pieces missing here: > > 1. Does your Nagios log show that notifications are being sent? Look for > "NOTIFICATION" in your Nagios log. If it's not there, you've got a > configuration issue and you have not configured Nagios to notify when > that service goes critical. Yes, i have several notifications being logged in nagios: Service Notification[2008-10-17 15:49:16] SERVICE NOTIFICATION: root;(servername);LOAD-SCRIPT;CRITICAL;notify-by-email;Connection refused > > 2. Have you assigned your "admins" contact group to the service you're > not getting notifications for? > Yes, "admins" is sepcified in the service: contact_groups admins > 3. Does your mail log show anything regarding the notifications, and > whether they were successfully or unsuccessfully relayed? > Here's what I'm seeing in my mail logs (exim): 2008-10-17 16:19:18 1Kqs2m-0000TH-3t <= <> U=Debian-exim P=local S=940 2008-10-17 16:19:18 1Kqs2m-0000TH-3t => nagios R=local_user T=mail_spool 2008-10-17 16:19:18 1Kqs2m-0000TH-3t Completed BTW, I'm using exim not send mail so my command for sending mail looks like this: define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\n Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC $\n Host: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE $\n\n Date/Time: $LONGDATETIME$\n\n Additional Info:\n\n$SERVICEOUTPUT$" | /usr/sbin/exim "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } On Thu, 2008-10-16 at 17:39 -0700, Patrick Morris wrote: > Hi jeremiah! > > On Fri, 17 Oct 2008, jeremiah wrote: > > > It doesn't appear that nagios v2 is sending email notifications to > upon > > error. > > > > Here is what i've checked to troubleshoot the problem and verified > > config files. > > > > Am I missing something?? > > > > Thanks, > > JJ > > > > ========== > > > > !Errors do exists in the log file. > > > > ++ > > "LOAD-SCRIPT;CRITICAL;HARD;3;Connection refused" > > ++ > > > > !I've enabled notifications in each of my services in services.cfg > > > > ++ > > notifications_enabled 1 > > ++ > > > > !I've set the admin email in nagios.cfg. I've also > > enabled_notifications=1. > > > > ++ > > admin_email = (email hidden) > > ++ > > > > !Verified Contacts.cfg is set... > > > > ++ > > define contact{ > > contact_name root > > alias (my name) > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,r > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email (my email) > > } > > > > define contactgroup{ > > contactgroup_name admins > > alias Nagios Administrators > > members root > > } > > ++ > > > > !Mail agent on localhost is also running. > > > > ++ > > # telnet localhost 25 > > Trying 127.0.0.1... > > Connected to localhost. > > Escape character is '^]'. > > 220 pse02.mascorp.com ESMTP Exim 4.69 Fri, 17 Oct 2008 00:13:58 > +0000 > > There are several important pieces missing here: > > 1. Does your Nagios log show that notifications are being sent? Look > for > "NOTIFICATION" in your Nagios log. If it's not there, you've got a > configuration issue and you have not configured Nagios to notify when > that service goes critical. > > 2. Have you assigned your "admins" contact group to the service you're > not getting notifications for? > > 3. Does your mail log show anything regarding the notifications, and > whether they were successfully or unsuccessfully relayed? > > > > > Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 17 20:32:30 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 17 Oct 2008 11:32:30 -0700 Subject: email notifications not working In-Reply-To: <1224260776.22592.9.camel@jeremiah-laptop> References: <1224202557.27509.19.camel@jeremiah-laptop> <20081017003908.GF14923@bakgwai.americas.hpqcorp.net> <1224260776.22592.9.camel@jeremiah-laptop> Message-ID: <1224268350.26623.6.camel@jeremiah-laptop> Ok. I figured out the problem. The notify_by_email command and others needed a bit more tweaking if your using exim and not sendmail. The command needs to be in the following format... /usr/bin/printf "message here" | /usr/bin/exim root at localhost Thanks! JJ On Fri, 2008-10-17 at 09:26 -0700, jeremiah wrote: > Hi Patrick, > > See below for answers. Puzzling. > > > There are several important pieces missing here: > > > > 1. Does your Nagios log show that notifications are being sent? Look > for > > "NOTIFICATION" in your Nagios log. If it's not there, you've got a > > configuration issue and you have not configured Nagios to notify > when > > that service goes critical. > > Yes, i have several notifications being logged in nagios: > > Service Notification[2008-10-17 15:49:16] SERVICE NOTIFICATION: > root;(servername);LOAD-SCRIPT;CRITICAL;notify-by-email;Connection > refused > > > > > > 2. Have you assigned your "admins" contact group to the service > you're > > not getting notifications for? > > > > Yes, "admins" is sepcified in the service: > > contact_groups admins > > > 3. Does your mail log show anything regarding the notifications, and > > whether they were successfully or unsuccessfully relayed? > > > > Here's what I'm seeing in my mail logs (exim): > > 2008-10-17 16:19:18 1Kqs2m-0000TH-3t <= <> U=Debian-exim P=local S=940 > 2008-10-17 16:19:18 1Kqs2m-0000TH-3t => nagios > R=local_user > T=mail_spool > 2008-10-17 16:19:18 1Kqs2m-0000TH-3t Completed > > BTW, I'm using exim not send mail so my command for sending mail looks > like this: > > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n\n > Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC > $\n > Host: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE > $\n\n > Date/Time: $LONGDATETIME$\n\n > Additional Info:\n\n$SERVICEOUTPUT$" | /usr/sbin/exim "** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ > **" $CONTACTEMAIL$ > } > > > > On Thu, 2008-10-16 at 17:39 -0700, Patrick Morris wrote: > > Hi jeremiah! > > > > On Fri, 17 Oct 2008, jeremiah wrote: > > > > > It doesn't appear that nagios v2 is sending email notifications to > > upon > > > error. > > > > > > Here is what i've checked to troubleshoot the problem and verified > > > config files. > > > > > > Am I missing something?? > > > > > > Thanks, > > > JJ > > > > > > ========== > > > > > > !Errors do exists in the log file. > > > > > > ++ > > > "LOAD-SCRIPT;CRITICAL;HARD;3;Connection refused" > > > ++ > > > > > > !I've enabled notifications in each of my services in services.cfg > > > > > > ++ > > > notifications_enabled 1 > > > ++ > > > > > > !I've set the admin email in nagios.cfg. I've also > > > enabled_notifications=1. > > > > > > ++ > > > admin_email = (email hidden) > > > ++ > > > > > > !Verified Contacts.cfg is set... > > > > > > ++ > > > define contact{ > > > contact_name root > > > alias (my name) > > > service_notification_period 24x7 > > > host_notification_period 24x7 > > > service_notification_options w,u,c,r > > > host_notification_options d,r > > > service_notification_commands notify-by-email > > > host_notification_commands host-notify-by-email > > > email (my email) > > > } > > > > > > define contactgroup{ > > > contactgroup_name admins > > > alias Nagios Administrators > > > members root > > > } > > > ++ > > > > > > !Mail agent on localhost is also running. > > > > > > ++ > > > # telnet localhost 25 > > > Trying 127.0.0.1... > > > Connected to localhost. > > > Escape character is '^]'. > > > 220 pse02.mascorp.com ESMTP Exim 4.69 Fri, 17 Oct 2008 00:13:58 > > +0000 > > > > There are several important pieces missing here: > > > > 1. Does your Nagios log show that notifications are being sent? Look > > for > > "NOTIFICATION" in your Nagios log. If it's not there, you've got a > > configuration issue and you have not configured Nagios to notify > when > > that service goes critical. > > > > 2. Have you assigned your "admins" contact group to the service > you're > > not getting notifications for? > > > > 3. Does your mail log show anything regarding the notifications, and > > whether they were successfully or unsuccessfully relayed? > > > > > > > > > > > > > Disclaimer: The information contained in this transmission, including > any > attachments, may contain confidential information of Panasonic > Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or > other use > of the information contained in this transmission is strictly > prohibited. > If you have received this transmission in error or have reason to > believe > you are not authorized to receive it, please notify the sender by > return > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Sat Oct 18 10:38:18 2008 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Sat, 18 Oct 2008 10:38:18 +0200 Subject: Nagios and Active directory In-Reply-To: <48DCE942.655F.0018.0@dap.es> References: <48DCE942.655F.0018.0@dap.es> Message-ID: <90f6e8270810180138g75d75dcfr5788bac21a06ad@mail.gmail.com> On Fri, Sep 26, 2008 at 1:53 PM, Esteban Torres Rodriguez wrote: > Hello. > > I'm using NSClient++ for Windows 2003 server. > > I want monitoring Active directory. How I do? I'm trying so: > > command.cfg: > > # 'check_ldap' command definition > define command{ > command_name check_ldap > command_line $USER1$/check_ldap -H $HOSTADDRESS$ -b $ARG1$ > } > > windows.cfg: > > define service{ > use generic-service > host_name server > service_description Active Directory > check_command check_ldap!dc=adsf,dc=asdf > } > > > Usage: check_ldap -H -b [-p ] [-a ] [-D > ] > > That's my error. you are not binding to the ldap server. In AD you cannot use anonymous queries. -- groeten, j.asenjo ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Sun Oct 19 00:21:50 2008 From: hir3npatel at gmail.com (hiren) Date: Sun, 19 Oct 2008 00:21:50 +0200 Subject: check_fping timing In-Reply-To: <20081016140334.GA14105@bewilderbeast.blackhelicopters.org> References: <20081016140334.GA14105@bewilderbeast.blackhelicopters.org> Message-ID: <1224368510.6603.12.camel@firebird> On Thu, 2008-10-16 at 10:03 -0400, Michael W. Lucas wrote: > Hi, > > At times, latency rises on my network. I'm trying to give check_fping > a high timeout, 10 seconds to warn and 12 for critical. It seems that > check_fping returns too quickly, however. Here, I've cranked up the > warn and critical levels to an absurd level for illustration purposes, > and timed the process. > > # /usr/bin/time ./check_fping -H roxsw001 -w 1000000.0,80% -c 12000000.0,100% -b 56 > FPING CRITICAL - roxsw001 (loss=100% )|loss=100%;80;100;0;100 > 0.51 real 0.00 user 0.00 sys > > The check returns in half a second. Obviously, my timeout isn't working. > > Any thoughts on why this is, or what I can do? Surely someone else is > checking hosts on an intermittently slow network? seems like the values passed to -w and -c are round trip times that the check uses to gauge on. it isn't passing those values to fping when it runs fping. all it seems to pass is packet size, packet count and server. perhaps paste the results after running in verbose mode. if fping accepts a timeout, perhaps the check should be passing that to fping. the version of check_fping I'm looking at is: nagios-plugins-trunk-200809161200 > > Thanks, > ==ml > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Oct 19 00:37:04 2008 From: marc at ena.com (Marc Powell) Date: Sat, 18 Oct 2008 17:37:04 -0500 Subject: check_fping timing In-Reply-To: <20081016140334.GA14105@bewilderbeast.blackhelicopters.org> References: <20081016140334.GA14105@bewilderbeast.blackhelicopters.org> Message-ID: <58432B5A-D4A2-48D2-8DEC-AAE029647067@ena.com> On Oct 16, 2008, at 9:03 AM, Michael W. Lucas wrote: > > Hi, > > At times, latency rises on my network. I'm trying to give check_fping > a high timeout, 10 seconds to warn and 12 for critical. It seems that > check_fping returns too quickly, however. Here, I've cranked up the You might want to take a look at check_icmp. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Steidley at collectiveview.com Sun Oct 19 05:13:50 2008 From: Eric.Steidley at collectiveview.com (J. Eric Steidley) Date: Sat, 18 Oct 2008 21:13:50 -0600 Subject: Notification Interval problem Message-ID: I am having an issue where notification are going out every minute, regardless of what I have set in templates and service definitions. I am running Nagios 3.0.3 on CentOS / RHEL 5 (2.6.18-92.1.10.el5) It also does this with the same config files on Nagios 2.x box, so I assume it is something in my config, but I can't seem to find the problem. Any ideas? Sample of notifications log, note that it sent out nags every minute: SERVER1 win-mem CRITICAL 10-16-2008 00:09:22 eric notify-service-cv Connection refused SERVER1 win-mem CRITICAL 10-16-2008 00:09:22 ericcell notify-service-cv Connection refused SERVER1 win-mem CRITICAL 10-16-2008 00:09:22 nagiosadmin notify-by-rss Connection refused SERVER1 win-mem CRITICAL 10-16-2008 00:08:22 eric notify-service-cv Connection refused SERVER1 win-mem CRITICAL 10-16-2008 00:08:22 ericcell notify-service-cv Connection refused SERVER1 win-mem CRITICAL 10-16-2008 00:08:22 nagiosadmin notify-by-rss Connection refused SERVER1 win-mem CRITICAL 10-16-2008 00:07:22 eric notify-service-cv Memory usage: total:863.22 Mb - used: 519.74 Mb (60%) - free: 343.48 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:07:22 ericcell notify-service-cv Memory usage: total:863.22 Mb - used: 519.74 Mb (60%) - free: 343.48 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:07:22 nagiosadmin notify-by-rss Memory usage: total:863.22 Mb - used: 519.74 Mb (60%) - free: 343.48 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:06:22 eric notify-service-cv Memory usage: total:863.22 Mb - used: 520.20 Mb (60%) - free: 343.01 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:06:22 ericcell notify-service-cv Memory usage: total:863.22 Mb - used: 520.20 Mb (60%) - free: 343.01 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:06:22 nagiosadmin notify-by-rss Memory usage: total:863.22 Mb - used: 520.20 Mb (60%) - free: 343.01 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:05:22 eric notify-service-cv Memory usage: total:863.22 Mb - used: 520.09 Mb (60%) - free: 343.13 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:05:22 ericcell notify-service-cv Memory usage: total:863.22 Mb - used: 520.09 Mb (60%) - free: 343.13 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:05:22 nagiosadmin notify-by-rss Memory usage: total:863.22 Mb - used: 520.09 Mb (60%) - free: 343.13 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:04:23 eric notify-service-cv Memory usage: total:863.22 Mb - used: 520.09 Mb (60%) - free: 343.13 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:04:22 ericcell notify-service-cv Memory usage: total:863.22 Mb - used: 520.09 Mb (60%) - free: 343.13 Mb (40%) SERVER1 win-mem CRITICAL 10-16-2008 00:04:22 nagiosadmin notify-by-rss Memory usage: total:863.22 Mb - used: 520.09 Mb (60%) - free: 343.13 Mb (40%) in NAGIOS.CFG interval_length=60 in OBJECTS/SERVERS.CFG define service { host_name SERVER1 service_description std-nagios.asp use critical-service check_command check_asp!$HOSTADDRESS$!/nagios.asp!good notification_interval 10 notification_period 24x7 notification_options c,r ; CRITICAL, Recovery } define service { name critical-service service_description Service Checks every 1 minute is_volatile 1 ; True max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 ; True passive_checks_enabled 1 ; True check_period 24x7 parallelize_check 0 ; False obsess_over_service 0 ; False check_freshness 0 ; False freshness_threshold 361 event_handler_enabled 1 ; True low_flap_threshold 0 high_flap_threshold 0 flap_detection_enabled 1 ; True process_perf_data 1 ; True retain_status_information 1 ; True retain_nonstatus_information 1 ; True notification_interval 10 notification_period 24x7 notification_options c,r ; CRITICAL, Recovery notifications_enabled 1 ; True contact_groups cv-critical register 0 ; False } inSTATUS.DAT hoststatus { host_name=SERVER1 modified_attributes=0 check_command=check-host-alive check_period=24x7 notification_period=awakehours check_interval=1.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=4.032 check_latency=0.250 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 plugin_output=PING OK - Packet loss = 0%, RTA = 3.60 ms long_plugin_output= performance_data=rta=3.598000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0 last_check=1224277872 next_check=1224277942 check_options=0 current_attempt=1 max_attempts=10 current_event_id=0 last_event_id=0 state_type=1 last_state_change=1222329089 last_hard_state_change=1222329089 last_time_up=1224277882 last_time_down=0 last_time_unreachable=0 last_notification=0 next_notification=0 no_more_notifications=0 current_notification_number=0 current_notification_id=0 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_host=1 last_update=1224277892 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=SERVER1 service_description=std-nagios.asp modified_attributes=0 check_command=check_asp!$HOSTADDRESS$!/nagios.asp!good check_period=24x7 notification_period=24x7 check_interval=1.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.126 check_latency=0.159 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=3 current_event_id=0 last_event_id=0 state_type=1 last_state_change=1222329089 last_hard_state_change=1222329089 last_time_ok=1224277833 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=HTTP OK HTTP/1.1 200 OK - 0.085 second response time long_plugin_output= performance_data=time=0.085371s;;;0.000000 size=269B;;;0 last_check=1224277833 next_check=1224277893 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=0 last_update=1224277892 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Oct 19 09:26:39 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 19 Oct 2008 09:26:39 +0200 Subject: Notification Interval problem In-Reply-To: References: Message-ID: <48FAE12F.8040908@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 J. Eric Steidley wrote: > I am having an issue where notification are going out every minute, > regardless of what I have set in templates and service definitions. I am > running Nagios 3.0.3 on CentOS / RHEL 5 (2.6.18-92.1.10.el5) It also does > this with the same config files on Nagios 2.x box, so I assume it is > something in my config, but I can't seem to find the problem. Any ideas? ... > define service { > name critical-service > service_description Service Checks every 1 minute > is_volatile 1 ; True Right. So you got what you asked for. A volatile service that updates you with information after every service check. I think you missed all the warnings about this in the manual. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI+uEuBvzDRVjxmYERAjruAJ9AZDTI7YTlgpIQekK9f87xN4hWbACghM4R 2qtWJ00RDDsbzplfedAsJ2Q= =Z44s -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sun Oct 19 17:45:12 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 19 Oct 2008 11:45:12 -0400 Subject: notify-html-email.sh In-Reply-To: References: Message-ID: <48FB5608.30403@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/10/08 10:05 AM, Nagios User wrote: > Hello, > I am trying to us the notify-html-email.sh mailscript on nagios 3.0.1 > with no success. Does this work with Nagios 3.0.1? if you have any > information please let me know. > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2002.html;d=1 Please do not repost multiple times the same email, even if you don't get any answer.. You would also get more luck if you'd provide more details of what you tried, configuration excerpts, and anything you did to investigate the issue. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI+1YI6dZ+Kt5BchYRAtsVAJ9GJVuPN0Xqxh2xYgAa6bYMFuUB7gCfR3k4 ZgIcyOQqT4hAzZHfou4MeMI= =tURR -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forsytad at luther.edu Sun Oct 19 23:24:38 2008 From: forsytad at luther.edu (Adam Forsyth) Date: Sun, 19 Oct 2008 16:24:38 -0500 Subject: Nagios Looking Glass Filters Message-ID: I'm experimenting with Nagios Looking Glass for the first time, and have a question about filters. From looking at the examples in s3_filter.inc.php I've created a filter called "Web Servers" and placed our web servers into it. This works just fine, but the Looking glass page reports that "The network is experiencing severe outages which is having a negative effect on services." The reason for this is that I have nagios configured to check how much free disk space is available on the server. That check is in "critical" state because the volume is 90% full. I want nagios to alert me when that happens so I can look for disk space to free up before the disk is 100% full (and it has alerted me). Nagios Looking Glass, on the other hand is for end users. The end users don't need to be concerned that we're within 10% of filling the disk, so I don't want the Looking Glass to be concerned about disk space. Is there any way to filter out certain services so Nagios Looking Glass won't be concerned about them? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Mon Oct 20 05:24:53 2008 From: ian at acces.co.jp (Ian Masters) Date: Mon, 20 Oct 2008 12:24:53 +0900 Subject: Problem using nagios-3.0.3-ja-utf8.patch Message-ID: <48FBFA05.8060700@acces.co.jp> Hello I recently applied the nagios-3.0.3-ja-utf8.patch to my Nagios installation so that I can view menu information in Japanese. It seems to be fine except for the Servicegroup Overview page which is not displaying information correctly. All other views seem to be working fine. Is anyone else on the list using this patch and if so, have you experienced anything similar? Thanks Ian Masters ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gurkan.aslan at comturk.com Mon Oct 20 10:16:16 2008 From: gurkan.aslan at comturk.com (=?ISO-8859-1?Q?G=FCrkan?= Aslan) Date: Mon, 20 Oct 2008 11:16:16 +0300 Subject: Notification Interval problem In-Reply-To: References: Message-ID: <1224490576.6410.3.camel@idesktop> Hi Eric, As you can see in the description, your service is configured to check for every 1 minutes... You can try to change normal_check_interval to 10 and retry_check_interval to 1. Nagios will check the service in every 10 minutes and if something fails, it will retry to check in every 1 minute. Best regards Cts, 2008-10-18 tarihinde 21:13 -0600 saatinde, J. Eric Steidley yazd?: [...] > define service { > name critical-service > service_description Service Checks every 1 minute > is_volatile 1 ; True > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > active_checks_enabled 1 ; True > passive_checks_enabled 1 ; True > check_period 24x7 > parallelize_check 0 ; False > obsess_over_service 0 ; False > check_freshness 0 ; False > freshness_threshold 361 > event_handler_enabled 1 ; True > low_flap_threshold 0 > high_flap_threshold 0 > flap_detection_enabled 1 ; True > process_perf_data 1 ; True > retain_status_information 1 ; True > retain_nonstatus_information 1 ; True > notification_interval 10 > notification_period 24x7 > notification_options c,r ; CRITICAL, Recovery > notifications_enabled 1 ; True > contact_groups cv-critical > register 0 ; False > } -- G?rkan Aslan Senior Developer Komturk Iletisim Ltd. Sti Phone: +90 212 275 88 99 ext 125 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus at rejas.se Mon Oct 20 11:37:36 2008 From: marcus at rejas.se (Marcus =?iso-8859-1?Q?Rej=E5s?=) Date: Mon, 20 Oct 2008 11:37:36 +0200 Subject: Unmanaged switch In-Reply-To: <200810201004.42282.assaf.flatto@ssp.uk.com> References: <20081020084829.GB22015@csits.net> <200810201004.42282.assaf.flatto@ssp.uk.com> Message-ID: <20081020093736.GB10227@akka.nordrona.rejas.se> On 10/20 10:04, Assaf Flatto wrote: > you'll need an ip to define it, since nagios require an address if you define it as host . > but you van give it a fictitious ip and assign the Check_dummy to it so it will have a "service" > assigned to it. Well, you need something as a hostaddress, it doesn't have to be an ip-address. In this case anything would do. > then you can put it in the hierarchy . > > Unfortunately , this will not give a good indication to the topology if it indeed fails since there > will be no true indication if it is up or down. That is true. For it to make sense you should make up a check that is likely to determine if the switch goes down to use as host check and maybe also as the only service on the switch. How this can be done depends on your setup. The first thing that comes to my mind is to write a check that pings some reliable serves connected directly to the switch and if none of them responds the switch is probably dead. This can be used both as host check and a service. Be wise when choosing hosts to ping. If the switch is a distribution switch with not many servers on it there might be printers to ping. /Marcus -- Marcus Rej?s jabber: marcus at jabber.rejas.se ,= ,-_-. =. Rej?s Datakonsult e-mail: marcus at rejas.se ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrt?lje gpg-key: http://gpg.rejas.se \_/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Oct 20 11:34:06 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 20 Oct 2008 09:34:06 +0000 Subject: Monitor 2nd mail server behind natted router Message-ID: <4b008f7d0810200234w18c52b85gf4cbd7bb546fb488@mail.gmail.com> Hi Guys, Our email server is currently behind a cisco router. The server is running a local IP and the router is on a public IP. I installed NSClient and use the check_nt plugin to monitor the email server. Here is my host file define host{ use dns-servers host_name mailserver alias mailserver address 41.211.31.43 } I have a backup email server behind the same router running a local IP. I was wondering how I can monitor it. Any ideas? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bianca.heigl at ingrammicro.de Mon Oct 20 11:58:14 2008 From: bianca.heigl at ingrammicro.de (Bianca) Date: Mon, 20 Oct 2008 09:58:14 +0000 (UTC) Subject: mediawiki - include the nagios status report Message-ID: hello all, i?m creating a webpage with mediawiki and i want to include there the Status Summary For All Service Groups. but i want this status report to acutalize itself. how can i manage this? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Mon Oct 20 11:53:07 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Mon, 20 Oct 2008 11:53:07 +0200 Subject: Unmanaged switch In-Reply-To: References: Message-ID: <200810201153.08221.cschneemann@suse.de> On Monday October 20 2008 11:38:04 am Paul Weaver wrote: > How about a new command called "fakecheck", and apply to a "dumbswitch" > host with a 127.0.0.1 address. It would take a list of machines, and > check them all. If any of them are up, then the fakecheck would return > OK, otherwise it would return an error state. Just for understanding, you would check if the hosts which are connected to this dumbswitch are up? But they are tested anyhow.. greetings, Christian > > Something like > #!/usr/bin/perl > my $up = 0; > my @hosts = qw/10.1.2.3 10.1.2.4 10.1.2.5 10.1.2.6/; > foreach $addr (@hosts) { > if (pingCheck($addr)) { $up++; } > } > if ($up > 0) { > print "OK: Switch must be up\n"; > exit 0; > } else { > print "CRITICAL: Switch may be down\n"; > exit 2; > } > > (If you're good at programming you could probably get a list of children > out of the config -- complex configs take a long time to read in using > perl though) > > Another way of monitoring would be to have it powered off an SNMP > enabled MDU which can tell the current being drawn. You could then > measure that. > > -- > Paul Weaver > Systems Development Engineer > News Production Facilities, BBC News > Work: 020 822 58109 > Room 1244 Television Centre, > Wood Lane, London, W12 7RJ > > > -----Original Message----- > > From: Mike [mailto:mike at csits.net] > > Sent: 20 October 2008 09:48 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Unmanaged switch > > > > > > Folks, > > > > What is the best way to include an unmanaged (read: IPless) > > switch in Nagios? Obviously I can't monitor it directly, but > > I'd like Nagios to be aware of it in the network heirachy so > > that it is aware that it is a possible poit of failure. Can > > I just define it as a host with no IP address and make it a > > parent/client of the devices that attach to it or is there a > > better way to approach this? > > > > Mike. > > > > -------------------------------------------------------------- > > ----------- > > This SF.Net email is sponsored by the Moblin Your Move > > Developer's challenge Build the coolest Linux based > > applications with Moblin SDK & win great prizes Grand prize > > is a trip for two to an Open Source event anywhere in the > > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, 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 the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Oct 20 12:03:36 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 20 Oct 2008 10:03:36 +0000 Subject: Monitor 2nd mail server behind natted router In-Reply-To: <200810201051.41385.assaf.flatto@ssp.uk.com> References: <4b008f7d0810200234w18c52b85gf4cbd7bb546fb488@mail.gmail.com> <200810201051.41385.assaf.flatto@ssp.uk.com> Message-ID: <4b008f7d0810200303y474650b3o4299495334817cd8@mail.gmail.com> Nagios is on a public IP, the router is on a public IP and the two servers are on local IPs. Here is the connection *mail1*(localIP) -------- ------------- *MailRouter*(PublicIP) ----- Switch ------- (*Nagios*)(PublicIP) *mail2* (localIP) -------- If the two servers have the same local IP, there will be IP conflict. NSClient basically sends info from the server to nagios. I can do that for one mail server, I wonder if I can do that for the sendcond one. Thanks, Lex On Mon, Oct 20, 2008 at 9:51 AM, Assaf Flatto wrote: > > Unless you have two servers with the same local ip - you shouldn't have any > problems. > > i assume that the routing rules you have between routers know which range > is behind which router , > so all you need to do is monitor the second mail server as a regular server > on the your network. > > Can you easily access or ping the server ? > > > On Monday 20 October 2008 10:34:06 Alex Dehaini wrote: > > Hi Guys, > > > > Our email server is currently behind a cisco router. The server is > running > > a local IP and the router is on a public IP. I installed NSClient and use > > the check_nt plugin to monitor the email server. Here is my host file > > > > define host{ > > use dns-servers > > host_name mailserver > > alias mailserver > > address 41.211.31.43 > > } > > > > I have a backup email server behind the same router running a local IP. I > > was wondering how I can monitor it. Any ideas? > > > > -- > > Assaf Flatto > SSP Ops Team > Linux System Administrator > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use of > the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery > or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK > Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Mon Oct 20 12:07:38 2008 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Mon, 20 Oct 2008 10:07:38 +0000 (GMT) Subject: Nagios CGI Configuration not Synchronizing Message-ID: <433722.79258.qm@web24204.mail.ird.yahoo.com> the problem has been fix, I re-enabled authentication in cgi.cfg file and then restarted nagios ----- Original Message ---- From: trevor obba To: nagios-user Sent: Friday, 17 October, 2008 12:25:22 Subject: [Nagios-users] Nagios CGI Configuration not Synchronizing I am running Nagios 2.10, on a sles10 machine. I have enabled ?use authentication? that functionality is checked in ?Nagios cgi configuration? however when a users with ?Global Host Information Access? and ?Global service Information Access? in ?Nagios cgi configuration? login they can execute any CGI command like ?Disable active checks of this host?, ?Disable notification for this service?. when any users login on Nagios, it appear as ?Logged in as nagiosadmin? for example when a user called ?tom? logins in it appears as ?Logged in as nagiosadmin? hence tom inherit admin privileges, rather than appearing as ?Logged in as tom? Can you help? Please. Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Mon Oct 20 11:51:41 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 20 Oct 2008 10:51:41 +0100 Subject: Monitor 2nd mail server behind natted router In-Reply-To: <4b008f7d0810200234w18c52b85gf4cbd7bb546fb488@mail.gmail.com> References: <4b008f7d0810200234w18c52b85gf4cbd7bb546fb488@mail.gmail.com> Message-ID: <200810201051.41385.assaf.flatto@ssp.uk.com> Unless you have two servers with the same local ip - you shouldn't have any problems. i assume that the routing rules you have between routers know which range is behind which router , so all you need to do is monitor the second mail server as a regular server on the your network. Can you easily access or ping the server ? On Monday 20 October 2008 10:34:06 Alex Dehaini wrote: > Hi Guys, > > Our email server is currently behind a cisco router. The server is running > a local IP and the router is on a public IP. I installed NSClient and use > the check_nt plugin to monitor the email server. Here is my host file > > define host{ > use dns-servers > host_name mailserver > alias mailserver > address 41.211.31.43 > } > > I have a backup email server behind the same router running a local IP. I > was wondering how I can monitor it. Any ideas? -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Mon Oct 20 12:13:28 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 20 Oct 2008 11:13:28 +0100 Subject: Monitor 2nd mail server behind natted router In-Reply-To: <4b008f7d0810200303y474650b3o4299495334817cd8@mail.gmail.com> References: <4b008f7d0810200234w18c52b85gf4cbd7bb546fb488@mail.gmail.com> Message-ID: <200810201113.28544.assaf.flatto@ssp.uk.com> You should be able to do that . if you have access to the server , and the routing allows you to reach it , ( and as you say you do not have an ip collision ) then you can monitor it just like any server on the network , but you may want to be more security aware on what you transmit on public IP . On Monday 20 October 2008 11:03:36 Alex Dehaini wrote: > Nagios is on a public IP, the router is on a public IP and the two servers > are on local IPs. Here is the connection > > *mail1*(localIP) -------- > ------------- *MailRouter*(PublicIP) ----- Switch > ------- (*Nagios*)(PublicIP) > *mail2* (localIP) -------- > > If the two servers have the same local IP, there will be IP conflict. > NSClient basically sends info from the server to nagios. I can do that for > one mail server, I wonder if I can do that for the sendcond one. > > Thanks, > Lex > > On Mon, Oct 20, 2008 at 9:51 AM, Assaf Flatto wrote: > > Unless you have two servers with the same local ip - you shouldn't have > > any problems. > > > > i assume that the routing rules you have between routers know which range > > is behind which router , > > so all you need to do is monitor the second mail server as a regular > > server on the your network. > > > > Can you easily access or ping the server ? > > > > On Monday 20 October 2008 10:34:06 Alex Dehaini wrote: > > > Hi Guys, > > > > > > Our email server is currently behind a cisco router. The server is > > > > running > > > > > a local IP and the router is on a public IP. I installed NSClient and > > > use the check_nt plugin to monitor the email server. Here is my host > > > file > > > > > > define host{ > > > use dns-servers > > > host_name mailserver > > > alias mailserver > > > address 41.211.31.43 > > > } > > > > > > I have a backup email server behind the same router running a local IP. > > > I was wondering how I can monitor it. Any ideas? > > > > -- > > > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > legally > > privileged and/or protected by law. It is intended solely for the use of > > the > > person to whom it is addressed. If you are not the intended recipient, > > please > > notify the sender immediately and do not disclose the contents to any > > other person, use it for any purpose, or store or copy the information in > > any medium. > > Please also delete all copies of this email and any attachments from your > > system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We > > do not accept any liability for losses or damages that you may suffer as > > a result of your receipt of this email including but not limited to > > computer service or system failure, access delays or interruption, data > > non-delivery or > > mis-delivery, computer viruses or other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK > > Limited. Should you communicate with anyone at Select Service Partner UK > > Limited by > > email, you consent to us monitoring and reading any such correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > relating to any agreement concerted practice or other practice that could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England and > > Wales > > (company number 05687183) whose registered office is at 1 The Heights, > > Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Oct 20 12:12:22 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 20 Oct 2008 10:12:22 +0000 Subject: mediawiki - include the nagios status report In-Reply-To: References: Message-ID: <4b008f7d0810200312m4821e88bl8a2a9c833b8eefa6@mail.gmail.com> What do you mean by actualize? On Mon, Oct 20, 2008 at 9:58 AM, Bianca wrote: > hello all, > i?m creating a webpage with mediawiki and i want to include there the > Status > Summary For All Service Groups. but i want this status report to acutalize > itself. how can i manage this? > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Mon Oct 20 11:38:04 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Mon, 20 Oct 2008 10:38:04 +0100 Subject: Unmanaged switch In-Reply-To: <20081020084829.GB22015@csits.net> References: <20081020084829.GB22015@csits.net> Message-ID: How about a new command called "fakecheck", and apply to a "dumbswitch" host with a 127.0.0.1 address. It would take a list of machines, and check them all. If any of them are up, then the fakecheck would return OK, otherwise it would return an error state. Something like #!/usr/bin/perl my $up = 0; my @hosts = qw/10.1.2.3 10.1.2.4 10.1.2.5 10.1.2.6/; foreach $addr (@hosts) { if (pingCheck($addr)) { $up++; } } if ($up > 0) { print "OK: Switch must be up\n"; exit 0; } else { print "CRITICAL: Switch may be down\n"; exit 2; } (If you're good at programming you could probably get a list of children out of the config -- complex configs take a long time to read in using perl though) Another way of monitoring would be to have it powered off an SNMP enabled MDU which can tell the current being drawn. You could then measure that. -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 822 58109 Room 1244 Television Centre, Wood Lane, London, W12 7RJ > -----Original Message----- > From: Mike [mailto:mike at csits.net] > Sent: 20 October 2008 09:48 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Unmanaged switch > > > Folks, > > What is the best way to include an unmanaged (read: IPless) > switch in Nagios? Obviously I can't monitor it directly, but > I'd like Nagios to be aware of it in the network heirachy so > that it is aware that it is a possible poit of failure. Can > I just define it as a host with no IP address and make it a > parent/client of the devices that attach to it or is there a > better way to approach this? > > Mike. > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge Build the coolest Linux based > applications with Moblin SDK & win great prizes Grand prize > is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Mon Oct 20 12:59:27 2008 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 20 Oct 2008 06:59:27 -0400 Subject: mediawiki - include the nagios status report In-Reply-To: <4b008f7d0810200312m4821e88bl8a2a9c833b8eefa6@mail.gmail.com> References: <4b008f7d0810200312m4821e88bl8a2a9c833b8eefa6@mail.gmail.com> Message-ID: <302ce8b50810200359y7b66a4a3q7f84dd91e8e824d1@mail.gmail.com> On Mon, Oct 20, 2008 at 6:12 AM, Alex Dehaini wrote: > What do you mean by actualize? > > On Mon, Oct 20, 2008 at 9:58 AM, Bianca wrote: >> >> hello all, >> i?m creating a webpage with mediawiki and i want to include there the >> Status >> Summary For All Service Groups. but i want this status report to acutalize >> itself. how can i manage this? Sounds like business jargon for 'Has anyone done this before, and do you have suggestions for the best way to go about making the wiki page for each server automagically update with the server's status reports'. We have similar management-isms here to include 'teachable moments' and other such B.S. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org Mon Oct 20 13:22:55 2008 From: trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org (trevor obba) Date: Mon, 20 Oct 2008 11:22:55 +0000 (GMT) Subject: [Nagios-users] check_dxml_drvstate report incorrectly remotely Message-ID: <29181.45648.qm@web24208.mail.ird.yahoo.com> The initial problem was due to the plug-in?s log file been own by root. Nagios could not write to the log hence the plug-in was not working when executed as nagios, deleting /tmp/check_dxml_drvstate.err and nagios automatically recreate the log file with permission to write to it fix the problem. ----- Original Message ---- From: trevor obba To: nagiosplug ; nagios-user Sent: Tuesday, 14 October, 2008 13:21:52 Subject: [Nagios-users] check_dxml_drvstate report incorrectly remotely I running check_dxml_drvstate version 1.6 on a Sles10 (x86_64) check_dxml_drvstate has 755 permission When i execute check_dxml_drvstate plugin locally like ./check_dxml_drvstate-u nagiosdriver.services.unl -p password -d mail.urs-drivers.services.unl I get these responses Driver mail.urs-drivers.services.unl is RUNNING. as expected. However when i execute check_dxml_drvstate plugin through nagios nrpe.cfg using check_nrpe I get the following responses Driver idworks.urs-drivers.services.unl is STARTING. Even when the driver has been stopped I still get the response Driver idworks.urs-drivers.services.unl is STARTING. this only report incorrectly when I run remotely via nrpe.cfg using check_nrpe I am running version 2.5.1 of check_nrpe. How can i fix the problem? can you help? please ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Mon Oct 20 12:44:13 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Mon, 20 Oct 2008 11:44:13 +0100 Subject: Unmanaged switch In-Reply-To: <200810201153.08221.cschneemann@suse.de> References: <200810201153.08221.cschneemann@suse.de> Message-ID: > On Monday October 20 2008 11:38:04 am Paul Weaver wrote: > > How about a new command called "fakecheck", and apply to a > > "dumbswitch" host with a 127.0.0.1 address. It would take a list of > > machines, and check them all. If any of them are up, then the > > fakecheck would return OK, otherwise it would return an error state. > Just for understanding, you would check if the hosts which > are connected to > this dumbswitch are up? > > But they are tested anyhow.. If you have 10 devices on the unmanaged switch, and all 10 are off, it's likely the switch is broken -- so set the switch to off, and the devices to unreachable If 9 are off, and one is on, the switch *can't* be broken You could check the current state of each device (check_cluster), but 1) All devices go off, check_cluster goes bad 2) All devices then go unreachable 3) Check_cluster stays bad for ever (won't go good until a device goes good, which won't happen if they are unreachable and aren't checked), or it goes unreachable (inheriting the state of the devices), or goes good (if it treats unreachable as "OK"). None of those is the correct action. Pings are cheap. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Mon Oct 20 12:51:22 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Mon, 20 Oct 2008 11:51:22 +0100 Subject: mediawiki - include the nagios status report In-Reply-To: References: Message-ID: Use an iframe to include http://nagios/cgi-bin/status.cgi?servicegroup-all&style=summary -- you'd need a mediawiki plugin to allow the use of iframes The use of "actualize" does ask questions.. -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 822 58109 Room 1244 Television Centre, Wood Lane, London, W12 7RJ > -----Original Message----- > From: Bianca [mailto:bianca.heigl at ingrammicro.de] > Sent: 20 October 2008 10:58 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] mediawiki - include the nagios status report > > > hello all, > i?m creating a webpage with mediawiki and i want to include > there the Status > Summary For All Service Groups. but i want this status report > to acutalize > itself. how can i manage this? > > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge Build the coolest Linux based > applications with Moblin SDK & win great prizes Grand prize > is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Mon Oct 20 13:09:10 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Mon, 20 Oct 2008 12:09:10 +0100 Subject: mediawiki - include the nagios status report In-Reply-To: <8803D3AB8AF18847885D0CCFDEE32C78D72426@desrxch101.corporate.ingrammicro.com> References: <8803D3AB8AF18847885D0CCFDEE32C78D72426@desrxch101.corporate.ingrammicro.com> Message-ID: > -----Original Message----- > From: Heigl, Bianca [mailto:Bianca.Heigl at ingrammicro.de] > Sent: 20 October 2008 11:56 > To: Paul Weaver > Subject: AW: [Nagios-users] mediawiki - include the nagios > status report > > > Thanks a lot, i will try this. > Sorry, I didn?t mean actualize, I meant that it should update > itself every 90 minutes, also at the mediawiki page. Using "Actualise" raises a warning flag that a manager has got involved :) A snapshot every 90 minutes would be harder -- you'd need a cron job running to download the view -- wget should help. Nagios can give different views depending on the user, if you wanted that you'd have to think again about your downloading. As long as you don't mind the nagios authentication, an iframe would seem the best solution. You'll need to install something like http://www.mediawiki.org/wiki/Extension:Website_in_iFrame onto your mediawiki server though. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Oct 20 13:21:41 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 20 Oct 2008 11:21:41 +0000 Subject: Monitor 2nd mail server behind natted router In-Reply-To: <200810201113.28544.assaf.flatto@ssp.uk.com> References: <4b008f7d0810200303y474650b3o4299495334817cd8@mail.gmail.com> <200810201113.28544.assaf.flatto@ssp.uk.com> Message-ID: <4b008f7d0810200421g96d11d6x361940128755b9e3@mail.gmail.com> The issue is the mail router is natted to only one local IP. On Mon, Oct 20, 2008 at 10:13 AM, Assaf Flatto wrote: > You should be able to do that . > > if you have access to the server , and the routing allows you to reach it , > ( and as you say you do > not have an ip collision ) then you can monitor it just like any server on > the network , but you > may want to be more security aware on what you transmit on public IP . > > > > > On Monday 20 October 2008 11:03:36 Alex Dehaini wrote: > > Nagios is on a public IP, the router is on a public IP and the two > servers > > are on local IPs. Here is the connection > > > > *mail1*(localIP) -------- > > ------------- *MailRouter*(PublicIP) ----- Switch > > ------- (*Nagios*)(PublicIP) > > *mail2* (localIP) -------- > > > > If the two servers have the same local IP, there will be IP conflict. > > NSClient basically sends info from the server to nagios. I can do that > for > > one mail server, I wonder if I can do that for the sendcond one. > > > > Thanks, > > Lex > > > > On Mon, Oct 20, 2008 at 9:51 AM, Assaf Flatto >wrote: > > > Unless you have two servers with the same local ip - you shouldn't have > > > any problems. > > > > > > i assume that the routing rules you have between routers know which > range > > > is behind which router , > > > so all you need to do is monitor the second mail server as a regular > > > server on the your network. > > > > > > Can you easily access or ping the server ? > > > > > > On Monday 20 October 2008 10:34:06 Alex Dehaini wrote: > > > > Hi Guys, > > > > > > > > Our email server is currently behind a cisco router. The server is > > > > > > running > > > > > > > a local IP and the router is on a public IP. I installed NSClient and > > > > use the check_nt plugin to monitor the email server. Here is my host > > > > file > > > > > > > > define host{ > > > > use dns-servers > > > > host_name mailserver > > > > alias mailserver > > > > address 41.211.31.43 > > > > } > > > > > > > > I have a backup email server behind the same router running a local > IP. > > > > I was wondering how I can monitor it. Any ideas? > > > > > > -- > > > > > > Assaf Flatto > > > SSP Ops Team > > > Linux System Administrator > > > > > > > > > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > > legally > > > privileged and/or protected by law. It is intended solely for the use > of > > > the > > > person to whom it is addressed. If you are not the intended recipient, > > > please > > > notify the sender immediately and do not disclose the contents to any > > > other person, use it for any purpose, or store or copy the information > in > > > any medium. > > > Please also delete all copies of this email and any attachments from > your > > > system. > > > > > > We cannot guarantee the security or confidentiality of email > > > communications. We > > > do not accept any liability for losses or damages that you may suffer > as > > > a result of your receipt of this email including but not limited to > > > computer service or system failure, access delays or interruption, data > > > non-delivery or > > > mis-delivery, computer viruses or other harmful components. > > > > > > Copyright in this email and any attachments belong to Select Service > > > Partner UK > > > Limited. Should you communicate with anyone at Select Service Partner > UK > > > Limited by > > > email, you consent to us monitoring and reading any such > correspondence. > > > > > > Nothing in this email shall be taken or read as suggesting, proposing > or > > > relating to any agreement concerted practice or other practice that > could > > > infringe UK or EC competition legislation. > > > > > > Select Service Partner UK Limited is a company registered in England > and > > > Wales > > > (company number 05687183) whose registered office is at 1 The Heights, > > > Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge > > > Build the coolest Linux based applications with Moblin SDK & win great > > > prizes > > > Grand prize is a trip for two to an Open Source event anywhere in the > > > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > > > reporting any issue. > > > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > > Assaf Flatto > SSP Ops Team > Linux System Administrator > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use of > the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery > or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK > Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Mon Oct 20 16:58:25 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Mon, 20 Oct 2008 10:58:25 -0400 Subject: How do I check if a website is up? In-Reply-To: <200810201545.45654.assaf.flatto@ssp.uk.com> References: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> <200810201545.45654.assaf.flatto@ssp.uk.com> Message-ID: <9179DC579128514D8035295BE49187E71416ED2B@mail2.fidelitynational.com> Ok so if the website is external to my network I need to create a host definition? What would that look like for a URL? I've only made host definitions for internal hosts using the IP address. Because the website is a hosted solution I would rather define it by URL than IP address. Is this possible? -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] Sent: Monday, October 20, 2008 10:46 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How do I check if a website is up? Not nessaceily . If you have that website in your network , you can just define the check_http check to that host. also you can add in one of the parameters the specific URL you wish to query . -u, --url=PATH URL to GET or POST (default: /) Or you can define a check on the nagios server it self to query the web site like this : # 'check_website' command definition define command{ command_name check_website command_line $USER1$/check_http -H www.website.com } If not , then you need to build a new host definition and service check for that host . On Monday 20 October 2008 15:18:53 Josh Wells wrote: > Do I have to define a remote host such as www.website.com in order to > apply the check_http service against that host? -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Mon Oct 20 14:07:56 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 20 Oct 2008 13:07:56 +0100 Subject: Monitor 2nd mail server behind natted router In-Reply-To: <4b008f7d0810200421g96d11d6x361940128755b9e3@mail.gmail.com> References: <4b008f7d0810200303y474650b3o4299495334817cd8@mail.gmail.com> Message-ID: <200810201307.56109.assaf.flatto@ssp.uk.com> Can you access that ip from the nagios server (ping it ?) It seems to me the issue is with the routing , not with nagios. you need to define in your routers the routing tables to the natted IP's , and then define the host you wish to check . On Monday 20 October 2008 12:21:41 Alex Dehaini wrote: > The issue is the mail router is natted to only one local IP. > > On Mon, Oct 20, 2008 at 10:13 AM, Assaf Flatto wrote: > > You should be able to do that . > > > > if you have access to the server , and the routing allows you to reach it > > , ( and as you say you do > > not have an ip collision ) then you can monitor it just like any server > > on the network , but you > > may want to be more security aware on what you transmit on public IP . > > > > On Monday 20 October 2008 11:03:36 Alex Dehaini wrote: > > > Nagios is on a public IP, the router is on a public IP and the two > > > > servers > > > > > are on local IPs. Here is the connection > > > > > > *mail1*(localIP) -------- > > > ------------- *MailRouter*(PublicIP) ----- Switch > > > ------- (*Nagios*)(PublicIP) > > > *mail2* (localIP) -------- > > > > > > If the two servers have the same local IP, there will be IP conflict. > > > NSClient basically sends info from the server to nagios. I can do that > > > > for > > > > > one mail server, I wonder if I can do that for the sendcond one. > > > > > > Thanks, > > > Lex > > > > > > On Mon, Oct 20, 2008 at 9:51 AM, Assaf Flatto > > > > >wrote: > > > > Unless you have two servers with the same local ip - you shouldn't > > > > have any problems. > > > > > > > > i assume that the routing rules you have between routers know which > > > > range > > > > > > is behind which router , > > > > so all you need to do is monitor the second mail server as a regular > > > > server on the your network. > > > > > > > > Can you easily access or ping the server ? > > > > > > > > On Monday 20 October 2008 10:34:06 Alex Dehaini wrote: > > > > > Hi Guys, > > > > > > > > > > Our email server is currently behind a cisco router. The server is > > > > > > > > running > > > > > > > > > a local IP and the router is on a public IP. I installed NSClient > > > > > and use the check_nt plugin to monitor the email server. Here is my > > > > > host file > > > > > > > > > > define host{ > > > > > use dns-servers > > > > > host_name mailserver > > > > > alias mailserver > > > > > address 41.211.31.43 > > > > > } > > > > > > > > > > I have a backup email server behind the same router running a local > > > > IP. > > > > > > > I was wondering how I can monitor it. Any ideas? > > > > > > > > -- > > > > > > > > Assaf Flatto > > > > SSP Ops Team > > > > Linux System Administrator > > > > > > > > > > > > > > > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > > > legally > > > > privileged and/or protected by law. It is intended solely for the use > > > > of > > > > > > the > > > > person to whom it is addressed. If you are not the intended > > > > recipient, please > > > > notify the sender immediately and do not disclose the contents to any > > > > other person, use it for any purpose, or store or copy the > > > > information > > > > in > > > > > > any medium. > > > > Please also delete all copies of this email and any attachments from > > > > your > > > > > > system. > > > > > > > > We cannot guarantee the security or confidentiality of email > > > > communications. We > > > > do not accept any liability for losses or damages that you may suffer > > > > as > > > > > > a result of your receipt of this email including but not limited to > > > > computer service or system failure, access delays or interruption, > > > > data non-delivery or > > > > mis-delivery, computer viruses or other harmful components. > > > > > > > > Copyright in this email and any attachments belong to Select Service > > > > Partner UK > > > > Limited. Should you communicate with anyone at Select Service Partner > > > > UK > > > > > > Limited by > > > > email, you consent to us monitoring and reading any such > > > > correspondence. > > > > > > Nothing in this email shall be taken or read as suggesting, proposing > > > > or > > > > > > relating to any agreement concerted practice or other practice that > > > > could > > > > > > infringe UK or EC competition legislation. > > > > > > > > Select Service Partner UK Limited is a company registered in England > > > > and > > > > > > Wales > > > > (company number 05687183) whose registered office is at 1 The > > > > Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > > > > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > > challenge > > > > Build the coolest Linux based applications with Moblin SDK & win > > > > great prizes > > > > Grand prize is a trip for two to an Open Source event anywhere in the > > > > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > > > > > reporting any issue. > > > > > > > > ::: Messages without supporting info will risk being sent to > > > > ::: /dev/null > > > > -- > > > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > legally > > privileged and/or protected by law. It is intended solely for the use of > > the > > person to whom it is addressed. If you are not the intended recipient, > > please > > notify the sender immediately and do not disclose the contents to any > > other person, use it for any purpose, or store or copy the information in > > any medium. > > Please also delete all copies of this email and any attachments from your > > system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We > > do not accept any liability for losses or damages that you may suffer as > > a result of your receipt of this email including but not limited to > > computer service or system failure, access delays or interruption, data > > non-delivery or > > mis-delivery, computer viruses or other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK > > Limited. Should you communicate with anyone at Select Service Partner UK > > Limited by > > email, you consent to us monitoring and reading any such correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > relating to any agreement concerted practice or other practice that could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England and > > Wales > > (company number 05687183) whose registered office is at 1 The Heights, > > Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Oct 20 16:23:50 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 20 Oct 2008 14:23:50 +0000 Subject: Monitor 2nd mail server behind natted router In-Reply-To: <200810201450.05919.assaf.flatto@ssp.uk.com> References: <4b008f7d0810200642r45198e4cq7837f611827df2f4@mail.gmail.com> <200810201450.05919.assaf.flatto@ssp.uk.com> Message-ID: <4b008f7d0810200723q38951be2l28604de39b2eed50@mail.gmail.com> Can you route traffic to two local IPs behind the router? On Mon, Oct 20, 2008 at 1:50 PM, Assaf Flatto wrote: > So it is like I thought , you need to define a routing rules on that router > to direct the traffic to > the device nat'ed behind . > > > On Monday 20 October 2008 14:42:08 Alex Dehaini wrote: > > Nagios can only ping the router public interface > > > > > > > -- > > Assaf Flatto > SSP Ops Team > Linux System Administrator > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use of > the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery > or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK > Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boph at tdchosting.dk Mon Oct 20 16:02:55 2008 From: boph at tdchosting.dk (Bo Philip Larsen) Date: Mon, 20 Oct 2008 16:02:55 +0200 Subject: Nagios client merge NSCA/NRPE Message-ID: <02EAC0960BFECB4F9EAEC26B4972EE4471C9DFDE5E@TDCHEXBE01.int.tdch.dk> I need to find a client to use with nagios, it should be using passive communication like "nsca", it also should use standard nagios plugins and be configured with an nrpe.cfg like syntax it would be nice if each service check could be scheduled individual in the client configfile without using cron. The client will be used on various *nix systems Does anyone know if that type of client exists or have anyone a clue or interest in developing this ? The background: we are using nagios in a distributed network with nrpe on 1000+ hosts and a company merges have given us 2000+ hosts more using various monitoring systems like bigb using passive communication and the active communication is on an option for now. We are using nagconf (http://nagconf.naguser.dk) as configtools and would like to be able to config/manage the monitoring on all servers and clients from a central site. Regards Bo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at csits.net Mon Oct 20 10:48:29 2008 From: mike at csits.net (Mike) Date: Mon, 20 Oct 2008 09:48:29 +0100 Subject: Unmanaged switch Message-ID: <20081020084829.GB22015@csits.net> Folks, What is the best way to include an unmanaged (read: IPless) switch in Nagios? Obviously I can't monitor it directly, but I'd like Nagios to be aware of it in the network heirachy so that it is aware that it is a possible poit of failure. Can I just define it as a host with no IP address and make it a parent/client of the devices that attach to it or is there a better way to approach this? Mike. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Mon Oct 20 11:04:42 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 20 Oct 2008 10:04:42 +0100 Subject: Unmanaged switch In-Reply-To: <20081020084829.GB22015@csits.net> References: <20081020084829.GB22015@csits.net> Message-ID: <200810201004.42282.assaf.flatto@ssp.uk.com> you'll need an ip to define it, since nagios require an address if you define it as host . but you van give it a fictitious ip and assign the Check_dummy to it so it will have a "service" assigned to it. then you can put it in the hierarchy . Unfortunately , this will not give a good indication to the topology if it indeed fails since there will be no true indication if it is up or down. On Monday 20 October 2008 09:48:29 Mike wrote: > Folks, > > What is the best way to include an unmanaged (read: IPless) switch in > Nagios? Obviously I can't monitor it directly, but I'd like Nagios to > be aware of it in the network heirachy so that it is aware that it is a > possible poit of failure. Can I just define it as a host with no IP > address and make it a parent/client of the devices that attach to it or > is there a better way to approach this? > > Mike. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Mon Oct 20 16:46:17 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Mon, 20 Oct 2008 16:46:17 +0200 Subject: How do I check if a website is up? In-Reply-To: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> Message-ID: <48FC99B9.4020207@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Josh Wells schrieb: > Do I have to define a remote host such as www.website.com > in order to apply the check_http service > against that host? > Yes/No ;) You can but you have not to... you can use check_http as a service for an already existing host or you can define a new host for this... just as you want. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFI/Jm5lI0PwfxLQjkRAqf9AJ4/wYh2GF2OwD5BaWw/NqzwXr9CngCeNKuM oQyXiuNxUn9/aJG91FDqc8g= =c+FE -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Mon Oct 20 17:02:57 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 20 Oct 2008 16:02:57 +0100 Subject: How do I check if a website is up? In-Reply-To: <9179DC579128514D8035295BE49187E71416ED2B@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> Message-ID: <200810201602.57895.assaf.flatto@ssp.uk.com> No , you don't have to define a host . you define a service check with the fix parameters ( as i gave in the previous mail ) and assign this check to an existing host . that host will execute the check and report the status returned from the command ( personally i'd run it from the nagios server itself) . On Monday 20 October 2008 15:58:25 Josh Wells wrote: > Ok so if the website is external to my network I need to create a host > definition? What would that look like for a URL? I've only made host > definitions for internal hosts using the IP address. Because the website > is a hosted solution I would rather define it by URL than IP address. Is > this possible? > > > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] > Sent: Monday, October 20, 2008 10:46 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] How do I check if a website is up? > > Not nessaceily . > > If you have that website in your network , you can just define the > check_http check to that host. > also you can add in one of the parameters the specific URL you wish to > query . > > -u, --url=PATH > URL to GET or POST (default: /) > > > Or you can define a check on the nagios server it self to query the web > site like this : > > # 'check_website' command definition > define command{ > command_name check_website > command_line $USER1$/check_http -H www.website.com > } > > > If not , then you need to build a new host definition and service check > for that host . > > On Monday 20 October 2008 15:18:53 Josh Wells wrote: > > Do I have to define a remote host such as www.website.com in order to > > apply the check_http service against that host? -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Mon Oct 20 16:50:07 2008 From: bjlockie at lockie.ca (James) Date: Mon, 20 Oct 2008 10:50:07 -0400 (EDT) Subject: How do I check if a website is up? In-Reply-To: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> Message-ID: <58d15a17ecc22d745727dd6b2c400517.squirrel@www.lockie.ca> On Mon, October 20, 2008 10:18 am, Josh Wells wrote: > Do I have to define a remote host such as www.website.com in order to > apply the check_http service against that host? A service needs a host so I think so. It doesn't need to be www though, as long as port 80 answers. All it does it telnet to port 80 and do a 'GET /' to see if the main page is up. I modified my check_http to look somewhere else beside /. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Mon Oct 20 16:45:45 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 20 Oct 2008 15:45:45 +0100 Subject: How do I check if a website is up? In-Reply-To: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> Message-ID: <200810201545.45654.assaf.flatto@ssp.uk.com> Not nessaceily . If you have that website in your network , you can just define the check_http check to that host. also you can add in one of the parameters the specific URL you wish to query . -u, --url=PATH URL to GET or POST (default: /) Or you can define a check on the nagios server it self to query the web site like this : # 'check_website' command definition define command{ command_name check_website command_line $USER1$/check_http -H www.website.com } If not , then you need to build a new host definition and service check for that host . On Monday 20 October 2008 15:18:53 Josh Wells wrote: > Do I have to define a remote host such as www.website.com in order to > apply the check_http service against that host? -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Mon Oct 20 15:50:05 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 20 Oct 2008 14:50:05 +0100 Subject: Monitor 2nd mail server behind natted router In-Reply-To: <4b008f7d0810200642r45198e4cq7837f611827df2f4@mail.gmail.com> References: <4b008f7d0810200421g96d11d6x361940128755b9e3@mail.gmail.com> Message-ID: <200810201450.05919.assaf.flatto@ssp.uk.com> So it is like I thought , you need to define a routing rules on that router to direct the traffic to the device nat'ed behind . On Monday 20 October 2008 14:42:08 Alex Dehaini wrote: > Nagios can only ping the router public interface > > -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Mon Oct 20 18:17:03 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Mon, 20 Oct 2008 12:17:03 -0400 Subject: How do I check if a website is up? In-Reply-To: <200810201602.57895.assaf.flatto@ssp.uk.com> References: <9179DC579128514D8035295BE49187E71416ED2B@mail2.fidelitynational.com> <200810201602.57895.assaf.flatto@ssp.uk.com> Message-ID: <9179DC579128514D8035295BE49187E71416ED33@mail2.fidelitynational.com> Ok I defined the command as you specified in my commands.cfg file. I then added a service definition in my localhost.cfg file using that command. It appears to be working. How do I configure an alert for this type of check? I would like to be notified if the website is not reachable for more than say 5 minutes. Also while this is functional I don't really like that this website check is showing up under my nagios server host. I would prefer that it have its own host definition or at least appear separately from the other hosts. Is it possible to do this using a URL? Thanks for your help. I used the quickstart guide to get my server up and running so still pretty green with nagios but I'm learning. Josh -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] Sent: Monday, October 20, 2008 11:03 AM To: Nagios User list Subject: Re: [Nagios-users] How do I check if a website is up? No , you don't have to define a host . you define a service check with the fix parameters ( as i gave in the previous mail ) and assign this check to an existing host . that host will execute the check and report the status returned from the command ( personally i'd run it from the nagios server itself) . On Monday 20 October 2008 15:58:25 Josh Wells wrote: > Ok so if the website is external to my network I need to create a host > definition? What would that look like for a URL? I've only made host > definitions for internal hosts using the IP address. Because the website > is a hosted solution I would rather define it by URL than IP address. Is > this possible? > > > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] > Sent: Monday, October 20, 2008 10:46 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] How do I check if a website is up? > > Not nessaceily . > > If you have that website in your network , you can just define the > check_http check to that host. > also you can add in one of the parameters the specific URL you wish to > query . > > -u, --url=PATH > URL to GET or POST (default: /) > > > Or you can define a check on the nagios server it self to query the web > site like this : > > # 'check_website' command definition > define command{ > command_name check_website > command_line $USER1$/check_http -H www.website.com > } > > > If not , then you need to build a new host definition and service check > for that host . > > On Monday 20 October 2008 15:18:53 Josh Wells wrote: > > Do I have to define a remote host such as www.website.com in order to > > apply the check_http service against that host? -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Mon Oct 20 18:06:19 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Mon, 20 Oct 2008 17:06:19 +0100 Subject: How do I check if a website is up? In-Reply-To: <200810201602.57895.assaf.flatto@ssp.uk.com> References: <200810201602.57895.assaf.flatto@ssp.uk.com> Message-ID: However if you use a squid proxy, running the service on the cache would be a better choice. If not, running on your external gateway might be a good idea. After all, if your internet connection goes down, it doesn't mean www.google.com isn't available -- it means you can't see it. -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 822 58109 Room 1244 Television Centre, Wood Lane, London, W12 7RJ > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] > Sent: 20 October 2008 16:03 > To: Nagios User list > Subject: Re: [Nagios-users] How do I check if a website is up? > > > No , you don't have to define a host . > > you define a service check with the fix parameters ( as i > gave in the previous mail ) and assign > this check to an existing host . > > that host will execute the check and report the status > returned from the command ( personally i'd > run it from the nagios server itself) . > > > On Monday 20 October 2008 15:58:25 Josh Wells wrote: > > Ok so if the website is external to my network I need to > create a host > > definition? What would that look like for a URL? I've only > made host > > definitions for internal hosts using the IP address. Because the > > website is a hosted solution I would rather define it by > URL than IP > > address. Is this possible? > > > > > > > > -----Original Message----- > > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] > > Sent: Monday, October 20, 2008 10:46 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] How do I check if a website is up? > > > > Not nessaceily . > > > > If you have that website in your network , you can just define the > > check_http check to that host. also you can add in one of the > > parameters the specific URL you wish to query . > > > > -u, --url=PATH > > URL to GET or POST (default: /) > > > > > > Or you can define a check on the nagios server it self to query the > > web site like this : > > > > # 'check_website' command definition > > define command{ > > command_name check_website > > command_line $USER1$/check_http -H www.website.com > > } > > > > > > If not , then you need to build a new host definition and service > > check for that host . > > > > On Monday 20 October 2008 15:18:53 Josh Wells wrote: > > > Do I have to define a remote host such as www.website.com > in order > > > to apply the check_http service against that host? > > > > -- > > Assaf Flatto > SSP Ops Team > Linux System Administrator > > > > > > IMPORTANT . this email and the information in it may be > confidential, legally privileged and/or protected by law. It > is intended solely for the use of the person to whom it is > addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or > store or copy the information in any medium. Please also > delete all copies of this email and any attachments from your system. > > We cannot guarantee the security or confidentiality of email > communications. We do not accept any liability for losses or > damages that you may suffer as a result of your receipt of > this email including but not limited to computer service or > system failure, access delays or interruption, data > non-delivery or mis-delivery, computer viruses or other > harmful components. > > Copyright in this email and any attachments belong to Select > Service Partner UK Limited. Should you communicate with > anyone at Select Service Partner UK Limited by email, you > consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, > proposing or relating to any agreement concerted practice or > other practice that could infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in > England and Wales (company number 05687183) whose registered > office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge Build the coolest Linux based > applications with Moblin SDK & win great prizes Grand prize > is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Oct 20 16:33:19 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 20 Oct 2008 14:33:19 +0000 Subject: Monitor 2nd mail server behind natted router In-Reply-To: <200810201528.24892.assaf.flatto@ssp.uk.com> References: <4b008f7d0810200723q38951be2l28604de39b2eed50@mail.gmail.com> <200810201528.24892.assaf.flatto@ssp.uk.com> Message-ID: <4b008f7d0810200733i579dd41di326dc111fd627c89@mail.gmail.com> Okay, thanks On Mon, Oct 20, 2008 at 2:28 PM, Assaf Flatto wrote: > I can not tell you more about routing , since i am not a CISCO expert . > i suggest you ask the people that setup your network for those issue. > > > > > On Monday 20 October 2008 15:23:50 Alex Dehaini wrote: > > Can you route traffic to two local IPs behind the router? > > > > On Mon, Oct 20, 2008 at 1:50 PM, Assaf Flatto >wrote: > > > So it is like I thought , you need to define a routing rules on that > > > router to direct the traffic to > > > the device nat'ed behind . > > > > > > On Monday 20 October 2008 14:42:08 Alex Dehaini wrote: > > > > Nagios can only ping the router public interface > > > > > > -- > > > > > > Assaf Flatto > > > SSP Ops Team > > > Linux System Administrator > > > > > > > > > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > > legally > > > privileged and/or protected by law. It is intended solely for the use > of > > > the > > > person to whom it is addressed. If you are not the intended recipient, > > > please > > > notify the sender immediately and do not disclose the contents to any > > > other person, use it for any purpose, or store or copy the information > in > > > any medium. > > > Please also delete all copies of this email and any attachments from > your > > > system. > > > > > > We cannot guarantee the security or confidentiality of email > > > communications. We > > > do not accept any liability for losses or damages that you may suffer > as > > > a result of your receipt of this email including but not limited to > > > computer service or system failure, access delays or interruption, data > > > non-delivery or > > > mis-delivery, computer viruses or other harmful components. > > > > > > Copyright in this email and any attachments belong to Select Service > > > Partner UK > > > Limited. Should you communicate with anyone at Select Service Partner > UK > > > Limited by > > > email, you consent to us monitoring and reading any such > correspondence. > > > > > > Nothing in this email shall be taken or read as suggesting, proposing > or > > > relating to any agreement concerted practice or other practice that > could > > > infringe UK or EC competition legislation. > > > > > > Select Service Partner UK Limited is a company registered in England > and > > > Wales > > > (company number 05687183) whose registered office is at 1 The Heights, > > > Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge > > > Build the coolest Linux based applications with Moblin SDK & win great > > > prizes > > > Grand prize is a trip for two to an Open Source event anywhere in the > > > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > > > reporting any issue. > > > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > > Assaf Flatto > SSP Ops Team > Linux System Administrator > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use of > the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery > or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK > Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Mon Oct 20 16:28:24 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 20 Oct 2008 15:28:24 +0100 Subject: Monitor 2nd mail server behind natted router In-Reply-To: <4b008f7d0810200723q38951be2l28604de39b2eed50@mail.gmail.com> References: <4b008f7d0810200642r45198e4cq7837f611827df2f4@mail.gmail.com> Message-ID: <200810201528.24892.assaf.flatto@ssp.uk.com> I can not tell you more about routing , since i am not a CISCO expert . i suggest you ask the people that setup your network for those issue. On Monday 20 October 2008 15:23:50 Alex Dehaini wrote: > Can you route traffic to two local IPs behind the router? > > On Mon, Oct 20, 2008 at 1:50 PM, Assaf Flatto wrote: > > So it is like I thought , you need to define a routing rules on that > > router to direct the traffic to > > the device nat'ed behind . > > > > On Monday 20 October 2008 14:42:08 Alex Dehaini wrote: > > > Nagios can only ping the router public interface > > > > -- > > > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > legally > > privileged and/or protected by law. It is intended solely for the use of > > the > > person to whom it is addressed. If you are not the intended recipient, > > please > > notify the sender immediately and do not disclose the contents to any > > other person, use it for any purpose, or store or copy the information in > > any medium. > > Please also delete all copies of this email and any attachments from your > > system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We > > do not accept any liability for losses or damages that you may suffer as > > a result of your receipt of this email including but not limited to > > computer service or system failure, access delays or interruption, data > > non-delivery or > > mis-delivery, computer viruses or other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK > > Limited. Should you communicate with anyone at Select Service Partner UK > > Limited by > > email, you consent to us monitoring and reading any such correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > relating to any agreement concerted practice or other practice that could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England and > > Wales > > (company number 05687183) whose registered office is at 1 The Heights, > > Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Mon Oct 20 16:18:53 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Mon, 20 Oct 2008 10:18:53 -0400 Subject: How do I check if a website is up? Message-ID: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> Do I have to define a remote host such as www.website.com in order to apply the check_http service against that host? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Mon Oct 20 18:22:59 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 20 Oct 2008 17:22:59 +0100 Subject: How do I check if a website is up? In-Reply-To: <9179DC579128514D8035295BE49187E71416ED33@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E71416ED2B@mail2.fidelitynational.com> Message-ID: <200810201722.59985.assaf.flatto@ssp.uk.com> Josh All those questions you asked here , are explained in detail in the documantation . http://www.nagios.org/docs/ I sugest you read that , and if you have any questions , we'll be happy to help. On Monday 20 October 2008 17:17:03 Josh Wells wrote: > Ok I defined the command as you specified in my commands.cfg file. I > then added a service definition in my localhost.cfg file using that > command. It appears to be working. How do I configure an alert for this > type of check? I would like to be notified if the website is not > reachable for more than say 5 minutes. Also while this is functional I > don't really like that this website check is showing up under my nagios > server host. I would prefer that it have its own host definition or at > least appear separately from the other hosts. Is it possible to do this > using a URL? > > Thanks for your help. I used the quickstart guide to get my server up > and running so still pretty green with nagios but I'm learning. > > Josh > > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] > Sent: Monday, October 20, 2008 11:03 AM > To: Nagios User list > Subject: Re: [Nagios-users] How do I check if a website is up? > > No , you don't have to define a host . > > you define a service check with the fix parameters ( as i gave in the > previous mail ) and assign this check to an existing host . > > that host will execute the check and report the status returned from the > command ( personally i'd run it from the nagios server itself) . > > On Monday 20 October 2008 15:58:25 Josh Wells wrote: > > Ok so if the website is external to my network I need to create a host > > definition? What would that look like for a URL? I've only made host > > definitions for internal hosts using the IP address. Because the > > website > > > is a hosted solution I would rather define it by URL than IP address. > > Is > > > this possible? > > > > > > > > -----Original Message----- > > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] > > Sent: Monday, October 20, 2008 10:46 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] How do I check if a website is up? > > > > Not nessaceily . > > > > If you have that website in your network , you can just define the > > check_http check to that host. > > also you can add in one of the parameters the specific URL you wish to > > query . > > > > -u, --url=PATH > > URL to GET or POST (default: /) > > > > > > Or you can define a check on the nagios server it self to query the > > web > > > site like this : > > > > # 'check_website' command definition > > define command{ > > command_name check_website > > command_line $USER1$/check_http -H www.website.com > > } > > > > > > If not , then you need to build a new host definition and service > > check > > > for that host . > > > > On Monday 20 October 2008 15:18:53 Josh Wells wrote: > > > Do I have to define a remote host such as www.website.com in order > > to > > > > apply the check_http service against that host? -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara at gmail.com Mon Oct 20 18:33:48 2008 From: bohara at gmail.com (Ben O'Hara) Date: Mon, 20 Oct 2008 18:33:48 +0200 Subject: How do I check if a website is up? In-Reply-To: <9179DC579128514D8035295BE49187E71416ED33@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E71416ED2B@mail2.fidelitynational.com> <200810201602.57895.assaf.flatto@ssp.uk.com> <9179DC579128514D8035295BE49187E71416ED33@mail2.fidelitynational.com> Message-ID: <2b36e660810200933v3e97c7b8xb734f549ad12469b@mail.gmail.com> What i have done in the past is, a) create a host for www.example.com b) ceate a host group - "External" c) stick www.example.com in Eternal group ) add service check to host Yu can then add numberous external checks into the group or check other services on the host. Seemed to make sense that way for me back then Ben On Mon, Oct 20, 2008 at 6:17 PM, Josh Wells wrote: > > Ok I defined the command as you specified in my commands.cfg file. I > then added a service definition in my localhost.cfg file using that > command. It appears to be working. How do I configure an alert for this > type of check? I would like to be notified if the website is not > reachable for more than say 5 minutes. Also while this is functional I > don't really like that this website check is showing up under my nagios > server host. I would prefer that it have its own host definition or at > least appear separately from the other hosts. Is it possible to do this > using a URL? > > Thanks for your help. I used the quickstart guide to get my server up > and running so still pretty green with nagios but I'm learning. > > Josh > > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] > Sent: Monday, October 20, 2008 11:03 AM > To: Nagios User list > Subject: Re: [Nagios-users] How do I check if a website is up? > > No , you don't have to define a host . > > you define a service check with the fix parameters ( as i gave in the > previous mail ) and assign this check to an existing host . > > that host will execute the check and report the status returned from the > command ( personally i'd run it from the nagios server itself) . > > > On Monday 20 October 2008 15:58:25 Josh Wells wrote: > > Ok so if the website is external to my network I need to create a host > > definition? What would that look like for a URL? I've only made host > > definitions for internal hosts using the IP address. Because the > website > > is a hosted solution I would rather define it by URL than IP address. > Is > > this possible? > > > > > > > > -----Original Message----- > > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] > > Sent: Monday, October 20, 2008 10:46 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] How do I check if a website is up? > > > > Not nessaceily . > > > > If you have that website in your network , you can just define the > > check_http check to that host. > > also you can add in one of the parameters the specific URL you wish to > > query . > > > > -u, --url=PATH > > URL to GET or POST (default: /) > > > > > > Or you can define a check on the nagios server it self to query the > web > > site like this : > > > > # 'check_website' command definition > > define command{ > > command_name check_website > > command_line $USER1$/check_http -H www.website.com > > } > > > > > > If not , then you need to build a new host definition and service > check > > for that host . > > > > On Monday 20 October 2008 15:18:53 Josh Wells wrote: > > > Do I have to define a remote host such as www.website.com in order > to > > > apply the check_http service against that host? > > > > -- > > Assaf Flatto > SSP Ops Team > Linux System Administrator > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use of > the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any > other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from > your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may suffer as > a > result of your receipt of this email including but not limited to > computer > service or system failure, access delays or interruption, data > non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK > Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that > could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Internet Explorer is a program that allows you to access the Internet. And vice versa. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benamar.mohamed at free.fr Mon Oct 20 19:24:00 2008 From: benamar.mohamed at free.fr (mba) Date: Mon, 20 Oct 2008 19:24:00 +0200 Subject: Nagios 2 In-Reply-To: References: Message-ID: <7080.10568419031$1224538918@news.gmane.org> I have a question about Nagios version 2 that I use to oversee the entire park. I NRPE and orders. on some queries on some LDAP servers AD (Active Directory), nagios sends me: SERVER SERVICE TIME OK%%% SIMPLE WARNING TIME TIME TIME UNKNOWN% CRITICAL TIME INDETERMINATE% DC 1 LDAP query 0.000% (0.000%) 100.000% (100.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% DC 2 LDAP query 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 100,000% (100,000%) 0.000% DC 3 LDAP query 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 100,000% (100,000%) 0.000% ie that the% Time OK is zero, the% critical warning time is 100%, while the opposite view that it should because the authentication works. thank you for your help Best regards En Fran?ais: j'ai une question concernant Nagios version 2 que j'utilise pour superviser l'ensemble du parc informatique. J?utilise NRPE et les commandes. sur quelques requ?tes LDAP concernant quelques serveurs AD (Active directory), nagios m'envoie: SERVEUR SERVICE % TEMPS OK %TEMPS ALERTE SIMPLE % TEMPS INCONNU % TEMPS CRITIQUE % TEMPS INDETERMINE DC 1 Requete LDAP 0.000% (0.000%) 100.000% (100.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% DC 2 Requete LDAP 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 100.000% (100.000%) 0.000% DC 3 Requete LDAP 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 100.000% (100.000%) 0.000% c'est-?-dire que le % Temps OK est ? z?ro, le % temps alerte critique est 100% Alors que c'est le contraire qu'il devrait afficher puisque l'authentification fonctionne. merci de votre aide ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfhamzin at gmail.com Tue Oct 21 10:21:36 2008 From: rfhamzin at gmail.com (Rustam) Date: Tue, 21 Oct 2008 14:21:36 +0600 Subject: question Message-ID: <1973038166.20081021142136@gmail.com> Hello Nagios-users. Error Nagios web browser Whoops! Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! What doing? I cannot work with Nagios. Help me, please. I'm russion users. -- ? ?????????, Rustam mailto:rfhamzin at gmail.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Tue Oct 21 10:59:35 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 21 Oct 2008 09:59:35 +0100 Subject: question In-Reply-To: <1973038166.20081021142136@gmail.com> References: <1973038166.20081021142136@gmail.com> Message-ID: <200810210959.35584.assaf.flatto@ssp.uk.com> See that the the web server service (apache) has permissions for the file . some thing similar to this : -rw-rw-r-- 1 nagios nagios 9845 Jul 1 09:39 cgi.cfg On Tuesday 21 October 2008 09:21:36 Rustam wrote: > Hello Nagios-users. > > Error Nagios web browser > > Whoops! > > Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for > reading! > > What doing? I cannot work with Nagios. > > Help me, please. > > I'm russion users. -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sotiroff.Kristian at mtvne.com Tue Oct 21 11:43:53 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Tue, 21 Oct 2008 10:43:53 +0100 Subject: question In-Reply-To: <200810210959.35584.assaf.flatto@ssp.uk.com> References: <1973038166.20081021142136@gmail.com> <200810210959.35584.assaf.flatto@ssp.uk.com> Message-ID: Another good thing to check is that apache is in the nagios group. Ie (from mine); # cat /etc/group | grep nagios nagios:x:503:apache nagcmd:x:1511:nagios,apache -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] Sent: 21 October 2008 10:00 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] question See that the the web server service (apache) has permissions for the file . some thing similar to this : -rw-rw-r-- 1 nagios nagios 9845 Jul 1 09:39 cgi.cfg On Tuesday 21 October 2008 09:21:36 Rustam wrote: > Hello Nagios-users. > > Error Nagios web browser > > Whoops! > > Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' > for reading! > > What doing? I cannot work with Nagios. > > Help me, please. > > I'm russion users. -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Tue Oct 21 11:56:02 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Tue, 21 Oct 2008 15:26:02 +0530 Subject: check_http Message-ID: <6b16fb4c0810210256h488a55c7l7bff7865bd7e7adb@mail.gmail.com> Hi I have a query regarding check_http for the content in an html page. There are quite a number of string by the name "Connected" in the HTML Page. I have a requirement when there is a single instance of the string "Disconnected" in an Web Page, Nagios should send an Problem Alert for the string "Disconnected" I have this command sudo -u nagios /usr/nagios/libexec/check_http -H 192.168.0.10 -p 8080 -u http://192.168.0.10:8080/SMPPSender/control -s Connected But not sure how to proceed. Any ideas Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Tue Oct 21 12:05:40 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 21 Oct 2008 11:05:40 +0100 Subject: check_http In-Reply-To: <6b16fb4c0810210256h488a55c7l7bff7865bd7e7adb@mail.gmail.com> References: <6b16fb4c0810210256h488a55c7l7bff7865bd7e7adb@mail.gmail.com> Message-ID: <200810211105.40584.assaf.flatto@ssp.uk.com> Look at the nagate plugin On Tuesday 21 October 2008 10:56:02 Kaushal Shriyan wrote: > Hi > > I have a query regarding check_http for the content in an html page. There > are quite a number of string by the name "Connected" in the HTML Page. > I have a requirement when there is a single instance of the string > "Disconnected" in an Web Page, Nagios should send an Problem Alert for the > string "Disconnected" > > I have this command sudo -u nagios /usr/nagios/libexec/check_http -H > 192.168.0.10 -p 8080 -u http://192.168.0.10:8080/SMPPSender/control -s > Connected > But not sure how to proceed. > > Any ideas > > Thanks and Regards > > Kaushal -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Oct 21 12:10:08 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 21 Oct 2008 12:10:08 +0200 Subject: [Nagios-users] Nagios client merge NSCA/NRPE In-Reply-To: <02EAC0960BFECB4F9EAEC26B4972EE4471C9DFDE5E@TDCHEXBE01.int.tdch.dk> References: <02EAC0960BFECB4F9EAEC26B4972EE4471C9DFDE5E@TDCHEXBE01.int.tdch.dk> Message-ID: <48FDAA80.2030001@op5.se> Bo Philip Larsen wrote: > I need to find a client to use with nagios, it should be using > passive communication like "nsca", it also should use standard nagios > plugins and be configured with an nrpe.cfg like syntax it would be > nice if each service check could be scheduled individual in the > client configfile without using cron > > The client will be used on various *nix systems > > Does anyone know if that type of client exists or have anyone a clue > or interest in developing this ? > I've been thinking about developing something like that for quite some time now; "NaRC - Nagios Remote Checking system" but haven't quite found the time (or the inclination) to do so. Is there a bounty of some sort? It would help explaining to my girlfriend why I need to spend my evenings hacking ;-) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ From Sebastian.Ries at dtnet.de Tue Oct 21 12:11:22 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Tue, 21 Oct 2008 12:11:22 +0200 Subject: check_http In-Reply-To: <6b16fb4c0810210256h488a55c7l7bff7865bd7e7adb@mail.gmail.com> References: <6b16fb4c0810210256h488a55c7l7bff7865bd7e7adb@mail.gmail.com> Message-ID: <1224583883.16807.21.camel@bofh.dtnet.de> Hi > I have this command sudo -u nagios /usr/nagios/libexec/check_http -H > 192.168.0.10 -p 8080 -u http://192.168.0.10:8080/SMPPSender/control -s > Connected > But not sure how to proceed. Try To check for "Disconnected" and run the negate script. This will convert the status to OK as long as the string was NOT found. In other words it will give you an OK state as long as check_http gives you CRITICAL for the string "Disconnected". Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Tue Oct 21 16:55:28 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Tue, 21 Oct 2008 10:55:28 -0400 Subject: How do I check if a website is up? In-Reply-To: <2b36e660810200933v3e97c7b8xb734f549ad12469b@mail.gmail.com> References: <9179DC579128514D8035295BE49187E71416ED2B@mail2.fidelitynational.com><200810201602.57895.assaf.flatto@ssp.uk.com><9179DC579128514D8035295BE49187E71416ED33@mail2.fidelitynational.com> <2b36e660810200933v3e97c7b8xb734f549ad12469b@mail.gmail.com> Message-ID: <9179DC579128514D8035295BE49187E71416ED40@mail2.fidelitynational.com> Is it possible to define a host using URL rather than IP address? ________________________________ From: Ben O'Hara [mailto:bohara at gmail.com] Sent: Monday, October 20, 2008 12:34 PM To: Josh Wells Cc: nagios Subject: Re: [Nagios-users] How do I check if a website is up? What i have done in the past is, a) create a host for www.example.com b) ceate a host group - "External" c) stick www.example.com in Eternal group ) add service check to host Yu can then add numberous external checks into the group or check other services on the host. Seemed to make sense that way for me back then Ben On Mon, Oct 20, 2008 at 6:17 PM, Josh Wells wrote: Ok I defined the command as you specified in my commands.cfg file. I then added a service definition in my localhost.cfg file using that command. It appears to be working. How do I configure an alert for this type of check? I would like to be notified if the website is not reachable for more than say 5 minutes. Also while this is functional I don't really like that this website check is showing up under my nagios server host. I would prefer that it have its own host definition or at least appear separately from the other hosts. Is it possible to do this using a URL? Thanks for your help. I used the quickstart guide to get my server up and running so still pretty green with nagios but I'm learning. Josh -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] Sent: Monday, October 20, 2008 11:03 AM To: Nagios User list Subject: Re: [Nagios-users] How do I check if a website is up? No , you don't have to define a host . you define a service check with the fix parameters ( as i gave in the previous mail ) and assign this check to an existing host . that host will execute the check and report the status returned from the command ( personally i'd run it from the nagios server itself) . On Monday 20 October 2008 15:58:25 Josh Wells wrote: > Ok so if the website is external to my network I need to create a host > definition? What would that look like for a URL? I've only made host > definitions for internal hosts using the IP address. Because the website > is a hosted solution I would rather define it by URL than IP address. Is > this possible? > > > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] > Sent: Monday, October 20, 2008 10:46 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] How do I check if a website is up? > > Not nessaceily . > > If you have that website in your network , you can just define the > check_http check to that host. > also you can add in one of the parameters the specific URL you wish to > query . > > -u, --url=PATH > URL to GET or POST (default: /) > > > Or you can define a check on the nagios server it self to query the web > site like this : > > # 'check_website' command definition > define command{ > command_name check_website > command_line $USER1$/check_http -H www.website.com > } > > > If not , then you need to build a new host definition and service check > for that host . > > On Monday 20 October 2008 15:18:53 Josh Wells wrote: > > Do I have to define a remote host such as www.website.com in order to > > apply the check_http service against that host? -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Internet Explorer is a program that allows you to access the Internet. And vice versa. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pietro at bertera.it Tue Oct 21 19:16:07 2008 From: pietro at bertera.it (Pietro Bertera) Date: Tue, 21 Oct 2008 19:16:07 +0200 Subject: How do I check if a website is up? In-Reply-To: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E71416ED29@mail2.fidelitynational.com> Message-ID: <1224609367.24081.1.camel@localhost.localdomain> On Mon, 2008-10-20 at 10:18 -0400, Josh Wells wrote: > Do I have to define a remote host such as www.website.com in order to > apply the check_http service against that host? If you want to check the content of a page you can use check_web_form.py http://www.bertera.it/software/check_web_form/check_web_form.py Regards, Pietro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Tue Oct 21 20:15:43 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Tue, 21 Oct 2008 19:15:43 +0100 Subject: How do I check if a website is up? In-Reply-To: <9179DC579128514D8035295BE49187E71416ED40@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E71416ED2B@mail2.fidelitynational.com><200810201602.57895.assaf.flatto@ssp.uk.com><9179DC579128514D8035295BE49187E71416ED33@mail2.fidelitynational.com> <2b36e660810200933v3e97c7b8xb734f549ad12469b@mail.gmail.com> <9179DC579128514D8035295BE49187E71416ED40@mail2.fidelitynational.com> Message-ID: <48FE1C4F.1080004@networkmail.eu> Hi Josh, You can, I believe, define a host using it's DNS name, however I and I'm sure the rest of the community would discourage that for the simple reason that if the DNS doesn't resolve, that host will be deemed down. However to check a website you can still add the host via it's IP address and add a check_http service check to that host, and instruct check_http to check the host header of the website (e.g. www.example.com, using the -H option). Regards, Andy Josh Wells wrote: > Is it possible to define a host using URL rather than IP address? > > > ------------------------------------------------------------------------ > *From:* Ben O'Hara [mailto:bohara at gmail.com] > *Sent:* Monday, October 20, 2008 12:34 PM > *To:* Josh Wells > *Cc:* nagios > *Subject:* Re: [Nagios-users] How do I check if a website is up? > > What i have done in the past is, > > a) create a host for www.example.com > b) ceate a host group - "External" > c) stick www.example.com in Eternal group > ) add service check to host > > Yu can then add numberous external checks into the group or check > other services on the host. > > Seemed to make sense that way for me back then > > Ben > > On Mon, Oct 20, 2008 at 6:17 PM, Josh Wells > wrote: > > > Ok I defined the command as you specified in my commands.cfg file. I > then added a service definition in my localhost.cfg file using that > command. It appears to be working. How do I configure an alert for > this > type of check? I would like to be notified if the website is not > reachable for more than say 5 minutes. Also while this is functional I > don't really like that this website check is showing up under my > nagios > server host. I would prefer that it have its own host definition or at > least appear separately from the other hosts. Is it possible to do > this > using a URL? > > Thanks for your help. I used the quickstart guide to get my server up > and running so still pretty green with nagios but I'm learning. > > Josh > > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com > ] > Sent: Monday, October 20, 2008 11:03 AM > To: Nagios User list > Subject: Re: [Nagios-users] How do I check if a website is up? > > No , you don't have to define a host . > > you define a service check with the fix parameters ( as i gave in the > previous mail ) and assign this check to an existing host . > > that host will execute the check and report the status returned > from the > command ( personally i'd run it from the nagios server itself) . > > > On Monday 20 October 2008 15:58:25 Josh Wells wrote: > > Ok so if the website is external to my network I need to create > a host > > definition? What would that look like for a URL? I've only made host > > definitions for internal hosts using the IP address. Because the > website > > is a hosted solution I would rather define it by URL than IP > address. > Is > > this possible? > > > > > > > > -----Original Message----- > > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com > ] > > Sent: Monday, October 20, 2008 10:46 AM > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] How do I check if a website is up? > > > > Not nessaceily . > > > > If you have that website in your network , you can just define the > > check_http check to that host. > > also you can add in one of the parameters the specific URL you > wish to > > query . > > > > -u, --url=PATH > > URL to GET or POST (default: /) > > > > > > Or you can define a check on the nagios server it self to query the > web > > site like this : > > > > # 'check_website' command definition > > define command{ > > command_name check_website > > command_line $USER1$/check_http -H www.website.com > > > } > > > > > > If not , then you need to build a new host definition and service > check > > for that host . > > > > On Monday 20 October 2008 15:18:53 Josh Wells wrote: > > > Do I have to define a remote host such as www.website.com > in order > to > > > apply the check_http service against that host? > > > > -- > > Assaf Flatto > SSP Ops Team > Linux System Administrator > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the > use of > the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any > other > person, use it for any purpose, or store or copy the information > in any > medium. > Please also delete all copies of this email and any attachments from > your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may > suffer as > a > result of your receipt of this email including but not limited to > computer > service or system failure, access delays or interruption, data > non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service > Partner UK > Limited by > email, you consent to us monitoring and reading any such > correspondence. > > Nothing in this email shall be taken or read as suggesting, > proposing or > relating to any agreement concerted practice or other practice that > could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in > England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Internet Explorer is a program that allows you to access the Internet. > And vice versa. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Wed Oct 22 02:41:02 2008 From: ian at acces.co.jp (Ian Masters) Date: Wed, 22 Oct 2008 09:41:02 +0900 Subject: Problem using nagios-3.0.3-ja-utf8.patch (solved) In-Reply-To: References: Message-ID: <48FE769E.2000708@acces.co.jp> For the list's information, there is a bug in nagios-3.0.3-ja-utf8.patch, which the developer knows about and will apparently be fixed in the next version. > I recently applied the nagios-3.0.3-ja-utf8.patch to my Nagios > installation so that I can view menu information in Japanese. > > It seems to be fine except for the Servicegroup Overview page which is > not displaying information correctly. All other views seem to be working > fine. > > Is anyone else on the list using this patch and if so, have you > experienced anything similar? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greminn at gmail.com Wed Oct 22 03:39:08 2008 From: greminn at gmail.com (Simon) Date: Wed, 22 Oct 2008 14:39:08 +1300 Subject: Halt nagios checks when internet offline Message-ID: <5bdb1aa70810211839i48430ee3gcb2ca63a7dde060f@mail.gmail.com> Hi There, We have a nagios server that is at one branch, this checks multiple servers at our data center. My question is: Is it possible to stop email notifications if the entire network link to the branch is offline for some reason? This will only happen on very rare ocassions, but it does happen (3-4 times a year). Thanks Simon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rivet at secure-24.com Wed Oct 22 05:02:27 2008 From: matt.rivet at secure-24.com (Matt Rivet) Date: Tue, 21 Oct 2008 23:02:27 -0400 Subject: Halt nagios checks when internet offline In-Reply-To: <5bdb1aa70810211839i48430ee3gcb2ca63a7dde060f@mail.gmail.com> References: <5bdb1aa70810211839i48430ee3gcb2ca63a7dde060f@mail.gmail.com> Message-ID: <3A08B75200A4DF44B83752A09A93AFFB0131E765@ex1s24dca.S24.local> I if you have a core router or firewall I would set that as parent to the rest of the servers in the data center and create a hostgroup that was child to the core router or firewall. This way you should only get 1 notification for the router or firewall -----Original Message----- From: Simon [mailto:greminn at gmail.com] Sent: Tuesday, October 21, 2008 9:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Halt nagios checks when internet offline Hi There, We have a nagios server that is at one branch, this checks multiple servers at our data center. My question is: Is it possible to stop email notifications if the entire network link to the branch is offline for some reason? This will only happen on very rare ocassions, but it does happen (3-4 times a year). Thanks Simon ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Wed Oct 22 05:03:33 2008 From: bjlockie at lockie.ca (James) Date: Tue, 21 Oct 2008 23:03:33 -0400 (EDT) Subject: Halt nagios checks when internet offline In-Reply-To: <5bdb1aa70810211839i48430ee3gcb2ca63a7dde060f@mail.gmail.com> References: <5bdb1aa70810211839i48430ee3gcb2ca63a7dde060f@mail.gmail.com> Message-ID: <04799c7545d4a0bb70b882f6551815a5.squirrel@webmail.lockie.ca> On Tue, October 21, 2008 9:39 pm, Simon wrote: > Hi There, > > > We have a nagios server that is at one branch, this checks multiple > servers at our data center. My question is: > > Is it possible to stop email notifications if the entire network link > to the branch is offline for some reason? > > This will only happen on very rare ocassions, but it does happen (3-4 > times a year). > > Thanks > > > Simon Maybe parent hosts. A host check_command that checks the Internet. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfhamzin at gmail.com Wed Oct 22 06:48:58 2008 From: rfhamzin at gmail.com (Rustam) Date: Wed, 22 Oct 2008 10:48:58 +0600 Subject: =?windows-1251?b?wu7v8O7x?= Message-ID: <15210051993.20081022104858@gmail.com> ????????????, Nagios-users. ??? ?????? ?????? ??????? ????????? ????? ? ????? APACHE attempt to invoke directory as script: /usr/local/nagios/sbin/ ??? ??????? -- ? ?????????, Rustam mailto:rfhamzin at gmail.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edgar.Matzinger at valid.nl Wed Oct 22 10:00:34 2008 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Wed, 22 Oct 2008 10:00:34 +0200 Subject: ?????? References: <15210051993.20081022104858@gmail.com> Message-ID: Hi Sergei, > ????????????, Nagios-users. > > ??? ?????? ?????? ??????? ????????? ????? > ? ????? APACHE > attempt to invoke directory as script: /usr/local/nagios/sbin/ > > ??? ??????? kun je dit vertalen? Mijn Russisch(?) is niet meer wat het geweest is. Or in English: Can you translate this message? My Russian(?) is rather rusty. :-) MTIA, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dale at chatham.org Wed Oct 22 14:37:33 2008 From: dale at chatham.org (Dale J. Chatham) Date: Wed, 22 Oct 2008 07:37:33 -0500 Subject: looks like it was orphaned (results never came back) Message-ID: <48FF1E8D.1060706@chatham.org> Brand new nagios installation Both nagios 3.0.3 and 3.0.4 define service{ host_name * service_description PING check_command check_ping max_check_attempts 3 normal_check_interval 10 retry_check_interval 5 active_checks_enabled 1 check_period 24x7 notification_interval 600 notification_period 24x7 notification_options w,c,r notifications_enabled 1 } define host { host_name blade23 alias blade23 address xxx.yyy.zzz.249 check_command check-host-alive max_check_attempts 5 check_period 24x7 contact_groups dale notification_interval 30 notification_period 24x7 notification_options d,u,r,f statusmap_image base/redhat.png 2d_coords 0,21 } define command { command_name check_ping command_line $user1$/check_ping $hostaddress$ 100 100 1000.0 1000.0 -p 5 } Brand new installation. Solaris 10 [1224678590] Warning: The check of host 'blade23' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... Any host I check returns this message. Any advice? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjustinwilliams at gmail.com Wed Oct 22 16:03:06 2008 From: rjustinwilliams at gmail.com (rjustinwilliams at gmail.com) Date: Wed, 22 Oct 2008 07:03:06 -0700 Subject: custom escalations Message-ID: <000e0cd29618e371650459d80166@google.com> I'm trying to wrap my head around this one, and not getting very far... I want to set nagios up to, when it detects a service, say http, down, it first attempts to re-start that service, once and only once. If it receives a second alert in a row, it then moves on to contact the admins as its escalation. Possibly, it would attempt to notify on the first alert, depending upon which service it finds down, but, that's the notion. Can I simply use the attempt to restart as the default notify, and then, in the escalation starting from the second alert, have it notify the admins? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 22 16:05:08 2008 From: marc at ena.com (Marc Powell) Date: Wed, 22 Oct 2008 09:05:08 -0500 Subject: looks like it was orphaned (results never came back) In-Reply-To: <48FF1E8D.1060706@chatham.org> References: <48FF1E8D.1060706@chatham.org> Message-ID: On Oct 22, 2008, at 7:37 AM, Dale J. Chatham wrote: > define command { > command_name check_ping > command_line $user1$/check_ping > $hostaddress$ 100 100 1000.0 1000.0 -p 5 > } Macros are documented as being $CASE_SENSITIVE$ (http://nagios.sourceforge.net/docs/3_0/macrolist.html ). I believe fits your symptoms. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 22 16:12:52 2008 From: marc at ena.com (Marc Powell) Date: Wed, 22 Oct 2008 09:12:52 -0500 Subject: =?windows-1251?b?wu7v8O7x?= In-Reply-To: <15210051993.20081022104858@gmail.com> References: <15210051993.20081022104858@gmail.com> Message-ID: <59E6BEE3-E67C-4CD5-A740-E5FD2ED9AADF@ena.com> On Oct 21, 2008, at 11:48 PM, Rustam wrote: > ????????????, Nagios-users. > > ??? ?????? ?????? ??????? ????????? ????? > ? ????? APACHE > attempt to invoke directory as script: /usr/local/nagios/sbin/ Note that this is an English language list. http://nagios.sourceforge.net/docs/2_0/installweb.html http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html (step 5) Apache isn't configured to ExecCGI for /usr/local/nagios/sbin? Apache isn't configured to associate .cgi with ExecCGI (AddHandler cgi- script .cgi)? Apache mod_cgi module isn't loaded? -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 22 16:17:36 2008 From: marc at ena.com (Marc Powell) Date: Wed, 22 Oct 2008 09:17:36 -0500 Subject: custom escalations In-Reply-To: <000e0cd29618e371650459d80166@google.com> References: <000e0cd29618e371650459d80166@google.com> Message-ID: <2E12E28C-C636-4FED-A8F9-CA0151B83E8E@ena.com> On Oct 22, 2008, at 9:03 AM, rjustinwilliams at gmail.com wrote: > I'm trying to wrap my head around this one, and not getting very > far... > > I want to set nagios up to, when it detects a service, say http, > down, it first attempts to re-start that service, once and only once. Take a look at Event Handlers for this - http://nagios.sourceforge.net/docs/3_0/eventhandlers.html . This is designed to be independent of the notification process. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sotiroff.Kristian at mtvne.com Wed Oct 22 16:17:03 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Wed, 22 Oct 2008 15:17:03 +0100 Subject: custom escalations In-Reply-To: <000e0cd29618e371650459d80166@google.com> References: <000e0cd29618e371650459d80166@google.com> Message-ID: i had a service set up on an old box to do this; the event-handler for the first notification was a command to restart a windows service and then if it still come back broken, then it escalated into sending emails. you need (from memory) to set up a dummy contact with their service_notification_command as the restart and have them as the contact for the service. your escalation would then kick in from first_notification 2 - last_notification 0 and would email as normal. sorry i can't cut and paste a config, but i don't have it to hand any more. ________________________________ From: rjustinwilliams at gmail.com [mailto:rjustinwilliams at gmail.com] Sent: 22 October 2008 15:03 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] custom escalations I'm trying to wrap my head around this one, and not getting very far... I want to set nagios up to, when it detects a service, say http, down, it first attempts to re-start that service, once and only once. If it receives a second alert in a row, it then moves on to contact the admins as its escalation. Possibly, it would attempt to notify on the first alert, depending upon which service it finds down, but, that's the notion. Can I simply use the attempt to restart as the default notify, and then, in the escalation starting from the second alert, have it notify the admins? CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Wed Oct 22 16:16:49 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 22 Oct 2008 15:16:49 +0100 Subject: custom escalations In-Reply-To: <000e0cd29618e371650459d80166@google.com> References: <000e0cd29618e371650459d80166@google.com> Message-ID: <200810221516.49540.assaf.flatto@ssp.uk.com> You'll have to define special commands and escalation path . you can have the first "notification" trigger an action that - using nrpe or check_via_ssh will connect to the server an attempt the action you want . define serviceescalation{ host_name host service_description check http first_notification 1 last_notification 1 notification_interval 1 contact_groups restart } define contact{ contact_name restart service_notification_period 24x7 host_notification_period 24x7 service_notification_options c service_notification_commands restart_service } # 'restart_service' command definition define command{ command_name restart_service command_line $USER1$/check_via_ssh -H $HOSTADDRESS$ `/etc/init.d/httpd restart` } just an example , you'll ofcourse have to tweek it to your needs , but this is a possible way to go . On Wednesday 22 October 2008 15:03:06 rjustinwilliams at gmail.com wrote: > I'm trying to wrap my head around this one, and not getting very far... > > I want to set nagios up to, when it detects a service, say http, down, it > first attempts to re-start that service, once and only once. > If it receives a second alert in a row, it then moves on to contact the > admins as its escalation. > > Possibly, it would attempt to notify on the first alert, depending upon > which service it finds down, but, that's the notion. > > Can I simply use the attempt to restart as the default notify, and then, in > the escalation starting from the second alert, have it notify the admins? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dale at chatham.org Wed Oct 22 16:23:04 2008 From: dale at chatham.org (Dale J. Chatham) Date: Wed, 22 Oct 2008 09:23:04 -0500 Subject: looks like it was orphaned (results never came back) In-Reply-To: References: <48FF1E8D.1060706@chatham.org> Message-ID: <48FF3748.1090200@chatham.org> Well, I knew it had to be something stupid. It's what happens when you write a filter to change case because someone mixed case in host_name decs. Doh! Marc Powell wrote: > On Oct 22, 2008, at 7:37 AM, Dale J. Chatham wrote: > > >> define command { >> command_name check_ping >> command_line $user1$/check_ping >> $hostaddress$ 100 100 1000.0 1000.0 -p 5 >> } >> > > Macros are documented as being $CASE_SENSITIVE$ (http://nagios.sourceforge.net/docs/3_0/macrolist.html > ). I believe fits your symptoms. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sotiroff.Kristian at mtvne.com Wed Oct 22 16:38:55 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Wed, 22 Oct 2008 15:38:55 +0100 Subject: Using escalations and / or timeperiods for out ofhours In-Reply-To: References: Message-ID: with all this talk of escalations, I thought I'd try and push my question out again.... full text is below, but basically I'm trying to reduce the amount of emails that get sent out of hours, through escalations and the escalation time period. if its in normal work hours, send alerts every 5 mins. if not, send them every 30 mins. a few tests I've run haven't worked so has anybody got a better idea? ________________________________ From: Sotiroff, Kristian Sent: 17 October 2008 09:25 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Using escalations and / or timeperiods for out ofhours Hi (Version: Nagios 3.0.3 ) I'm trying to configure my alerts to work in such a way that engineers don't get mailed excessively out of hours. I've tried with escalations, but only with Nagios 2 and didn't have much success. Reading though the docs for v3 it seems that I can define an escalation with reduced email frequency to be active only during a specified period, so I thought this may be a way to do it. Let me explain my scenario Sun: 0000 - 0000 - reduced email Mon - Fri 0000 - 0800 - reduced email 0800 - 1900 - normal email 1900 - 0000 - reduced email Sat: 0000 - 0000 - reduced email If I configure the alerting to work so that after a single email is sent it escalates into my 'reduced email' period (if its in the right timeperiod) but otherwise will it then ignore the escalation and continue sending emails as normal? What happens if a server lets out some blue smoke over a weekend, so the escalation comes into play, but an engineer doesn't fix it until 12:00 Monday morning. Does this mean at 0800 (when the escalation is not valid any more) it will email normally? And if it continues into the next night will the escalation come back into play again or, because it has already been triggered, will it stay as normal. I'm sure someone has done this before. Does anybody have any first hand experience with it? How are other list users alerting out of hours? Cheers Kristian CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dustin.phillips at chartercom.com Wed Oct 22 20:47:09 2008 From: dustin.phillips at chartercom.com (Phillips, Dustin B (DBphillips)) Date: Wed, 22 Oct 2008 13:47:09 -0500 Subject: Nagios notifications Message-ID: Hi -- I apologize in advance as this question is difficult to type without running around in circles but here goes: We?re having trouble configuring Nagios service notifications to go to specific contacts for specific hosts. For instance, we have contact1 who is a member of contactgroup1. We have host1 who also has a contact group of contactgroup1. That association is working. However, we have service1 which runs on host1, host2, and host3, and has contact groups contactgroup1 and contactgroup2. Whenever host2, which is not associated with contact1 has a notification for this service, contact1 is receiving the notification. How do we limit notifications for service1 to only go to contact1 if the host having trouble is host1? Thanks in advance, Dustin E-MAIL CONFIDENTIALITY NOTICE: The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Oct 22 21:42:49 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 22 Oct 2008 12:42:49 -0700 Subject: How do I check if a website is up? In-Reply-To: <48FE1C4F.1080004@networkmail.eu> References: <2b36e660810200933v3e97c7b8xb734f549ad12469b@mail.gmail.com> <9179DC579128514D8035295BE49187E71416ED40@mail2.fidelitynational.com> <48FE1C4F.1080004@networkmail.eu> Message-ID: <20081022194249.GD14923@bakgwai.americas.hpqcorp.net> On Tue, 21 Oct 2008, Andy Shellam wrote: > Hi Josh, > > You can, I believe, define a host using it's DNS name, however I and I'm > sure the rest of the community would discourage that for the simple > reason that if the DNS doesn't resolve, that host will be deemed down. FWIW, I almost always define hosts by DNS name rather than IP address wherever possible. It's easier to maintain and you get the added benefit of being alerted if DNS breaks. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dustin.phillips at chartercom.com Wed Oct 22 23:02:58 2008 From: dustin.phillips at chartercom.com (Phillips, Dustin B (DBphillips)) Date: Wed, 22 Oct 2008 16:02:58 -0500 Subject: Nagios notifications In-Reply-To: References: Message-ID: Thanks for the reply but I don?t know that that would help us. The problem isn?t that we cant select individual contacts. The problem is our contacts are getting service notifications for hosts that aren?t assigned to any of their associated contact groups. Our scenario: ?contact1? is assigned to ?contactgroup1? ?host1? is assigned to ?contactgroup1? ?service1? is assigned to run on ?host1?, ?host2?, and ?host3? and is assigned to ?contactgroup1? (note: ?host2? and ?host3? are not assigned to ?contactgroup1? are are not otherwise associated to ?contact1?) In this scenario, why does contact1 get service notifications for host2 and host3? Sorry if I?m making this explanation more complicated than necessary. Dustin On 10/22/08 3:41 PM, "Lacayo, Luis F" wrote: > It is my understanding that Nagios Version 3+ allows you to put individual > contacts per service. > > Luis > > > From: Phillips, Dustin B (DBphillips) [mailto:dustin.phillips at chartercom.com] > Sent: Wednesday, October 22, 2008 1:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios notifications > > Hi -- > > I apologize in advance as this question is difficult to type without running > around in circles but here goes: > > We?re having trouble configuring Nagios service notifications to go to > specific contacts for specific hosts. > > For instance, we have contact1 who is a member of contactgroup1. We have > host1 who also has a contact group of contactgroup1. That association is > working. > > However, we have service1 which runs on host1, host2, and host3, and has > contact groups contactgroup1 and contactgroup2. Whenever host2, which is not > associated with contact1 has a notification for this service, contact1 is > receiving the notification. > > How do we limit notifications for service1 to only go to contact1 if the host > having trouble is host1? > > > Thanks in advance, > > Dustin > > E-MAIL CONFIDENTIALITY NOTICE: > > > > > > > > The contents of this e-mail message and > any attachments are intended solely for the > addressee(s) and may contain confidential > and/or legally privileged information. If you > are not the intended recipient of this message > or if this message has been addressed to you > in error, please immediately alert the sender > by reply e-mail and then delete this message > and any attachments. If you are not the > intended recipient, you are notified that > any use, dissemination, distribution, copying, > or storage of this message or any attachment > is strictly prohibited. > > > > > > > > E-MAIL CONFIDENTIALITY NOTICE: The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Wed Oct 22 22:41:08 2008 From: lflacayo at cps.k12.il.us (Lacayo, Luis F) Date: Wed, 22 Oct 2008 15:41:08 -0500 Subject: Nagios notifications In-Reply-To: References: Message-ID: It is my understanding that Nagios Version 3+ allows you to put individual contacts per service. Luis From: Phillips, Dustin B (DBphillips) [mailto:dustin.phillips at chartercom.com] Sent: Wednesday, October 22, 2008 1:47 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios notifications Hi -- I apologize in advance as this question is difficult to type without running around in circles but here goes: We're having trouble configuring Nagios service notifications to go to specific contacts for specific hosts. For instance, we have contact1 who is a member of contactgroup1. We have host1 who also has a contact group of contactgroup1. That association is working. However, we have service1 which runs on host1, host2, and host3, and has contact groups contactgroup1 and contactgroup2. Whenever host2, which is not associated with contact1 has a notification for this service, contact1 is receiving the notification. How do we limit notifications for service1 to only go to contact1 if the host having trouble is host1? Thanks in advance, Dustin E-MAIL CONFIDENTIALITY NOTICE: The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cp1449 at att.com Thu Oct 23 08:01:56 2008 From: cp1449 at att.com (Paul, Chris Y) Date: Wed, 22 Oct 2008 23:01:56 -0700 Subject: get more debugging from nrpe? Message-ID: Hello nagios users. I have an nrpe daemon working when I check remotely running check_nrpe manually, but as run from the nagios daemon, it is not returning anything and the service is stuck on "PENDING". How do I get more debugging info from nrpe? I am running it with -d but only see startup and shutdown. I'm guessing because syslogd isn't configured to write info or debug anywhere.... I don't have root on this particular box so I have to go through someone else now I guess to get this syslog.conf change.. (right?) I can successfully run the configured checks remotely against the nrpe that is running like this: $ ./check_nrpe -H -p 5555 -c check_load OK - load average: 0.55, 0.56, 0.58|load1=0.555;15.000;30.000;0; load5=0.562;10.000;25.000;0; load15=0.578;5.000;20.000;0; Where check_load is defined on the remote system in nrpe.cfg as : command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 But as configured in the nagios system's commands.cfg, it doesn't seem to run. The service just shows up as "PENDING". # 'check_nrpe' command definition define command{ command_name check_nrpe command_line $USER1$/libexec/check_nrpe -H $HOSTADDRESS$ -p 5555 -c $ARG1$ } And the service definition: # Service definition define service{ use generic-service ; Name of service template to use hostgroup_name servers service_description LOADAVE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 15 retry_check_interval 5 contact_groups admins notification_interval 60 notification_period 24x7 notification_options w,u,c,r,f,s check_command check_nrpe!check_load } I need more info to solve this, either debugging or packets I guess... Any helpful ideas appreciated. CP -- Chris Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spyou at club-internet.fr Thu Oct 23 07:52:20 2008 From: spyou at club-internet.fr (Spyou) Date: Thu, 23 Oct 2008 07:52:20 +0200 Subject: Nagios notifications In-Reply-To: References: Message-ID: <20081023055416.596A86445@lumia.in.spyou.org> At 23:02 22/10/2008, Phillips, Dustin B (DBphillips) wrote: >Thanks for the reply but I don't know that that would help us. The >problem isn't that we cant select individual contacts. The problem >is our contacts are getting service notifications for hosts that >aren't assigned to any of their associated contact groups. > >Our scenario: > >"contact1" is assigned to "contactgroup1" >"host1" is assigned to "contactgroup1" >"service1" is assigned to run on "host1", "host2", and "host3" and >is assigned to "contactgroup1" >(note: "host2" and "host3" are not assigned to "contactgroup1" are >are not otherwise associated to "contact1") > >In this scenario, why does contact1 get service notifications for >host2 and host3? Mhhh .. cuz service1 is assigned to contactgroup1 and contact1 is a part of contactgroup1. Don't assign service1 on host2 & 3 if you don't want contact1 to get notified. ________________________________________ 'Spyou' - www.spyou.org - root at spyou.org ircnet.nerim.net - UIN : 6871374 Don't dream it, Be it. (RHPS) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Thu Oct 23 08:53:48 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCw6Rja2Vy?=) Date: Thu, 23 Oct 2008 08:53:48 +0200 Subject: get more debugging from nrpe? In-Reply-To: References: Message-ID: <49001F7C.2080007@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul, Chris Y schrieb: > > > Hello nagios users. > > > > I have an nrpe daemon working when I check remotely running > check_nrpe manually, but as run from the nagios daemon, it is not > returning anything and the service is stuck on ?PENDING?. > > > What happens when you re-check this service through the Webinterface? Regards, Hendrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFJAB98lI0PwfxLQjkRAnCzAJ9J/uvOh+JHVFJOnyMqnLChGLHClACePC/X ogDyFs3gNJLrBvaVxqUdsw0= =wHlW -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dani at tydnet.org Thu Oct 23 08:31:27 2008 From: dani at tydnet.org (Daniel =?utf-8?q?L=C3=B3pez?=) Date: Thu, 23 Oct 2008 08:31:27 +0200 Subject: get more debugging from nrpe? In-Reply-To: References: Message-ID: <200810230831.27260.dani@tydnet.org> On Thursday 23 October 2008 08:01:56 am Paul, Chris Y wrote: > Hello nagios users. > hi > I have an nrpe daemon working when I check remotely running check_nrpe > manually, but as run from the nagios daemon, it is not returning > anything and the service is stuck on "PENDING". > latency, maybe? > How do I get more debugging info from nrpe? I am running it with ___-d___ but > only see startup and shutdown. I'm guessing because syslogd isn't > configured to write info or debug anywhere.... I don't have root on this > particular box so I have to go through someone else now I guess to get > this syslog.conf change.. (right?) > it seems you started nrpe like this: nrpe -c nrpe.cfg -d , didn't you? then this -d options mean "daemon". To enable debug edit nrpe.cfg, search for debug=0 and turn it into 1. Restart nrpe. It doesn't have to do anything with syslog. Otherwise, I misunderstood you, and I'm sorry. I hope this helps. Dani. > Chris Paul ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Thu Oct 23 12:54:43 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 23 Oct 2008 16:24:43 +0530 Subject: Email/SMS Notifications for a particular service Message-ID: <6b16fb4c0810230354u419022bch8fc2aea5e4acb233@mail.gmail.com> Hi I have a issue with a particular service on a host. when i check Nagios Logs, I see as [1224755367] SERVICE ALERT: nmhost0001;NetmagicHTTP;CRITICAL;HARD;1;HTTP CRITICAL - pattern found instead of SERVICE NOTIFICATION:........ I dont get emails or sms for this service "NetmagicHTTP" on host nmhost0001. Any clue Please let me know if you need any additional information for debugging this issue Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dustin.Phillips at chartercom.com Thu Oct 23 12:57:31 2008 From: Dustin.Phillips at chartercom.com (Phillips, Dustin B) Date: Thu, 23 Oct 2008 05:57:31 -0500 Subject: Nagios notifications References: <20081023055416.596A86445@lumia.in.spyou.org> Message-ID: <6882433B382B8046A3F6ADCDBD38D76A045C10F2@KSTLMEXM04.CORP.CHARTERCOM.COM> Right. I understand that would "fix" our problem. So you're saying we'll need to create services that have the same check command but unique hosts and contactgroups? We have 40 services and 8 contact groups. Each contact group is only responsible for a portion of the hosts. Surely there is a better way to achieve this in lieu of creating 320 services. Thanks, Dustin -----Original Message----- From: Spyou [mailto:spyou at club-internet.fr] Sent: Thu 10/23/2008 12:52 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios notifications At 23:02 22/10/2008, Phillips, Dustin B (DBphillips) wrote: >Thanks for the reply but I don't know that that would help us. The >problem isn't that we cant select individual contacts. The problem >is our contacts are getting service notifications for hosts that >aren't assigned to any of their associated contact groups. > >Our scenario: > >"contact1" is assigned to "contactgroup1" >"host1" is assigned to "contactgroup1" >"service1" is assigned to run on "host1", "host2", and "host3" and >is assigned to "contactgroup1" >(note: "host2" and "host3" are not assigned to "contactgroup1" are >are not otherwise associated to "contact1") > >In this scenario, why does contact1 get service notifications for >host2 and host3? Mhhh .. cuz service1 is assigned to contactgroup1 and contact1 is a part of contactgroup1. Don't assign service1 on host2 & 3 if you don't want contact1 to get notified. ________________________________________ 'Spyou' - www.spyou.org - root at spyou.org ircnet.nerim.net - UIN : 6871374 Don't dream it, Be it. (RHPS) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null E-MAIL CONFIDENTIALITY NOTICE: The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 23 13:21:04 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 23 Oct 2008 13:21:04 +0200 Subject: Nagios notifications In-Reply-To: <6882433B382B8046A3F6ADCDBD38D76A045C10F2@KSTLMEXM04.CORP.CHARTERCOM.COM> References: <20081023055416.596A86445@lumia.in.spyou.org> <6882433B382B8046A3F6ADCDBD38D76A045C10F2@KSTLMEXM04.CORP.CHARTERCOM.COM> Message-ID: <49005E20.9030809@op5.se> Please don't top-post. It makes my teeth itch. Phillips, Dustin B wrote: > Right. I understand that would "fix" our problem. > > So you're saying we'll need to create services that have the same > check command but unique hosts and contactgroups? With Nagios 2, yes. > We have 40 > services and 8 contact groups. Each contact group is only > responsible for a portion of the hosts. Surely there is a better way > to achieve this in lieu of creating 320 services. > Use Nagios 3 and omit the contact_groups directive in your services. Assuming you want all service-notifications to always go to the contacts defined for the host to which the services are attached, that will do exactly what you want. For more complex cases, you really do need to specify separate services although only for the services affected by such complex circumstances. Read the manual for more details. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Thu Oct 23 14:55:12 2008 From: josh.wells at lionbank.com (Joshua Wells) Date: Thu, 23 Oct 2008 08:55:12 -0400 Subject: How do I check if a website is up? In-Reply-To: <20081022194249.GD14923@bakgwai.americas.hpqcorp.net> References: <2b36e660810200933v3e97c7b8xb734f549ad12469b@mail.gmail.com> <9179DC579128514D8035295BE49187E71416ED40@mail2.fidelitynational.com> <48FE1C4F.1080004@networkmail.eu> <20081022194249.GD14923@bakgwai.americas.hpqcorp.net> Message-ID: <9179DC579128514D8035295BE49187E71416ED5F@mail2.fidelitynational.com> Yes that was my thought. Plus it gives me the added benefit of not having to change the host definition if the IP address of the domain changes. If I am checking a website to be sure it is up and it becomes available only by IP address because of a DNS issue I would want to be made aware of that. That wouldn't happen if I defined the host by IP address instead of URL. -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Wednesday, October 22, 2008 3:43 PM To: Andy Shellam Cc: Josh Wells; nagios Subject: Re: [Nagios-users] How do I check if a website is up? On Tue, 21 Oct 2008, Andy Shellam wrote: > Hi Josh, > > You can, I believe, define a host using it's DNS name, however I and > I'm sure the rest of the community would discourage that for the > simple reason that if the DNS doesn't resolve, that host will be deemed down. FWIW, I almost always define hosts by DNS name rather than IP address wherever possible. It's easier to maintain and you get the added benefit of being alerted if DNS breaks. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dustin.Phillips at chartercom.com Thu Oct 23 13:25:37 2008 From: Dustin.Phillips at chartercom.com (Phillips, Dustin B) Date: Thu, 23 Oct 2008 06:25:37 -0500 Subject: Nagios notifications References: <20081023055416.596A86445@lumia.in.spyou.org> <6882433B382B8046A3F6ADCDBD38D76A045C10F2@KSTLMEXM04.CORP.CHARTERCOM.COM> <49005E20.9030809@op5.se> Message-ID: <6882433B382B8046A3F6ADCDBD38D76A045C10F3@KSTLMEXM04.CORP.CHARTERCOM.COM> D'oh! Sorry about the top post. I will RTFM on Nagios 3. We had not considered than an option as we are using NagiosQL and are awaiting a release compatible with Nagios 3. Thanks for your reply! Dustin E-MAIL CONFIDENTIALITY NOTICE: The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjustinwilliams at gmail.com Thu Oct 23 15:15:38 2008 From: rjustinwilliams at gmail.com (rjustinwilliams at gmail.com) Date: Thu, 23 Oct 2008 06:15:38 -0700 Subject: How do I check if a website is up? Message-ID: <000e0cd297f0027c070459eb7604@google.com> Use both. That way, you know which the problem is... If just the name is down, and the IP is up, you know DNS is an issue. If both are down, you know your site is more likely. Could also be a network thing, but, you can at least distinguish DNS issue from other issues... On Oct 23, 2008 8:55am, Joshua Wells wrote: > > > Yes that was my thought. Plus it gives me the added benefit of not > > having to change the host definition if the IP address of the domain > > changes. If I am checking a website to be sure it is up and it becomes > > available only by IP address because of a DNS issue I would want to be > > made aware of that. That wouldn't happen if I defined the host by IP > > address instead of URL. > > > > > > -----Original Message----- > > From: Patrick Morris [mailto:patrick.morris at hp.com] > > Sent: Wednesday, October 22, 2008 3:43 PM > > To: Andy Shellam > > Cc: Josh Wells; nagios > > Subject: Re: [Nagios-users] How do I check if a website is up? > > > > On Tue, 21 Oct 2008, Andy Shellam wrote: > > > > > Hi Josh, > > > > > > You can, I believe, define a host using it's DNS name, however I and > > > I'm sure the rest of the community would discourage that for the > > > simple reason that if the DNS doesn't resolve, that host will be > > deemed down. > > > > FWIW, I almost always define hosts by DNS name rather than IP address > > wherever possible. It's easier to maintain and you get the added > > benefit of being alerted if DNS breaks. > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win great prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ppauly at gmail.com Thu Oct 23 16:21:02 2008 From: ppauly at gmail.com (Peter Pauly) Date: Thu, 23 Oct 2008 10:21:02 -0400 Subject: check_snmp wierdness Message-ID: I'm using check_snmp to check the status of the interfaces on Cisco routers, and for the most part, it is working well. However, I have one interface that Nagios is reporting as down, despite the fact that: 1. Running check_snmp by hand shows the interface is up: /usr/lib/nagios/plugins/check_snmp -H xx.xx.xx.xx -C xxxxxxx -o ifOperStatus.21 -r 1 -m RFC1213-MIB SNMP OK - up(1) | RFC1213-MIB::ifOperStatus.21=up(1) 2. The router being checked shows the interface is up (via cisco commands) 3. Running snmpwalk and dumping the whole shebang shows the interface is up. My environment is: Nagios 3.0.2 from the packages Ubuntu 8.10 I'd rather not install Nagios 3.04 from tar. When you have to administer 100 servers, you try to keep things as simple as possible ;). The definition for the failing check is: define service{ use generic-service host_name xxxxxx service_description xxxxxxxxx check_command check_snmp!-C xxxxxxx -o ifOperStatus.21 -r 1 -m RFC1213-MIB contact_groups xxxxx,yyyyyy } which, except for the "21" is the same as all of the working ones. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxwellb at oclc.org Thu Oct 23 16:41:51 2008 From: maxwellb at oclc.org (Maxwell,Brady) Date: Thu, 23 Oct 2008 10:41:51 -0400 Subject: NSCA and Latency Message-ID: <4E7C2F493C1A1A44BE705AFDCEE8A13302A1C579@OAEXCH2SERVER.oa.oclc.org> My Environment: 3 x Dell 2950 Dual DualCore and 8 GB of RAM One system runs checks against our Linux servers One runs checks against our Windows servers We are running SLES10 update 3 Both systems use nsca to send their check results to a third server that displays the service checks for our operators. All three systems are on the same vlan but separate cisco switchs. I am running nsca in daemon mode on the central server with this command /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg -daemon Nsca.cfg is as follows: pid_file=/var/run/nsca.pidserver_port=5667#server_address=192.168.1.1nsc a_user=nagiosnsca_group=nagios#nsca_chroot=/var/run/nagios/rwdebug=1comm and_file=/usr/local/nagios/var/rw/nagios.cmdalternate_dump_file=/usr/loc al/nagios/var/rw/nsca.dumpaggregate_writes=1append_to_file=1max_packet_a ge=300password=xxxxxxxxxxdecryption_method=14 I just set the aggregate and append options to try and fix the problem they were not set before either way the results are the same. Ok so on the 2 servers doing the checks.... Everything runs fine even with the OCSP running my send_service_check_results script. My script is pretty much straight out of the book. #!/bin/sh# Arguments:# $1 = Hostname of the host (using the $HOSTNAME$ macro)# $2 = Service description of the service (using the $SERVICEDESC$ macro)# $3 = Service status id of the service (using the $SERVICESTATUSID$ macro)# $4 = Output of the Service Check (using the $SERVICEOUTPUT$ macro)/bin/echo "$1","$2","$3","N3 - $4" | /usr/local/nagios/libexec/send_nsca -H 10.10.129.37 -c /usr/local/nagios/etc/send_nsca.cfg -d "," Like I said everything is fine on the 2 servers even with OCSP on. Between the 2 servers we are running about 10k service checks, latency is very low just a few seconds. However if I turn on the NSCA Deamon on the central server my latency creeps up to about 1500+ seconds with in an hour and just gets worse from there on both remotes. The checks that should run every 5 minutes on the 2 remote servers end up running every few hours or less. The central server is doing 0 active checks. I set debug mode and that proved to provide very little insight into the problem. CPU and Mem stats are both very low on all three server. The same thing can be said for the network, network utilization is less than 2% and there are no errors on the interfaces. Overall hardware utilization is 10% or less on these three systems. So my question is has anyone had this kind of problem with NSCA? What am I missing? Should I be batching my service checks on the remote servers? Should I be using xinetd for NSCA instead of deamon mode? Thanks Brady -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davidj at synaq.com Thu Oct 23 14:58:04 2008 From: davidj at synaq.com (David Jacobson) Date: Thu, 23 Oct 2008 14:58:04 +0200 Subject: Best Practises for a *NIX environment over multiple WAN's Message-ID: Hi There, We monitor a large amount of services for all our customers. We do not have the luxury of all the networks being on the same WAN/LAN infrastructure. A lot of our servers have public IP?s and a lot do not. Typically, we have been monitoring the *NIX servers using a combination of active and passive (active where we can, passive where the server does not have a public IP) What the above creates, is quite a mess and a difficult process to try and explain to all our support agents on how to monitor our customer servers, due to all differences. We are now redoing our monitoring from scratch (using Groundwork) - in an ideal world each server would be accessible via an active check and we could ensure that 99% of all monitoring changes are doing via the Groundwork interface (assuming we run NRPE on each server and have external arguments accepted) - what?s great about this, the junior support engineers could easily make changes via an interface. However, as discussed not all servers are accessible directly, so I?m considering just doing an all passive approach to simplify the process ? to install nagios on every server which submits its active checks back via NSCA. The thing I hate about this, is the fact that we have to log on to every server to make a monitoring change, which is what I was trying to avoid. I guess we could make the passive approach a bit better, by making use of something like puppet and version control so we don?t really have to log on to the servers... Before I start this whole project, I would like to know if anyone has any ideas on the ?Best way? to do this, any advise would be appreciated. At the moment, I?m steering towards passive for everything and version control. My main goal here is monitoring that works, that is simple to modify moving forward. (KISS methodology) -- Regards, David Jacobson Technical Director SYNAQ (Pty) Ltd Tel: 011 262 3628 Direct: 011 262 3626 Fax: 086 637 8868 Cell: 083 235 0760 Mail: davidj at synaq.com Web: http://www.synaq.com Key Fingerprint 8246 FCE1 3C22 7EFB E61B 18DF 6E8B 65E8 BD50 78A1 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Thu Oct 23 17:08:27 2008 From: jcall at verio.net (Jonathan Call) Date: Thu, 23 Oct 2008 11:08:27 -0400 Subject: NSCA and Latency In-Reply-To: <4E7C2F493C1A1A44BE705AFDCEE8A13302A1C579@OAEXCH2SERVER.oa.oclc.org> References: <4E7C2F493C1A1A44BE705AFDCEE8A13302A1C579@OAEXCH2SERVER.oa.oclc.org> Message-ID: <04F3233F47E2714CB7431AE913E57E77030B6DD2@IAD-WPRD-XCHB02.corp.verio.net> NSCA just doesn't scale well within Nagios. You will need to try something like the OCP Daemon mentioned here: http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon I believe Andreas Ericsson has also written a broker module for NSCA. It is apparently still in its testing/alpha stages so you would have to contact that person directly. Jonathan ________________________________ From: Maxwell,Brady [mailto:maxwellb at oclc.org] Sent: Thursday, October 23, 2008 8:42 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSCA and Latency My Environment: 3 x Dell 2950 Dual DualCore and 8 GB of RAM One system runs checks against our Linux servers One runs checks against our Windows servers We are running SLES10 update 3 Both systems use nsca to send their check results to a third server that displays the service checks for our operators. All three systems are on the same vlan but separate cisco switchs. I am running nsca in daemon mode on the central server with this command /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg -daemon Nsca.cfg is as follows: pid_file=/var/run/nsca.pidserver_port=5667#server_address=192.168.1.1nsc a_user=nagiosnsca_group=nagios#nsca_chroot=/var/run/nagios/rwdebug=1comm and_file=/usr/local/nagios/var/rw/nagios.cmdalternate_dump_file=/usr/loc al/nagios/var/rw/nsca.dumpaggregate_writes=1append_to_file=1max_packet_a ge=300password=xxxxxxxxxxdecryption_method=14 I just set the aggregate and append options to try and fix the problem they were not set before either way the results are the same. Ok so on the 2 servers doing the checks.... Everything runs fine even with the OCSP running my send_service_check_results script. My script is pretty much straight out of the book. #!/bin/sh# Arguments:# $1 = Hostname of the host (using the $HOSTNAME$ macro)# $2 = Service description of the service (using the $SERVICEDESC$ macro)# $3 = Service status id of the service (using the $SERVICESTATUSID$ macro)# $4 = Output of the Service Check (using the $SERVICEOUTPUT$ macro)/bin/echo "$1","$2","$3","N3 - $4" | /usr/local/nagios/libexec/send_nsca -H 10.10.129.37 -c /usr/local/nagios/etc/send_nsca.cfg -d "," Like I said everything is fine on the 2 servers even with OCSP on. Between the 2 servers we are running about 10k service checks, latency is very low just a few seconds. However if I turn on the NSCA Deamon on the central server my latency creeps up to about 1500+ seconds with in an hour and just gets worse from there on both remotes. The checks that should run every 5 minutes on the 2 remote servers end up running every few hours or less. The central server is doing 0 active checks. I set debug mode and that proved to provide very little insight into the problem. CPU and Mem stats are both very low on all three server. The same thing can be said for the network, network utilization is less than 2% and there are no errors on the interfaces. Overall hardware utilization is 10% or less on these three systems. So my question is has anyone had this kind of problem with NSCA? What am I missing? Should I be batching my service checks on the remote servers? Should I be using xinetd for NSCA instead of deamon mode? Thanks Brady This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Oct 23 17:54:56 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 23 Oct 2008 16:54:56 +0100 Subject: Best Practises for a *NIX environment over multiple WAN's In-Reply-To: References: Message-ID: <49009E50.5050400@googlemail.com> I think this screams for an NSCA relay agent so that you don't have to actually have to make the changes on more than 1 nagios server, which is what you'd currently have to do. Such an agent should work just like a dhcp relay, get a request, buffer and try passing it on to the remote nagios server, retry if the wan link is down etc... Alternatively, for right now, a config framework like puppet + revision control + scripted auto update/config change to passive check forwarding on remote nagios server + reload would probably be a workaround to do what you want so you only have to modify nagios in one place and the other follows suit automatically. I love doing stuff like that. -h -- Hari Sekhon Always open to interesting opportunities http://www.linkedin.com/in/harisekhon David Jacobson wrote: > Hi There, > > We monitor a large amount of services for all our customers. We do not > have the luxury of all the networks being on the same WAN/LAN > infrastructure. > > A lot of our servers have public IP?s and a lot do not. > > Typically, we have been monitoring the *NIX servers using a > combination of active and passive (active where we can, passive where > the server does not have a public IP) > > What the above creates, is quite a mess and a difficult process to try > and explain to all our support agents on how to monitor our customer > servers, due to all differences. > > We are now redoing our monitoring from scratch (using Groundwork) - in > an ideal world each server would be accessible via an active check and > we could ensure that 99% of all monitoring changes are doing via the > Groundwork interface (assuming we run NRPE on each server and have > external arguments accepted) - what?s great about this, the junior > support engineers could easily make changes via an interface. > > However, as discussed not all servers are accessible directly, so I?m > considering just doing an all passive approach to simplify the process > ? to install nagios on every server which submits its active checks > back via NSCA. The thing I hate about this, is the fact that we have > to log on to every server to make a monitoring change, which is what I > was trying to avoid. > > I guess we could make the passive approach a bit better, by making use > of something like puppet and version control so we don?t really have > to log on to the servers... > > Before I start this whole project, I would like to know if anyone has > any ideas on the ?Best way? to do this, any advise would be > appreciated. At the moment, I?m steering towards passive for > everything and version control. > > My main goal here is monitoring that works, that is simple to modify > moving forward. (KISS methodology) > > -- > Regards, > > David Jacobson > Technical Director > SYNAQ (Pty) Ltd > > Tel: 011 262 3628 > Direct: 011 262 3626 > Fax: 086 637 8868 > Cell: 083 235 0760 > Mail: davidj at synaq.com > Web: http://www.synaq.com > > Key Fingerprint > 8246 FCE1 3C22 7EFB E61B 18DF 6E8B 65E8 BD50 78A1 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cp1449 at att.com Thu Oct 23 19:58:22 2008 From: cp1449 at att.com (Paul, Chris Y) Date: Thu, 23 Oct 2008 10:58:22 -0700 Subject: get more debugging from nrpe? In-Reply-To: <200810230831.27260.dani@tydnet.org> References: <200810230831.27260.dani@tydnet.org> Message-ID: I solved the problem this way. I turned on snoop to get packets on the nrpe port and saw that there were no packets at that port unless I ran check_nrpe manually, then I noticed that in my commands definitions the path was wrong (I had copied some commands from another installation which had a "libexec" after $USR1$. Getting the packets with snoop was very helpful because it told me that the nrpe daemon was running but somehow not executing from nagios. I'm wondering why nagios didn't complain about "command not found" or something like that though now. Thanks all for the tips and ideas. CP -- Chris Paul cp1449 at att.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Thu Oct 23 21:26:09 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 24 Oct 2008 00:56:09 +0530 Subject: Nagios 3.0.4 Ebuild Message-ID: <6b16fb4c0810231226w7a8c9bd1we38c8ba4cd1887ac@mail.gmail.com> Hi where can i get Nagios Ebuild 3.0.4 for Gentoo OS Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Oct 23 21:35:33 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 23 Oct 2008 12:35:33 -0700 Subject: Nagios 3.0.4 Ebuild In-Reply-To: <6b16fb4c0810231226w7a8c9bd1we38c8ba4cd1887ac@mail.gmail.com> References: <6b16fb4c0810231226w7a8c9bd1we38c8ba4cd1887ac@mail.gmail.com> Message-ID: <20081023193533.GK14923@bakgwai.americas.hpqcorp.net> On Thu, 23 Oct 2008, Kaushal Shriyan wrote: > where can i get Nagios Ebuild 3.0.4 for Gentoo OS It's in the standard portage repo: pmorris at bakgwai ~ $ emerge search nagios *** Deprecated use of action 'search', use '--search' instead Searching... [ Results for search key : nagios ] [ Applications found : 11 ] [snip] * net-analyzer/nagios Latest version available: 3.0.4 Latest version installed: [ Not Installed ] Size of files: 0 kB Homepage: http://www.nagios.org Description: The Nagios metapackage - merge this to pull install all of the nagios packages License: GPL-2 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blynch at ameliaschools.com Thu Oct 23 21:34:57 2008 From: blynch at ameliaschools.com (Bo Lynch) Date: Thu, 23 Oct 2008 15:34:57 -0400 (EDT) Subject: Stats Info Message-ID: <49382.65.161.127.93.1224790497.squirrel@ameliaschools.com> I'm am migrating my test bed nagios server to something a little more production. Where are the stats and uptime for all my servers located so that I can move the 3 months worth of data to the new install. Thank you -- Bo Lynch ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Thu Oct 23 21:59:05 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCworDpGNrZXI=?=) Date: Thu, 23 Oct 2008 21:59:05 +0200 Subject: NSCA and Latency In-Reply-To: <04F3233F47E2714CB7431AE913E57E77030B6DD2@IAD-WPRD-XCHB02.corp.verio.net> References: <4E7C2F493C1A1A44BE705AFDCEE8A13302A1C579@OAEXCH2SERVER.oa.oclc.org> <04F3233F47E2714CB7431AE913E57E77030B6DD2@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <4900D789.1080509@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Call schrieb: > I believe Andreas Ericsson has also written a broker module for NSCA. It > is apparently still in its testing/alpha stages so you would have to > contact that person directly. > Or you give it a direct try and feed Andreas with some scaling information: http://git.op5.org/git/?p=nagios/pnsca.git;a=summary > > > Jonathan > > > > > > ------------------------------------------------------------------------ > > *From:* Maxwell,Brady [mailto:maxwellb at oclc.org] > *Sent:* Thursday, October 23, 2008 8:42 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] NSCA and Latency > > > > My Environment: > > 3 x Dell 2950 Dual DualCore and 8 GB of RAM > > One system runs checks against our Linux servers > > One runs checks against our Windows servers > > We are running SLES10 update 3 > > Both systems use nsca to send their check results to a third server that > displays the service checks for our operators. > > All three systems are on the same vlan but separate cisco switchs. > > I am running nsca in daemon mode on the central server with this command > > /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg ?daemon > > Nsca.cfg is as follows: > > pid_file=/var/run/nsca.pidserver_port=5667#server_address=192.168.1.1nsca_user=nagiosnsca_group=nagios#nsca_chroot=/var/run/nagios/rwdebug=1command_file=/usr/local/nagios/var/rw/nagios.cmdalternate_dump_file=/usr/local/nagios/var/rw/nsca.dumpaggregate_writes=1append_to_file=1max_packet_age=300password=xxxxxxxxxxdecryption_method=14 > > > > I just set the aggregate and append options to try and fix the problem > they were not set before either way the results are the same. > > Ok so on the 2 servers doing the checks?. Everything runs fine even with > the OCSP running my send_service_check_results script. My script is > pretty much straight out of the book. > > #!/bin/sh# Arguments:# $1 = Hostname of the host (using the $HOSTNAME$ > macro)# $2 = Service description of the service (using the $SERVICEDESC$ > macro)# $3 = Service status id of the service (using the > $SERVICESTATUSID$ macro)# $4 = Output of the Service Check (using the > $SERVICEOUTPUT$ macro)/bin/echo "$1","$2","$3","N3 - $4" | > /usr/local/nagios/libexec/send_nsca -H 10.10.129.37 -c > /usr/local/nagios/etc/send_nsca.cfg -d "," > > Like I said everything is fine on the 2 servers even with OCSP on. > Between the 2 servers we are running about 10k service checks, latency > is very low just a few seconds. However if I turn on the NSCA Deamon on > the central server my latency creeps up to about 1500+ seconds with in > an hour and just gets worse from there on both remotes. The checks that > should run every 5 minutes on the 2 remote servers end up running every > few hours or less. The central server is doing 0 active checks. > > I set debug mode and that proved to provide very little insight into the > problem. > > CPU and Mem stats are both very low on all three server. The same thing > can be said for the network, network utilization is less than 2% and > there are no errors on the interfaces. Overall hardware utilization is > 10% or less on these three systems. > > So my question is has anyone had this kind of problem with NSCA? What am > I missing? Should I be batching my service checks on the remote servers? > Should I be using xinetd for NSCA instead of deamon mode? > > Thanks > > Brady > > > This email message is intended for the use of the person to whom it has > been sent, and may contain information that is confidential or legally > protected. If you are not the intended recipient or have received this > message in error, you are not authorized to copy, distribute, or > otherwise use this message or its attachments. Please notify the sender > immediately by return e-mail and permanently delete this message and any > attachments. Verio, Inc. makes no warranty that this email is error or > virus free. Thank you. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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.4.8 (Darwin) iEYEARECAAYFAkkA14gACgkQlI0PwfxLQjlRgQCdGcEJtZOA9j/zDGBmlTi/FNdm OEUAn0QR2LqsriHHfjnhSWUSKgwAycHX =MW1U -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Thu Oct 23 22:00:57 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCworDpGNrZXI=?=) Date: Thu, 23 Oct 2008 22:00:57 +0200 Subject: Stats Info In-Reply-To: <49382.65.161.127.93.1224790497.squirrel@ameliaschools.com> References: <49382.65.161.127.93.1224790497.squirrel@ameliaschools.com> Message-ID: <4900D7F9.9050401@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bo Lynch schrieb: > I'm am migrating my test bed nagios server to something a little more > production. Where are the stats and uptime for all my servers located so > that I can move the 3 months worth of data to the new install. > Thank you Just copy your nagios.log and the archived logs to your new server. Together with the current object configurations it should work. Regards, Hendrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkkA1/kACgkQlI0PwfxLQjmMKACfSEgFZkaDxTriwE0SrCAWhWW2 ELcAn1lJsMWz8zKo6dao+qkJS4wA4y+z =dPn+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists-tHksloyy3C0+BY+yDiVN7w at public.gmane.org Thu Oct 23 22:48:33 2008 From: andy-lists-tHksloyy3C0+BY+yDiVN7w at public.gmane.org (Andy Shellam) Date: Thu, 23 Oct 2008 21:48:33 +0100 Subject: Host monitoring In-Reply-To: <898823.98431.qm-EK7lxQ6CoyCvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> References: <898823.98431.qm@web81801.mail.mud.yahoo.com> Message-ID: <4900E321.6020701@networkmail.eu> Hi Grant, That is weird - according to that log file, Nagios hasn't notified you at all today (it should say HOST/SERVICE NOTIFICATION for every notification it sends out.) However, your services are alerting on every OK result - if you convert the timestamps for your ping service you'll notice it's every 5 minutes - which I'm guessing is your service check interval. I have absolutely no idea why Nagios thinks that an OK state is an alert though. Does anyone with more experience than me have any ideas? (Copied in to nagios-users as is it seems more an issue with Nagios than the plugins.) It could be something dead simple but I'm not seeing it! Thanks, Andy Grant Lowe wrote: > Hi Andy, > > This is peculiar. I look at the GUI and it says, from the first day I installed Nagios: > > Alert Notifications > File: > /usr/local/nagios/var/archives/nagios-09-23-2008-00.log > Notification detail level for all > hosts: > All notificationsAll service notificationsAll host notificationsService customService acknowledgementsService warningService unknownService criticalService > recoveryService flappingHost > customHost acknowledgementsHost downHost unreachableHost recoveryHost > flapping > Older Entries First: > Host > Service > Type > Time > Contact > Notification Command > Information > No notifications have been recorded in this archived log > file > > But if I look at the file in question, I see this: > > nagios-09-23-2008-00.log:[1222095978] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.38 ms > nagios-09-23-2008-00.log:[1222096228] SERVICE ALERT: blarney;ssh;OK;HARD;1;SSH OK - (protocol 1.5) > nagios-09-23-2008-00.log:[1222096278] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.28 ms > nagios-09-23-2008-00.log:[1222096578] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms > nagios-09-23-2008-00.log:[1222096878] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.29 ms > nagios-09-23-2008-00.log:[1222097178] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.27 ms > nagios-09-23-2008-00.log:[1222097478] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.31 ms > nagios-09-23-2008-00.log:[1222097778] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.35 ms > nagios-09-23-2008-00.log:[1222098078] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 3.22 ms > > This is weird. Does this help you to help me? > > > ----- Original Message ---- > > From: Andy Shellam > To: Grant Lowe > Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > Sent: Thursday, October 23, 2008 11:31:21 AM > Subject: Re: [Nagiosplug-help] Host monitoring > > Hi Grant, > > Use the Nagios GUI - it's the "Alert History" option in the Reporting > menu - navigate back to when you first received the e-mails for that > host and see what the status change was like. e.g. here's a sample from > mine when my co-lo host's router had a reboot overnight: > > [22-10-2008 01:29:41] HOST ALERT: Telehouse Router 2;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 0.34 ms > [22-10-2008 01:29:31] HOST ALERT: Sydney;UP;HARD;1;PING OK - Packet loss > = 0%, RTA = 21.60 ms > [22-10-2008 01:26:41] HOST ALERT: Sydney;UNREACHABLE;HARD;3;PING > CRITICAL - Packet loss = 100% > [22-10-2008 01:26:31] HOST ALERT: Telehouse Router > 2;DOWN;HARD;3;CHECK_NRPE: Socket timeout after 10 seconds. > [22-10-2008 01:25:51] HOST ALERT: Sydney;UNREACHABLE;SOFT;2;PING > CRITICAL - Packet loss = 100% > > You could also look at the Event Log option for the same time period > which will also list the notifications Nagios sent out: > > [22-10-2008 01:29:41] HOST NOTIFICATION: Andy Shellam;Telehouse Router > 2;UP;notify-host-problem;PING OK - Packet loss = 0%, RTA = 0.34 ms > [22-10-2008 01:29:41] HOST ALERT: Telehouse Router 2;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 0.34 ms > [22-10-2008 01:29:31] HOST NOTIFICATION: Andy > Shellam;Sydney;UP;notify-host-problem;PING OK - Packet loss = 0%, RTA = > 21.60 ms > [22-10-2008 01:29:31] HOST ALERT: Sydney;UP;HARD;1;PING OK - Packet loss > = 0%, RTA = 21.60 ms > [22-10-2008 01:26:41] HOST NOTIFICATION: Andy > Shellam;Sydney;UNREACHABLE;notify-host-problem;PING CRITICAL - Packet > loss = 100% > [22-10-2008 01:26:41] HOST ALERT: Sydney;UNREACHABLE;HARD;3;PING > CRITICAL - Packet loss = 100% > [22-10-2008 01:26:31] HOST NOTIFICATION: Andy Shellam;Telehouse Router > 2;DOWN;notify-host-problem;CHECK_NRPE: Socket timeout after 10 seconds. > [22-10-2008 01:26:31] HOST ALERT: Telehouse Router > 2;DOWN;HARD;3;CHECK_NRPE: Socket timeout after 10 seconds. > [22-10-2008 01:25:51] HOST ALERT: Sydney;UNREACHABLE;SOFT;2;PING > CRITICAL - Packet loss = 100% > > Andy > > Grant Lowe wrote: > >> Hey Andy, >> >> Which file in /usr/local/nagios/var should I be looking at? Is it the log file from the archives directory? If so, then what sort of string should I be looking for? >> >> grant >> >> >> ----- Original Message ---- >> From: Andy Shellam >> To: Grant Lowe >> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >> Sent: Tuesday, October 21, 2008 2:42:43 PM >> Subject: Re: [Nagiosplug-help] Host monitoring >> >> Hi Grant, >> >> That's what I was afraid of! Your mail commands are using the >> $NOTIFICATIONTYPE$ macro which is where your PROBLEM text comes from - >> in that command definition you can customise the template of the mail >> that goes out. >> >> Unfortunately I have no idea why Nagios is classing a host up state as a >> problem, instead of a recovery. Can you review the history of that >> host/service shortly before the alert got to you using the Nagios "Alert >> History" GUI? >> >> What version of Nagios is this on? >> >> Thanks, >> >> Andy >> >> Grant Lowe wrote: >> >> >>> Ok, Andy. Here they are. >>> >>> # 'notify-by-email' command definition >>> define command{ >>> command_name notify-by-email >>> command_line /usr/bin/printf "%b" "***** Nagios @VERSION@ *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | @MAIL_PROG@ -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ >>> } >>> >>> # 'notify-host-by-email' command definition >>> define command{ >>> command_name notify-host-by-email >>> command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ >>> } >>> >>> # 'notify-service-by-email' command definition >>> define command{ >>> command_name notify-service-by-email >>> command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ >>> } >>> >>> Thanks, Andy! >>> >>> >>> >>> ----- Original Message ---- >>> From: Andy Shellam >>> To: Grant Lowe >>> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>> Sent: Tuesday, October 21, 2008 1:32:09 PM >>> Subject: Re: [Nagiosplug-help] Host monitoring >>> >>> Hi Grant, >>> >>> Your contact has the commands "notify-service-by-email" and >>> "notify-host-by-email" set for the notifications. These should be >>> present in your commands.cfg file, so we need to see the command_line >>> definitions for each of these commands - this is the server command-line >>> that is executed to send you the notifications. >>> >>> Regards, >>> >>> Andy >>> >>> Grant Lowe wrote: >>> >>> >>> >>>> Hi Andy, >>>> >>>> Here's the generic-contact from the template: >>>> >>>> define contact{ >>>> name generic-contact ; The name of this contact template >>>> service_notification_period 24x7 ; service notifications can be sent anytime >>>> host_notification_period 24x7 ; host notifications can be sent anytime >>>> service_notification_options w,u,c,r,f,s ; send notifications for all service states, flapping events, and scheduled downtime events >>>> host_notification_options d,u,r,f,s ; send notifications for all host states, flapping events, and scheduled downtime events >>>> service_notification_commands notify-service-by-email ; send service notifications via email >>>> host_notification_commands notify-host-by-email ; send host notifications via email >>>> register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE! >>>> } >>>> >>>> As far as command_line definitions that use this one, there aren't any that I can see. Unless I'm missing something. >>>> >>>> >>>> >>>> ----- Original Message ---- >>>> From: Andy Shellam >>>> To: Grant Lowe >>>> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>>> Sent: Tuesday, October 21, 2008 12:18:18 PM >>>> Subject: Re: [Nagiosplug-help] Host monitoring >>>> >>>> Hi Grant, >>>> >>>> OK these notification commands aren't defined for your contact - can you >>>> post the definition of the generic-contact contact template, as well as >>>> the command_line definitions for the notification commands attached to >>>> that command? >>>> >>>> Andy >>>> >>>> Grant Lowe wrote: >>>> >>>> >>>> >>>> >>>>> Hi Andy, >>>>> >>>>> Here's the contact info for me in Nagios: >>>>> >>>>> define contact{ >>>>> contact_name nagiosadmin ; Short name of user >>>>> use generic-contact ; Inherit default values from generic-contact template (defined above) >>>>> alias Nagios Admin ; Full name of user >>>>> >>>>> email glowe-rphTv4pjVZMJGwgDXS7ZQA at public.gmane.org ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** >>>>> } >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ----- Original Message ---- >>>>> From: Andy Shellam >>>>> To: Grant Lowe >>>>> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>>>> Sent: Tuesday, October 21, 2008 11:09:56 AM >>>>> Subject: Re: [Nagiosplug-help] Host monitoring >>>>> >>>>> Hi Grant, >>>>> >>>>> What is your definition of the _contact_ glowe? That definition should >>>>> have a service/host notification command attached to it, please send >>>>> those command's command_line definitions. >>>>> >>>>> Thanks, >>>>> >>>>> Andy >>>>> >>>>> Grant Lowe wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> Hi Andy, >>>>>> >>>>>> Here's my host definition: >>>>>> >>>>>> define host { >>>>>> host_name myhost >>>>>> alias myhost >>>>>> display_name My Host >>>>>> address 172.20.8.215 >>>>>> hostgroups solaris-servers >>>>>> check_command check-host-alive >>>>>> initial_state o >>>>>> max_check_attempts 5 >>>>>> check_interval 3 >>>>>> retry_interval 3600 >>>>>> active_checks_enabled 0 >>>>>> passive_checks_enabled 1 >>>>>> check_period 24x7 >>>>>> obsess_over_host 0 >>>>>> check_freshness 0 >>>>>> event_handler_enabled 0 >>>>>> flap_detection_enabled 0 >>>>>> flap_detection_options o,d,u >>>>>> process_perf_data 1 >>>>>> retain_status_information 1 >>>>>> retain_nonstatus_information 0 >>>>>> contacts glowe >>>>>> notification_interval 300 >>>>>> notification_period 24x7 >>>>>> notification_options d,u,r,f,s >>>>>> notifications_enabled 1 >>>>>> stalking_options >>>>>> } >>>>>> >>>>>> >>>>>> Here's my service definition: >>>>>> >>>>>> define service{ >>>>>> host_name blarney >>>>>> hostgroup_name solaris-servers >>>>>> service_description Ping >>>>>> check_command check_ping!200.0,20%!600.0,60% >>>>>> max_check_attempts 5 >>>>>> notification_interval 60 >>>>>> check_period 24x7 >>>>>> } >>>>>> >>>>>> Thanks for the help! >>>>>> >>>>>> >>>>>> ----- Original Message ---- >>>>>> From: Andy Shellam >>>>>> To: Grant Lowe >>>>>> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>>>>> Sent: Monday, October 20, 2008 1:44:21 PM >>>>>> Subject: Re: [Nagiosplug-help] Host monitoring >>>>>> >>>>>> Hi Grant, >>>>>> >>>>>> Have a look at your contact definition, at the service and host >>>>>> notification commands - look those up in your commands.cfg (or whatever >>>>>> your command file is) and that should point to a command_line that sends >>>>>> the e-mail (using /bin/mail or similar.) It may even be a shell >>>>>> script. Either way, we'd need to see your command definition to try and >>>>>> work out what's going on here. >>>>>> >>>>>> Andy >>>>>> >>>>>> Grant Lowe wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Hi Andy, >>>>>>> >>>>>>> I'm looking at all the command definitions and nothing is in there that I can see about retaining PROBLEM data. I do have the notifications set to 60 minutes and that's when I receive the email. But it always says PROBLEM in the email I receive. Maybe that's the problem? Is there a way to set it to a different string? Or is that opening up a can of worms? >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ---- >>>>>>> From: Andy Shellam >>>>>>> To: Grant Lowe >>>>>>> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>>>>>> Sent: Monday, October 20, 2008 11:34:05 AM >>>>>>> Subject: Re: [Nagiosplug-help] Host monitoring >>>>>>> >>>>>>> Hi Grant, >>>>>>> >>>>>>> What are your notification options for the host, and your notification >>>>>>> command? It's possible that the host/s in question has gone down and >>>>>>> Nagios is reporting it has returned to an UP state, but your >>>>>>> notification command is hard-coded to say PROBLEM. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Andy >>>>>>> >>>>>>> Grant Lowe wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Hi All, >>>>>>>> >>>>>>>> Another question for you all. On some hosts, I keep on getting a notification that reads: >>>>>>>> >>>>>>>> ** PROBLEM Host Alert: myserver is UP ** >>>>>>>> >>>>>>>> I'm trying to figure out why Nagios is generating these errors, when the host is obviously up. Thanks! >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------- >>>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>>>>>>> Build the coolest Linux based applications with Moblin SDK & win great prizes >>>>>>>> Grand prize is a trip for two to an Open Source event anywhere in the world >>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>>>>>> _______________________________________________ >>>>>>>> Nagiosplug-help mailing list >>>>>>>> Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>>>>>>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help >>>>>>>> ::: Please include plugins version (-v) and OS when reporting any issue. >>>>>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >>> >>> >> >> > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 24 01:49:44 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 23 Oct 2008 16:49:44 -0700 Subject: [Nagiosplug-help] Host monitoring In-Reply-To: <4900E321.6020701@networkmail.eu> References: <898823.98431.qm@web81801.mail.mud.yahoo.com> <4900E321.6020701@networkmail.eu> Message-ID: <20081023234944.GP14923@bakgwai.americas.hpqcorp.net> Hi Andy! On Thu, 23 Oct 2008, Andy Shellam wrote: > Hi Grant, > > That is weird - according to that log file, Nagios hasn't notified you > at all today (it should say HOST/SERVICE NOTIFICATION for every > notification it sends out.) > > However, your services are alerting on every OK result - if you convert > the timestamps for your ping service you'll notice it's every 5 minutes > - which I'm guessing is your service check interval. > > I have absolutely no idea why Nagios thinks that an OK state is an alert > though. Does anyone with more experience than me have any ideas? > (Copied in to nagios-users as is it seems more an issue with Nagios than > the plugins.) It could be something dead simple but I'm not seeing it! > > Thanks, > > Andy It's probably because it's a passive check. I'd bet log_passive_checks is turned on in nagios.cfg. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc-ZrVyBq3Rfso at public.gmane.org Fri Oct 24 02:04:31 2008 From: marc-ZrVyBq3Rfso at public.gmane.org (Marc Powell) Date: Thu, 23 Oct 2008 19:04:31 -0500 Subject: [Nagios-users] Host monitoring In-Reply-To: <4900E321.6020701-tHksloyy3C0+BY+yDiVN7w@public.gmane.org> References: <898823.98431.qm@web81801.mail.mud.yahoo.com> <4900E321.6020701@networkmail.eu> Message-ID: <6199A2FF-B5F0-4AD8-A082-1CD536C7D8FC@ena.com> On Oct 23, 2008, at 3:48 PM, Andy Shellam wrote: > However, your services are alerting on every OK result - if you > convert > the timestamps for your ping service you'll notice it's every 5 > minutes > - which I'm guessing is your service check interval. An alert is not a notification. It's just a log entry that something 'interesting' has happened with that service. It may be the first check after restart/reload, a hard state change, a volatile change or a stalking change. > I have absolutely no idea why Nagios thinks that an OK state is an > alert > though. Does anyone with more experience than me have any ideas? I'd hazard a guess that stalking is enabled. http://nagios.sourceforge.net/docs/3_0/stalking.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe-rphTv4pjVZMJGwgDXS7ZQA at public.gmane.org Fri Oct 24 02:35:03 2008 From: glowe-rphTv4pjVZMJGwgDXS7ZQA at public.gmane.org (Grant Lowe) Date: Thu, 23 Oct 2008 17:35:03 -0700 (PDT) Subject: [Nagios-users] Host monitoring Message-ID: <967007.31365.qm@web81801.mail.mud.yahoo.com> Hi Patrick, Yes, I have log_passive_checks=1 in my nagios.cfg. I'll set it to 0 and let you know what happens. Thanks for the help! ----- Original Message ---- From: Patrick Morris To: Andy Shellam Cc: Grant Lowe ; "nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org" ; nagios-user Mailinglist Sent: Thursday, October 23, 2008 4:49:44 PM Subject: Re: [Nagios-users] [Nagiosplug-help] Host monitoring Hi Andy! On Thu, 23 Oct 2008, Andy Shellam wrote: > Hi Grant, > > That is weird - according to that log file, Nagios hasn't notified you > at all today (it should say HOST/SERVICE NOTIFICATION for every > notification it sends out.) > > However, your services are alerting on every OK result - if you convert > the timestamps for your ping service you'll notice it's every 5 minutes > - which I'm guessing is your service check interval. > > I have absolutely no idea why Nagios thinks that an OK state is an alert > though. Does anyone with more experience than me have any ideas? > (Copied in to nagios-users as is it seems more an issue with Nagios than > the plugins.) It could be something dead simple but I'm not seeing it! > > Thanks, > > Andy It's probably because it's a passive check. I'd bet log_passive_checks is turned on in nagios.cfg. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe-rphTv4pjVZMJGwgDXS7ZQA at public.gmane.org Fri Oct 24 02:37:20 2008 From: glowe-rphTv4pjVZMJGwgDXS7ZQA at public.gmane.org (Grant Lowe) Date: Thu, 23 Oct 2008 17:37:20 -0700 (PDT) Subject: [Nagios-users] Host monitoring Message-ID: <100582.76836.qm@web81803.mail.mud.yahoo.com> Hi Marc, I was looking at my hosts.cfg file and I have the stalking options with no options set. I'll comment out the line. I'm assuming that the default is to having stalking disabled? Thanks, Marc! ----- Original Message ---- From: Marc Powell To: nagiosplug-help ; nagios-user Mailinglist Sent: Thursday, October 23, 2008 5:04:31 PM Subject: Re: [Nagiosplug-help] [Nagios-users] Host monitoring On Oct 23, 2008, at 3:48 PM, Andy Shellam wrote: > However, your services are alerting on every OK result - if you > convert > the timestamps for your ping service you'll notice it's every 5 > minutes > - which I'm guessing is your service check interval. An alert is not a notification. It's just a log entry that something 'interesting' has happened with that service. It may be the first check after restart/reload, a hard state change, a volatile change or a stalking change. > I have absolutely no idea why Nagios thinks that an OK state is an > alert > though. Does anyone with more experience than me have any ideas? I'd hazard a guess that stalking is enabled. http://nagios.sourceforge.net/docs/3_0/stalking.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From u_d_myzone at yahoo.com Fri Oct 24 13:06:00 2008 From: u_d_myzone at yahoo.com (yudhi putra) Date: Fri, 24 Oct 2008 04:06:00 -0700 (PDT) Subject: nagios web - internal server error- Message-ID: <322169.63169.qm@web63003.mail.re1.yahoo.com> i install nagios on fc8 and i get this problem : in my nagios web i found my alert history,notifications,and event log has an 'internal server error' can anybody solve this problem?....i had already installed nagios? version 3.0.1 with source compiled....and my apache version is 2.2.0...........adding my problem is....i cant access my nagios web with http://ip-address/nagios and http://127.0.0.1/nagios......i just can access it by typing http://localhost/nagios......... ....i'm new about it......pls can you help me........thnx so much -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Fri Oct 24 14:22:51 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Fri, 24 Oct 2008 14:22:51 +0200 Subject: nagios web - internal server error- In-Reply-To: <322169.63169.qm@web63003.mail.re1.yahoo.com> References: <322169.63169.qm@web63003.mail.re1.yahoo.com> Message-ID: <4901BE1B.8050508@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 yudhi putra schrieb: > i install nagios on fc8 and i get this problem : in my nagios web i > found my alert history,notifications,and event log has an 'internal > server error' can anybody solve this problem?....i had already > installed nagios version 3.0.1 with source compiled....and my > apache version is 2.2.0...........adding my problem is....i cant > access my nagios web with http://ip-address/nagios and > http://127.0.0.1/nagios......i just can access it by typing > http://localhost/nagios......... > ....i'm new about it......pls can you help me........thnx so much > > > Where are the differences to your last week post ? Did you follow the quick start installation guides? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFJAb4blI0PwfxLQjkRAimKAJ9z7BcWMT48KX1wn3j6wC+Ggrc1SgCZAW3F 9KGFonqEcVuddsq4f2ZlRCc= =K8aD -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adambrooke at hotmail.com Fri Oct 24 15:34:18 2008 From: adambrooke at hotmail.com (adam brooke) Date: Fri, 24 Oct 2008 13:34:18 +0000 Subject: Nagios on Solaris 10 Message-ID: Dear All, Just a short question. Does anyone know if a quick install guide has been written for installing Nagios 3.x on Solaris 10? If so could you please forward me a link? Kind Regards, Adam _________________________________________________________________ Catch up on all the latest celebrity gossip http://clk.atdmt.com/GBL/go/115454061/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe-rphTv4pjVZMJGwgDXS7ZQA at public.gmane.org Fri Oct 24 17:45:21 2008 From: glowe-rphTv4pjVZMJGwgDXS7ZQA at public.gmane.org (Grant Lowe) Date: Fri, 24 Oct 2008 08:45:21 -0700 (PDT) Subject: [Nagios-users] Host monitoring Message-ID: <448832.23800.qm@web81807.mail.mud.yahoo.com> Hi Marc, This is still happening. Any more thoughts or ideas? ----- Original Message ---- From: Marc Powell To: nagiosplug-help ; nagios-user Mailinglist Sent: Thursday, October 23, 2008 5:04:31 PM Subject: Re: [Nagiosplug-help] [Nagios-users] Host monitoring On Oct 23, 2008, at 3:48 PM, Andy Shellam wrote: > However, your services are alerting on every OK result - if you > convert > the timestamps for your ping service you'll notice it's every 5 > minutes > - which I'm guessing is your service check interval. An alert is not a notification. It's just a log entry that something 'interesting' has happened with that service. It may be the first check after restart/reload, a hard state change, a volatile change or a stalking change. > I have absolutely no idea why Nagios thinks that an OK state is an > alert > though. Does anyone with more experience than me have any ideas? I'd hazard a guess that stalking is enabled. http://nagios.sourceforge.net/docs/3_0/stalking.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cp1449 at att.com Fri Oct 24 19:26:26 2008 From: cp1449 at att.com (Paul, Chris Y) Date: Fri, 24 Oct 2008 10:26:26 -0700 Subject: Nagios on Solaris 10 In-Reply-To: References: Message-ID: Uggh... I just went through that. It seems to be more popular for people to want to run it on Solaris but this stuff was designed on GCC (linux/BSD) platforms and it was not easy for me... I used GCC to compile, but you can use Sun Studio to I hear. I still have problems getting the trending graphs (GD-dependent stuff) compiled. Once I am finished with my homework on this problem, I'll post a hopefully clear description of the problem and we'll see if the community can solve. This has been the trickiest part for me.... If you want check_ldap, I think you will need openldap libraries and not the sun ldap libraries. With regard to SSL, I left that out because I had problems compiling with openssl and the Sun SSL libraries. I think my problems centered around not having root and having to put libraries in the vtier... All in all, it took me about 20 times as long as it would have on a GCC system to work through various funky compile options and such. I think I'd prefer to run it on BSD, though Solaris isn't a bad platform.... It just doesn't seem like there hasn't been much developing of nagios yet in the Solaris world. Good luck.... CP From: adam brooke [mailto:adambrooke at hotmail.com] Sent: Friday, October 24, 2008 6:34 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios on Solaris 10 Dear All, Just a short question. Does anyone know if a quick install guide has been written for installing Nagios 3.x on Solaris 10? If so could you please forward me a link? Kind Regards, Adam ________________________________ Click here for FREE customisable desktop wallpapers. Get them Now! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dale at chatham.org Fri Oct 24 19:48:33 2008 From: dale at chatham.org (Dale J. Chatham) Date: Fri, 24 Oct 2008 12:48:33 -0500 Subject: Nagios notifications In-Reply-To: References: Message-ID: <49020A71.1080209@chatham.org> Not sure if it helps or not, but you could assign aliases in mail which are the same as the hostname. Then, in command configuration: /bin/mail $HOSTNAME$ -s Subject Phillips, Dustin B (DBphillips) wrote: > Thanks for the reply but I don?t know that that would help us. The > problem isn?t that we cant select individual contacts. The problem is > our contacts are getting service notifications for hosts that aren?t > assigned to any of their associated contact groups. > > Our scenario: > > ?contact1? is assigned to ?contactgroup1? > ?host1? is assigned to ?contactgroup1? > ?service1? is assigned to run on ?host1?, ?host2?, and ?host3? and is > assigned to ?contactgroup1? > (note: ?host2? and ?host3? are *not* assigned to ?contactgroup1? are > are not otherwise associated to ?contact1?) > > In this scenario, why does contact1 get service notifications for > host2 and host3? > > Sorry if I?m making this explanation more complicated than necessary. > > Dustin > > > On 10/22/08 3:41 PM, "Lacayo, Luis F" wrote: > > It is my understanding that Nagios Version 3+ allows you to put > individual contacts per service. > > Luis > > > *From:* Phillips, Dustin B (DBphillips) > [mailto:dustin.phillips at chartercom.com] > *Sent:* Wednesday, October 22, 2008 1:47 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Nagios notifications > > Hi -- > > I apologize in advance as this question is difficult to type > without running around in circles but here goes: > > We?re having trouble configuring Nagios service notifications to > go to specific contacts for specific hosts. > > For instance, we have contact1 who is a member of contactgroup1. > We have host1 who also has a contact group of contactgroup1. That > association is working. > > However, we have service1 which runs on host1, host2, and host3, > and has contact groups contactgroup1 and contactgroup2. Whenever > host2, which is not associated with contact1 has a notification > for this service, contact1 is receiving the notification. > > How do we limit notifications for service1 to only go to contact1 > if the host having trouble is host1? > > > Thanks in advance, > > Dustin > > E-MAIL CONFIDENTIALITY NOTICE: > > > > > > > > The contents of this e-mail message and > any attachments are intended solely for the > addressee(s) and may contain confidential > and/or legally privileged information. If you > are not the intended recipient of this message > or if this message has been addressed to you > in error, please immediately alert the sender > by reply e-mail and then delete this message > and any attachments. If you are not the > intended recipient, you are notified that > any use, dissemination, distribution, copying, > or storage of this message or any attachment > is strictly prohibited. > > > > > > > > > E-MAIL CONFIDENTIALITY NOTICE: > > > > > > > > The contents of this e-mail message and > any attachments are intended solely for the > addressee(s) and may contain confidential > and/or legally privileged information. If you > are not the intended recipient of this message > or if this message has been addressed to you > in error, please immediately alert the sender > by reply e-mail and then delete this message > and any attachments. If you are not the > intended recipient, you are notified that > any use, dissemination, distribution, copying, > or storage of this message or any attachment > is strictly prohibited. > > > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dale at chatham.org Fri Oct 24 19:51:04 2008 From: dale at chatham.org (Dale J. Chatham) Date: Fri, 24 Oct 2008 12:51:04 -0500 Subject: Nagios notifications In-Reply-To: <6882433B382B8046A3F6ADCDBD38D76A045C10F2@KSTLMEXM04.CORP.CHARTERCOM.COM> References: <20081023055416.596A86445@lumia.in.spyou.org> <6882433B382B8046A3F6ADCDBD38D76A045C10F2@KSTLMEXM04.CORP.CHARTERCOM.COM> Message-ID: <49020B08.2070406@chatham.org> See my prior, in the service-notify-by-email (or whatever) use /bin/mail $HOSTNAME$ ... Or, write a script to send the mail and send the HOSTNAME macro to it and make it smart enough to know who to notify. Phillips, Dustin B wrote: > Right. I understand that would "fix" our problem. > > So you're saying we'll need to create services that have the same check command but unique hosts and contactgroups? We have 40 services and 8 contact groups. Each contact group is only responsible for a portion of the hosts. Surely there is a better way to achieve this in lieu of creating 320 services. > > > Thanks, > > Dustin > > > > -----Original Message----- > From: Spyou [mailto:spyou at club-internet.fr] > Sent: Thu 10/23/2008 12:52 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios notifications > > At 23:02 22/10/2008, Phillips, Dustin B (DBphillips) wrote: > >> Thanks for the reply but I don't know that that would help us. The >> problem isn't that we cant select individual contacts. The problem >> is our contacts are getting service notifications for hosts that >> aren't assigned to any of their associated contact groups. >> >> Our scenario: >> >> "contact1" is assigned to "contactgroup1" >> "host1" is assigned to "contactgroup1" >> "service1" is assigned to run on "host1", "host2", and "host3" and >> is assigned to "contactgroup1" >> (note: "host2" and "host3" are not assigned to "contactgroup1" are >> are not otherwise associated to "contact1") >> >> In this scenario, why does contact1 get service notifications for >> host2 and host3? >> > > Mhhh .. cuz service1 is assigned to contactgroup1 and contact1 is a > part of contactgroup1. > > Don't assign service1 on host2 & 3 if you don't want contact1 to get notified. > ________________________________________ > 'Spyou' - www.spyou.org - root at spyou.org > ircnet.nerim.net - UIN : 6871374 > > Don't dream it, > Be it. > (RHPS) > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > E-MAIL CONFIDENTIALITY NOTICE: > > > > > > > > The contents of this e-mail message and > any attachments are intended solely for the > addressee(s) and may contain confidential > and/or legally privileged information. If you > are not the intended recipient of this message > or if this message has been addressed to you > in error, please immediately alert the sender > by reply e-mail and then delete this message > and any attachments. If you are not the > intended recipient, you are notified that > any use, dissemination, distribution, copying, > or storage of this message or any attachment > is strictly prohibited. > > > > > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dale at chatham.org Fri Oct 24 19:55:41 2008 From: dale at chatham.org (Dale J. Chatham) Date: Fri, 24 Oct 2008 12:55:41 -0500 Subject: Stats Info In-Reply-To: <49382.65.161.127.93.1224790497.squirrel@ameliaschools.com> References: <49382.65.161.127.93.1224790497.squirrel@ameliaschools.com> Message-ID: <49020C1D.9050708@chatham.org> Depends on how nagios was compiled. Typically, /var/log/nagios or /usr/local/nagios/logs Bo Lynch wrote: > I'm am migrating my test bed nagios server to something a little more > production. Where are the stats and uptime for all my servers located so > that I can move the 3 months worth of data to the new install. > Thank you > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Fri Oct 24 19:58:41 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 24 Oct 2008 10:58:41 -0700 (PDT) Subject: Nagios on Solaris 10 Message-ID: <248814.27630.qm@web81803.mail.mud.yahoo.com> Hi Adam, Instead of compiling, have you tried downloading the packages you need from blastwave.org? I got the binaries from there and they installed quickly and fairly painlessly. I had a little trouble with the libraries needed to run the NRPE binaries, but after running ldd on the binaries, I was able to find out which libraries I need and all the libraries were available on sunfreeware. In case the libraries aren't in your LD_LIBRARY_PATH, you can always use crle, or create symlinks to the libraries (since they all install in /usr/local/lib be default). Hope this helps. ----- Original Message ---- From: "Paul, Chris Y" To: adam brooke ; nagios-users at lists.sourceforge.net Sent: Friday, October 24, 2008 10:26:26 AM Subject: Re: [Nagios-users] Nagios on Solaris 10 Uggh? I just went through that. It seems to be more popular for people to want to run it on Solaris but this stuff was designed on GCC (linux/BSD) platforms and it was not easy for me... I used GCC to compile, but you can use Sun Studio to I hear. I still have problems getting the trending graphs (GD-dependent stuff) compiled. Once I am finished with my homework on this problem, I?ll post a hopefully clear description of the problem and we?ll see if the community can solve. This has been the trickiest part for me?. If you want check_ldap, I think you will need openldap libraries and not the sun ldap libraries. With regard to SSL, I left that out because I had problems compiling with openssl and the Sun SSL libraries. I think my problems centered around not having root and having to put libraries in the vtier? All in all, it took me about 20 times as long as it would have on a GCC system to work through various funky compile options and such. I think I?d prefer to run it on BSD, though Solaris isn?t a bad platform?. It just doesn?t seem like there hasn?t been much developing of nagios yet in the Solaris world. Good luck?. CP From:adam brooke [mailto:adambrooke at hotmail.com] Sent: Friday, October 24, 2008 6:34 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios on Solaris 10 Dear All, Just a short question. Does anyone know if a quick install guide has been written for installing Nagios 3.x on Solaris 10? If so could you please forward me a link? Kind Regards, Adam ________________________________ Click here for FREE customisable desktop wallpapers. Get them Now! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe-rphTv4pjVZMJGwgDXS7ZQA at public.gmane.org Fri Oct 24 22:19:57 2008 From: glowe-rphTv4pjVZMJGwgDXS7ZQA at public.gmane.org (Grant Lowe) Date: Fri, 24 Oct 2008 13:19:57 -0700 (PDT) Subject: Host monitoring Message-ID: <96991.54728.qm@web81804.mail.mud.yahoo.com> Hi Andy, How about this, to provide a clue, but maybe add confusion, too I have four UNIX boxes that I'm monitoring. two are ongoing and having this problem that I've asked your help with; they send email once an hour. One box sends me email a few times an hour. The fourth box is just fine and never sends me anything - it's always up and has no reason to notify me. ----- Original Message ---- From: Andy Shellam To: Grant Lowe Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org; nagios-user Mailinglist Sent: Thursday, October 23, 2008 1:48:33 PM Subject: Re: [Nagiosplug-help] Host monitoring Hi Grant, That is weird - according to that log file, Nagios hasn't notified you at all today (it should say HOST/SERVICE NOTIFICATION for every notification it sends out.) However, your services are alerting on every OK result - if you convert the timestamps for your ping service you'll notice it's every 5 minutes - which I'm guessing is your service check interval. I have absolutely no idea why Nagios thinks that an OK state is an alert though. Does anyone with more experience than me have any ideas? (Copied in to nagios-users as is it seems more an issue with Nagios than the plugins.) It could be something dead simple but I'm not seeing it! Thanks, Andy Grant Lowe wrote: > Hi Andy, > > This is peculiar. I look at the GUI and it says, from the first day I installed Nagios: > > Alert Notifications > File: > /usr/local/nagios/var/archives/nagios-09-23-2008-00.log > Notification detail level for all > hosts: > All notificationsAll service notificationsAll host notificationsService customService acknowledgementsService warningService unknownService criticalService > recoveryService flappingHost > customHost acknowledgementsHost downHost unreachableHost recoveryHost > flapping > Older Entries First: > Host > Service > Type > Time > Contact > Notification Command > Information > No notifications have been recorded in this archived log > file > > But if I look at the file in question, I see this: > > nagios-09-23-2008-00.log:[1222095978] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.38 ms > nagios-09-23-2008-00.log:[1222096228] SERVICE ALERT: blarney;ssh;OK;HARD;1;SSH OK - (protocol 1.5) > nagios-09-23-2008-00.log:[1222096278] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.28 ms > nagios-09-23-2008-00.log:[1222096578] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.61 ms > nagios-09-23-2008-00.log:[1222096878] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.29 ms > nagios-09-23-2008-00.log:[1222097178] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.27 ms > nagios-09-23-2008-00.log:[1222097478] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.31 ms > nagios-09-23-2008-00.log:[1222097778] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.35 ms > nagios-09-23-2008-00.log:[1222098078] SERVICE ALERT: blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 3.22 ms > > This is weird. Does this help you to help me? > > > ----- Original Message ---- > > From: Andy Shellam > To: Grant Lowe > Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > Sent: Thursday, October 23, 2008 11:31:21 AM > Subject: Re: [Nagiosplug-help] Host monitoring > > Hi Grant, > > Use the Nagios GUI - it's the "Alert History" option in the Reporting > menu - navigate back to when you first received the e-mails for that > host and see what the status change was like. e.g. here's a sample from > mine when my co-lo host's router had a reboot overnight: > > [22-10-2008 01:29:41] HOST ALERT: Telehouse Router 2;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 0.34 ms > [22-10-2008 01:29:31] HOST ALERT: Sydney;UP;HARD;1;PING OK - Packet loss > = 0%, RTA = 21.60 ms > [22-10-2008 01:26:41] HOST ALERT: Sydney;UNREACHABLE;HARD;3;PING > CRITICAL - Packet loss = 100% > [22-10-2008 01:26:31] HOST ALERT: Telehouse Router > 2;DOWN;HARD;3;CHECK_NRPE: Socket timeout after 10 seconds. > [22-10-2008 01:25:51] HOST ALERT: Sydney;UNREACHABLE;SOFT;2;PING > CRITICAL - Packet loss = 100% > > You could also look at the Event Log option for the same time period > which will also list the notifications Nagios sent out: > > [22-10-2008 01:29:41] HOST NOTIFICATION: Andy Shellam;Telehouse Router > 2;UP;notify-host-problem;PING OK - Packet loss = 0%, RTA = 0.34 ms > [22-10-2008 01:29:41] HOST ALERT: Telehouse Router 2;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 0.34 ms > [22-10-2008 01:29:31] HOST NOTIFICATION: Andy > Shellam;Sydney;UP;notify-host-problem;PING OK - Packet loss = 0%, RTA = > 21.60 ms > [22-10-2008 01:29:31] HOST ALERT: Sydney;UP;HARD;1;PING OK - Packet loss > = 0%, RTA = 21.60 ms > [22-10-2008 01:26:41] HOST NOTIFICATION: Andy > Shellam;Sydney;UNREACHABLE;notify-host-problem;PING CRITICAL - Packet > loss = 100% > [22-10-2008 01:26:41] HOST ALERT: Sydney;UNREACHABLE;HARD;3;PING > CRITICAL - Packet loss = 100% > [22-10-2008 01:26:31] HOST NOTIFICATION: Andy Shellam;Telehouse Router > 2;DOWN;notify-host-problem;CHECK_NRPE: Socket timeout after 10 seconds. > [22-10-2008 01:26:31] HOST ALERT: Telehouse Router > 2;DOWN;HARD;3;CHECK_NRPE: Socket timeout after 10 seconds. > [22-10-2008 01:25:51] HOST ALERT: Sydney;UNREACHABLE;SOFT;2;PING > CRITICAL - Packet loss = 100% > > Andy > > Grant Lowe wrote: > >> Hey Andy, >> >> Which file in /usr/local/nagios/var should I be looking at? Is it the log file from the archives directory? If so, then what sort of string should I be looking for? >> >> grant >> >> >> ----- Original Message ---- >> From: Andy Shellam >> To: Grant Lowe >> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >> Sent: Tuesday, October 21, 2008 2:42:43 PM >> Subject: Re: [Nagiosplug-help] Host monitoring >> >> Hi Grant, >> >> That's what I was afraid of! Your mail commands are using the >> $NOTIFICATIONTYPE$ macro which is where your PROBLEM text comes from - >> in that command definition you can customise the template of the mail >> that goes out. >> >> Unfortunately I have no idea why Nagios is classing a host up state as a >> problem, instead of a recovery. Can you review the history of that >> host/service shortly before the alert got to you using the Nagios "Alert >> History" GUI? >> >> What version of Nagios is this on? >> >> Thanks, >> >> Andy >> >> Grant Lowe wrote: >> >> >>> Ok, Andy. Here they are. >>> >>> # 'notify-by-email' command definition >>> define command{ >>> command_name notify-by-email >>> command_line /usr/bin/printf "%b" "***** Nagios @VERSION@ *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | @MAIL_PROG@ -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ >>> } >>> >>> # 'notify-host-by-email' command definition >>> define command{ >>> command_name notify-host-by-email >>> command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ >>> } >>> >>> # 'notify-service-by-email' command definition >>> define command{ >>> command_name notify-service-by-email >>> command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ >>> } >>> >>> Thanks, Andy! >>> >>> >>> >>> ----- Original Message ---- >>> From: Andy Shellam >>> To: Grant Lowe >>> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>> Sent: Tuesday, October 21, 2008 1:32:09 PM >>> Subject: Re: [Nagiosplug-help] Host monitoring >>> >>> Hi Grant, >>> >>> Your contact has the commands "notify-service-by-email" and >>> "notify-host-by-email" set for the notifications. These should be >>> present in your commands.cfg file, so we need to see the command_line >>> definitions for each of these commands - this is the server command-line >>> that is executed to send you the notifications. >>> >>> Regards, >>> >>> Andy >>> >>> Grant Lowe wrote: >>> >>> >>> >>>> Hi Andy, >>>> >>>> Here's the generic-contact from the template: >>>> >>>> define contact{ >>>> name generic-contact ; The name of this contact template >>>> service_notification_period 24x7 ; service notifications can be sent anytime >>>> host_notification_period 24x7 ; host notifications can be sent anytime >>>> service_notification_options w,u,c,r,f,s ; send notifications for all service states, flapping events, and scheduled downtime events >>>> host_notification_options d,u,r,f,s ; send notifications for all host states, flapping events, and scheduled downtime events >>>> service_notification_commands notify-service-by-email ; send service notifications via email >>>> host_notification_commands notify-host-by-email ; send host notifications via email >>>> register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE! >>>> } >>>> >>>> As far as command_line definitions that use this one, there aren't any that I can see. Unless I'm missing something. >>>> >>>> >>>> >>>> ----- Original Message ---- >>>> From: Andy Shellam >>>> To: Grant Lowe >>>> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>>> Sent: Tuesday, October 21, 2008 12:18:18 PM >>>> Subject: Re: [Nagiosplug-help] Host monitoring >>>> >>>> Hi Grant, >>>> >>>> OK these notification commands aren't defined for your contact - can you >>>> post the definition of the generic-contact contact template, as well as >>>> the command_line definitions for the notification commands attached to >>>> that command? >>>> >>>> Andy >>>> >>>> Grant Lowe wrote: >>>> >>>> >>>> >>>> >>>>> Hi Andy, >>>>> >>>>> Here's the contact info for me in Nagios: >>>>> >>>>> define contact{ >>>>> contact_name nagiosadmin ; Short name of user >>>>> use generic-contact ; Inherit default values from generic-contact template (defined above) >>>>> alias Nagios Admin ; Full name of user >>>>> >>>>> email glowe-rphTv4pjVZMJGwgDXS7ZQA at public.gmane.org ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** >>>>> } >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ----- Original Message ---- >>>>> From: Andy Shellam >>>>> To: Grant Lowe >>>>> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>>>> Sent: Tuesday, October 21, 2008 11:09:56 AM >>>>> Subject: Re: [Nagiosplug-help] Host monitoring >>>>> >>>>> Hi Grant, >>>>> >>>>> What is your definition of the _contact_ glowe? That definition should >>>>> have a service/host notification command attached to it, please send >>>>> those command's command_line definitions. >>>>> >>>>> Thanks, >>>>> >>>>> Andy >>>>> >>>>> Grant Lowe wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> Hi Andy, >>>>>> >>>>>> Here's my host definition: >>>>>> >>>>>> define host { >>>>>> host_name myhost >>>>>> alias myhost >>>>>> display_name My Host >>>>>> address 172.20.8.215 >>>>>> hostgroups solaris-servers >>>>>> check_command check-host-alive >>>>>> initial_state o >>>>>> max_check_attempts 5 >>>>>> check_interval 3 >>>>>> retry_interval 3600 >>>>>> active_checks_enabled 0 >>>>>> passive_checks_enabled 1 >>>>>> check_period 24x7 >>>>>> obsess_over_host 0 >>>>>> check_freshness 0 >>>>>> event_handler_enabled 0 >>>>>> flap_detection_enabled 0 >>>>>> flap_detection_options o,d,u >>>>>> process_perf_data 1 >>>>>> retain_status_information 1 >>>>>> retain_nonstatus_information 0 >>>>>> contacts glowe >>>>>> notification_interval 300 >>>>>> notification_period 24x7 >>>>>> notification_options d,u,r,f,s >>>>>> notifications_enabled 1 >>>>>> stalking_options >>>>>> } >>>>>> >>>>>> >>>>>> Here's my service definition: >>>>>> >>>>>> define service{ >>>>>> host_name blarney >>>>>> hostgroup_name solaris-servers >>>>>> service_description Ping >>>>>> check_command check_ping!200.0,20%!600.0,60% >>>>>> max_check_attempts 5 >>>>>> notification_interval 60 >>>>>> check_period 24x7 >>>>>> } >>>>>> >>>>>> Thanks for the help! >>>>>> >>>>>> >>>>>> ----- Original Message ---- >>>>>> From: Andy Shellam >>>>>> To: Grant Lowe >>>>>> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>>>>> Sent: Monday, October 20, 2008 1:44:21 PM >>>>>> Subject: Re: [Nagiosplug-help] Host monitoring >>>>>> >>>>>> Hi Grant, >>>>>> >>>>>> Have a look at your contact definition, at the service and host >>>>>> notification commands - look those up in your commands.cfg (or whatever >>>>>> your command file is) and that should point to a command_line that sends >>>>>> the e-mail (using /bin/mail or similar.) It may even be a shell >>>>>> script. Either way, we'd need to see your command definition to try and >>>>>> work out what's going on here. >>>>>> >>>>>> Andy >>>>>> >>>>>> Grant Lowe wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Hi Andy, >>>>>>> >>>>>>> I'm looking at all the command definitions and nothing is in there that I can see about retaining PROBLEM data. I do have the notifications set to 60 minutes and that's when I receive the email. But it always says PROBLEM in the email I receive. Maybe that's the problem? Is there a way to set it to a different string? Or is that opening up a can of worms? >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ---- >>>>>>> From: Andy Shellam >>>>>>> To: Grant Lowe >>>>>>> Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>>>>>> Sent: Monday, October 20, 2008 11:34:05 AM >>>>>>> Subject: Re: [Nagiosplug-help] Host monitoring >>>>>>> >>>>>>> Hi Grant, >>>>>>> >>>>>>> What are your notification options for the host, and your notification >>>>>>> command? It's possible that the host/s in question has gone down and >>>>>>> Nagios is reporting it has returned to an UP state, but your >>>>>>> notification command is hard-coded to say PROBLEM. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Andy >>>>>>> >>>>>>> Grant Lowe wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Hi All, >>>>>>>> >>>>>>>> Another question for you all. On some hosts, I keep on getting a notification that reads: >>>>>>>> >>>>>>>> ** PROBLEM Host Alert: myserver is UP ** >>>>>>>> >>>>>>>> I'm trying to figure out why Nagios is generating these errors, when the host is obviously up. Thanks! >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------- >>>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>>>>>>> Build the coolest Linux based applications with Moblin SDK & win great prizes >>>>>>>> Grand prize is a trip for two to an Open Source event anywhere in the world >>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>>>>>> _______________________________________________ >>>>>>>> Nagiosplug-help mailing list >>>>>>>> Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >>>>>>>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help >>>>>>>> ::: Please include plugins version (-v) and OS when reporting any issue. >>>>>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >>> >>> >> >> > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oscarsoto3 at gmail.com Sat Oct 25 03:52:07 2008 From: oscarsoto3 at gmail.com (Oscar Soto) Date: Fri, 24 Oct 2008 19:52:07 -0600 Subject: REDUCE TIME OF NOTIFICATIONS Message-ID: hi!!! everyone does somebody can helpme? i programmed Nagios 3.0.2 to send notifications and the time is 15 minutes. how can i reduce this time? thank you!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex.howells at 0wn3d.us Sat Oct 25 04:05:53 2008 From: alex.howells at 0wn3d.us (Alex Howells) Date: Sat, 25 Oct 2008 03:05:53 +0100 Subject: REDUCE TIME OF NOTIFICATIONS In-Reply-To: References: Message-ID: > hi!!! everyone > > does somebody can helpme? > i programmed Nagios 3.0.2 to send notifications and the time is 15 minutes. > how can i reduce this time? http://www.nagios.org/docs/ That would be the manual. It is good. Well worth reading. This bit especially --> http://nagios.sourceforge.net/docs/3_0/configobject.html Look for max_check_attempts, check_interval and retry_interval. Then read the rest for good measure :) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Sat Oct 25 04:42:29 2008 From: myoung at nagios.org (Mark Young) Date: Fri, 24 Oct 2008 21:42:29 -0500 Subject: REDUCE TIME OF NOTIFICATIONS In-Reply-To: References: Message-ID: <91CAE695-2026-44C8-9FDA-BC175F974CA5@nagios.org> On Oct 24, 2008, at 8:52 PM, Oscar Soto wrote: > hi!!! everyone > > does somebody can helpme? > i programmed Nagios 3.0.2 to send notifications and the time is 15 > minutes. > how can i reduce this time? Somewhere in your definitions for your hosts/services you have the 'notification_interval' set to 15. This can be changes per each host/ service or more easily in the generic templates. Check out this doc here http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html define host{ notification_interval 5 ; sets the notification interval to be every 5 mins References: <91CAE695-2026-44C8-9FDA-BC175F974CA5@nagios.org> Message-ID: 2008/10/25 Mark Young : > Somewhere in your definitions for your hosts/services you have the > 'notification_interval' set to 15. This can be changes per each host/ > service or more easily in the generic templates. Check out this doc > here http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html Was kinda difficult to tell if the OP was talking about how often he'd get notified, or how quickly he'd receive notification based on check_attempts vs. intervals -- good catch on notification_interval as I'd not even considered that! Alex ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rejoice999 at yahoo.com Sat Oct 25 16:56:30 2008 From: rejoice999 at yahoo.com (Rejoice999) Date: Sat, 25 Oct 2008 22:56:30 +0800 (CST) Subject: check_oracle_health --mode=sql doesn't work with a $ sign in sql statment Message-ID: <212512.20068.qm@web110110.mail.gq1.yahoo.com> Environment: RHEL 4.7 x86 perl v5.8.5 perl-DBI-1.40-9 DBD-Oracle-1.19 Oracle client 9.2.0.4 Nagios 3.0.4 check_oracle_health-1.5 command line test works: /usr/local/nagios/libexec/check_oracle_health --connect=test1 --user=nagios --password=nagios --mode=sql --name2="Sessions waiting for latch free" --name="select count(*) from v\$session_wait where event='latch free' " OK - sessions waiting for latch free: 0 | 'sessions waiting for latch free'=0;1;5 Following config not work: define command{ command_name check_oracle_health_latchfree-count command_line $USER1$/check_oracle_health --connect=$ARG1$ --user=nagios --password=nagios --mode=sql --name2="Sessions waiting for latch free" --name="select count(*) from v\$session where event='latch free' " } define service{ use local-service ; Name of service template to use host_name vm2 service_description Sessions waiting for latch free check_command check_oracle_health_latchfree-count!test1 } Sessions waiting for latch free UNKNOWN 10-25-2008 21:48:58 0d 0h 44m 26s 4/4 UNKNOWN - got no valid response for select count(*) from v$session where event='latch free'$ I noticed a trailing "$" in the statement displayed on Nagios page. Thanks. --------------------------------- ???????????? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cp1449 at att.com Sun Oct 26 06:29:13 2008 From: cp1449 at att.com (Paul, Chris Y) Date: Sat, 25 Oct 2008 22:29:13 -0700 Subject: compiling GD-library Nagios cgis on Solaris 10: wrong ELF class: ELFCLASS32 Message-ID: Hello Nagios Users, I'm having trouble compiling the Nagios cgis which depend on the GD library on Solaris 10. From what I can see, others have had this problem with various reasons. I wonder if the problem has anything to do with the GD and libiconv libraries (which I got from sunfreeware.com) are 32 bit: $ file /usr/local/lib/libgd.so /usr/local/lib/libgd.so: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped, no debugging information available $ file /usr/local/lib/libiconv.so /usr/local/lib/libiconv.so: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped, no debugging information available But the PNG and JPEG libraries are 64-bit: $ file /usr/lib/sparcv9/libjpeg.so /usr/lib/sparcv9/libjpeg.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped, no debugging information available $ file /usr/lib/sparcv9/libpng.so /usr/lib/sparcv9/libpng.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped, no debugging information available Below is the partial (mostly relevant) output from the make process nagios at nagios:/home/nagios/source/nagios-3.0.3$ echo $CPPFLAGS -I/usr/sfw/include -I/usr/local/include -I/usr/include -I/home/include -I/usr/X11/include nagios at nagios:/home/nagios/source/nagios-3.0.3$ echo $LDFLAGS -R/usr/sfw/lib -R/usr/local/lib -R/usr/lib -R/lib -R/home/lib -R/usr/X11/lib $ ./configure --prefix=$HOME/nagios --with-httpd-conf=$HOME/conf --with-init-dir=$HOME/etc/init.d --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include --with-nagios-user=nagios --with-nagios-group=nagios --enable-embedded-perl --with-perlcache ... *** Configuration summary for nagios 3.0.3 06-25-2008 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: yes, with caching Event Broker: yes Install ${prefix}: /opt/app/nagios/nagios Lock file: ${prefix}/var/nagios.lock Check result directory: ${prefix}/var/spool/checkresults Init directory: /opt/app/nagios/etc/init.d Apache conf.d directory: /opt/app/nagios/conf Mail program: /usr/bin/mail Host OS: solaris2.10 Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): $ make .. gcc -g -O2 -I/usr/local/include -D_REENTRANT -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -mcpu=v9 -m64 -Wa,-xarch=v9 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -I/usr/local/lib/perl5/5.8.8/sun4-solaris-thread-multi-64/CORE -DHAVE_CONFIG_H -DNSCGI -R/usr/sfw/lib -R/usr/local/lib -R/usr/lib -R/lib -R/home/lib -R/usr/X11/lib -L/usr/local/lib -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o ../common/snprintf.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lgd -liconv -lpng -ljpeg -lz -lm -lrt ld: fatal: file /usr/local/lib/libgd.so: wrong ELF class: ELFCLASS32 ld: fatal: file /usr/local/lib/libiconv.so: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to statusmap.cgi collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/home/nagios/source/nagios-3.0.3/cgi' make: *** [cgis] Error 2 Thanks for any tips you have. I really hope I get this working soon. CP -- Chris Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adambrooke at hotmail.com Sun Oct 26 14:49:38 2008 From: adambrooke at hotmail.com (adam brooke) Date: Sun, 26 Oct 2008 13:49:38 +0000 Subject: Nagios on Solaris 10 In-Reply-To: <20081024155058.GA29083@cayenne.suryo.com> References: <20081024155058.GA29083@cayenne.suryo.com> Message-ID: Yes thanks Luc, that would be most helpfull. Any tips and tricks for the installation would be very helpful as I am a newbie to Solaris, Regards, Adam > Date: Fri, 24 Oct 2008 08:50:58 -0700 > From: luc at suryo.com > To: adambrooke at hotmail.com > Subject: Re: [Nagios-users] Nagios on Solaris 10 > > Adam, > > Do you need the SMF ? > All my Nagios servers runs [Open]Solaris and uses my own SMF. > Let me know and I can help you > > -ls > > adam brooke > wrote at Fri, Oct 24, 2008 at 01:34:18PM +0000: > > > Dear All, > > > > Just a short question. Does anyone know if a quick install guide has been written for installing Nagios 3.x on Solaris 10? > > If so could you please forward me a link? > > _________________________________________________________________ Discover Bird's Eye View now with Multimap from Live Search http://clk.atdmt.com/UKM/go/111354026/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Sun Oct 26 17:30:04 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 26 Oct 2008 12:30:04 -0400 (EDT) Subject: Nagios on Solaris 10 In-Reply-To: References: <20081024155058.GA29083@cayenne.suryo.com> Message-ID: <20081026103417.B74207@arbitor.digitalfreaks.org> A first order of business would be to install Pkgsrc[.org]. Also: http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html On Sun, 26 Oct 2008, adam brooke wrote: > Yes thanks Luc, that would be most helpfull. Any tips and tricks for the installation would be very helpful as I am a newbie to Solaris, > > Regards, > > Adam > > > >> Date: Fri, 24 Oct 2008 08:50:58 -0700 >> From: luc at suryo.com >> To: adambrooke at hotmail.com >> Subject: Re: [Nagios-users] Nagios on Solaris 10 >> >> Adam, >> >> Do you need the SMF ? >> All my Nagios servers runs [Open]Solaris and uses my own SMF. >> Let me know and I can help you >> >> -ls >> >> adam brooke >> wrote at Fri, Oct 24, 2008 at 01:34:18PM +0000: >> >>> Dear All, >>> >>> Just a short question. Does anyone know if a quick install guide has been written for installing Nagios 3.x on Solaris 10? >>> If so could you please forward me a link? >>> > > _________________________________________________________________ > Discover Bird's Eye View now with Multimap from Live Search > http://clk.atdmt.com/UKM/go/111354026/direct/01/ l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chunt at reachone.com Sun Oct 26 19:19:56 2008 From: chunt at reachone.com (Christopher Hunt) Date: Sun, 26 Oct 2008 11:19:56 -0700 Subject: who is on call? Message-ID: <4904B4CC.2040308@reachone.com> How can i tell who's REALLY on-call when using the rotation feature? I'm running nagios 3.0.3 and appreciating the timeperiod.cfg rotation feature. I have 3 techs on call and we rotate weekly. All 3 techs are part on the on-call contact-group. So part of my timeperiods.cfg looks like this: define timeperiod{ timeperiod_name bob-oncall alias Bob Is On-Call 2008-06-27 / 21 00:00-07:30,17:30-24:00 ; Friday - every 21 days 2008-06-28 / 21 00:00-24:00 ; Saturday 2008-06-29 / 21 00:00-24:00 ; Sunday 2008-06-30 / 21 00:00-07:30,17:30-24:00 ; Monday 2008-07-01 / 21 00:00-07:30,17:30-24:00 ; Tuesday 2008-07-02 / 21 00:00-07:30,17:30-24:00 ; Wednesday 2008-07-03 / 21 00:00-07:30,17:30-24:00 ; Thursday } define timeperiod{ timeperiod_name doug-oncall alias Doug Is On-call 2008-07-04 / 21 00:00-07:30,17:30-24:00 ; Friday - every 21 days 2008-07-05 / 21 00:00-24:00 ; Saturday 2008-07-06 / 21 00:00-24:00 ; Sunday 2008-07-07 / 21 00:00-07:30,17:30-24:00 ; Monday 2008-07-08 / 21 00:00-07:30,17:30-24:00 ; Tuesday 2008-07-09 / 21 00:00-07:30,17:30-24:00 ; Wednesday 2008-07-10 / 21 00:00-07:30,17:30-24:00 ; Thursday } define timeperiod{ alias McKenzie Is On-call timeperiod_name mckenzie-oncall 2008-07-11 / 21 00:00-07:30,17:30-24:00 ; Friday - every 21 days 2008-07-12 / 21 00:00-24:00 ; Saturday 2008-07-13 / 21 00:00-24:00 ; Sunday 2008-07-14 / 21 00:00-07:30,17:30-24:00 ; Monday 2008-07-15 / 21 00:00-07:30,17:30-24:00 ; Tuesday 2008-07-16 / 21 00:00-07:30,17:30-24:00 ; Wednesday 2008-07-17 / 21 00:00-07:30,17:30-24:00 ; Thursday } I know, according to my paper calendar, who should theoretically be on call but as the dates in the config get farther in the past it gets harder to see who might be on call on a given day. Is there any way, either through bash script, forced page or some other method, to get nagios to tell me which contact it would use? Thanks -Chris ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Mon Oct 27 12:18:12 2008 From: vmanojv at rediffmail.com (Nair) Date: 27 Oct 2008 11:18:12 -0000 Subject: Service Dependancy on Distributed Environment Message-ID: <20081027111812.22196.qmail@f5mail-237-213.rediffmail.com> Hi Please give some insight on service dependany configuration on Nagios distributed environment. Current situation: I have Service-A and Service-B on distribued servers are been actively monitored and result is been passively submitted to central Nagios server. Notifications are disabled on Distributed servers and enabled only on central server. To-DO: How can i define service B been depentable Service A. ie. When service A is down there shuld be not be any notification for ServiceB. Where should i confgure this: in central server or distributed server or both. Please give your idea. Thank you Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From derekb at answers.com Mon Oct 27 13:56:26 2008 From: derekb at answers.com (Derek J Balling) Date: Mon, 27 Oct 2008 08:56:26 -0400 Subject: API and Downtime Question Message-ID: I'm writing a script to open a maintenance window on one of our servers any time a particular process is run. (When one of our backup jobs runs, it stops MySQL replication, so until that program is finished backing data up, replication will be "failed"). I found how I can easily schedule a service downtime for a given host/ service combination, but what I need to know is how to do so in a fashion that will enable me to determine which "Downtime ID" is relevant, so that I can delete that (and only that) downtime at the conclusion of the script. Also, where IS the "downtime ID" in the UI? I've tried adding a host/ service downtime using SCHEDULE_SVC_DOWNTIME, but if I use the comment- id that I can see in the service detail as the argument to DEL_SVC_DOWNTIME, it doesn't actually seem to be removed. What am I missing? Thanks! cheers, D -- Derek J. Balling Data Center Manager Answers.Com 237 W 35th # 1101 New York, NY 10001 W: (646) 502-4786 C: (845) 332-0433 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 27 15:23:34 2008 From: marc at ena.com (Marc Powell) Date: Mon, 27 Oct 2008 09:23:34 -0500 Subject: [Nagiosplug-help] Host monitoring In-Reply-To: <100582.76836.qm@web81803.mail.mud.yahoo.com> References: <100582.76836.qm@web81803.mail.mud.yahoo.com> Message-ID: <5453D847-992A-4518-A057-A3D13463D3F4@ena.com> On Oct 23, 2008, at 7:37 PM, Grant Lowe wrote: > Hi Marc, > > I was looking at my hosts.cfg file and I have the stalking options > with no options set. I'll comment out the line. I'm assuming that > the default is to having stalking disabled? There is no default since everyone's configs are different. I'd say that most people don't use it though. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 27 15:26:27 2008 From: marc at ena.com (Marc Powell) Date: Mon, 27 Oct 2008 09:26:27 -0500 Subject: [Nagiosplug-help] Host monitoring In-Reply-To: <448832.23800.qm@web81807.mail.mud.yahoo.com> References: <448832.23800.qm@web81807.mail.mud.yahoo.com> Message-ID: <6A7E2A0C-07D7-4A0E-BEAC-BEACAA044437@ena.com> On Oct 24, 2008, at 10:45 AM, Grant Lowe wrote: > Hi Marc, > > This is still happening. Any more thoughts or ideas? You're still receiving notifications? Please post the current host/ service config (including template) as well as the NOTIFICATION log entry. Verify that you do not have multiple nagios daemons running concurrently. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From isma.silv at gmail.com Mon Oct 27 16:24:51 2008 From: isma.silv at gmail.com (Ismael Silva) Date: Mon, 27 Oct 2008 12:24:51 -0300 Subject: NSClient ++ and I/O Disk Message-ID: <826270010810270824u2c4ccf61laedae4495d9cc0b9@mail.gmail.com> Hello guys, i need extract the i/o data performance of the disk in a microsoft machine with nsclient +++ installed. someone idea? -- ................................................................................. Saludos Ismael Silva C. +56 7 7682753 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From novin.jaiswal at ishisystems.com Mon Oct 27 16:36:48 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Mon, 27 Oct 2008 11:36:48 -0400 Subject: nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54CD@exchange.ishisystems.com> Hi Friends, >From where can I find nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? On dev environment I have setup the nagios using tar and make the binaries. But at the beta server the software installation is not allowed. So I need to use the RPM. Pls help me its urgent an imp for me. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JHorowitz at looksmart.net Mon Oct 27 16:59:00 2008 From: JHorowitz at looksmart.net (Jonah Horowitz) Date: Mon, 27 Oct 2008 08:59:00 -0700 Subject: Nagios Report Generator Utility Message-ID: I found this one webpage about the ?Nagios Report Generator Utility?. http://docs.hp.com/en/5991-7402/ch08s06.html I can?t find anything else about it. Does it really exist? Does anyone out there use it? Even a download link would be helpful. -- Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 LookSmart - Premium and Performance Advertising Solutions 625 Second Street, San Francisco, CA 94107 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2151 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steffen.Rachel at bartec.de Mon Oct 27 17:05:02 2008 From: Steffen.Rachel at bartec.de (Rachel Steffen) Date: Mon, 27 Oct 2008 17:05:02 +0100 Subject: NSClient ++ and I/O Disk In-Reply-To: <826270010810270824u2c4ccf61laedae4495d9cc0b9@mail.gmail.com> References: <826270010810270824u2c4ccf61laedae4495d9cc0b9@mail.gmail.com> Message-ID: <847C8B990A3CFB468591F5F5214C24D1ABAFB3@mgh-ex01.bartec.lan> Hi, use the plugin check_nt: Command e.g.: command.cfg: define command{ command_name check_nt_counter command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ } services.cfg define service{ host_name service_description check_command check_nt_counter!"\\LogicalDisk(C:)\\% Disk Time","%.c % Plattenauslastung S:"!70.0!90.0 use check_nt_template } Attention: Use the M$ Perfmon to look for the right counter format! Regards Steffen ________________________________ BARTEC GmbH Max-Eyth-Str.16 - 97980 Bad Mergentheim (Sitz der Gesellschaft) Amtsgericht Ulm HRB 680311 Geschaeftsfuehrer : Dr. Ralf Koester (Vors.), Dr. Anjou Appelt, Lothar Mezger , Isabelle Parche Diese Information ist ausschliesslich fuer den Adressaten bestimmt und kann vertrauliche oder gesetzlich geschuetzte Informationen enthalten. Wenn Sie nicht der bestimmungsgemaesse Adressat sind, unterrichten Sie bitte den Absender und vernichten Sie dieses E-Mail. Anderen als dem bestimmungsgemaessen Adressaten ist es untersagt, dieses E-Mail zu lesen, zu speichern, weiterzuleiten oder dessen Inhalt auf welche Weise auch immer zu verwenden. Wir verwenden aktuelle Virenschutzprogramme. Fuer Schaeden, die dem Empfaenger gleichwohl durch von uns zugesandte mit Viren befallene E-Mails entstehen, schliessen wir jede Haftung aus. The information contained in this email is intended only for its addressee and may contain confidential and/or privileged information. If the reader of this email is not the intended recipient, you are hereby notified that reading, saving, distribution or use of the content of this email in any way is prohibited. If you have received this email in error, please notify the sender and delete the email. We use updated antivirus protection software. We do not accept any responsibility for damages caused anyhow by viruses transmitted via email. Von: Ismael Silva [mailto:isma.silv at gmail.com] Gesendet: Montag, 27. Oktober 2008 16:25 An: nagios-user Mailinglist Betreff: [Nagios-users] NSClient ++ and I/O Disk Hello guys, i need extract the i/o data performance of the disk in a microsoft machine with nsclient +++ installed. someone idea? -- ........................................................................ ......... Saludos Ismael Silva C. +56 7 7682753 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kgs at uvm.edu Mon Oct 27 17:16:46 2008 From: kgs at uvm.edu (Kent Saunders) Date: Mon, 27 Oct 2008 12:16:46 -0400 Subject: Nagios Report Generator Utility In-Reply-To: References: Message-ID: <4905E96E.9020607@uvm.edu> Not sure about that one, but I see this in Nagios Exchange that might do what you're after. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2188.html;d=1 http://www.hep.wisc.edu/computing/blog/?category=Monitoring&post=2006-08-24 -kent Jonah Horowitz wrote: > I found this one webpage about the ?Nagios Report Generator Utility?. > > http://docs.hp.com/en/5991-7402/ch08s06.html > > I can?t find anything else about it. Does it really exist? Does anyone > out there use it? > > Even a download link would be helpful. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adambrooke at hotmail.com Mon Oct 27 17:57:38 2008 From: adambrooke at hotmail.com (adam brooke) Date: Mon, 27 Oct 2008 16:57:38 +0000 Subject: Which version of Nagios to use Message-ID: Dear All, I am starting a greenfield Nagios implementation on Solaris 10. I assume I am to use Nagios 3.0.4 as opposed to 2.12 Is 3.0.4 considered as stable as 2.12? Your thoughts would be appreciated. Kind Regards, Adam _________________________________________________________________ X Factor: latest video, features and more. Click here! http://clk.atdmt.com/GBL/go/115454063/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Mon Oct 27 18:11:16 2008 From: bjlockie at lockie.ca (James) Date: Mon, 27 Oct 2008 13:11:16 -0400 (EDT) Subject: Which version of Nagios to use In-Reply-To: References: Message-ID: <8f8e2c6d78d564d6df149728e4cfd234.squirrel@www.lockie.ca> On Mon, October 27, 2008 12:57 pm, adam brooke wrote: > Dear All, > > > I am starting a greenfield Nagios implementation on Solaris 10. I assume > I am to use Nagios 3.0.4 as opposed to 2.12 > Is 3.0.4 considered as stable as 2.12? Your thoughts would be appreciated. It is stable. It has been around for awhile. > > > > Kind Regards, > > > Adam > _________________________________________________________________ > X Factor: latest video, features and more. Click here! > http://clk.atdmt.com/GBL/go/115454063/direct/01/-------------------------- > ----------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________ > ________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Ellmers at firstgroup.com Mon Oct 27 17:32:12 2008 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Mon, 27 Oct 2008 16:32:12 +0000 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. Message-ID: I will be Out of the Office Start Date: 27/10/2008. End Date: 31/10/2008. Thank you for your mail. I am currently away from the office on Anual Leave, returning on 3rd November If you need a fault escalating please call the service desk on 0038696 (0870 241 5500) with the case reference and ask for Brian Horton who has overall responsibility for the Service Desk Covering me for signing off IMACs is Dominic Pioli (07815756259), Dominic will be availiable if you are unable to contact the above. ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdc154 at psu.edu Mon Oct 27 18:44:14 2008 From: mdc154 at psu.edu (Mike Carey) Date: Mon, 27 Oct 2008 13:44:14 -0400 Subject: Nagios Report Generator Utility In-Reply-To: References: Message-ID: <01E9BE53DDA8974BA1A4E4C6DB8BA15B0543E0E8@tnshestia.tnsadmin.tns.psu.edu> I use this one and it works great. I added some code to it so that I could run both availability AND Alert summary reports: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2154.html;d=1 Michael D. Carey Telecommunications and Networking Services Information Technology Services Pennsylvania State University (814) 863-7712 mdc154 at psu.edu From: Jonah Horowitz [mailto:JHorowitz at looksmart.net] Sent: Monday, October 27, 2008 11:59 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Report Generator Utility I found this one webpage about the "Nagios Report Generator Utility". http://docs.hp.com/en/5991-7402/ch08s06.html I can't find anything else about it. Does it really exist? Does anyone out there use it? Even a download link would be helpful. -- Jonah Horowitz * Monitoring Manager * jhorowitz at looksmart.net W: 415-348-7694 * F: 415-348-7033 * M: 415-513-7202 LookSmart - Premium and Performance Advertising Solutions 625 Second Street, San Francisco, CA 94107 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Mon Oct 27 21:42:24 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Mon, 27 Oct 2008 13:42:24 -0700 (PDT) Subject: [Nagiosplug-help] Host monitoring Message-ID: <871060.393.qm@web81808.mail.mud.yahoo.com> Hi Mark, Still receiving the notifications and still can't explain it. Here's the data you asked for. First the host definition. define host { host_name blarney alias blarney display_name Blarney address 172.20.8.215 hostgroups solaris-servers check_command check-host-alive initial_state o max_check_attempts 5 check_interval 3 retry_interval 3600 active_checks_enabled 0 passive_checks_enabled 1 check_period 24x7 obsess_over_host 0 check_freshness 0 event_handler_enabled 0 flap_detection_enabled 0 flap_detection_options o,d,u process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contacts glowe notification_interval 300 notification_period 24x7 notification_options d,u,r,f,s notifications_enabled 1 # stalking_options } Here are the service definitions: define service{ host_name blarney hostgroup_name solaris-servers service_description Ping check_command check_ping!200.0,20%!600.0,60% max_check_attempts 5 notification_interval 60 check_period 24x7 } define service{ host_name blarney hostgroup_name solaris-servers service_description Secure Shell check_command check_ssh max_check_attempts 5 notification_interval 60 check_period 24x7 } define service{ host_name blarney hostgroup_name solaris-servers service_description SMTP check_command check_smtp max_check_attempts 5 notification_interval 60 check_period 24x7 } define service{ host_name blarney hostgroup_name solaris-servers service_description POP check_command check_pop max_check_attempts 5 notification_interval 60 check_period 24x7 } define service{ host_name blarney hostgroup_name solaris-servers service_description Check ROOT Disk Free Space check_command check_nrpe!check_root max_check_attempts 5 notification_interval 60 check_period 24x7 } define service{ host_name blarney hostgroup_name solaris-servers service_description Check USR Disk Free Space check_command check_nrpe!check_usr max_check_attempts 5 notification_interval 60 check_period 24x7 } define service{ host_name blarney hostgroup_name solaris-servers service_description Check VAR Disk Free Space check_command check_nrpe!check_var max_check_attempts 5 notification_interval 60 check_period 24x7 } define service{ host_name blarney hostgroup_name solaris-servers service_description Check Swap Space check_command check_nrpe!check_swap max_check_attempts 5 notification_interval 60 check_period 24x7 } define service{ host_name blarney hostgroup_name solaris-servers service_description Check Remote Mail Queue check_command check_nrpe!check_mailq max_check_attempts 5 notification_interval 60 check_period 24x7 } define service{ host_name blarney hostgroup_name solaris-servers service_description Check Remote Number of Processes check_command check_nrpe!check_remote_procs max_check_attempts 5 notification_interval 60 check_period 24x7 } define service{ host_name blarney hostgroup_name solaris-servers service_description Check Remote Zombie Processes check_command check_nrpe!check_zombie_procs max_check_attempts 5 notification_interval 60 check_period 24x7 } Here's the template: define contact{ name generic-contact ; The name of this contact template service_notification_period 24x7 ; service notifications can be sent anytime host_notification_period 24x7 ; host notifications can be sent anytime service_notification_options w,u,c,r,f,s ; send notifications for all service states, flapping events, and scheduled downtime events host_notification_options d,u,r,f,s ; send notifications for all host states, flapping events, and scheduled downtime events service_notification_commands notify-service-by-email ; send service notifications via email host_notification_commands notify-host-by-email ; send host notifications via email register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE! } # Generic host definition template - This is NOT a real host, just a template! define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction 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 notification_period 24x7 ; Send host notifications at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ name solaris-servers ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Solaris hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Solaris host 10 times (max) check_command check-host-alive ; Default command to check Solaris hosts notification_period workhours ; Solaris admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups solaris-admins ; Notifications get sent to the admins by default hostgroups solaris-server register 0 } Here are the logs for today: /usr/local/nagios/share/ignoramus/CFG> cat /usr/local/nagios/var/nagios.log [1225090800] CURRENT HOST STATE: blarney;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.65 ms [1225090800] CURRENT SERVICE STATE: blarney;Check ROOT Disk Free Space;OK;HARD;1;DISK OK - free space: / 797 MB (40% inode=81%): [1225090800] CURRENT SERVICE STATE: blarney;Check Remote Mail Queue;OK;HARD;1;OK: mailq is empty [1225090800] CURRENT SERVICE STATE: blarney;Check Remote Number of Processes;CRITICAL;HARD;5;PROCS CRITICAL: 1341 processes [1225090800] CURRENT SERVICE STATE: blarney;Check Remote Zombie Processes;OK;HARD;1;PROCS OK: 1 process with STATE = Z [1225090800] CURRENT SERVICE STATE: blarney;Check Swap Space;OK;HARD;1;SWAP OK - 100% free (16352 MB out of 16381 MB) [1225090800] CURRENT SERVICE STATE: blarney;Check USR Disk Free Space;OK;HARD;1;DISK OK - free space: /usr 583 MB (29% inode=84%): [1225090800] CURRENT SERVICE STATE: blarney;Check VAR Disk Free Space;OK;HARD;1;DISK OK - free space: /var 2036 MB (50% inode=95%): [1225090800] CURRENT SERVICE STATE: blarney;POP;OK;HARD;1;POP OK - 0.012 second response time on port 110 [+OK Qpopper (version 4.0.5) at blarney starting.] [1225090800] CURRENT SERVICE STATE: blarney;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 1.27 ms [1225090800] CURRENT SERVICE STATE: blarney;SMTP;OK;HARD;1;SMTP OK - 0.011 sec. response time [1225090800] CURRENT SERVICE STATE: blarney;Secure Shell;OK;HARD;1;SSH OK - OpenSSH_4.3 (protocol 1.99) [1225115621] SERVICE ALERT: blarney;Check Remote Zombie Processes;CRITICAL;SOFT;1;PROCS CRITICAL: 41 processes with STATE = Z [1225115681] SERVICE ALERT: blarney;Check Remote Zombie Processes;CRITICAL;SOFT;2;PROCS CRITICAL: 32 processes with STATE = Z [1225115741] SERVICE ALERT: blarney;Check Remote Zombie Processes;CRITICAL;SOFT;3;PROCS CRITICAL: 36 processes with STATE = Z [1225115801] SERVICE ALERT: blarney;Check Remote Zombie Processes;CRITICAL;SOFT;4;PROCS CRITICAL: 19 processes with STATE = Z [1225115861] SERVICE ALERT: blarney;Check Remote Zombie Processes;CRITICAL;HARD;5;PROCS CRITICAL: 29 processes with STATE = Z [1225115861] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 29 processes with STATE = Z [1225119461] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 43 processes with STATE = Z [1225122761] SERVICE ALERT: blarney;Check Remote Zombie Processes;OK;HARD;5;PROCS OK: 2 processes with STATE = Z [1225122761] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie Processes;OK;notify-host-by-email;PROCS OK: 2 processes with STATE = Z nagios-test /usr/local/nagios/share/ignoramus/CFG> I think that's what you want. Please let me know if you need any more data. Thanks so much! ----- Original Message ---- From: Marc Powell To: nagios-user Mailinglist Sent: Monday, October 27, 2008 7:26:27 AM Subject: Re: [Nagios-users] [Nagiosplug-help] Host monitoring On Oct 24, 2008, at 10:45 AM, Grant Lowe wrote: > Hi Marc, > > This is still happening. Any more thoughts or ideas? You're still receiving notifications? Please post the current host/ service config (including template) as well as the NOTIFICATION log entry. Verify that you do not have multiple nagios daemons running concurrently. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 28 00:32:33 2008 From: marc at ena.com (Marc Powell) Date: Mon, 27 Oct 2008 18:32:33 -0500 Subject: [Nagiosplug-help] Host monitoring In-Reply-To: <871060.393.qm@web81808.mail.mud.yahoo.com> References: <871060.393.qm@web81808.mail.mud.yahoo.com> Message-ID: <325E306B-593B-412A-9801-CDE056B77CF9@ena.com> On Oct 27, 2008, at 3:42 PM, Grant Lowe wrote: > Hi Mark, > > Still receiving the notifications and still can't explain it. > Here's the data you asked for. > > First the host definition. > > define host { > host_name blarney > alias blarney > display_name Blarney > address 172.20.8.215 > hostgroups solaris-servers > check_command check-host-alive > initial_state o > max_check_attempts 5 > check_interval 3 > retry_interval 3600 > active_checks_enabled 0 > passive_checks_enabled 1 > check_period 24x7 > obsess_over_host 0 > check_freshness 0 > event_handler_enabled 0 > flap_detection_enabled 0 > flap_detection_options o,d,u > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 0 > contacts glowe > notification_interval 300 ^^^^^^^^^ {chop} > define service{ > host_name blarney > hostgroup_name solaris-servers > service_description Check Remote Zombie Processes > check_command check_nrpe!check_zombie_procs > max_check_attempts 5 > notification_interval 60 ^^^^^^^^^^ {chop} > Here are the logs for today: > [1225115861] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie > Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 29 processes > with STATE = Z > [1225119461] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie > Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 43 processes > with STATE = Z > Notifications every 3600 seconds (60 minutes). I believe this is what you're looking for-- notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still down or unreachable. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re- notify contacts about problems for this host - only one problem notification will be sent out. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Tue Oct 28 01:28:24 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Tue, 28 Oct 2008 00:28:24 +0000 Subject: [Nagiosplug-help] Host monitoring In-Reply-To: <325E306B-593B-412A-9801-CDE056B77CF9@ena.com> References: <871060.393.qm@web81808.mail.mud.yahoo.com> <325E306B-593B-412A-9801-CDE056B77CF9@ena.com> Message-ID: <49065CA8.5090003@networkmail.eu> Hi Marc, Marc Powell wrote: > On Oct 27, 2008, at 3:42 PM, Grant Lowe wrote: > ----- cut ------ > >> [1225115861] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie >> Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 29 processes >> with STATE = Z >> [1225119461] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie >> Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 43 processes >> with STATE = Z >> >> Good catch! I'm guessing that "notify-host-by-email" should actually be "notify-service-by-email" - e.g. a host problem notification is being sent out for a service alert, which is why it's confusing because the host is actually up, it's a failing service. Grant, look at your contact/contact group settings for the service notification command - it should be notify-service-by-email. Regards, Andy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adesperateuser at googlemail.com Tue Oct 28 08:53:09 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 28 Oct 2008 08:53:09 +0100 Subject: nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB54CD@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB54CD@exchange.ishisystems.com> Message-ID: <4906C4E5.7010403@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Novin Jaiswal schrieb: > Hi Friends, >>From where can I find nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? I guess you want a recent 3.x-release? > > On dev environment I have setup the nagios using tar and make the > binaries. > > But at the beta server the software installation is not allowed. So I > need to use the RPM. Maybe the openSUSE11-RPM works also? http://software.opensuse.org/search?baseproject=openSUSE:11.0 http://download.opensuse.org/repositories/server:/monitoring/openSUSE_11.0/x86_64/nagios-3.0.4-4.1.x86_64.rpm If softwareinstallation is not allowed on your beta-server, the rpm wouldn't do you much good either, since an rpm is all about installation ;-) Best regards, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJBsTl+qVaNRZYOakRAuPuAKCUGCsAHqeNWmlGOoPw4WJAh+0y6gCfQBCv QW4CkeWB4CgK3z41ZuMScs8= =D9ZX -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From isma.silv at gmail.com Tue Oct 28 14:50:35 2008 From: isma.silv at gmail.com (Ismael Silva) Date: Tue, 28 Oct 2008 10:50:35 -0300 Subject: nagios web - internal server error- In-Reply-To: <4901BE1B.8050508@process-zero.de> References: <322169.63169.qm@web63003.mail.re1.yahoo.com> <4901BE1B.8050508@process-zero.de> Message-ID: <826270010810280650h772b8767s58b72d944e4d4ae5@mail.gmail.com> see the security on your server, set the enfroce in 0. and try. bye 2008/10/24, Hendrik B?cker : > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > yudhi putra schrieb: > > i install nagios on fc8 and i get this problem : in my nagios web i > > found my alert history,notifications,and event log has an 'internal > > server error' can anybody solve this problem?....i had already > > installed nagios version 3.0.1 with source compiled....and my > > apache version is 2.2.0...........adding my problem is....i cant > > access my nagios web with http://ip-address/nagios and > > http://127.0.0.1/nagios......i just can access it by typing > > http://localhost/nagios......... > > ....i'm new about it......pls can you help me........thnx so much > > > > > > > Where are the differences to your last week post ? > Did you follow the quick start installation guides? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > > iD8DBQFJAb4blI0PwfxLQjkRAimKAJ9z7BcWMT48KX1wn3j6wC+Ggrc1SgCZAW3F > 9KGFonqEcVuddsq4f2ZlRCc= > =K8aD > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ................................................................................. Saludos Ismael Silva C. +56 7 7682753 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From isma.silv at gmail.com Tue Oct 28 15:04:36 2008 From: isma.silv at gmail.com (Ismael Silva) Date: Tue, 28 Oct 2008 11:04:36 -0300 Subject: Configuring nagios with snmp Message-ID: <826270010810280704v60455df7pc8eb60dcaad2959e@mail.gmail.com> Hello guys. Y need some help with the configuration for rescue the information on a server with linux operating system . My nagios server, is not configured with snmp support. Someone have a "configurtion guide" for this request? Thanks best regards ................................................................................. Ismael Silva C. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Tue Oct 28 06:56:07 2008 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Tue, 28 Oct 2008 16:56:07 +1100 Subject: Multi-line Passive Results? Message-ID: <4906A977.8060002@edcint.co.nz> It is of course possible now to use multi-line plugin output. But I'm trying to get multi-line passive result submission going with no luck. It seems that the command file can only handle one line of input and as soon as you terminate the first line by a linefeed it finishes processing the command it is on and then ignores the rest of the input as it is not valid nagios command file input. I've tried using the PROCESS_FILE command in the command file but with the same result. Has anyone found a way to do this? Perhaps it is a feature request. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From isma.silv at gmail.com Tue Oct 28 15:16:53 2008 From: isma.silv at gmail.com (Ismael Silva) Date: Tue, 28 Oct 2008 11:16:53 -0300 Subject: Specificied security for hostgroup in Nagios Web Console Message-ID: <826270010810280716r6e4cb2d3wee239b460e97c1a0@mail.gmail.com> Hello Guys, I have nagios 3.02 installed with apache 2. and i need add security for certain customers that have a given hostgroup in my nagios console. Someone idea? Thanks.... Ismael Silva C. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 28 15:30:45 2008 From: marc at ena.com (Marc Powell) Date: Tue, 28 Oct 2008 09:30:45 -0500 Subject: Specificied security for hostgroup in Nagios Web Console In-Reply-To: <826270010810280716r6e4cb2d3wee239b460e97c1a0@mail.gmail.com> References: <826270010810280716r6e4cb2d3wee239b460e97c1a0@mail.gmail.com> Message-ID: <7CB15AEF-3A97-4500-A302-E09810A85694@ena.com> On Oct 28, 2008, at 9:16 AM, Ismael Silva wrote: > Hello Guys, > > I have nagios 3.02 installed with apache 2. and i need add security > for certain customers that have a given hostgroup in my nagios > console. > Someone idea? You'll probably need to define 'security' more specifically unless the following meets your needs. Nagios automagically restricts logged in users to only those hosts/services that they are contacts for unless you've made special exception. http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Tue Oct 28 15:53:12 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Tue, 28 Oct 2008 07:53:12 -0700 (PDT) Subject: [Nagiosplug-help] Host monitoring Message-ID: <129906.86072.qm@web81805.mail.mud.yahoo.com> Hi Marc, A couple of questions. I see all the notification_intervals are set to 60, so I guess I'm safe there. Or do I need to change it to 0? I see interval_length is in nagios.cfg. Should I leave that at 60? Please clarify these for me. Thanks! ----- Original Message ---- From: Marc Powell To: nagios-user Mailinglist Sent: Monday, October 27, 2008 4:32:33 PM Subject: Re: [Nagios-users] [Nagiosplug-help] Host monitoring On Oct 27, 2008, at 3:42 PM, Grant Lowe wrote: > Hi Mark, > > Still receiving the notifications and still can't explain it. > Here's the data you asked for. > > First the host definition. > > define host { > host_name blarney > alias blarney > display_name Blarney > address 172.20.8.215 > hostgroups solaris-servers > check_command check-host-alive > initial_state o > max_check_attempts 5 > check_interval 3 > retry_interval 3600 > active_checks_enabled 0 > passive_checks_enabled 1 > check_period 24x7 > obsess_over_host 0 > check_freshness 0 > event_handler_enabled 0 > flap_detection_enabled 0 > flap_detection_options o,d,u > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 0 > contacts glowe > notification_interval 300 ^^^^^^^^^ {chop} > define service{ > host_name blarney > hostgroup_name solaris-servers > service_description Check Remote Zombie Processes > check_command check_nrpe!check_zombie_procs > max_check_attempts 5 > notification_interval 60 ^^^^^^^^^^ {chop} > Here are the logs for today: > [1225115861] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie > Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 29 processes > with STATE = Z > [1225119461] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie > Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 43 processes > with STATE = Z > Notifications every 3600 seconds (60 minutes). I believe this is what you're looking for-- notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still down or unreachable. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re- notify contacts about problems for this host - only one problem notification will be sent out. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 28 16:02:01 2008 From: marc at ena.com (Marc Powell) Date: Tue, 28 Oct 2008 10:02:01 -0500 Subject: [Nagiosplug-help] Host monitoring In-Reply-To: <129906.86072.qm@web81805.mail.mud.yahoo.com> References: <129906.86072.qm@web81805.mail.mud.yahoo.com> Message-ID: <7648C819-6DD9-48B3-ACE8-54B042ECCE70@ena.com> On Oct 28, 2008, at 9:53 AM, Grant Lowe wrote: > Hi Marc, > > A couple of questions. I see all the notification_intervals are set > to 60, so I guess I'm safe there. Or do I need to change it to 0? > I see interval_length is in nagios.cfg. Should I leave that at 60? > Please clarify these for me. Thanks! As the documentation indicates, notification_interval controls how frequently nagios will send out a reminder e-mail that something is still broken. If you want to receive a problem notification for a down host/service every 60 minutes until it recovers, leave it at 60. If you don't want to receive reminder e-mails set it to 0. I thought your complaint was that you were receiving the reminder e-mails so setting it to 0 would be the solution. Interval_length should be left alone unless you have special need to monitor more frequently than once a minute. If you do change it, it affects _all_ of the *_interval parameters so you would need to adjust those as well. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Tue Oct 28 17:24:54 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Tue, 28 Oct 2008 09:24:54 -0700 (PDT) Subject: [Nagiosplug-help] Host monitoring Message-ID: <922779.345.qm@web81807.mail.mud.yahoo.com> Hi Andy, I got this solved. Finally. Thanks for your time and effort. Now I understand a little bit more about Nagios. It looks like the notify-host-by-email change to notify-service-by-email did the trick. ----- Original Message ---- From: Andy Shellam To: Marc Powell Cc: nagios-user Mailinglist Sent: Monday, October 27, 2008 5:28:24 PM Subject: Re: [Nagios-users] [Nagiosplug-help] Host monitoring Hi Marc, Marc Powell wrote: > On Oct 27, 2008, at 3:42 PM, Grant Lowe wrote: > ----- cut ------ > >> [1225115861] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie >> Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 29 processes >> with STATE = Z >> [1225119461] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie >> Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 43 processes >> with STATE = Z >> >> Good catch! I'm guessing that "notify-host-by-email" should actually be "notify-service-by-email" - e.g. a host problem notification is being sent out for a service alert, which is why it's confusing because the host is actually up, it's a failing service. Grant, look at your contact/contact group settings for the service notification command - it should be notify-service-by-email. Regards, Andy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dustin.phillips at chartercom.com Tue Oct 28 20:08:57 2008 From: dustin.phillips at chartercom.com (Phillips, Dustin B (DBphillips)) Date: Tue, 28 Oct 2008 14:08:57 -0500 Subject: Advanced authentication Message-ID: Sorry if this has already been asked but I?m new to the list. Question: Is there an add-on or other method for enabling more advanced authentication for Nagios or is htaccess the only method? I?m thinking something more like a MySQL database or LDAP, etc. Thanks, Dustin E-MAIL CONFIDENTIALITY NOTICE: The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Tue Oct 28 20:28:22 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Tue, 28 Oct 2008 12:28:22 -0700 Subject: Advanced authentication In-Reply-To: References: Message-ID: <3d2eb72a0810281228naa9489exc7385ae9909cd15f@mail.gmail.com> You can use any type of authentication that apache supports. For both of your suggestions, you should look at: LDAP Authentication http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html Database backend Authentication http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html Taylor On Tue, Oct 28, 2008 at 12:08 PM, Phillips, Dustin B (DBphillips) wrote: > Sorry if this has already been asked but I'm new to the list. > > Question: Is there an add-on or other method for enabling more advanced > authentication for Nagios or is htaccess the only method? I'm thinking > something more like a MySQL database or LDAP, etc. > > Thanks, > > Dustin > > E-MAIL CONFIDENTIALITY NOTICE: > > > > > > > > The contents of this e-mail message and > any attachments are intended solely for the > addressee(s) and may contain confidential > and/or legally privileged information. If you > are not the intended recipient of this message > or if this message has been addressed to you > in error, please immediately alert the sender > by reply e-mail and then delete this message > and any attachments. If you are not the > intended recipient, you are notified that > any use, dissemination, distribution, copying, > or storage of this message or any attachment > is strictly prohibited. > > > > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Tue Oct 28 20:28:19 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Tue, 28 Oct 2008 19:28:19 +0000 Subject: Advanced authentication In-Reply-To: References: Message-ID: <490767D3.2070907@networkmail.eu> Hi Dustin, As the htaccess authentication is provided by Apache, you can certainly use any authentication Apache supports (LDAP, SQL etc.) See the following Apache manual pages: http://httpd.apache.org/docs/2.2/howto/auth.html - htaccess authentication howto http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html - SQL authentication http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html - LDAP authentication Hope this helps. Regards, Andy Phillips, Dustin B (DBphillips) wrote: > Sorry if this has already been asked but I?m new to the list. > > Question: Is there an add-on or other method for enabling more > advanced authentication for Nagios or is htaccess the only method? I?m > thinking something more like a MySQL database or LDAP, etc. > > Thanks, > > Dustin > > E-MAIL CONFIDENTIALITY NOTICE: > > > > > > > > The contents of this e-mail message and > any attachments are intended solely for the > addressee(s) and may contain confidential > and/or legally privileged information. If you > are not the intended recipient of this message > or if this message has been addressed to you > in error, please immediately alert the sender > by reply e-mail and then delete this message > and any attachments. If you are not the > intended recipient, you are notified that > any use, dissemination, distribution, copying, > or storage of this message or any attachment > is strictly prohibited. > > > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Tue Oct 28 20:35:00 2008 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 28 Oct 2008 15:35:00 -0400 Subject: Advanced authentication In-Reply-To: References: Message-ID: <302ce8b50810281235i7838316cud2b8cd1ce81483d0@mail.gmail.com> On Tue, Oct 28, 2008 at 3:08 PM, Phillips, Dustin B (DBphillips) wrote: > Question: Is there an add-on or other method for enabling more advanced > authentication for Nagios or is htaccess the only method? I'm thinking > something more like a MySQL database or LDAP, etc. You can use any form of http authentication. I use http's ldap authentication module, and mod_auth_mysql works fine also. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allanc at chickenandporn.com Tue Oct 28 20:35:18 2008 From: allanc at chickenandporn.com (Allan Clark) Date: Tue, 28 Oct 2008 15:35:18 -0400 Subject: Advanced authentication In-Reply-To: <490767D3.2070907@networkmail.eu> References: <490767D3.2070907@networkmail.eu> Message-ID: <37c712e0810281235o13d5331q8a0a42b5ec7f477d@mail.gmail.com> Hi Dustin; Be reminded that if you use this method (and it's what I used) then you need to remember to use a wildcard (*) in your /etc/nagios/cgi.cfg to give all who can see the CGI access via Apache the access to do it. Otherwise, Apache verifies their user/pass, but the Nagios CGI denies them. Allan On Tue, Oct 28, 2008 at 15:28, Andy Shellam wrote: > Hi Dustin, > > As the htaccess authentication is provided by Apache, you can certainly > use any authentication Apache supports (LDAP, SQL etc.) See the > following Apache manual pages: > > http://httpd.apache.org/docs/2.2/howto/auth.html - htaccess > authentication howto > http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html - SQL > authentication > http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html - LDAP > authentication > > Hope this helps. > > Regards, > > Andy > > > Phillips, Dustin B (DBphillips) wrote: > > Sorry if this has already been asked but I'm new to the list. > > > > Question: Is there an add-on or other method for enabling more > > advanced authentication for Nagios or is htaccess the only method? I'm > > thinking something more like a MySQL database or LDAP, etc. > > > > Thanks, > > > > Dustin > > > > E-MAIL CONFIDENTIALITY NOTICE: > > > > > > > > > > > > > > > > The contents of this e-mail message and > > any attachments are intended solely for the > > addressee(s) and may contain confidential > > and/or legally privileged information. If you > > are not the intended recipient of this message > > or if this message has been addressed to you > > in error, please immediately alert the sender > > by reply e-mail and then delete this message > > and any attachments. If you are not the > > intended recipient, you are notified that > > any use, dissemination, distribution, copying, > > or storage of this message or any attachment > > is strictly prohibited. > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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 the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 28 20:45:44 2008 From: marc at ena.com (Marc Powell) Date: Tue, 28 Oct 2008 14:45:44 -0500 Subject: Advanced authentication In-Reply-To: References: Message-ID: <4D5C91C3-EC4D-4908-A18A-2CBF09E01B2D@ena.com> On Oct 28, 2008, at 2:08 PM, Phillips, Dustin B (DBphillips) wrote: > Sorry if this has already been asked but I?m new to the list. > > Question: Is there an add-on or other method for enabling more > advanced authentication for Nagios or is htaccess the only method? > I?m thinking something more like a MySQL database or LDAP, etc. Any authentication module supported by apache would work as long as you end up with a username in $REMOTE_USER that can be matched against a contact. Most generally work through the htaccess mechanism but the authorization source doesn't have to be htpasswd. Nagios doesn't care how the authorization happens, just that the variable is populated. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 28 20:50:55 2008 From: marc at ena.com (Marc Powell) Date: Tue, 28 Oct 2008 14:50:55 -0500 Subject: Advanced authentication In-Reply-To: <37c712e0810281235o13d5331q8a0a42b5ec7f477d@mail.gmail.com> References: <490767D3.2070907@networkmail.eu> <37c712e0810281235o13d5331q8a0a42b5ec7f477d@mail.gmail.com> Message-ID: <7A404965-A77A-4C72-89F7-E8944E8ABD3B@ena.com> On Oct 28, 2008, at 2:35 PM, Allan Clark wrote: > Hi Dustin; > > Be reminded that if you use this method (and it's what I used) then > you need to remember to use a wildcard (*) in your /etc/nagios/ > cgi.cfg to give all who can see the CGI access via Apache the access > to do it. Otherwise, Apache verifies their user/pass, but the > Nagios CGI denies them. Please explain... There are very limited cases i can think of that you would want to wildcard any of the authorized_for variables, none of which are required to access the cgi's when using authentication. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Tue Oct 28 21:05:15 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Tue, 28 Oct 2008 13:05:15 -0700 Subject: Advanced authentication In-Reply-To: <7A404965-A77A-4C72-89F7-E8944E8ABD3B@ena.com> References: <490767D3.2070907@networkmail.eu> <37c712e0810281235o13d5331q8a0a42b5ec7f477d@mail.gmail.com> <7A404965-A77A-4C72-89F7-E8944E8ABD3B@ena.com> Message-ID: <3d2eb72a0810281305s70ce3092i976ff1e238b6c4b7@mail.gmail.com> Exactly. You want to make sure a contact is setup and is assigned to the appropriate objects. The contact name should make the name authenticated by apache. Taylor On Tue, Oct 28, 2008 at 12:50 PM, Marc Powell wrote: > > On Oct 28, 2008, at 2:35 PM, Allan Clark wrote: > >> Hi Dustin; >> >> Be reminded that if you use this method (and it's what I used) then >> you need to remember to use a wildcard (*) in your /etc/nagios/ >> cgi.cfg to give all who can see the CGI access via Apache the access >> to do it. Otherwise, Apache verifies their user/pass, but the >> Nagios CGI denies them. > > Please explain... There are very limited cases i can think of that you > would want to wildcard any of the authorized_for variables, none of > which are required to access the cgi's when using authentication. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Oct 28 21:46:37 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 28 Oct 2008 13:46:37 -0700 Subject: Advanced authentication In-Reply-To: <37c712e0810281235o13d5331q8a0a42b5ec7f477d@mail.gmail.com> References: <490767D3.2070907@networkmail.eu> <37c712e0810281235o13d5331q8a0a42b5ec7f477d@mail.gmail.com> Message-ID: <20081028204637.GB14923@bakgwai.americas.hpqcorp.net> On Tue, 28 Oct 2008, Allan Clark wrote: > Hi Dustin; > > Be reminded that if you use this method (and it's what I used) then you need to remember to use a wildcard (*) in your /etc/nagios/cgi.cfg to give all who can see the CGI access via Apache the access to do it. Otherwise, Apache verifies their user/pass, but the Nagios CGI denies them. While this may be appropriate in some environments, I wouldn't recommend it, generally. It's far better to make sure contact names in the nagios configs match what the user authenticates with so that Nagios can handle the users' permissions correctly, rather than giving everyone full access to everything. The authentication method used makes no difference here; this is the case for any authenticated Nagios configuration. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 29 07:13:04 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 29 Oct 2008 07:13:04 +0100 Subject: nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB54CD@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB54CD@exchange.ishisystems.com> Message-ID: <4907FEF0.8030705@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Novin Jaiswal wrote: > From where can I find nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? > > On dev environment I have setup the nagios using tar and make the binaries. > > But at the beta server the software installation is not allowed. So I > need to use the RPM. > > Pls help me its urgent an imp for me. How much are you willing to pay if it is that urgent? The volunteers of rpmforge are working on a Nagios 3 release and I expect it rather soon now. But they are volunteers so they also have paing jobs, wives, kids, ... to take into account. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJB/7uBvzDRVjxmYERAoS3AJ4rUeZqigPO4QFUQnkamxuEXIIX9wCeM3Ml ZVI6+q0KQuxJQYf0357O3fM= =FZ5f -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 29 07:19:44 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 29 Oct 2008 07:19:44 +0100 Subject: Configuring nagios with snmp In-Reply-To: <826270010810280704v60455df7pc8eb60dcaad2959e@mail.gmail.com> References: <826270010810280704v60455df7pc8eb60dcaad2959e@mail.gmail.com> Message-ID: <49080080.4090106@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ismael Silva wrote: > Hello guys. > > Y need some help with the configuration for rescue the information on a > server with linux operating system . > My nagios server, is not configured with snmp support. > Someone have a "configurtion guide" for this request? I fear something is lost in the translation. It sounds as if you need to recover data from a crashed Linux system. But I do not think Nagios can help you there. If you are just looking for a way to work with SNMP then please be more specific. Like: - What do you want to do with SNMP? - What have you done so far? What have you read on the topic? (There is quite a good deal of information on SNMP in the documentation and the archives of this mailinglist.) Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJCAB8BvzDRVjxmYERAjKcAKCM7PO/waiX9G9mjZZVAkdlLG5FFACfaWUQ pvz19oljA3KDAbBt9/mlsN4= =tJ7B -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Wed Oct 29 07:58:47 2008 From: ian at acces.co.jp (Ian Masters) Date: Wed, 29 Oct 2008 15:58:47 +0900 Subject: Any GUI Configuration tool for Nagios 3.x recommendations? Message-ID: <490809A7.6070701@acces.co.jp> Hello The last time I asked the list about this, there was very little response, so I'm going to ask again. I'd like to ask list members for their recommendations for front end GUIs for configuring Nagios 3.x. The Lilac Platform (http://www.lilacplatform.com/) looks interesting but its dependency list is putting me off at the moment. What else is good for Nagios 3.0.3 and upwards? Command line is fine but I keep thinking that there must be more interesting ways to spend the day ;) Also I'd like to know that if I change my mind and don't want to use the GUI any more, that my original Nagios data (cfg files) will still be left in a usable form. If no-one's interested this time, I promise to drop the subject. Thanks Ian Masters ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Ganswind at wincanton.eu Wed Oct 29 08:02:27 2008 From: Volker.Ganswind at wincanton.eu (Volker.Ganswind at wincanton.eu) Date: Wed, 29 Oct 2008 07:02:27 +0000 Subject: =?iso-8859-1?q?Volker_Ganswind_ist_au=DFer_Haus=2E?= Message-ID: Ich werde ab 27.10.2008 nicht im B?ro sein. Ich kehre zur?ck am 31.10.2008. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. Sitz der Gesellschaft: Mannheim Amtsgericht Mannheim HRB 4814 Vorsitzender des Aufsichtsrats: Dr. Walter Hasselkus Geschaeftsfuehrer: Alexander Bauz, Harry W. Dumser, Dr. Wolfgang H?nemann, Thomas Westphal, Dr. Christian Wurst ---------------------------------------------------------- Wir arbeiten ausschliesslich auf Grundlage der Allgemeinen Deutschen Spediteurbedingungen, jeweils neueste Fassung. Diese beschraenken in Ziffer 23 die Haftung fuer Gueterschaeden in speditionellem Gewahrsam auf EUR 5/kg, bei Transporten mit verschiedenen Befoerderungsmitteln unter Einschluss einer Seebefoerderung auf 2 SZR/kg sowie darueber hinaus je Schadenfall bzw. Schadenereignis auf EUR 1 Mio. bzw. EUR 2 Mio. oder 2 SZR/kg je nachdem, welcher Betrag hoeher ist. Ziffer 27 ADSp gilt nicht als Vereinbarung anderer Haftungsh?chstbetr?ge im Sinne Art.25 Montrealer Abkommen. Bei allgemeinen Binnenschiffstransporten gelten unsere Verlade- und Transportbedingungen. Diese begrenzen nach Paragraph 17 die Haftung fuer Gueterschaeden auf 2 SZR/kg. Bei Containerbinnenschiffstransporten gelten die Allgemeinen Geschaeftsbedingungen der Rhinecontainer B.V., Rotterdam. Diese sehen eine Haftung fuer Gueterschaeden bis zu 2 SZR/kg vor, soweit der Ort der Uebernahme und der Ort der Ablieferung des Gutes innerhalb Deutschlands liegen. ---------------------------------------------------------- Wincanton plc is a leading European provider of supply chain solutions. We design, implement and operate creative solutions for customers across Europe. Our business has a turnover of over EUR 2.8bn / ?1.9bn and employs 30,000 staff across 400 locations. Warehousing, transport and specialist services are provided for customers in a range of sectors including automotive, retail, FMCG, petrochemicals and manufacturing. Further information on our unique achievements and competencies can be found by visiting: http://www.wincanton.co.uk. ---------------------------------------------------------- CONFIDENTIAL NOTE: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual(s) to whom it is addressed. If you have received this e-mail in error please contact IT Service Desk on +49 (0) 621 / 8048 - 100 or e-mail it.service at wincanton.eu. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Wincanton GmbH or any of its subsidiary companies. Unauthorised publication, use, dissemination, forwarding, printing or copying of this e-mail and its associated attachment(s) is strictly prohibited. Wincanton GmbH, Antwerpener Str. 24, D-68219 Mannheim. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steffen.Rachel at bartec.de Wed Oct 29 08:50:38 2008 From: Steffen.Rachel at bartec.de (Rachel Steffen) Date: Wed, 29 Oct 2008 08:50:38 +0100 Subject: Any GUI Configuration tool for Nagios 3.xrecommendations? In-Reply-To: <490809A7.6070701@acces.co.jp> References: <490809A7.6070701@acces.co.jp> Message-ID: <847C8B990A3CFB468591F5F5214C24D1ABAFBD@mgh-ex01.bartec.lan> Hi, An interesting project http://nagiosadmin.de It works with an mysql db. Dependencies are php5 and some php5 libs. Pro: - easy to install - simpel to handle/configure hosts and services (for admins without linux/nagios knowledgement) - languarge could be changed in the webconsole (german and english) - host services could be configured with one click. I think they scann for open ports on the host. Neg: - You have to build up you nagios system one more time. Existing nagios cfgs can't be imported - Timeperiods and Dependancies must be modified throu console. It is not implementet (I don't know if it would be in future) - The configuration will be saved to the mysqldb, so you can't go back. Thats my opinion/"experience" with that program. I have installed it in my nagios playground and configured it with some sample hosts and services. I can't tell anything about performance in big installations. Steffen -----Urspr?ngliche Nachricht----- Von: Ian Masters [mailto:ian at acces.co.jp] Gesendet: Mittwoch, 29. Oktober 2008 07:59 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Any GUI Configuration tool for Nagios 3.xrecommendations? Hello The last time I asked the list about this, there was very little response, so I'm going to ask again. I'd like to ask list members for their recommendations for front end GUIs for configuring Nagios 3.x. The Lilac Platform (http://www.lilacplatform.com/) looks interesting but its dependency list is putting me off at the moment. What else is good for Nagios 3.0.3 and upwards? Command line is fine but I keep thinking that there must be more interesting ways to spend the day ;) Also I'd like to know that if I change my mind and don't want to use the GUI any more, that my original Nagios data (cfg files) will still be left in a usable form. If no-one's interested this time, I promise to drop the subject. Thanks Ian Masters ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 29 09:27:25 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Oct 2008 09:27:25 +0100 Subject: nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? In-Reply-To: <4907FEF0.8030705@vanderkooij.org> References: <2BA70ED7C7275645B648362FB35913A901EB54CD@exchange.ishisystems.com> <4907FEF0.8030705@vanderkooij.org> Message-ID: <49081E6D.4020108@op5.se> Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Novin Jaiswal wrote: > >> From where can I find nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? >> Probably nowhere. Nagios 3.2 isn't out yet, so I'd be amazed if it was available for download from anywhere at all. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 29 09:29:50 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Oct 2008 09:29:50 +0100 Subject: Any GUI Configuration tool for Nagios 3.x recommendations? In-Reply-To: <490809A7.6070701@acces.co.jp> References: <490809A7.6070701@acces.co.jp> Message-ID: <49081EFE.7090303@op5.se> Ian Masters wrote: > Hello > > The last time I asked the list about this, there was very little > response, so I'm going to ask again. > > I'd like to ask list members for their recommendations for front end > GUIs for configuring Nagios 3.x. > > The Lilac Platform (http://www.lilacplatform.com/) looks interesting but > its dependency list is putting me off at the moment. > > What else is good for Nagios 3.0.3 and upwards? > > Command line is fine but I keep thinking that there must be more > interesting ways to spend the day ;) > https://shop.op5.com/free-trial-versions-c-13.html?language=en "op5 Monitor" is Nagios with bells and whistles. It has a config UI with support for Nagios 3. All of our 320 or so customers use it with little to no hassle. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adesperateuser at googlemail.com Wed Oct 29 09:31:53 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 29 Oct 2008 09:31:53 +0100 Subject: Any GUI Configuration tool for Nagios 3.x recommendations? In-Reply-To: <490809A7.6070701@acces.co.jp> References: <490809A7.6070701@acces.co.jp> Message-ID: <49081F79.2090008@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ian Masters schrieb: > I'd like to ask list members for their recommendations for front end > GUIs for configuring Nagios 3.x. I can only recommend to try several out, and see which suits your needs best. I only saw snag-view (a commercial solution) in production once, and I think it's quite nice. (Their homepage seems to be only in german though.) > The Lilac Platform (http://www.lilacplatform.com/) looks interesting but > its dependency list is putting me off at the moment. A product that calls its status "first alpha release" and says that "It is not ready for production use"... Well. Thats what rather would put me off, in the first place. :-) The feature-set of centreon looks quite nice in my opinion (http://www.centreon.com/Product/Features-Centreon-2.0.html), but I didn't test it yet. OK, it's not "stable" either, but RC7 looks still better than first alpha ;-) . Ah, but since you worry about dependencies... Forget that centreon-thing I mentioned above. (http://www.centreon.com/Product/Pre-requisits-Centreon-1.3.x-/-1.4.x.html) Here is a collection of frontends I just found: http://www.debianhelp.co.uk/nagiosweb.htm HTH, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJCB94+qVaNRZYOakRAp6oAJ9NiCpYu03+55tu1DyytBQgeyhBtwCdF9x2 rCMNiCkettGISwFlPqJswko= =3NVu -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Wed Oct 29 10:03:24 2008 From: ian at acces.co.jp (Ian Masters) Date: Wed, 29 Oct 2008 18:03:24 +0900 Subject: Any GUI Configuration tool for Nagios 3.x recommendations? In-Reply-To: <49081EFE.7090303@op5.se> References: <490809A7.6070701@acces.co.jp> <49081EFE.7090303@op5.se> Message-ID: <490826DC.8060100@acces.co.jp> > https://shop.op5.com/free-trial-versions-c-13.html?language=en > > "op5 Monitor" is Nagios with bells and whistles. It has a config UI > with support for Nagios 3. All of our 320 or so customers use it > with little to no hassle. Looks interesting but I'm looking for an open source solution. Sorry I didn't mention that. Ian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ng23.net Wed Oct 29 11:15:06 2008 From: tom at ng23.net (Tom Brown) Date: Wed, 29 Oct 2008 10:15:06 +0000 Subject: nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB54CD@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB54CD@exchange.ishisystems.com> Message-ID: <490837AA.8010601@ng23.net> > > > From where can I find nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? > if you hate linux so much have you tried using it on a different platform ? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 29 13:00:31 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Oct 2008 13:00:31 +0100 Subject: Any GUI Configuration tool for Nagios 3.x recommendations? In-Reply-To: <490826DC.8060100@acces.co.jp> References: <490809A7.6070701@acces.co.jp> <49081EFE.7090303@op5.se> <490826DC.8060100@acces.co.jp> Message-ID: <4908505F.1060309@op5.se> Ian Masters wrote: >> https://shop.op5.com/free-trial-versions-c-13.html?language=en >> >> "op5 Monitor" is Nagios with bells and whistles. It has a config UI >> with support for Nagios 3. All of our 320 or so customers use it >> with little to no hassle. > > Looks interesting but I'm looking for an open source solution. Sorry I > didn't mention that. > It is opensource. It's just not (currently) licensed as redistributable. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ng23.net Wed Oct 29 13:14:14 2008 From: tom at ng23.net (Tom Brown) Date: Wed, 29 Oct 2008 12:14:14 +0000 Subject: Any GUI Configuration tool for Nagios 3.x recommendations? In-Reply-To: <490809A7.6070701@acces.co.jp> References: <490809A7.6070701@acces.co.jp> Message-ID: <49085396.6070306@ng23.net> > > The last time I asked the list about this, there was very little > response, so I'm going to ask again. > > I'd like to ask list members for their recommendations for front end > GUIs for configuring Nagios 3.x. > > The Lilac Platform (http://www.lilacplatform.com/) looks interesting but > its dependency list is putting me off at the moment. > > What else is good for Nagios 3.0.3 and upwards? > > Command line is fine but I keep thinking that there must be more > interesting ways to spend the day ;) > > Also I'd like to know that if I change my mind and don't want to use the > GUI any more, that my original Nagios data (cfg files) will still be > left in a usable form. > > If no-one's interested this time, I promise to drop the subject. > > i recently setup a nagios cluster to use this http://www.nagiosql.org/ i implemented this on nagios 3 even though it says its for nagios 2 and i did not encounter issues - The MySQL db was setup in a master<->master fashion and the front end used heartbeat. Used this to monitor ~2500 hosts with many many more services and it worked fine. check it out thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Wed Oct 29 13:40:51 2008 From: Charles.Breite at altertrading.com (Charles Breite) Date: Wed, 29 Oct 2008 07:40:51 -0500 Subject: Any GUI Configuration tool for Nagios3.x recommendations? In-Reply-To: <49085396.6070306@ng23.net> References: <490809A7.6070701@acces.co.jp> <49085396.6070306@ng23.net> Message-ID: <5D490E0402B4D14F836B5C4436D5949A43D7DE@VMEXCHANGE2.alterscrap.com> I have look at several also but as you pointed out they all either don't like my configs or Want to modify them. I nice front end our helpdesk use would be nice! -----Original Message----- From: Tom Brown [mailto:tom at ng23.net] Sent: Wednesday, October 29, 2008 7:14 AM To: Ian Masters Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Any GUI Configuration tool for Nagios3.x recommendations? > > The last time I asked the list about this, there was very little > response, so I'm going to ask again. > > I'd like to ask list members for their recommendations for front end > GUIs for configuring Nagios 3.x. > > The Lilac Platform (http://www.lilacplatform.com/) looks interesting but > its dependency list is putting me off at the moment. > > What else is good for Nagios 3.0.3 and upwards? > > Command line is fine but I keep thinking that there must be more > interesting ways to spend the day ;) > > Also I'd like to know that if I change my mind and don't want to use the > GUI any more, that my original Nagios data (cfg files) will still be > left in a usable form. > > If no-one's interested this time, I promise to drop the subject. > > i recently setup a nagios cluster to use this http://www.nagiosql.org/ i implemented this on nagios 3 even though it says its for nagios 2 and i did not encounter issues - The MySQL db was setup in a master<->master fashion and the front end used heartbeat. Used this to monitor ~2500 hosts with many many more services and it worked fine. check it out thanks ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DerekB at answers.com Wed Oct 29 14:00:10 2008 From: DerekB at answers.com (Derek J Balling) Date: Wed, 29 Oct 2008 09:00:10 -0400 Subject: Any GUI Configuration tool for Nagios 3.x recommendations? In-Reply-To: <4908505F.1060309@op5.se> References: <490809A7.6070701@acces.co.jp> <49081EFE.7090303@op5.se> <490826DC.8060100@acces.co.jp> <4908505F.1060309@op5.se> Message-ID: <01E62165-687D-4C8C-8DE7-B58C931728C9@answers.com> On Oct 29, 2008, at 8:00 AM, Andreas Ericsson wrote: >> Looks interesting but I'm looking for an open source solution. >> Sorry I >> didn't mention that. >> > > It is opensource. It's just not (currently) licensed as > redistributable. Then it is not "Open Source". Open Source has a real honest to goodness definition, set by the trademark holders. http://www.opensource.org/docs/osd And #1 on that list is "Free Redistribution". So, no, it is most definitively NOT "open source". Cheers, D -- Derek J. Balling Data Center Manager Answers.Com 237 W 35th # 1101 New York, NY 10001 W: (646) 502-4786 C: (845) 332-0433 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ng23.net Wed Oct 29 14:02:56 2008 From: tom at ng23.net (Tom Brown) Date: Wed, 29 Oct 2008 13:02:56 +0000 Subject: Any GUI Configuration tool for Nagios3.x recommendations? In-Reply-To: <5D490E0402B4D14F836B5C4436D5949A43D7DE@VMEXCHANGE2.alterscrap.com> References: <490809A7.6070701@acces.co.jp> <49085396.6070306@ng23.net> <5D490E0402B4D14F836B5C4436D5949A43D7DE@VMEXCHANGE2.alterscrap.com> Message-ID: <49085F00.3080004@ng23.net> > I have look at several also but as you pointed out they all either don't > like my configs or > Want to modify them. I nice front end our helpdesk use would be nice! > > nagiosql can import standard configs - it also generates them out of the db so i am not sure what you mean there. the reason i used nagiosql was to enable our windows admins the ability to add stuff to nagios and restart - so 'dumbing down' the configuring of it if you will. we had some pretty complex group etc and it all works fine. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sotiroff.Kristian at mtvne.com Wed Oct 29 14:17:59 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Wed, 29 Oct 2008 13:17:59 -0000 Subject: Any GUI Configuration tool forNagios3.x recommendations? In-Reply-To: <49085F00.3080004@ng23.net> References: <490809A7.6070701@acces.co.jp> <49085396.6070306@ng23.net><5D490E0402B4D14F836B5C4436D5949A43D7DE@VMEXCHANGE2.alterscrap.com> <49085F00.3080004@ng23.net> Message-ID: -----Original Message----- From: Tom Brown [mailto:tom at ng23.net] Sent: 29 October 2008 13:03 To: Charles Breite Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Any GUI Configuration tool forNagios3.x recommendations? > I have look at several also but as you pointed out they all either > don't like my configs or Want to modify them. I nice front end our > helpdesk use would be nice! > > nagiosql can import standard configs - it also generates them out of the db so i am not sure what you mean there. the reason i used nagiosql was to enable our windows admins the ability to add stuff to nagios and restart - so 'dumbing down' the configuring of it if you will. we had some pretty complex group etc and it all works fine. Nagiosql doesn't seem to support multiple parents though, unless I'm mistaken? I used Fruity for awhile (predecessor to Lilac) and that was a great tool. Pretty easy to modify the code for use with nagios v3, but again, this didn't support multiple parents which we use quite heavily here. Lilac was a mare to install so I gave up and went back to command line.. Be interested to see if any good tools pop up out of this discussion CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dario.bestetti at opservices.com.br Wed Oct 29 14:43:31 2008 From: dario.bestetti at opservices.com.br (Dario B. Bestetti (OpServices)) Date: Wed, 29 Oct 2008 11:43:31 -0200 (BRST) Subject: Any GUI Configuration tool forNagios3.x recommendations? In-Reply-To: References: Message-ID: <16976388.12351225287811650.JavaMail.root@mail.opservices.com.br> ----- "Kristian Sotiroff" escreveu: > -----Original Message----- > From: Tom Brown [mailto:tom at ng23.net] > Sent: 29 October 2008 13:03 > To: Charles Breite > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Any GUI Configuration tool forNagios3.x > recommendations? > > > > I have look at several also but as you pointed out they all either > > don't like my configs or Want to modify them. I nice front end our > > helpdesk use would be nice! > > > > > > nagiosql can import standard configs - it also generates them out of > the > db so i am not sure what you mean there. > > the reason i used nagiosql was to enable our windows admins the > ability > to add stuff to nagios and restart - so 'dumbing down' the > configuring > of it if you will. > we had some pretty complex group etc and it all works fine. > > > > > > > Nagiosql doesn't seem to support multiple parents though, unless I'm > mistaken? > > I used Fruity for awhile (predecessor to Lilac) and that was a great > tool. Pretty easy to modify the code for use with nagios v3, but > again, > this didn't support multiple parents which we use quite heavily here. > Lilac was a mare to install so I gave up and went back to command > line.. > > Be interested to see if any good tools pop up out of this discussion > > > > > > CONFIDENTIALITY NOTICE > > This e-mail (and any attached files) is confidential and protected by > > copyright (and other intellectual property rights). If you are not the > > intended recipient please e-mail the sender and then delete the email > and > any attached files immediately. Any further use or dissemination is > prohibited. > > While MTV Networks Europe has taken steps to ensure that this email > and > any attachments are virus free, it is your responsibility to ensure > that > this message and any attachments are virus free and do not affect your > > systems / data. > > Communicating by email is not 100% secure and carries risks such as > delay, > data corruption, non-delivery, wrongful interception and unauthorised > > amendment. If you communicate with us by e-mail, you acknowledge and > assume these risks, and you agree to take appropriate measures to > minimise > these risks when e-mailing us. > > MTV Networks International, MTV Networks UK & Ireland, Greenhouse, > Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions > International and Comedy Central are all trading names of MTV Networks > > Europe. MTV Networks Europe is a partnership between MTV Networks > Europe > Inc. and Viacom Networks Europe Inc. Address for service in Great > Britain > is UK House, 180 Oxford Street, London W1D 1DS, UK. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 week we?ll be releasing an "improved" version opensource of Fruity which we have been working to make really useful an stable. Take a look and see if it works for you. The website is http://opmon.org []s _________________________________________________ Dario B. Bestetti OpServices R. Luciana de Abreu, 471 - Sala 403 Porto Alegre, RS - CEP 90570-060 Fone 55(51)32753588 Mobile 55(51)81518218 Fax 55(51)32753588 Email dario.bestetti at opservices.com.br "In God we trust, the rest we monitor ..." _________________________________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dustin.phillips at chartercom.com Wed Oct 29 16:37:16 2008 From: dustin.phillips at chartercom.com (Phillips, Dustin B (DBphillips)) Date: Wed, 29 Oct 2008 10:37:16 -0500 Subject: Advanced authentication In-Reply-To: <20081028204637.GB14923@bakgwai.americas.hpqcorp.net> References: <20081028204637.GB14923@bakgwai.americas.hpqcorp.net> Message-ID: Thanks for the replies. Ultimately what we would like to do is authenticate the user via another website that we already use as a "single sign-on" portal for other web applications. Once they're logged in there, we would pass their username over to Nagios via URL querystring or hidden form value, etc (not going for maximum security). On the Nagios server we would use PHP to populate the REMOTE_USER Apache ENV variable with the passed username so that Nagios can compare that to the contacts and provide them with their applicable views. Currently we are able to pass the username value to the Nagios server and we appear to be populating the Apache ENV variable successfully via PHP using "apache_setenv('REMOTE_USER', '[username]');" however when we then redirect to the Nagios homepage, Nagios does not appear to be picking up the username. It states that we're logged in as "?" and obviously nothing is accessible. Questions: Is it necessary to modify the Nagios/cgi config in any way to achieve what we're doing? Is is necessary to modify the Apache config? Is is necessary to set any other ENV variables besides REMOTE_USER? Thanks for any assistance/guidance you can provide! Dustin E-MAIL CONFIDENTIALITY NOTICE: The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at stoupakis.de Wed Oct 29 20:22:47 2008 From: christian at stoupakis.de (Christian) Date: Wed, 29 Oct 2008 20:22:47 +0100 Subject: Notification failed - Problems with sending emails In-Reply-To: References: Message-ID: <4908B807.9080807@stoupakis.de> Hi all, I have a problem with my emailhandling in nagios 3.0.3 Since yesterday morning no mail will be send due to a statuschange. Ive checked all configurations, everything looks fine, and sending an email with "Send custom service notification" the mail recive all accounts. The debug is now set to "32" and this is the output: [1225304775.172596] [032.0] [pid=19459] ** Service Notification Attempt ** Host: 'bgm-lf01', Service: 'BGM Ma 1110', Type: 0, Options: 0, Current State: 2, Last Notification: Thu Jan 1 01:00:00 1970 [1225304775.172607] [032.0] [pid=19459] Notification viability test passed. [1225304775.172612] [032.1] [pid=19459] Current notification number: 1 (incremented) [1225304775.172616] [032.1] [pid=19459] Service notification will NOT be escalated. [1225304775.172621] [032.1] [pid=19459] Adding normal contacts for service to notification list. [1225304775.172678] [032.0] [pid=19459] No contacts were notified. Next possible notification time: Thu Jan 1 01:00:00 1970 [1225304775.172683] [032.0] [pid=19459] 0 contacts were notified. Has anyone an idea? Greets Christian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mjknagios at mjk.org Wed Oct 29 23:11:55 2008 From: mjknagios at mjk.org (MJK Nagios) Date: Wed, 29 Oct 2008 17:11:55 -0500 Subject: Notification Timing Problem Message-ID: Hello, I seem to be having a rather difficult time getting notifications to work the way that I would like. I'm using a test host to have Nagios generate alerts when I take it offline. Nagios detects and sends notifications for the host coming back on-line very quickly. What I'm doing in order to test my config is to then simulate that the host fails again in a few minutes. The problem I'm seeing is that it takes Nagios 15-20 minutes to send a notification that the host is again down. This would be useless to me in a production environment; if the host drops again -- I need to know about it immediately. OK, I've been through the docs and have checked everything that seems to make sense in order to figure out this issue -- with no success. I'm running Nagios 3.0.2. Please see some output I've included below to see the time lag between when Nagios notices the host is down again and when it sends the notification. Thanks! -Matt ------------------------------------------------------------------------------ Here's my notification entries while testing: ------------------------------------------------------------------------------ Host Service Type Time Contact Notification Command Information TEST-01 N/A HOST UP 10-29-2008 17:04:05 NOC notify-host-by-email PING OK - Packet loss = 73%, RTA = 0.70 ms TEST-01 N/A HOST UP 10-29-2008 17:04:05 NOC notify-host-by-pager PING OK - Packet loss = 73%, RTA = 0.70 ms TEST-01 N/A HOST UP 10-29-2008 17:04:05 support notify-host-by-email PING OK - Packet loss = 73%, RTA = 0.70 ms TEST-01 N/A HOST UP 10-29-2008 17:04:05 support notify-host-by-pager PING OK - Packet loss = 73%, RTA = 0.70 ms TEST-01 N/A HOST DOWN 10-29-2008 17:03:25 NOC notify-host-by-email (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 17:03:25 NOC notify-host-by-pager (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 17:03:25 support notify-host-by-email (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 17:03:25 support notify-host-by-pager (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 16:58:05 NOC notify-host-by-email (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 16:58:05 NOC notify-host-by-pager (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 16:58:05 support notify-host-by-email (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 16:58:05 support notify-host-by-pager (Host Check Timed Out) TEST-01 N/A HOST UP 10-29-2008 16:40:10 NOC notify-host-by-email PING OK - Packet loss = 0%, RTA = 4.47 ms TEST-01 N/A HOST UP 10-29-2008 16:40:10 NOC notify-host-by-pager PING OK - Packet loss = 0%, RTA = 4.47 ms TEST-01 N/A HOST UP 10-29-2008 16:40:10 support notify-host-by-email PING OK - Packet loss = 0%, RTA = 4.47 ms TEST-01 N/A HOST UP 10-29-2008 16:40:10 support notify-host-by-pager PING OK - Packet loss = 0%, RTA = 4.47 ms TEST-01 N/A HOST DOWN 10-29-2008 16:27:40 NOC notify-host-by-email (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 16:27:40 NOC notify-host-by-pager (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 16:27:40 support notify-host-by-email (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 16:27:40 support notify-host-by-pager (Host Check Timed Out) TEST-01 N/A HOST UP 10-29-2008 16:10:20 NOC notify-host-by-email PING OK - Packet loss = 0%, RTA = 0.45 ms TEST-01 N/A HOST UP 10-29-2008 16:10:20 NOC notify-host-by-pager PING OK - Packet loss = 0%, RTA = 0.45 ms TEST-01 N/A HOST UP 10-29-2008 16:10:20 support notify-host-by-email PING OK - Packet loss = 0%, RTA = 0.45 ms TEST-01 N/A HOST UP 10-29-2008 16:10:20 support notify-host-by-pager PING OK - Packet loss = 0%, RTA = 0.45 ms TEST-01 N/A HOST DOWN 10-29-2008 16:05:48 NOC notify-host-by-email (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 16:05:48 NOC notify-host-by-pager (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 16:05:48 support notify-host-by-email (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 16:05:48 support notify-host-by-pager (Host Check Timed Out) TEST-01 N/A HOST UP 10-29-2008 15:44:19 NOC notify-host-by-email PING OK - Packet loss = 0%, RTA = 0.53 ms TEST-01 N/A HOST UP 10-29-2008 15:44:19 support notify-host-by-email PING OK - Packet loss = 0%, RTA = 0.53 ms TEST-01 N/A HOST DOWN 10-29-2008 15:21:09 NOC notify-host-by-email (Host Check Timed Out) TEST-01 N/A HOST DOWN 10-29-2008 15:21:09 support notify-host-by-email (Host Check Timed Out) And here's the host's history: ------------------------------------------------------------------------------ October 29, 2008 17:00 Program Start[10-29-2008 17:07:34] Nagios 3.0.2 starting... (PID=1917) Program Restart[10-29-2008 17:07:34] Caught SIGHUP, restarting... Service Ok[10-29-2008 17:04:25] SERVICE ALERT: TEST-01;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.44 ms Service Ok[10-29-2008 17:04:15] SERVICE ALERT: TEST-01;TFTP Server;OK;HARD;1;TCP OK - 0.007 second response time on port 8099 Service Ok[10-29-2008 17:04:15] SERVICE ALERT: TEST-01;HTTP;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 403 bytes in 0.022 seconds Host Up[10-29-2008 17:04:05] HOST ALERT: TEST-01;UP;HARD;1;PING OK - Packet loss = 73%, RTA = 0.70 ms October 29, 2008 16:00 Host Down[10-29-2008 16:58:05] HOST ALERT: TEST-01;DOWN;HARD;10;(Host Check Timed Out) Host Down[10-29-2008 16:56:25] HOST ALERT: TEST-01;DOWN;SOFT;9;(Host Check Timed Out) Host Down[10-29-2008 16:54:55] HOST ALERT: TEST-01;DOWN;SOFT;8;(Host Check Timed Out) Host Down[10-29-2008 16:53:15] HOST ALERT: TEST-01;DOWN;SOFT;7;(Host Check Timed Out) Host Down[10-29-2008 16:51:35] HOST ALERT: TEST-01;DOWN;SOFT;6;(Host Check Timed Out) Host Down[10-29-2008 16:49:55] HOST ALERT: TEST-01;DOWN;SOFT;5;(Host Check Timed Out) Host Down[10-29-2008 16:48:15] HOST ALERT: TEST-01;DOWN;SOFT;4;(Host Check Timed Out) Host Down[10-29-2008 16:46:45] HOST ALERT: TEST-01;DOWN;SOFT;3;(Host Check Timed Out) Host Down[10-29-2008 16:45:35] HOST ALERT: TEST-01;DOWN;SOFT;2;(Host Check Timed Out) Host Down[10-29-2008 16:45:05] HOST ALERT: TEST-01;DOWN;SOFT;2;(Host Check Timed Out) Program Start[10-29-2008 16:44:55] Nagios 3.0.2 starting... (PID=1917) Program Restart[10-29-2008 16:44:55] Caught SIGHUP, restarting... Host Down[10-29-2008 16:43:30] HOST ALERT: TEST-01;DOWN;SOFT;2;(Host Check Timed Out) Service Critical[10-29-2008 16:42:30] SERVICE ALERT: TEST-01;PING;CRITICAL;HARD;1;PING CRITICAL - Packet loss = 100% Service Critical[10-29-2008 16:42:20] SERVICE ALERT: TEST-01;TFTP Server;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds Service Critical[10-29-2008 16:42:20] SERVICE ALERT: TEST-01;HTTP;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds Host Down[10-29-2008 16:41:50] HOST ALERT: TEST-01;DOWN;SOFT;1;(Host Check Timed Out) Service Critical[10-29-2008 16:41:30] SERVICE ALERT: TEST-01;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 100% Service Critical[10-29-2008 16:41:20] SERVICE ALERT: TEST-01;TFTP Server;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Critical[10-29-2008 16:41:20] SERVICE ALERT: TEST-01;HTTP;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds Service Ok[10-29-2008 16:40:20] SERVICE ALERT: TEST-01;PING;OK;SOFT;1;PING OK - Packet loss = 0%, RTA = 0.56 ms Service Ok[10-29-2008 16:40:10] SERVICE ALERT: TEST-01;TFTP Server;OK;SOFT;1;TCP OK - 0.047 second response time on port 8099 Service Ok[10-29-2008 16:40:10] SERVICE ALERT: TEST-01;HTTP;OK;SOFT;1;HTTP OK HTTP/1.1 200 OK - 403 bytes in 0.034 seconds Host Up[10-29-2008 16:40:10] HOST ALERT: TEST-01;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 4.47 ms Program Start[10-29-2008 16:39:40] Nagios 3.0.2 starting... (PID=1917) Program Restart[10-29-2008 16:39:40] Caught SIGHUP, restarting... Host Down[10-29-2008 16:27:40] HOST ALERT: TEST-01;DOWN;HARD;10;(Host Check Timed Out) Host Down[10-29-2008 16:26:00] HOST ALERT: TEST-01;DOWN;SOFT;9;(Host Check Timed Out) Host Down[10-29-2008 16:24:20] HOST ALERT: TEST-01;DOWN;SOFT;8;(Host Check Timed Out) Host Down[10-29-2008 16:22:40] HOST ALERT: TEST-01;DOWN;SOFT;7;(Host Check Timed Out) Host Down[10-29-2008 16:21:10] HOST ALERT: TEST-01;DOWN;SOFT;6;(Host Check Timed Out) Host Down[10-29-2008 16:19:30] HOST ALERT: TEST-01;DOWN;SOFT;5;(Host Check Timed Out) Host Down[10-29-2008 16:18:00] HOST ALERT: TEST-01;DOWN;SOFT;4;(Host Check Timed Out) Host Down[10-29-2008 16:16:20] HOST ALERT: TEST-01;DOWN;SOFT;3;(Host Check Timed Out) Host Down[10-29-2008 16:14:40] HOST ALERT: TEST-01;DOWN;SOFT;2;(Host Check Timed Out) Service Critical[10-29-2008 16:13:30] SERVICE ALERT: TEST-01;PING;CRITICAL;HARD;1;PING CRITICAL - Packet loss = 100% Service Critical[10-29-2008 16:13:20] SERVICE ALERT: TEST-01;TFTP Server;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds Service Critical[10-29-2008 16:13:20] SERVICE ALERT: TEST-01;HTTP;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds Host Down[10-29-2008 16:13:10] HOST ALERT: TEST-01;DOWN;SOFT;1;(Host Check Timed Out) Program Start[10-29-2008 16:12:10] Nagios 3.0.2 starting... (PID=1917) Program Restart[10-29-2008 16:12:10] Caught SIGHUP, restarting... Service Ok[10-29-2008 16:10:20] SERVICE ALERT: TEST-01;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.43 ms Host Up[10-29-2008 16:10:20] HOST ALERT: TEST-01;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.45 ms Service Ok[10-29-2008 16:10:10] SERVICE ALERT: TEST-01;TFTP Server;OK;HARD;1;TCP OK - 0.005 second response time on port 8099 Service Ok[10-29-2008 16:10:10] SERVICE ALERT: TEST-01;HTTP;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 403 bytes in 0.013 seconds Program Start[10-29-2008 16:09:10] Nagios 3.0.2 starting... (PID=1917) Program Restart[10-29-2008 16:09:10] Caught SIGHUP, restarting... Host Down[10-29-2008 16:05:48] HOST ALERT: TEST-01;DOWN;HARD;10;(Host Check Timed Out) Host Down[10-29-2008 16:04:18] HOST ALERT: TEST-01;DOWN;SOFT;9;(Host Check Timed Out) Host Down[10-29-2008 16:02:38] HOST ALERT: TEST-01;DOWN;SOFT;8;(Host Check Timed Out) Host Down[10-29-2008 16:00:58] HOST ALERT: TEST-01;DOWN;SOFT;7;(Host Check Timed Out) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robby.kahlon at cubic.com Thu Oct 30 06:34:00 2008 From: robby.kahlon at cubic.com (Kahlon, Robby) Date: Wed, 29 Oct 2008 22:34:00 -0700 Subject: Unable to create Service Groups Message-ID: <28919A12B5A1504CB3599372AA286FC6025B019F@bb-cts-ex1.cts.cubic.cub> Hi All, I am a newbie using Nagios 2.0 and it works fine. I monitor services/hosts and use Nagios QL to configure Nagios. I can create Host Groups to group the hosts which I am monitoring but can't create Service Groups for some reason. I have grouped two services in a group using NagiosQL but Nagios doesn't show this Service Group. Any suggestions? Thanks, Robby -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Oct 30 07:36:09 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 30 Oct 2008 07:36:09 +0100 Subject: Unable to create Service Groups In-Reply-To: <28919A12B5A1504CB3599372AA286FC6025B019F@bb-cts-ex1.cts.cubic.cub> References: <28919A12B5A1504CB3599372AA286FC6025B019F@bb-cts-ex1.cts.cubic.cub> Message-ID: <490955D9.2020204@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kahlon, Robby wrote: > Hi All, > > I am a newbie using Nagios 2.0 and it works fine. I monitor > services/hosts and use Nagios QL to configure Nagios. > I can create Host Groups to group the hosts which I am monitoring but > can?t create Service Groups for some reason. I have grouped two services > in a group using NagiosQL but Nagios doesn?t show this Service Group. What does the config file look like for these services and the service group? Did you reload the config into Nagios after the change? Any warnings at that time? Hugo - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJCVXVBvzDRVjxmYERAkDaAJ9wOvIF4c25oOQa/bHKB2KtyBcIagCcDTzI sSlYaGCcAnp0g41y7dPEiiM= =/fU4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steffen.Rachel at bartec.de Thu Oct 30 07:44:36 2008 From: Steffen.Rachel at bartec.de (Rachel Steffen) Date: Thu, 30 Oct 2008 07:44:36 +0100 Subject: Notification failed - Problems with sending emails In-Reply-To: <4908B807.9080807@stoupakis.de> References: <4908B807.9080807@stoupakis.de> Message-ID: <847C8B990A3CFB468591F5F5214C24D1ABAFC8@mgh-ex01.bartec.lan> Hi, "Last Notification: Thu Jan 1 01:00:00 1970" Hmm, check your time settings and synchronize it with an open ntp Server by cronjob. Regards Steffen ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Thu Oct 30 09:02:15 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 30 Oct 2008 17:02:15 +0900 Subject: [ Help ! ] When does the host recovery occurs ? Message-ID: <200810300802.AA02816@S2005110.jp.fujitsu.com> Hello all, I have some trouble with the host check. I assume that the host check occurs in the following situation. (I left the noramal check interval value blank) 1. All the service check fails 2. Host Check starts. It stops whenever the number of checks reaches the max check attempts or the status turns OK during the check. While the host check service checks are silenced. 3. Nagios restarts the service checks So when does nagios restarts the host checks to recver the status ? Best Regards, Yu Watanabe ************************************************************ FUJITSU SOCIAL SCIENCE LABORATORY LIMITED(FUJITSU SSL) System Infrastructure Development Department Telecom Systems Business Group 2 Yu Watanabe E-Mail :?yu.watanabe at jp.fujitsu.com Phone : 044-739-1427 +5283 / 7166-5283 ************************************************************ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sotiroff.Kristian at mtvne.com Thu Oct 30 09:23:18 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Thu, 30 Oct 2008 08:23:18 -0000 Subject: Unable to create Service Groups In-Reply-To: <490955D9.2020204@vanderkooij.org> References: <28919A12B5A1504CB3599372AA286FC6025B019F@bb-cts-ex1.cts.cubic.cub> <490955D9.2020204@vanderkooij.org> Message-ID: -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: 30 October 2008 06:36 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Unable to create Service Groups -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kahlon, Robby wrote: > Hi All, > > I am a newbie using Nagios 2.0 and it works fine. I monitor > services/hosts and use Nagios QL to configure Nagios. > I can create Host Groups to group the hosts which I am monitoring but > can't create Service Groups for some reason. I have grouped two > services in a group using NagiosQL but Nagios doesn't show this Service Group. What does the config file look like for these services and the service group? Did you reload the config into Nagios after the change? Any warnings at that time? Hugo You might also want to check that you have the servicegroup.cfg file (or whatever you have called it) either in a directory referenced by 'cfg_dir' or directly called in by your nagios.cfg file. I would think nagiosQL would do that for you, but a quick test would be to manualyl edit the servicegroup file and deliberately put an error in it. If it barfs up an error, then you can be sure its reading the file in k CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Thu Oct 30 09:35:37 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 30 Oct 2008 08:35:37 -0000 Subject: Advanced authentication References: Message-ID: > applications. Once they're logged in there, we would pass their username > over to Nagios via URL querystring or hidden form value, etc (not going for > maximum security). Indeed not, anyone who wants can pretend to be anyone else. Still, if it's an internal intranet, and you capture the IP addresses, you can find out whodunit > On the Nagios server we would use PHP to populate the > REMOTE_USER Apache ENV variable with the passed username so that Nagios can > compare that to the contacts and provide them with their applicable views. I'm afraid you can't do that. You would set the REMOTE_USER (or any other env) for the scope of that PHP page ONLY. One option would be to edit all the nagios CGIs to look for the username in the query string, and set the variable at the top of the CGI (in main). Or replace all instances of ENV.REMOTE_USER with a function which Another option might be to execute the cgi's from a PHP page which pre-sets the username. You could use mod_rewrite to rewrite *.cgi to "nagportal.php?cgi=*.cgi". In both cases you would have to maintain the username throughout the session. If you edit all the links in nagios on the fly to pass in a new username, (change status.cgi to status.cgi?username=bob), you would have a problem with people emailing links to others. One option for this would be to use PHP's session capabilities to store the username. You would set a cookie with the username in and read it on each call. That would work with both the php and the editing-the-cgi way. Both of those solutions are a fair amount of effort. A final solution could be using the apache module "SetEnvIf". Something like SetEnvIf "Cookies:.*loginname=(username);.*" REMOTE_USER=\1 But I don't think SetEnvIf will let you do that. What you're trying to do isn't that easy, as it goes against normal authentication practices. > Is it necessary to modify the Nagios/cgi config in any way to achieve what > we're doing? Perhaps > Is is necessary to modify the Apache config? Perhaps > Is is necessary to set any other ENV variables besides REMOTE_USER? No -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Thu Oct 30 10:27:45 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 30 Oct 2008 09:27:45 +0000 Subject: Notification Timing Problem In-Reply-To: References: Message-ID: <200810300927.45422.assaf.flatto@ssp.uk.com> How did you configure the nagios to send the emails? is the nagios relaying via a different mail server or is a mail server running on the same machine ? Also the pager - how are you sending the notifications ? external service or in house ? On Wednesday 29 October 2008 22:11:55 MJK Nagios wrote: > Hello, > > I seem to be having a rather difficult time getting notifications to > work the way that I would like. I'm using a test host to have Nagios > generate alerts when I take it offline. Nagios detects and sends > notifications for the host coming back on-line very quickly. What I'm > doing in order to test my config is to then simulate that the host > fails again in a few minutes. The problem I'm seeing is that it takes > Nagios 15-20 minutes to send a notification that the host is again > down. This would be useless to me in a production environment; if the > host drops again -- I need to know about it immediately. > > OK, I've been through the docs and have checked everything that seems > to make sense in order to figure out this issue -- with no success. > I'm running Nagios 3.0.2. Please see some output I've included below > to see the time lag between when Nagios notices the host is down again > and when it sends the notification. > > Thanks! > > -Matt > > --------------------------------------------------------------------------- >--- > > > Here's my notification entries while testing: > --------------------------------------------------------------------------- >--- Host Service Type Time Contact Notification Command Information > TEST-01 N/A HOST UP 10-29-2008 17:04:05 NOC notify-host-by-email PING > OK - Packet loss = 73%, RTA = 0.70 ms > TEST-01 N/A HOST UP 10-29-2008 17:04:05 NOC notify-host-by-pager > PING OK - Packet loss = 73%, RTA = 0.70 ms > TEST-01 N/A HOST UP 10-29-2008 17:04:05 support > notify-host-by-email PING OK - Packet loss = 73%, RTA = 0.70 ms > TEST-01 N/A HOST UP 10-29-2008 17:04:05 support > notify-host-by-pager PING OK - Packet loss = 73%, RTA = 0.70 ms > TEST-01 N/A HOST DOWN 10-29-2008 17:03:25 NOC > notify-host-by-email (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 17:03:25 NOC > notify-host-by-pager (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 17:03:25 support > notify-host-by-email (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 17:03:25 support > notify-host-by-pager (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 16:58:05 NOC > notify-host-by-email (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 16:58:05 NOC > notify-host-by-pager (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 16:58:05 support > notify-host-by-email (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 16:58:05 support > notify-host-by-pager (Host Check Timed Out) > TEST-01 N/A HOST UP 10-29-2008 16:40:10 NOC notify-host-by-email > PING OK - Packet loss = 0%, RTA = 4.47 ms > TEST-01 N/A HOST UP 10-29-2008 16:40:10 NOC notify-host-by-pager > PING OK - Packet loss = 0%, RTA = 4.47 ms > TEST-01 N/A HOST UP 10-29-2008 16:40:10 support > notify-host-by-email PING OK - Packet loss = 0%, RTA = 4.47 ms > TEST-01 N/A HOST UP 10-29-2008 16:40:10 support > notify-host-by-pager PING OK - Packet loss = 0%, RTA = 4.47 ms > TEST-01 N/A HOST DOWN 10-29-2008 16:27:40 NOC > notify-host-by-email (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 16:27:40 NOC > notify-host-by-pager (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 16:27:40 support > notify-host-by-email (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 16:27:40 support > notify-host-by-pager (Host Check Timed Out) > TEST-01 N/A HOST UP 10-29-2008 16:10:20 NOC notify-host-by-email > PING OK - Packet loss = 0%, RTA = 0.45 ms > TEST-01 N/A HOST UP 10-29-2008 16:10:20 NOC notify-host-by-pager > PING OK - Packet loss = 0%, RTA = 0.45 ms > TEST-01 N/A HOST UP 10-29-2008 16:10:20 support > notify-host-by-email PING OK - Packet loss = 0%, RTA = 0.45 ms > TEST-01 N/A HOST UP 10-29-2008 16:10:20 support > notify-host-by-pager PING OK - Packet loss = 0%, RTA = 0.45 ms > TEST-01 N/A HOST DOWN 10-29-2008 16:05:48 NOC > notify-host-by-email (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 16:05:48 NOC > notify-host-by-pager (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 16:05:48 support > notify-host-by-email (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 16:05:48 support > notify-host-by-pager (Host Check Timed Out) > TEST-01 N/A HOST UP 10-29-2008 15:44:19 NOC notify-host-by-email > PING OK - Packet loss = 0%, RTA = 0.53 ms > TEST-01 N/A HOST UP 10-29-2008 15:44:19 support > notify-host-by-email PING OK - Packet loss = 0%, RTA = 0.53 ms > TEST-01 N/A HOST DOWN 10-29-2008 15:21:09 NOC > notify-host-by-email (Host Check Timed Out) > TEST-01 N/A HOST DOWN 10-29-2008 15:21:09 support > notify-host-by-email (Host Check Timed Out) > > And here's the host's history: > --------------------------------------------------------------------------- >--- October 29, 2008 17:00 > Program Start[10-29-2008 17:07:34] Nagios 3.0.2 starting... (PID=1917) > Program Restart[10-29-2008 17:07:34] Caught SIGHUP, restarting... > Service Ok[10-29-2008 17:04:25] SERVICE ALERT: > TEST-01;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.44 ms > Service Ok[10-29-2008 17:04:15] SERVICE ALERT: TEST-01;TFTP > Server;OK;HARD;1;TCP OK - 0.007 second response time on port 8099 > Service Ok[10-29-2008 17:04:15] SERVICE ALERT: > TEST-01;HTTP;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 403 bytes in 0.022 > seconds > Host Up[10-29-2008 17:04:05] HOST ALERT: TEST-01;UP;HARD;1;PING OK - > Packet loss = 73%, RTA = 0.70 ms > October 29, 2008 16:00 > Host Down[10-29-2008 16:58:05] HOST ALERT: TEST-01;DOWN;HARD;10;(Host > Check Timed Out) > Host Down[10-29-2008 16:56:25] HOST ALERT: TEST-01;DOWN;SOFT;9;(Host > Check Timed Out) > Host Down[10-29-2008 16:54:55] HOST ALERT: TEST-01;DOWN;SOFT;8;(Host > Check Timed Out) > Host Down[10-29-2008 16:53:15] HOST ALERT: TEST-01;DOWN;SOFT;7;(Host > Check Timed Out) > Host Down[10-29-2008 16:51:35] HOST ALERT: TEST-01;DOWN;SOFT;6;(Host > Check Timed Out) > Host Down[10-29-2008 16:49:55] HOST ALERT: TEST-01;DOWN;SOFT;5;(Host > Check Timed Out) > Host Down[10-29-2008 16:48:15] HOST ALERT: TEST-01;DOWN;SOFT;4;(Host > Check Timed Out) > Host Down[10-29-2008 16:46:45] HOST ALERT: TEST-01;DOWN;SOFT;3;(Host > Check Timed Out) > Host Down[10-29-2008 16:45:35] HOST ALERT: TEST-01;DOWN;SOFT;2;(Host > Check Timed Out) > Host Down[10-29-2008 16:45:05] HOST ALERT: TEST-01;DOWN;SOFT;2;(Host > Check Timed Out) > Program Start[10-29-2008 16:44:55] Nagios 3.0.2 starting... (PID=1917) > Program Restart[10-29-2008 16:44:55] Caught SIGHUP, restarting... > Host Down[10-29-2008 16:43:30] HOST ALERT: TEST-01;DOWN;SOFT;2;(Host > Check Timed Out) > Service Critical[10-29-2008 16:42:30] SERVICE ALERT: > TEST-01;PING;CRITICAL;HARD;1;PING CRITICAL - Packet loss = 100% > Service Critical[10-29-2008 16:42:20] SERVICE ALERT: TEST-01;TFTP > Server;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds > Service Critical[10-29-2008 16:42:20] SERVICE ALERT: > TEST-01;HTTP;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 > seconds > Host Down[10-29-2008 16:41:50] HOST ALERT: TEST-01;DOWN;SOFT;1;(Host > Check Timed Out) > Service Critical[10-29-2008 16:41:30] SERVICE ALERT: > TEST-01;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 100% > Service Critical[10-29-2008 16:41:20] SERVICE ALERT: TEST-01;TFTP > Server;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds > Service Critical[10-29-2008 16:41:20] SERVICE ALERT: > TEST-01;HTTP;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 > seconds > Service Ok[10-29-2008 16:40:20] SERVICE ALERT: > TEST-01;PING;OK;SOFT;1;PING OK - Packet loss = 0%, RTA = 0.56 ms > Service Ok[10-29-2008 16:40:10] SERVICE ALERT: TEST-01;TFTP > Server;OK;SOFT;1;TCP OK - 0.047 second response time on port 8099 > Service Ok[10-29-2008 16:40:10] SERVICE ALERT: > TEST-01;HTTP;OK;SOFT;1;HTTP OK HTTP/1.1 200 OK - 403 bytes in 0.034 > seconds > Host Up[10-29-2008 16:40:10] HOST ALERT: TEST-01;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 4.47 ms > Program Start[10-29-2008 16:39:40] Nagios 3.0.2 starting... (PID=1917) > Program Restart[10-29-2008 16:39:40] Caught SIGHUP, restarting... > Host Down[10-29-2008 16:27:40] HOST ALERT: TEST-01;DOWN;HARD;10;(Host > Check Timed Out) > Host Down[10-29-2008 16:26:00] HOST ALERT: TEST-01;DOWN;SOFT;9;(Host > Check Timed Out) > Host Down[10-29-2008 16:24:20] HOST ALERT: TEST-01;DOWN;SOFT;8;(Host > Check Timed Out) > Host Down[10-29-2008 16:22:40] HOST ALERT: TEST-01;DOWN;SOFT;7;(Host > Check Timed Out) > Host Down[10-29-2008 16:21:10] HOST ALERT: TEST-01;DOWN;SOFT;6;(Host > Check Timed Out) > Host Down[10-29-2008 16:19:30] HOST ALERT: TEST-01;DOWN;SOFT;5;(Host > Check Timed Out) > Host Down[10-29-2008 16:18:00] HOST ALERT: TEST-01;DOWN;SOFT;4;(Host > Check Timed Out) > Host Down[10-29-2008 16:16:20] HOST ALERT: TEST-01;DOWN;SOFT;3;(Host > Check Timed Out) > Host Down[10-29-2008 16:14:40] HOST ALERT: TEST-01;DOWN;SOFT;2;(Host > Check Timed Out) > Service Critical[10-29-2008 16:13:30] SERVICE ALERT: > TEST-01;PING;CRITICAL;HARD;1;PING CRITICAL - Packet loss = 100% > Service Critical[10-29-2008 16:13:20] SERVICE ALERT: TEST-01;TFTP > Server;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds > Service Critical[10-29-2008 16:13:20] SERVICE ALERT: > TEST-01;HTTP;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 > seconds > Host Down[10-29-2008 16:13:10] HOST ALERT: TEST-01;DOWN;SOFT;1;(Host > Check Timed Out) > Program Start[10-29-2008 16:12:10] Nagios 3.0.2 starting... (PID=1917) > Program Restart[10-29-2008 16:12:10] Caught SIGHUP, restarting... > Service Ok[10-29-2008 16:10:20] SERVICE ALERT: > TEST-01;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.43 ms > Host Up[10-29-2008 16:10:20] HOST ALERT: TEST-01;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 0.45 ms > Service Ok[10-29-2008 16:10:10] SERVICE ALERT: TEST-01;TFTP > Server;OK;HARD;1;TCP OK - 0.005 second response time on port 8099 > Service Ok[10-29-2008 16:10:10] SERVICE ALERT: > TEST-01;HTTP;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 403 bytes in 0.013 > seconds > Program Start[10-29-2008 16:09:10] Nagios 3.0.2 starting... (PID=1917) > Program Restart[10-29-2008 16:09:10] Caught SIGHUP, restarting... > Host Down[10-29-2008 16:05:48] HOST ALERT: TEST-01;DOWN;HARD;10;(Host > Check Timed Out) > Host Down[10-29-2008 16:04:18] HOST ALERT: TEST-01;DOWN;SOFT;9;(Host > Check Timed Out) > Host Down[10-29-2008 16:02:38] HOST ALERT: TEST-01;DOWN;SOFT;8;(Host > Check Timed Out) > Host Down[10-29-2008 16:00:58] HOST ALERT: TEST-01;DOWN;SOFT;7;(Host > Check Timed Out) > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Thu Oct 30 10:29:10 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Thu, 30 Oct 2008 10:29:10 +0100 Subject: Antwort: Notification Timing Problem In-Reply-To: References: Message-ID: "MJK Nagios" schrieb am 29.10.2008 23:11:55: > I seem to be having a rather difficult time getting notifications to > work the way that I would like. I'm using a test host to have Nagios > generate alerts when I take it offline. Nagios detects and sends > notifications for the host coming back on-line very quickly. What I'm > doing in order to test my config is to then simulate that the host > fails again in a few minutes. The problem I'm seeing is that it takes > Nagios 15-20 minutes to send a notification that the host is again > down. This would be useless to me in a production environment; if the > host drops again -- I need to know about it immediately. I can't really believe the 2 scenarios you are describing. You say the first simulated down comes immediatly and the next simulated down takes 15 minutes to notify... that can't be. Looking at the history you posted it seems quite obvious to me that you have defined 10 retries for the host. With a retry interval of roundabout 1 minute (which is sometimes delayed due to scheduler latency) you end up with 10-15 minutes until the host enters a HARD state and nagios generates a notification. Your setup is working exactly how you configurated it. If you need immediate notifications, reduce the retry_checks to 1. Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dani at tydnet.org Thu Oct 30 11:43:36 2008 From: dani at tydnet.org (Daniel =?utf-8?q?L=C3=B3pez?=) Date: Thu, 30 Oct 2008 11:43:36 +0100 Subject: host with multiple addresses and check_nrpe Message-ID: <200810301143.36972.dani@tydnet.org> Hi all, i've succesfully created a host with multiple addresses like this: define host{ use server-sistemes host_name Cluster-correu alias Sun Cluster Correu address host1,host2,host3 } and check_host_alive returns ok if host1 answers. This works as expected in http://www.nagios.org/faqs/viewfaq.php?faq_id=146 Now, check_nrpe doesn't take host1 as the $HOSTADDRESS$ but "host1,host2,host3". ** FRom faq_id=146 ** Nagios simply passes this address to plugins and external commands via the $HOSTADDRESS$ macro. You'll have to make sure that you host check command (and possibly service checks, etc.) can understand the format of your host's address in order to check it though. Does not check_nrpe handle correctly the list of addresses? What we want to achieve is executing some checks through nrpe in either of hosts 1,2 or 3 (whatever that is alive) but not on the three because the result will be the same. How could i handle this? greetings and thanks in advance, dani ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mangoo at wpkg.org Thu Oct 30 12:39:51 2008 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Thu, 30 Oct 2008 12:39:51 +0100 Subject: several separate status maps with one nagios process - possible? Message-ID: <49099D07.106@wpkg.org> Is it possible to set up the web interface so that it shows several *separate* status maps (i.e., in different browser windows on different displays)? My status map doesn't fit on one screen for some time now, and it's getting worse as I keep adding new hosts (more than 100 now). Playing with "Drawing Layers" include/exclude doesn't help, as the only thing it does is removing host text/icons from the map; still, the area occupied by the host is visible. What's worse, such inclusion/exclusion is gone as the status map autorefreshes. Is it somehow possible to set up several separate, persistent status maps? Or the only solution is to use multiple monitors, Xinerama and such to resize the status map window on several monitors (I'd prefer to have separate windows on separate monitors). -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 30 13:48:52 2008 From: marc at ena.com (Marc Powell) Date: Thu, 30 Oct 2008 07:48:52 -0500 Subject: Notification Timing Problem In-Reply-To: References: Message-ID: <4A65A79C-B38B-4198-A1F0-274F6E5E0806@ena.com> On Oct 29, 2008, at 5:11 PM, MJK Nagios wrote: > The problem I'm seeing is that it takes > Nagios 15-20 minutes to send a notification that the host is again > down. This would be useless to me in a production environment; if the > host drops again -- I need to know about it immediately. > October 29, 2008 16:00 > Host Down[10-29-2008 16:58:05] HOST ALERT: TEST-01;DOWN;HARD;10;(Host > Check Timed Out) I agree with Sascha, you've got your max_check_attempts (10?) and retry_check_interval (2?) set higher than you want them to be. 10x2 = 20 minutes before notification. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 30 13:54:56 2008 From: marc at ena.com (Marc Powell) Date: Thu, 30 Oct 2008 07:54:56 -0500 Subject: [ Help ! ] When does the host recovery occurs ? In-Reply-To: <200810300802.AA02816@S2005110.jp.fujitsu.com> References: <200810300802.AA02816@S2005110.jp.fujitsu.com> Message-ID: <044FED47-86B4-424F-A925-7D892193A0F4@ena.com> On Oct 30, 2008, at 3:02 AM, Yu Watanabe wrote: > Hello all, > > I have some trouble with the host check. > > I assume that the host check occurs in the following situation. > (I left the noramal check interval value blank) Correct. > So when does nagios restarts the host checks to recver the status ? On demand -- http://nagios.sourceforge.net/docs/3_0/hostchecks.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 30 13:58:59 2008 From: marc at ena.com (Marc Powell) Date: Thu, 30 Oct 2008 07:58:59 -0500 Subject: Advanced authentication In-Reply-To: References: Message-ID: <9EF58F4C-67BA-42DF-8EEB-07AFB8E407D5@ena.com> On Oct 29, 2008, at 10:37 AM, Phillips, Dustin B (DBphillips) wrote: > > Thanks for the replies. > > Ultimately what we would like to do is authenticate the user via > another > website that we already use as a "single sign-on" portal for other web > applications. Once they're logged in there, we would pass their > username > over to Nagios via URL querystring or hidden form value, etc (not > going for > maximum security). On the Nagios server we would use PHP to > populate the > REMOTE_USER Apache ENV variable with the passed username so that > Nagios can > compare that to the contacts and provide them with their applicable > views. You can pass htaccess authentication as part of the URL but I don't know if it's sticky for links accessed from that page -- http://username:password at nagios.example.com I'm not aware of other methods to transparently pass it but they may exist. htaccess has been around for quite a long time. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 30 14:10:16 2008 From: marc at ena.com (Marc Powell) Date: Thu, 30 Oct 2008 08:10:16 -0500 Subject: host with multiple addresses and check_nrpe In-Reply-To: <200810301143.36972.dani@tydnet.org> References: <200810301143.36972.dani@tydnet.org> Message-ID: <7166D98D-069C-4772-B830-B3FBB7641731@ena.com> On Oct 30, 2008, at 5:43 AM, Daniel L?pez wrote: > > define host{ > use server-sistemes > host_name Cluster-correu > alias Sun Cluster Correu > address host1,host2,host3 > } > Does not check_nrpe handle correctly the list of addresses? No, it does not. Most of the standard nagios plugins wouldn't. They expect a single host address. > What we want to achieve is executing some checks through nrpe in > either of > hosts 1,2 or 3 (whatever that is alive) but not on the three because > the > result will be the same. > > How could i handle this? Write a wrapper plugin that accepts multiple host addresses, determines the 'aliveness' of host 1, 2 and 3, runs check_nrpe against the one you're interested in and returns the results, including exit code to nagios? -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dani at tydnet.org Thu Oct 30 14:27:24 2008 From: dani at tydnet.org (Daniel =?iso-8859-1?q?L=F3pez?=) Date: Thu, 30 Oct 2008 14:27:24 +0100 Subject: host with multiple addresses and check_nrpe In-Reply-To: <7166D98D-069C-4772-B830-B3FBB7641731@ena.com> References: <200810301143.36972.dani@tydnet.org> <7166D98D-069C-4772-B830-B3FBB7641731@ena.com> Message-ID: <200810301427.24957.dani@tydnet.org> On Thursday 30 October 2008 02:10:16 pm Marc Powell wrote: > > Does not check_nrpe handle correctly the list of addresses? > > No, it does not. Most of the standard nagios plugins wouldn't. They > expect a single host address. ooh, ok. > > How could i handle this? > > Write a wrapper plugin that accepts multiple host addresses, > determines the 'aliveness' of host 1, 2 and 3, runs check_nrpe against > the one you're interested in and returns the results, including exit > code to nagios? Ok, thanks a lot, Mark, it's a solution. I'll have to do that. > Marc Dani ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From novin.jaiswal at ishisystems.com Thu Oct 30 14:51:19 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Thu, 30 Oct 2008 09:51:19 -0400 Subject: How to Create Graph on Nagios WebInterface Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54DE@exchange.ishisystems.com> Hi Friends, Few days back only I have started working with Nagios. Its really amazing tool which is already setup by one of my x-colleague. We have a host deveserver1 which is been monitor by Nagios on a different machine using NRPE client. We are using Nagios Lo4j appender(client) to send some pegCount(how many times some one hit devserver1) via log4j message to Nagios for devserver1 for service PegCount. My Message format is : "hostname servicename pegcount" for e.g "devserver1 PegCount 10" The message are successfully reached on Nagios but I want to create Graph over the time period based on the these pegcount for deveserver1. In the current Graph for PegCount service it show have OK, warning, unknown ,critical on x-axis Instead of that I want the pegcount value sent by the client on x-axis to be shown. I have attached sample png file of current graph with this email. Please have a look. Thanks !!! Your help is appreciated. Thanks & Regards Novin Jaiswal 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: trends.cgi.png Type: image/png Size: 32399 bytes Desc: trends.cgi.png URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ojan at gfi.fr Thu Oct 30 14:57:14 2008 From: ojan at gfi.fr (Olivier JAN) Date: Thu, 30 Oct 2008 14:57:14 +0100 Subject: Advanced authentication In-Reply-To: <9EF58F4C-67BA-42DF-8EEB-07AFB8E407D5@ena.com> References: <9EF58F4C-67BA-42DF-8EEB-07AFB8E407D5@ena.com> Message-ID: <20081030145714.6f80a153400sgk8k@intra.expertise-online.net> I have achieved something like you describe with a Reverse Proxy SSO called Vulture NG (http://vulture.open-source.fr/wiki/). It works really well when you need to authenticate on differents nagios servers (like in a distributed setup). Maybe this can help you Olivier Jan Marc Powell a ?crit : > > On Oct 29, 2008, at 10:37 AM, Phillips, Dustin B (DBphillips) wrote: > >> >> Thanks for the replies. >> >> Ultimately what we would like to do is authenticate the user via >> another >> website that we already use as a "single sign-on" portal for other web >> applications. Once they're logged in there, we would pass their >> username >> over to Nagios via URL querystring or hidden form value, etc (not >> going for >> maximum security). On the Nagios server we would use PHP to >> populate the >> REMOTE_USER Apache ENV variable with the passed username so that >> Nagios can >> compare that to the contacts and provide them with their applicable >> views. > > > You can pass htaccess authentication as part of the URL but I don't > know if it's sticky for links accessed from that page -- > > http://username:password at nagios.example.com > > I'm not aware of other methods to transparently pass it but they may > exist. htaccess has been around for quite a long time. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 30 15:25:53 2008 From: marc at ena.com (Marc Powell) Date: Thu, 30 Oct 2008 09:25:53 -0500 Subject: How to Create Graph on Nagios WebInterface In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB54DE@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB54DE@exchange.ishisystems.com> Message-ID: On Oct 30, 2008, at 8:51 AM, Novin Jaiswal wrote: > My Message format is : ?hostname servicename pegcount? for e.g > ?devserver1 PegCount 10? > > The message are successfully reached on Nagios but I want to create > Graph over the time period based on the these pegcount for > deveserver1. > > In the current Graph for PegCount service it show have OK, warning, > unknown ,critical on x-axis Instead of that I want the pegcount > value sent by the client on x-axis to be shown. > I have attached sample png file of current graph with this email. > Please have a look. This is all that nagios can display natively since the state is all it really cares about. I'm not familiar with Lo4j but if it can return the pegcount as performance data (http://nagios.sourceforge.net/docs/3_0/perfdata.html ), you can use something like PNP4Nagios or APAN to graph it. Those, and similar addons, can be found at http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Utilities%2FAddOn_Projects%2FCharts%2Findex.html;d=1 . -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Thu Oct 30 15:50:37 2008 From: challenger_joseph at yahoo.com.mx (=?iso-8859-1?Q?Christian_I=F1iguez?=) Date: Thu, 30 Oct 2008 07:50:37 -0700 (PDT) Subject: Nagios Graphs Message-ID: <597559.61054.qm@web36507.mail.mud.yahoo.com> Hi all Does anybody could help me to make graphics with n2rrd?? What I need are templates for check_disk, check_mem, etc.. I hope you can help me!! Thanks in advance Saludos / Best Regards Jose Christian Iniguez Bonilla ?Todo sobre Amor y Sexo! La gu?a completa para tu vida en Mujer de Hoy. http://mx.mujer.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mjknagios at mjk.org Thu Oct 30 15:52:48 2008 From: mjknagios at mjk.org (Matt) Date: Thu, 30 Oct 2008 09:52:48 -0500 Subject: Notification Timing Problem In-Reply-To: <4A65A79C-B38B-4198-A1F0-274F6E5E0806@ena.com> References: <4A65A79C-B38B-4198-A1F0-274F6E5E0806@ena.com> Message-ID: On Thu, Oct 30, 2008 at 7:48 AM, Marc Powell wrote: > > On Oct 29, 2008, at 5:11 PM, MJK Nagios wrote: > >> The problem I'm seeing is that it takes >> Nagios 15-20 minutes to send a notification that the host is again >> down. This would be useless to me in a production environment; if the >> host drops again -- I need to know about it immediately. > > >> October 29, 2008 16:00 >> Host Down[10-29-2008 16:58:05] HOST ALERT: TEST-01;DOWN;HARD;10;(Host >> Check Timed Out) > > I agree with Sascha, you've got your max_check_attempts (10?) and > retry_check_interval (2?) set higher than you want them to be. 10x2 = > 20 minutes before notification. > > -- > Marc Hi all, My settngs were: max_check_attempts = 10 retry_check_interval = 1. I've changed my max_check_attempts to 1 as well, and that seems to have fixed everything up. I figured it was something simple. Assaf: I'm sending the mails from the local mailserver. The pages are also going out via email to our service provider. Thanks for everyone's help! -Matt ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmpereira83 at yahoo.com Thu Oct 30 16:55:39 2008 From: jmpereira83 at yahoo.com (joshua pereira) Date: Thu, 30 Oct 2008 08:55:39 -0700 (PDT) Subject: (no subject) Message-ID: <62336.15120.qm@web53009.mail.re2.yahoo.com> dear all, ? First i would like to appolagize if this is a repeated ques.?Im a beginer at nagios and linux for that matter. I have a question on how to setup the notification via email for nagios. Im using nagios 3.03 on ubuntu 7.04. ? Since i already have an exchange server and have already allow relay access to that server from my nagios machine, can some wan guide me on how to configure the notification using sendmail. ? Any help would be much apreciated ? regards Get your new Email address! Grab the Email name you've always wanted before someone else does! http://mail.promotions.yahoo.com/newdomains/aa/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Thu Oct 30 17:16:21 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 30 Oct 2008 12:16:21 -0400 Subject: (no subject) Message-ID: I've got the same setup using postfix (glorified snedmail) that I use here. I think I even have documentation lying around somewhere. It's trivially easy to set up the mta. You then just point your notification command to the proper executable (probably usr/bin/sendmail in your case. ------Original Message------ From: joshua pereira To: Nagios-Users Sent: Oct 30, 2008 11:55 AM Subject: [Nagios-users] (no subject) dear all, First i would like to appolagize if this is a repeated ques. Im a beginer at nagios and linux for that matter. I have a question on how to setup the notification via email for nagios. Im using nagios 3.03 on ubuntu 7.04. Since i already have an exchange server and have already allow relay access to that server from my nagios machine, can some wan guide me on how to configure the notification using sendmail. Any help would be much apreciated regards ________________________________ New Email names for you! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ojan at gfi.fr Thu Oct 30 17:26:05 2008 From: ojan at gfi.fr (Olivier JAN) Date: Thu, 30 Oct 2008 17:26:05 +0100 Subject: (no subject) In-Reply-To: <62336.15120.qm@web53009.mail.re2.yahoo.com> References: <62336.15120.qm@web53009.mail.re2.yahoo.com> Message-ID: <20081030172605.6ybza57yskokkgoo@intra.expertise-online.net> Joshua, You have to configure the MTA on the nagios box to send the notifications to your exchange server. There's nothing to do in Nagios except having a mail command available to the notification script (mailx on ubuntu). Olivier JAN joshua pereira a ?crit : > dear all, > ? > First i would like to appolagize if this is a repeated ques.?Im a > beginer at nagios and linux for that matter. I have a question on > how to setup the notification via email for nagios. Im using nagios > 3.03 on ubuntu 7.04. > ? > Since i already have an exchange server and have already allow relay > access to that server from my nagios machine, can some wan guide me > on how to configure the notification using sendmail. > ? > Any help would be much apreciated > ? > regards > > > Get your new Email address! > Grab the Email name you've always wanted before someone else does! > http://mail.promotions.yahoo.com/newdomains/aa/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blynch at ameliaschools.com Thu Oct 30 19:18:29 2008 From: blynch at ameliaschools.com (Bo Lynch) Date: Thu, 30 Oct 2008 14:18:29 -0400 (EDT) Subject: Plugin Trouble Message-ID: <58991.65.161.127.93.1225390709.squirrel@ameliaschools.com> I am trying to use the check_snmp_printer plugin to monitor a few printers on the network. I am able to use it via the bash shell with ./check_snmp_printer 192.168.x.x public CONSUM ALL. However when I define it in objects/commands.cfg and make a .cfg file for a printer I get a "usage is: " in nagios Here is how I have defined the command in commands.cfg # 'check_snmp_printer' command definition define command{ command_name check_snmp_printer command_line $USER1$/check_snmp_printer $HOSTADDRESS$ $ARG1$ $ARG2$ } I'm thinking its something with the way I have it defined. Any input would be greatly appreciated. Thanks -- Bo Lynch ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 30 19:45:22 2008 From: marc at ena.com (Marc Powell) Date: Thu, 30 Oct 2008 13:45:22 -0500 Subject: Plugin Trouble In-Reply-To: <58991.65.161.127.93.1225390709.squirrel@ameliaschools.com> References: <58991.65.161.127.93.1225390709.squirrel@ameliaschools.com> Message-ID: On Oct 30, 2008, at 1:18 PM, Bo Lynch wrote: > I am trying to use the check_snmp_printer plugin to monitor a few > printers > on the network. I am able to use it via the bash shell with > ./check_snmp_printer 192.168.x.x public CONSUM ALL. However when I > define > it in objects/commands.cfg and make a .cfg file for a printer I get a > "usage is: " in nagios > > Here is how I have defined the command in commands.cfg > # 'check_snmp_printer' command definition > define command{ > command_name check_snmp_printer > command_line $USER1$/check_snmp_printer $HOSTADDRESS$ $ARG1$ > $ARG2$ > } How do you have the service definition set up? Based on the command definition above and your test, the check_command should be something like 'check_snmp_printer!public!CONSUM ALL'. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Thu Oct 30 20:19:03 2008 From: Charles.Breite at altertrading.com (Charles Breite) Date: Thu, 30 Oct 2008 14:19:03 -0500 Subject: Plugin Trouble In-Reply-To: <58991.65.161.127.93.1225390709.squirrel@ameliaschools.com> References: <58991.65.161.127.93.1225390709.squirrel@ameliaschools.com> Message-ID: <5D490E0402B4D14F836B5C4436D5949A43DA7B@VMEXCHANGE2.alterscrap.com> It looks like you need the -C for the community Here is an example of mine $USER1$/check_snmp_int -2 -i -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ -----Original Message----- From: Bo Lynch [mailto:blynch at ameliaschools.com] Sent: Thursday, October 30, 2008 1:18 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin Trouble I am trying to use the check_snmp_printer plugin to monitor a few printers on the network. I am able to use it via the bash shell with ./check_snmp_printer 192.168.x.x public CONSUM ALL. However when I define it in objects/commands.cfg and make a .cfg file for a printer I get a "usage is: " in nagios Here is how I have defined the command in commands.cfg # 'check_snmp_printer' command definition define command{ command_name check_snmp_printer command_line $USER1$/check_snmp_printer $HOSTADDRESS$ $ARG1$ $ARG2$ } I'm thinking its something with the way I have it defined. Any input would be greatly appreciated. Thanks -- Bo Lynch ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 30 20:22:00 2008 From: marc at ena.com (Marc Powell) Date: Thu, 30 Oct 2008 14:22:00 -0500 Subject: Plugin Trouble In-Reply-To: <33167.65.161.127.93.1225392952.squirrel@ameliaschools.com> References: <58991.65.161.127.93.1225390709.squirrel@ameliaschools.com> <33167.65.161.127.93.1225392952.squirrel@ameliaschools.com> Message-ID: Please always respond on list so that others, now and in the future, learn from your experience. More below... On Oct 30, 2008, at 1:55 PM, Bo Lynch wrote: > On Thu, October 30, 2008 2:45 pm, Marc Powell wrote: >> >> On Oct 30, 2008, at 1:18 PM, Bo Lynch wrote: >>> command_line $USER1$/check_snmp_printer $HOSTADDRESS$ >>> $ARG1$ >>> $ARG2$ >>> } >> >> How do you have the service definition set up? Based on the command >> definition above and your test, the check_command should be something >> like 'check_snmp_printer!public!CONSUM ALL'. >> > Service def..... > define service{ > use generic-service > host_name ACHS Lounge > service_description Printer Status > check_command > check_snmp_printer!192.168.1.238!public!COMSUM ALL See the documentation for Command Argument Macros at http://nagios.sourceforge.net/docs/3_0/macros.html and the rest of the macro documentation in general. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blynch at ameliaschools.com Thu Oct 30 20:35:54 2008 From: blynch at ameliaschools.com (Bo Lynch) Date: Thu, 30 Oct 2008 15:35:54 -0400 (EDT) Subject: Plugin Trouble In-Reply-To: References: <58991.65.161.127.93.1225390709.squirrel@ameliaschools.com> <33167.65.161.127.93.1225392952.squirrel@ameliaschools.com> Message-ID: <59008.65.161.127.93.1225395354.squirrel@ameliaschools.com> On Thu, October 30, 2008 3:22 pm, Marc Powell wrote: > Please always respond on list so that others, now and in the future, > learn from your experience. More below... > > On Oct 30, 2008, at 1:55 PM, Bo Lynch wrote: > >> On Thu, October 30, 2008 2:45 pm, Marc Powell wrote: >>> >>> On Oct 30, 2008, at 1:18 PM, Bo Lynch wrote: > >>>> command_line $USER1$/check_snmp_printer $HOSTADDRESS$ >>>> $ARG1$ >>>> $ARG2$ >>>> } >>> >>> How do you have the service definition set up? Based on the command >>> definition above and your test, the check_command should be something >>> like 'check_snmp_printer!public!CONSUM ALL'. >>> > >> Service def..... >> define service{ >> use generic-service >> host_name ACHS Lounge >> service_description Printer Status >> check_command >> check_snmp_printer!192.168.1.238!public!COMSUM ALL > > See the documentation for Command Argument Macros at > http://nagios.sourceforge.net/docs/3_0/macros.html > and the rest of the macro documentation in general. > > -- > Marc I apologize, usaually it does this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blynch at ameliaschools.com Thu Oct 30 20:36:31 2008 From: blynch at ameliaschools.com (Bo Lynch) Date: Thu, 30 Oct 2008 15:36:31 -0400 (EDT) Subject: Plugin Trouble Message-ID: <59022.65.161.127.93.1225395391.squirrel@ameliaschools.com> On Thu, October 30, 2008 3:19 pm, Charles Breite wrote: > It looks like you need the -C for the community > Here is an example of mine > $USER1$/check_snmp_int -2 -i -H $HOSTADDRESS$ -C $ARG1$ -n > $ARG2$ > > > -----Original Message----- > From: Bo Lynch [mailto:blynch at ameliaschools.com] > Sent: Thursday, October 30, 2008 1:18 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugin Trouble > > I am trying to use the check_snmp_printer plugin to monitor a few printers > on the network. I am able to use it via the bash shell with > ./check_snmp_printer 192.168.x.x public CONSUM ALL. However when I define > it in objects/commands.cfg and make a .cfg file for a printer I get a "usage is: " in nagios > > Here is how I have defined the command in commands.cfg > # 'check_snmp_printer' command definition > define command{ > command_name check_snmp_printer > command_line $USER1$/check_snmp_printer $HOSTADDRESS$ $ARG1$ > $ARG2$ > } > I'm thinking its something with the way I have it defined. Any input would > be greatly appreciated. > Thanks > -- > Bo Lynch > Thanks for the info. I am using the bash version of the script not the perl version so it takes no swicthes like -C -H and such. I did however manage to figure it out. command.cfg = # 'check_snmp_printer' command definition define command{ command_name check_snmp_printer command_line $USER1$/check_snmp_printer $ARG1$ $ARG2$ $ARG3$ } service def....... define service{ use generic-service host_name ACHS Lounge service_description Printer Consumables check_command check_snmp_printer!192.168.1.238!public!CONSUM ALL normal_check_interval 10 retry_check_interval 1 } Thanks everybody. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From novin.jaiswal at ishisystems.com Fri Oct 31 00:04:19 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Thu, 30 Oct 2008 19:04:19 -0400 Subject: How to Create Graph on Nagios WebInterface Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54E4@exchange.ishisystems.com> Hi thanks for the reply. When I hit http://stage5/nagios it shows different trends/graphs and configuration setting of nagios using apache. I found sbin folder under nagios folder where it is installed it. In sbin folder there are 18 different cgi files. Using these file the nagios web interface is generating the Graphs. I want to change these graphs is there any way possible. In the current Graph for PegCount service it show have OK, warning, unknown ,critical on x-axis Instead of that I want the pegcount value sent by the client on x-axis to be shown. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, October 30, 2008 10:26 AM To: nagios-user Mailinglist Subject: Re: [Nagios-users] How to Create Graph on Nagios WebInterface On Oct 30, 2008, at 8:51 AM, Novin Jaiswal wrote: > My Message format is : "hostname servicename pegcount" for e.g > "devserver1 PegCount 10" > > The message are successfully reached on Nagios but I want to create > Graph over the time period based on the these pegcount for > deveserver1. > > In the current Graph for PegCount service it show have OK, warning, > unknown ,critical on x-axis Instead of that I want the pegcount > value sent by the client on x-axis to be shown. > I have attached sample png file of current graph with this email. > Please have a look. This is all that nagios can display natively since the state is all it really cares about. I'm not familiar with Lo4j but if it can return the pegcount as performance data (http://nagios.sourceforge.net/docs/3_0/perfdata.html ), you can use something like PNP4Nagios or APAN to graph it. Those, and similar addons, can be found at http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Utilities%2FAddOn_Proje cts%2FCharts%2Findex.html;d=1 . -- Marc ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Fri Oct 31 02:26:36 2008 From: ian at acces.co.jp (Ian Masters) Date: Fri, 31 Oct 2008 10:26:36 +0900 Subject: Host checks after a change in service state Message-ID: <490A5ECC.2070205@acces.co.jp> Hello, I have check_interval option in several of my host definitions to zero. If there is a change of state in 1 of the services on 1 of those hosts (e.g. the HTTP service goes down/comes back up), will Nagios check the host's status automatically or does that check have to be run manually? I read http://nagios.sourceforge.net/docs/3_0/hostchecks.html but I'm still not sure. "On-demand checks are made when a service associated with the host changes state because Nagios needs to know whether the host has also changed state." The above sentence seems to be saying that Nagios *does* automatically check the host after the service state changes. I tried to test this yesterday and it seems that Nagios did not check the host after it's service state changed. Am I misunderstanding the documentation or are my settings lacking something? Thanks Ian Masters -- Nagios 3.0.3 (with plugins v1.4.13) on CentOS 5.2 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Oct 31 07:42:11 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 31 Oct 2008 07:42:11 +0100 Subject: How to Create Graph on Nagios WebInterface In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB54E4@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB54E4@exchange.ishisystems.com> Message-ID: <490AA8C3.8090701@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Novin Jaiswal wrote: > When I hit http://stage5/nagios it shows different trends/graphs and > configuration setting of nagios using apache. ... > In the current Graph for PegCount service it show have OK, warning, > unknown ,critical on x-axis Instead of that I want the pegcount value > sent by the client on x-axis to be shown. It would require a major rewrite of Nagios. It seems you do not yet fully see what Nagios is about. It is all about availabilit. Either use cacti or any similar graphing tool if you want to graph performance counters and such thinks. Or add the performace monitor graphs with an addon tool like nagiosgraph to nagios. You are free to do a major rewrite f Nagios but it wil propably take you years to finish. Hugo - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJCqjBBvzDRVjxmYERAoLhAJ9CMjY0y2t1xoezvCQbV/go+7L/CwCeI3Sq saZTIvQsywFcUjhniLSeZw4= =ylzC -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bertignac at gmail.com Fri Oct 31 11:10:01 2008 From: bertignac at gmail.com (L B) Date: Fri, 31 Oct 2008 11:10:01 +0100 Subject: checkhostalive vs ping service Message-ID: Hello all, What is the difference between checking a host is alive with a check in the host template (check_command check-host-alive), and creating a ping service applied to the host ? I did a test with both configurations, and didn't see a different behavior. I thought it was a question of dependencies: if a service fails, a host check is done to check if the host is up. But if one of the services (ping or another) fails, a host check is done anyway even if my host checks are disabled (check_interval 0), (that's a correct behavior for me) My configuration doesn't have host checks because it was imported from Nagios 2.x, and disabling host checks was an optimization setting I've read somewhere (I also read that it's not necessary anymore with nagios 3) . Now I'm running Nagios 3, so I'm wondering if it would make sense to disable the ping service checks and do it as a host check. Why should I do /don't do this ? Thanks! -- L.B. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 31 13:29:41 2008 From: marc at ena.com (Marc Powell) Date: Fri, 31 Oct 2008 07:29:41 -0500 Subject: checkhostalive vs ping service In-Reply-To: References: Message-ID: <40D2924D-81F3-41DF-AD43-DB9D24E7A74F@ena.com> On Oct 31, 2008, at 5:10 AM, L B wrote: > Hello all, > > What is the difference between checking a host is alive with a check > in the host template (check_command check-host-alive), and creating a > ping service applied to the host ? If the host check returns a non-OK state, notifications for services on that host are suppressed. If the host is specified as a parent to another host that is also unavailable, the second host is put in an UNREACHABLE state as opposed to a DOWN state. > I did a test with both configurations, and didn't see a different > behavior. > > I thought it was a question of dependencies: if a service fails, a > host check is done to check if the host is up. But if one of the > services (ping or another) fails, a host check is done anyway even if > my host checks are disabled (check_interval 0), (that's a correct > behavior for me) Yes. Using check_interval 0 disables regularly scheduled host checks. They'll still be checked on an as-needed basis unless you change the check_period, disable active checks or do not specify a check_command (I don't do host checks by using all three of these methods). > My configuration doesn't have host checks because it was imported > from Nagios 2.x, and disabling host checks was an optimization setting Same here. > I've read somewhere (I also read that it's not necessary anymore with > nagios 3) . Now I'm running Nagios 3, so I'm wondering if it would > make sense to disable the ping service checks and do it as a host > check. Why should I do /don't do this ? If you like the suppression of notifications for services on down hosts or would like to use the parenting/reachability logic, host checks would be necessary. I personally haven't decided if I will enable host checks. For the vast majority of our devices, we just ping them so it would be a redundant check and an additional object to Acknowledge when there's a problem. I would find them much more useful if the CGI's took advantage of the parenting with regard to Acks, etc... I'd like to be able to acknowledge a down host and have that same acknowledgement propagate down to it's services and to all it's child hosts and services but that's a different issue =) -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at frozenatom.com Fri Oct 31 14:26:55 2008 From: matt at frozenatom.com (Matt Nelson) Date: Fri, 31 Oct 2008 07:26:55 -0600 Subject: snmpget truncating return Message-ID: <148f6bb30810310626n10c1818ar9ece8c94c4b0449@mail.gmail.com> I have a process that I check for via SNMP. I am using the following: snmpget server1 -v2c -c public -t 10 .1.3.6.1.2.1.25.4.2.1.5.9691 which returns a string that is truncated: HOST-RESOURCES-MIB::hrSWRunParameters.9691 = STRING: "-Xms512m -Xmx1024m -Dcom.sun.management.jmxremote.port=xxxxx -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxre" Is there a limitation of snmp that I can change to return more of this string? Note: In all actuallity I run snmpwalk, and grep for what I am needing, since 9691 changes... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From novin.jaiswal at ishisystems.com Fri Oct 31 14:36:53 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Fri, 31 Oct 2008 09:36:53 -0400 Subject: How to Create Graph on Nagios WebInterface In-Reply-To: <490AA8C3.8090701@vanderkooij.org> References: <2BA70ED7C7275645B648362FB35913A901EB54E4@exchange.ishisystems.com> <490AA8C3.8090701@vanderkooij.org> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54E5@exchange.ishisystems.com> Hi Hugo, Thanks for you reply. Thanks for giving me hints. I will start looking into Cacti. I would like to volunteer for nagios future development. Thanks. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: Friday, October 31, 2008 2:42 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] How to Create Graph on Nagios WebInterface -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Novin Jaiswal wrote: > When I hit http://stage5/nagios it shows different trends/graphs and > configuration setting of nagios using apache. ... > In the current Graph for PegCount service it show have OK, warning, > unknown ,critical on x-axis Instead of that I want the pegcount value > sent by the client on x-axis to be shown. It would require a major rewrite of Nagios. It seems you do not yet fully see what Nagios is about. It is all about availabilit. Either use cacti or any similar graphing tool if you want to graph performance counters and such thinks. Or add the performace monitor graphs with an addon tool like nagiosgraph to nagios. You are free to do a major rewrite f Nagios but it wil propably take you years to finish. Hugo - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJCqjBBvzDRVjxmYERAoLhAJ9CMjY0y2t1xoezvCQbV/go+7L/CwCeI3Sq saZTIvQsywFcUjhniLSeZw4= =ylzC -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Fri Oct 31 15:06:28 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Fri, 31 Oct 2008 08:06:28 -0600 Subject: snmpget truncating return In-Reply-To: <148f6bb30810310626n10c1818ar9ece8c94c4b0449@mail.gmail.com> References: <148f6bb30810310626n10c1818ar9ece8c94c4b0449@mail.gmail.com> Message-ID: Looks like about 128 characters...that number seems meaningful, somehow :-) http://www.net-snmp.org/docs/mibs/host.html#hrSWRunTable ----------------- hrSWRunParameters OCTETSTR Legal Lengths: 0 .. 128 ------------------ ________________________________ From: Matt Nelson [mailto:matt at frozenatom.com] Sent: Friday, October 31, 2008 7:27 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] snmpget truncating return I have a process that I check for via SNMP. I am using the following: snmpget server1 -v2c -c public -t 10 .1.3.6.1.2.1.25.4.2.1.5.9691 which returns a string that is truncated: HOST-RESOURCES-MIB::hrSWRunParameters.9691 = STRING: "-Xms512m -Xmx1024m -Dcom.sun.management.jmxremote.port=xxxxx -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxre" Is there a limitation of snmp that I can change to return more of this string? Note: In all actuallity I run snmpwalk, and grep for what I am needing, since 9691 changes... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 31 15:16:42 2008 From: marc at ena.com (Marc Powell) Date: Fri, 31 Oct 2008 09:16:42 -0500 Subject: snmpget truncating return In-Reply-To: <148f6bb30810310626n10c1818ar9ece8c94c4b0449@mail.gmail.com> References: <148f6bb30810310626n10c1818ar9ece8c94c4b0449@mail.gmail.com> Message-ID: <5CF97D9A-0694-45F6-BD62-12FE6F0277E4@ena.com> On Oct 31, 2008, at 8:26 AM, Matt Nelson wrote: > I have a process that I check for via SNMP. I am using the following: > > snmpget server1 -v2c -c public -t 10 .1.3.6.1.2.1.25.4.2.1.5.9691 > > which returns a string that is truncated: > > HOST-RESOURCES-MIB::hrSWRunParameters.9691 = STRING: "-Xms512m - > Xmx1024m -Dcom.sun.management.jmxremote.port=xxxxx - > Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxre" > > > Is there a limitation of snmp that I can change to return more of > this string? You'll probably get a better answer from a more appropriate forum (i.e. one about SNMP) but if this is under Solaris, this seems to be a known issue according to these threads -- http://www.google.com/search?hl=en&client=safari&rls=en-us&q=hrSWRunParameters+snmp-coders&btnG=Search -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenneho.ndu at gmail.com Fri Oct 31 15:43:36 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Fri, 31 Oct 2008 15:43:36 +0100 Subject: Monitoring which user is running a service/process In-Reply-To: References: Message-ID: I got it working. Thanks for the tip. On 10/10/08, Aaron Segura wrote: > > Yes. Note the '-u' option. > > > > $ ./check_procs -h > > check_procs (nagios-plugins 1.4.2) 1.46 > > Copyright (c) 1999 Ethan Galstad Copyright (c) > 2000-2004 Nagios Plugin Development Team > > > > > > Checks all processes and generates WARNING or CRITICAL states if the > specified > > metric is outside the required threshold ranges. The metric defaults to > number > > of processes. Search filters can be applied to limit the processes to > check. > > > > Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] > > [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] > > [-C command] [-t timeout] [-v] > > > > Required Arguments: > > -w, --warning=RANGE > > Generate warning state if metric is outside this range > > -c, --critical=RANGE > > Generate critical state if metric is outside this range > > > > Optional Arguments: > > -m, --metric=TYPE > > Check thresholds against metric. Valid types: > > PROCS - number of processes (default) > > VSZ - virtual memory size > > RSS - resident set memory size > > CPU - percentage cpu > > ELAPSED - time elapsed in seconds > > -t, --timeout=INTEGER > > Seconds before connection times out (default: 10) > > -v, --verbose > > Extra information. Up to 3 verbosity levels > > > > Optional Filters: > > -s, --state=STATUSFLAGS > > Only scan for processes that have, in the output of `ps`, one or > > more of the status flags you specify (for example R, Z, S, RS, > > RSZDT, plus others based on the output of your 'ps' command). > > -p, --ppid=PPID > > Only scan for children of the parent process ID indicated. > > -z, --vsz=VSZ > > Only scan for processes with vsz higher than indicated. > > -r, --rss=RSS > > Only scan for processes with rss higher than indicated. > > -P, --pcpu=PCPU > > Only scan for processes with pcpu higher than indicated. > > -u, --user=USER > > Only scan for processes with user name or ID indicated. > > -a, --argument-array=STRING > > Only scan for processes with args that contain STRING. > > -C, --command=COMMAND > > Only scan for exact matches of COMMAND (without path). > > > > RANGEs are specified 'min:max' or 'min:' or ':max' (or 'max'). If > > specified 'max:min', a warning status will be generated if the > > count is inside the specified range > > > > This plugin checks the number of currently running processes and > > generates WARNING or CRITICAL states if the process count is outside > > the specified threshold ranges. The process count can be filtered by > > process owner, parent process PID, current state (e.g., 'Z'), or may > > be the total number of running processes > > > > Examples: > > check_procs -w 2:2 -c 2:1024 -C portsentry > > Warning if not two processes with command name portsentry. Critical > > if < 2 or > 1024 processes > > > > check_procs -w 10 -a '/usr/local/bin/perl' -u root > > Warning alert if > 10 processes with command arguments containing > > '/usr/local/bin/perl' and owned by root > > > > check_procs -w 50000 -c 100000 --metric=VSZ > > Alert if vsz of any processes over 50K or 100K > > check_procs -w 10 -c 20 --metric=CPU > > Alert if cpu of any processes over 10% or 20% > ------------------------------ > > *From:* Kenneth Holter [mailto:kenneho.ndu at gmail.com] > *Sent:* Friday, October 10, 2008 8:18 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Monitoring which user is running a > service/process > > > > Hello all. > > > > > > I have some processes that are meant to be run by user A, but are often > (for some human error reason) run by the root user. Is there a way to set up > Nagios to alert me whenever this happens? > > > > > > Regards, > > Kenneth Holter > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Fri Oct 31 15:50:25 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 31 Oct 2008 14:50:25 +0000 Subject: Invisible servers Message-ID: <200810311450.25528.assaf.flatto@ssp.uk.com> Hello I may be making fool out of myself here , but i tried of thinking of a solution for my problem and couldn't so i am bringing it to the list. My problem is - i have a list of about 950 units i am monitoring once a day between 5 -7 AM , with the understanding that some of the (about 50-60) will be down. After the test is done - we do not need to see them ( once the test is done a report is gathered and sent out and we don't use the information for the rest of the day) , but they "cluter" the display with all the CRITICAL errors they stay in. My question is as follow - is there a way to make the nagios preform the test but not display those units in the CGI ? We tried putting the in seperate cfg file and add them before the testing time start and remove them after testing is done , problem is due to this ,some of the units failed to actually be tested in the time period defined for this , so we dropped that way. I am using Nagios 2.12 on SLES 10.1 . -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bertignac at gmail.com Fri Oct 31 15:57:54 2008 From: bertignac at gmail.com (L B) Date: Fri, 31 Oct 2008 15:57:54 +0100 Subject: checkhostalive vs ping service In-Reply-To: <40D2924D-81F3-41DF-AD43-DB9D24E7A74F@ena.com> References: <40D2924D-81F3-41DF-AD43-DB9D24E7A74F@ena.com> Message-ID: Thanks Mark for your answers >> What is the difference between checking a host is alive with a check >> in the host template (check_command check-host-alive), and creating a >> ping service applied to the host ? > > If the host check returns a non-OK state, notifications for services > on that host are suppressed. If the host is specified as a parent to > another host that is also unavailable, the second host is put in an > UNREACHABLE state as opposed to a DOWN state. Hmm ok... > >> I've read somewhere (I also read that it's not necessary anymore with >> nagios 3) . Now I'm running Nagios 3, so I'm wondering if it would >> make sense to disable the ping service checks and do it as a host >> check. Why should I do /don't do this ? > > If you like the suppression of notifications for services on down > hosts or would like to use the parenting/reachability logic, host > checks would be necessary. I don't get notification of services unavailability even with hot check disabled, because Nagios does a host check directly after it find a service unavailable. > I personally haven't decided if I will enable host checks. For the > vast majority of our devices, we just ping them so it would be a > redundant check and an additional object to Acknowledge when there's a > problem. Not additional if you replace the ping check by the hostcheck Is the impact of enabling hostchecks vs ping service only a status of UNREACHABLE instead of DOWN for child hosts ? -- L.B. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 31 16:50:25 2008 From: marc at ena.com (Marc Powell) Date: Fri, 31 Oct 2008 10:50:25 -0500 Subject: Invisible servers In-Reply-To: <200810311450.25528.assaf.flatto@ssp.uk.com> References: <200810311450.25528.assaf.flatto@ssp.uk.com> Message-ID: <12CEE450-97B8-4E8F-89DC-C90B3C127F08@ena.com> On Oct 31, 2008, at 9:50 AM, Assaf Flatto wrote: > My problem is - i have a list of about 950 units i am monitoring > once a day between 5 -7 AM , with > the understanding that some of the (about 50-60) will be down. > > After the test is done - we do not need to see them ( once the test > is done a report is gathered and > sent out and we don't use the information for the rest of the day) , > but they "cluter" the display > with all the CRITICAL errors they stay in. > > My question is as follow - is there a way to make the nagios preform > the test but not display those > units in the CGI ? After the test is complete you could parse the status file or web page and submit an external OK check result perhaps... http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=114 -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dario.bestetti at opservices.com.br Fri Oct 31 16:52:39 2008 From: dario.bestetti at opservices.com.br (Dario B. Bestetti (OpServices)) Date: Fri, 31 Oct 2008 13:52:39 -0200 (BRST) Subject: OpMon.org Message-ID: <638022.21621225468359928.JavaMail.root@mail.opservices.com.br> As promised, we just published our opensource website with OpServices contributions to Nagios community. _________________________________________________ Dario B. Bestetti OpServices R. Luciana de Abreu, 471 - Sala 403 Porto Alegre, RS - CEP 90570-060 Fone 55(51)32753588 Mobile 55(51)81518218 Fax 55(51)32753588 Email dario.bestetti at opservices.com.br "In God we trust, the rest we monitor ..." _________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dario.bestetti at opservices.com.br Fri Oct 31 17:15:57 2008 From: dario.bestetti at opservices.com.br (Dario B. Bestetti (OpServices)) Date: Fri, 31 Oct 2008 14:15:57 -0200 (BRST) Subject: OpMon.org In-Reply-To: <638022.21621225468359928.JavaMail.root@mail.opservices.com.br> References: <638022.21621225468359928.JavaMail.root@mail.opservices.com.br> Message-ID: <4613553.22511225469757385.JavaMail.root@mail.opservices.com.br> Sorry, the website is http://www.opmon.org _________________________________________________ Dario B. Bestetti OpServices R. Luciana de Abreu, 471 - Sala 403 Porto Alegre, RS - CEP 90570-060 Fone 55(51)32753588 Mobile 55(51)81518218 Fax 55(51)32753588 Email dario.bestetti at opservices.com.br "In God we trust, the rest we monitor ..." _________________________________________________ ----- "Dario B. Bestetti (OpServices)" escreveu: > > As promised, we just published our opensource website with OpServices contributions to Nagios community. > > _________________________________________________ > Dario B. Bestetti OpServices > R. Luciana de Abreu, 471 - Sala 403 > Porto Alegre, RS - CEP 90570-060 > Fone 55(51)32753588 Mobile 55(51)81518218 > Fax 55(51)32753588 Email dario.bestetti at opservices.com.br > > "In God we trust, the rest we monitor ..." > _________________________________________________ > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 31 17:33:17 2008 From: marc at ena.com (Marc Powell) Date: Fri, 31 Oct 2008 11:33:17 -0500 Subject: checkhostalive vs ping service In-Reply-To: References: <40D2924D-81F3-41DF-AD43-DB9D24E7A74F@ena.com> Message-ID: <1ACC979F-FCCF-4695-BD01-64527563145D@ena.com> On Oct 31, 2008, at 9:57 AM, L B wrote: > Thanks Mark for your answers > >>> What is the difference between checking a host is alive with a check >>> in the host template (check_command check-host-alive), and >>> creating a >>> ping service applied to the host ? >> >> If the host check returns a non-OK state, notifications for services >> on that host are suppressed. If the host is specified as a parent to >> another host that is also unavailable, the second host is put in an >> UNREACHABLE state as opposed to a DOWN state. > > Hmm ok... >> If you like the suppression of notifications for services on down >> hosts or would like to use the parenting/reachability logic, host >> checks would be necessary. > > I don't get notification of services unavailability even with hot > check disabled, because Nagios does a host check directly after it > find a service unavailable. I thought you said you didn't do host checks? So you're not really asking about the merits of a host check v.s. a service check but rather the merits of (Regularly Scheduled host checks and no service checks) and (Service check and on-demand host check only)? > Not additional if you replace the ping check by the hostcheck I guess that I'm a traditionalist and still feel that every host should have a service check =) That may be a something I need to change. > Is the impact of enabling hostchecks vs ping service only a status of > UNREACHABLE instead of DOWN for child hosts ? No, notification suppression as well, but if you're doing on-demand host checks currently you're already getting that. The only real benefits may be one less regular check to configure (the service check) and the possible use of a cached host check instead of a new active check when determining outages. IMHO based on my expectation/ understanding of the new host check methodology, the actual number of checks performed either way are going to be similar except over very long time periods with volatile networks. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Fri Oct 31 19:00:43 2008 From: vmanojv at rediffmail.com (Nair) Date: 31 Oct 2008 18:00:43 -0000 Subject: Service Dependancy Message-ID: <20081031180043.58512.qmail@f5mail-236-239.rediffmail.com> ? Hi Please give some insight on service dependancy configuration on Nagios distributed environment. Current situation: I have Service-A and Service-B on distribued servers are been actively monitored and result is been passively submitted to central Nagios server. Notifications are disabled on Distributed servers and enabled only on central server. To-DO: How can i define service B been depentable Service A. ie. When service A is down there shuld be not be any notification for ServiceB. Where should i confgure this: in central server or distributed server or both. Please give your idea. Thank you Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From haixin at topix.net Fri Oct 31 19:24:46 2008 From: haixin at topix.net (HaiXin Tie) Date: Fri, 31 Oct 2008 14:24:46 -0400 Subject: Obsoleting host/service extension affecting nagiosgraph, nagiosgrapher, etc? Message-ID: <72FB24CDC529014F8C5B64DF4E74FB0F01775119@mse0be1.mailstreet2003.net> Hi, I have been trying to find a data grapher for nagios. I have looked into nagiosgraph and nagiosgrapher, however, both of them use serviceext definition, which, according to the official nagios 3 manual, is considered obsolete and will no longer be supported by version4. I am wondering what the official nagios stand is? Is there any other grapher similar to those two in terms of ease of installation and flexibility of specifying regex for non-standard services' performance data? Thank you for your expertise. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Fri Oct 31 19:40:21 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Fri, 31 Oct 2008 14:40:21 -0400 Subject: Service Dependancy Message-ID: I would set up service A as the parent of service B if parenting works like that. I'm not sure of services but I know that works for services. Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 -----Original Message----- From: Nair To: nagios_users Sent: Fri Oct 31 14:00:43 2008 Subject: [Nagios-users] Service Dependancy Hi Please give some insight on service dependancy configuration on Nagios distributed environment. Current situation: I have Service-A and Service-B on distribued servers are been actively monitored and result is been passively submitted to central Nagios server. Notifications are disabled on Distributed servers and enabled only on central server. To-DO: How can i define service B been depentable Service A. ie. When service A is down there shuld be not be any notification for ServiceB. Where should i confgure this: in central server or distributed server or both. Please give your idea. Thank you Nair Black578x38_banner2.gif ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bertignac at gmail.com Fri Oct 31 19:35:40 2008 From: bertignac at gmail.com (L B) Date: Fri, 31 Oct 2008 19:35:40 +0100 Subject: checkhostalive vs ping service In-Reply-To: <1ACC979F-FCCF-4695-BD01-64527563145D@ena.com> References: <40D2924D-81F3-41DF-AD43-DB9D24E7A74F@ena.com> <1ACC979F-FCCF-4695-BD01-64527563145D@ena.com> Message-ID: On Fri, Oct 31, 2008 at 5:33 PM, Marc Powell wrote: >>> If you like the suppression of notifications for services on down >>> hosts or would like to use the parenting/reachability logic, host >>> checks would be necessary. >> >> I don't get notification of services unavailability even with hot >> check disabled, because Nagios does a host check directly after it >> find a service unavailable. > > I thought you said you didn't do host checks? So you're not really > asking about the merits of a host check v.s. a service check but > rather the merits of (Regularly Scheduled host checks and no service > checks) and (Service check and on-demand host check only)? Yes. I thought my hostchecks were disabled but I observed that they are done when a service is unavailable. So yes, I don't do scheduled hostchecks, but hostcheck are/seem to be done on demand. > >> Not additional if you replace the ping check by the hostcheck > > I guess that I'm a traditionalist and still feel that every host > should have a service check =) That may be a something I need to change. > >> Is the impact of enabling hostchecks vs ping service only a status of >> UNREACHABLE instead of DOWN for child hosts ? > > No, notification suppression as well, but if you're doing on-demand > host checks currently you're already getting that. The only real > benefits may be one less regular check to configure (the service > check) and the possible use of a cached host check instead of a new > active check when determining outages. IMHO based on my expectation/ > understanding of the new host check methodology, the actual number of > checks performed either way are going to be similar except over very > long time periods with volatile networks. > Ok, so I'm not sure I'm going to setup hostchecks :/ Thanks for you answers Mark! -- L.B. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Fri Oct 31 20:41:19 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Fri, 31 Oct 2008 15:41:19 -0400 Subject: OpMon.org In-Reply-To: <4613553.22511225469757385.JavaMail.root@mail.opservices.com.br> References: <4613553.22511225469757385.JavaMail.root@mail.opservices.com.br> Message-ID: <490B5F5F.4060903@iweb.com> I can't load OpCfg's interface. I'm getting those PHP errors: Fatal error: Call to a member function isSideBarIncluded() on a non-object in /usr/local/nagios/share/opcfg/output/output.php on line 535 Fatal error: Call to a member function isSideBarIncluded() on a non-object in /usr/local/nagios/share/opcfg/home.php on line 27 $fruity seems to be undefined. In fact, this variable is defined nowhere except here: export.php:28: $fruity = new Fruity(); includes/sessions.inc:64: $fruity = $_SESSION['fruity']; includes/sessions.inc:86: $fruity = $_SESSION['fruity']; templates_import.php:28: $fruity = new Fruity(); Here is some version informations if required: Nagios 3.0.4 PHP 5.2.6 Apache 2.2.9 MySQL 5.0.51a OpCfg 1.0 Mathieu Dario B. Bestetti (OpServices) wrote: > Sorry, the website is http://www.opmon.org ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 31 21:14:57 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 31 Oct 2008 13:14:57 -0700 Subject: does nagios need apache? Message-ID: <1225484097.22686.31.camel@jeremiah-laptop> Does nagios need apache to run or is it possible to run as a daemon? thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Fri Oct 31 21:20:04 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Fri, 31 Oct 2008 16:20:04 -0400 Subject: does nagios need apache? Message-ID: Nagios itself is just a daemon. The only reason for apache is for the cgi's and web interface. ------Original Message------ From: jeremiah To: Nagios-Users ReplyTo: jeremiah.jester at panasonic.aero Sent: Oct 31, 2008 4:14 PM Subject: [Nagios-users] does nagios need apache? Does nagios need apache to run or is it possible to run as a daemon? thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From novin.jaiswal at ishisystems.com Fri Oct 31 21:23:31 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Fri, 31 Oct 2008 16:23:31 -0400 Subject: does nagios need apache? In-Reply-To: References: Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54E7@exchange.ishisystems.com> Using apache you can view the different historical data of Nagios as html out put. Using http protocol. For eg. http://servername/nagios Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Friday, October 31, 2008 4:20 PM To: jeremiah.jester at panasonic.aero; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] does nagios need apache? Nagios itself is just a daemon. The only reason for apache is for the cgi's and web interface. ------Original Message------ From: jeremiah To: Nagios-Users ReplyTo: jeremiah.jester at panasonic.aero Sent: Oct 31, 2008 4:14 PM Subject: [Nagios-users] does nagios need apache? Does nagios need apache to run or is it possible to run as a daemon? thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 31 21:25:28 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 31 Oct 2008 13:25:28 -0700 Subject: does nagios need apache? In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB54E7@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB54E7@exchange.ishisystems.com> Message-ID: <1225484728.22686.40.camel@jeremiah-laptop> But can i view the historical data without running apache by a nagios command line interface without parsing log files? On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: > Using apache you can view the different historical data of Nagios as > html out put. Using http protocol. > > For eg. http://servername/nagios > > Thanks & Regards > Novin Jaiswal > Ishi Systems Inc. > 732-318-8156(cell) > > > > > -----Original Message----- > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > Sent: Friday, October 31, 2008 4:20 PM > To: jeremiah.jester at panasonic.aero; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] does nagios need apache? > > Nagios itself is just a daemon. The only reason for apache is for the > cgi's and web interface. > > > ------Original Message------ > From: jeremiah > To: Nagios-Users > ReplyTo: jeremiah.jester at panasonic.aero > Sent: Oct 31, 2008 4:14 PM > Subject: [Nagios-users] does nagios need apache? > > Does nagios need apache to run or is it possible to run as a daemon? > > thanks, > JJ > > > > Disclaimer: The information contained in this transmission, including > any > attachments, may contain confidential information of Panasonic > Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or > other > use > of the information contained in this transmission is strictly > prohibited. > If you have received this transmission in error or have reason to > believe > you are not authorized to receive it, please notify the sender by > return > > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Stephen Valdinger > MIS Helpdesk Coordinator > P: 330.365.3622 > C: 740.491.0958 > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 31 21:55:24 2008 From: marc at ena.com (Marc Powell) Date: Fri, 31 Oct 2008 15:55:24 -0500 Subject: does nagios need apache? In-Reply-To: <1225484728.22686.40.camel@jeremiah-laptop> References: <2BA70ED7C7275645B648362FB35913A901EB54E7@exchange.ishisystems.com> <1225484728.22686.40.camel@jeremiah-laptop> Message-ID: <316B3A65-1A44-4458-AA1F-A7ADCE745C9B@ena.com> On Oct 31, 2008, at 3:25 PM, jeremiah wrote: > But can i view the historical data without running apache by a nagios > command line interface without parsing log files? No, the cgi's are the only provided interface for that. There are no command-line reporting tools included. grep and less of the log files for basic stuff; one of the reporting addons at nagiosexchange.org are your other options. There's also a third party command line interface at nagiosexchange (Utilities->Terminal) but I think it just shows current states. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Fri Oct 31 22:03:05 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Fri, 31 Oct 2008 17:03:05 -0400 Subject: does nagios need apache? Message-ID: There are utilities do that yes. In the /usr/local/bin/Nagios (at least in my install, your path may be different) there is a nagiosstats binary you can run. There are options for mrtg (-m) or csv (-c) output. Note that this only gives you performance data, and not data on individual checks of hosts and services. As Marc stated you will have to look on nagiosexchange.org for utilities that do those sorts of functions. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com Never agrue with an idiot. They drag you down to their level and then beat you with their experience. -----Original Message----- From: jeremiah [mailto:jeremiah.jester at panasonic.aero] Sent: Friday, October 31, 2008 4:25 PM To: Novin Jaiswal Cc: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] does nagios need apache? But can i view the historical data without running apache by a nagios command line interface without parsing log files? On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: > Using apache you can view the different historical data of Nagios as > html out put. Using http protocol. > > For eg. http://servername/nagios > > Thanks & Regards > Novin Jaiswal > Ishi Systems Inc. > 732-318-8156(cell) > > > > > -----Original Message----- > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > Sent: Friday, October 31, 2008 4:20 PM > To: jeremiah.jester at panasonic.aero; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] does nagios need apache? > > Nagios itself is just a daemon. The only reason for apache is for the > cgi's and web interface. > > > ------Original Message------ > From: jeremiah > To: Nagios-Users > ReplyTo: jeremiah.jester at panasonic.aero > Sent: Oct 31, 2008 4:14 PM > Subject: [Nagios-users] does nagios need apache? > > Does nagios need apache to run or is it possible to run as a daemon? > > thanks, > JJ > > > > Disclaimer: The information contained in this transmission, including > any > attachments, may contain confidential information of Panasonic > Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or > other > use > of the information contained in this transmission is strictly > prohibited. > If you have received this transmission in error or have reason to > believe > you are not authorized to receive it, please notify the sender by > return > > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Stephen Valdinger > MIS Helpdesk Coordinator > P: 330.365.3622 > C: 740.491.0958 > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 31 22:10:25 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 31 Oct 2008 14:10:25 -0700 Subject: does nagios need apache? In-Reply-To: References: Message-ID: <1225487425.3209.9.camel@jeremiah-laptop> Great. thanks to all. On Fri, 2008-10-31 at 14:03 -0700, Valdinger, Stephen (DOV, MSX) wrote: > There are utilities do that yes. In the /usr/local/bin/Nagios (at > least > in my install, your path may be different) there is a nagiosstats > binary > you can run. There are options for mrtg (-m) or csv (-c) output. Note > that this only gives you performance data, and not data on individual > checks of hosts and services. As Marc stated you will have to look on > nagiosexchange.org for utilities that do those sorts of functions. > > Stephen Valdinger > MIS Helpdesk Coordinator > 330.365.3622 -O > 740.491.0958 - C > svalding at doverchem.com > Never agrue with an idiot. They drag you down to their level and then > beat you with their experience. > > -----Original Message----- > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > Sent: Friday, October 31, 2008 4:25 PM > To: Novin Jaiswal > Cc: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] does nagios need apache? > > But can i view the historical data without running apache by a nagios > command line interface without parsing log files? > > On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: > > Using apache you can view the different historical data of Nagios as > > html out put. Using http protocol. > > > > For eg. http://servername/nagios > > > > Thanks & Regards > > Novin Jaiswal > > Ishi Systems Inc. > > 732-318-8156(cell) > > > > > > > > > > -----Original Message----- > > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > > Sent: Friday, October 31, 2008 4:20 PM > > To: jeremiah.jester at panasonic.aero; > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] does nagios need apache? > > > > Nagios itself is just a daemon. The only reason for apache is for > the > > cgi's and web interface. > > > > > > ------Original Message------ > > From: jeremiah > > To: Nagios-Users > > ReplyTo: jeremiah.jester at panasonic.aero > > Sent: Oct 31, 2008 4:14 PM > > Subject: [Nagios-users] does nagios need apache? > > > > Does nagios need apache to run or is it possible to run as a daemon? > > > > thanks, > > JJ > > > > > > > > Disclaimer: The information contained in this transmission, > including > > any > > attachments, may contain confidential information of Panasonic > > Avionics > > Corporation. This transmission is intended only for the use of the > > addressee(s) listed above. Unauthorized review, dissemination or > > other > > use > > of the information contained in this transmission is strictly > > prohibited. > > If you have received this transmission in error or have reason to > > believe > > you are not authorized to receive it, please notify the sender by > > return > > > > email and promptly delete the transmission. > > > > > > > > > ------------------------------------------------------------------------ > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win > great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in > the > > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > P: 330.365.3622 > > C: 740.491.0958 > > > > > ------------------------------------------------------------------------ > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win > great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in > the > > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 31 22:21:07 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 31 Oct 2008 14:21:07 -0700 Subject: nrpe script Message-ID: <1225488067.3209.20.camel@jeremiah-laptop> Hi folks, I have another question for you all that i haven't been able to resolve. I want to run a python script on my monitored hosts using the nrpe command. On my server I am running the following command: # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Every time i run the command above then i get the following error: "NRPE: Command 'loadscript_check_error_log' not defined On my monitored hosts, I've specified the corellary command in /etc/nagios/nrpe.cfg, then restarted the service. # command[loadscript_check_error_log]=python /home/username/script.py Am I missing something? Does the command[loadscript_check_error_log] actually have to be a valid plugin in the plugins directory or am I defining the action of running the script in this file? Note: This is the only command in my config that is not working for me so unlikely a service issue but rather something wrong with my config. Thanks! JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Fri Oct 31 22:25:01 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Fri, 31 Oct 2008 17:25:01 -0400 Subject: nrpe script Message-ID: Is python in the path on the particular server? Try using /path/to/python and see if you have success. Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 -----Original Message----- From: jeremiah To: Nagios Sent: Fri Oct 31 17:21:07 2008 Subject: [Nagios-users] nrpe script Hi folks, I have another question for you all that i haven't been able to resolve. I want to run a python script on my monitored hosts using the nrpe command. On my server I am running the following command: # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Every time i run the command above then i get the following error: "NRPE: Command 'loadscript_check_error_log' not defined On my monitored hosts, I've specified the corellary command in /etc/nagios/nrpe.cfg, then restarted the service. # command[loadscript_check_error_log]=python /home/username/script.py Am I missing something? Does the command[loadscript_check_error_log] actually have to be a valid plugin in the plugins directory or am I defining the action of running the script in this file? Note: This is the only command in my config that is not working for me so unlikely a service issue but rather something wrong with my config. Thanks! JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 31 22:37:36 2008 From: marc at ena.com (Marc Powell) Date: Fri, 31 Oct 2008 16:37:36 -0500 Subject: nrpe script In-Reply-To: <1225488067.3209.20.camel@jeremiah-laptop> References: <1225488067.3209.20.camel@jeremiah-laptop> Message-ID: On Oct 31, 2008, at 4:21 PM, jeremiah wrote: > Every time i run the command above then i get the following error: > > "NRPE: Command 'loadscript_check_error_log' not defined > > On my monitored hosts, I've specified the corellary command > in /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py This command definition is commented out (#). -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 31 22:36:58 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 31 Oct 2008 14:36:58 -0700 Subject: nrpe script In-Reply-To: <1225488837.3209.26.camel@jeremiah-laptop> References: <1225488067.3209.20.camel@jeremiah-laptop> <20081031213136.GX31128@bakgwai.americas.hpqcorp.net> <1225488837.3209.26.camel@jeremiah-laptop> Message-ID: <20081031213658.GZ31128@bakgwai.americas.hpqcorp.net> On Fri, 31 Oct 2008, jeremiah wrote: > No, I was trying to simulate a command prompt. > > JJ > > On Fri, 2008-10-31 at 14:31 -0700, Patrick Morris wrote: > > On Fri, 31 Oct 2008, jeremiah wrote: > > > > > Hi folks, > > > > > > I have another question for you all that i haven't been able to > > resolve. > > > > > > I want to run a python script on my monitored hosts using the nrpe > > > command. > > > > > > On my server I am running the following command: > > > > > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > loadscript_check_error_log > > > > > > Every time i run the command above then i get the following error: > > > > > > "NRPE: Command 'loadscript_check_error_log' not defined > > > > > > On my monitored hosts, I've specified the corellary command > > > in /etc/nagios/nrpe.cfg, then restarted the service. > > > > > > # > > command[loadscript_check_error_log]=python /home/username/script.py > > > > > > Am I missing something? Does the command[loadscript_check_error_log] > > > actually have to be a valid plugin in the plugins directory or am I > > > defining the action of running the script in this file? > > > > > > Note: This is the only command in my config that is not working for > > me > > > so unlikely a service issue but rather something wrong with my > > config. > > > > Is it in the config file commented out with a "#" like that? Even on the "command[loadscript_check_error_log]" line (which you wouldn't have seen at a command line)? You should also always define your commands with absolute paths, both for clarity and security reasons. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Fri Oct 31 22:42:54 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Fri, 31 Oct 2008 17:42:54 -0400 Subject: nrpe script In-Reply-To: <1225488067.3209.20.camel@jeremiah-laptop> References: <1225488067.3209.20.camel@jeremiah-laptop> Message-ID: <490B7BDE.4080803@iweb.com> Hi Jeremiah, jeremiah wrote: > On my monitored hosts, I've specified the corellary command > in /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py > > Am I missing something? Is there really a "#" at the beginning of the line? You should remove it as this character indicates the beginning of a comment, therefore everything after will be ignored. Also, make sure the daemon is loading the right configuration file and not another located in /etc or /usr/local/nagios/etc, ... -- Mathieu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 31 22:33:57 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 31 Oct 2008 14:33:57 -0700 Subject: nrpe script In-Reply-To: <20081031213136.GX31128@bakgwai.americas.hpqcorp.net> References: <1225488067.3209.20.camel@jeremiah-laptop> <20081031213136.GX31128@bakgwai.americas.hpqcorp.net> Message-ID: <1225488837.3209.26.camel@jeremiah-laptop> No, I was trying to simulate a command prompt. JJ On Fri, 2008-10-31 at 14:31 -0700, Patrick Morris wrote: > On Fri, 31 Oct 2008, jeremiah wrote: > > > Hi folks, > > > > I have another question for you all that i haven't been able to > resolve. > > > > I want to run a python script on my monitored hosts using the nrpe > > command. > > > > On my server I am running the following command: > > > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > loadscript_check_error_log > > > > Every time i run the command above then i get the following error: > > > > "NRPE: Command 'loadscript_check_error_log' not defined > > > > On my monitored hosts, I've specified the corellary command > > in /etc/nagios/nrpe.cfg, then restarted the service. > > > > # > command[loadscript_check_error_log]=python /home/username/script.py > > > > Am I missing something? Does the command[loadscript_check_error_log] > > actually have to be a valid plugin in the plugins directory or am I > > defining the action of running the script in this file? > > > > Note: This is the only command in my config that is not working for > me > > so unlikely a service issue but rather something wrong with my > config. > > Is it in the config file commented out with a "#" like that? > > > Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 31 22:38:25 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 31 Oct 2008 14:38:25 -0700 Subject: nrpe script In-Reply-To: References: Message-ID: <1225489105.3209.31.camel@jeremiah-laptop> When I typed python on the command line it drops my into the python interpreter. Regardless, I went ahead and specified it in the command: command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py now when i run the check_nrpe command from the server I get "could not run command". $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Could not run command Thoughts? Thanks, JJ On Fri, 2008-10-31 at 14:25 -0700, Valdinger, Stephen (DOV, MSX) wrote: > Is python in the path on the particular server? Try > using /path/to/python and see if you have success. > > > Stephen Valdinger > MIS Helpdesk Coordinator > P: 330.365.3622 > C: 740.491.0958 > > > -----Original Message----- > From: jeremiah > To: Nagios > Sent: Fri Oct 31 17:21:07 2008 > Subject: [Nagios-users] nrpe script > > Hi folks, > > I have another question for you all that i haven't been able to > resolve. > > I want to run a python script on my monitored hosts using the nrpe > command. > > On my server I am running the following command: > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > > Every time i run the command above then i get the following error: > > "NRPE: Command 'loadscript_check_error_log' not defined > > On my monitored hosts, I've specified the corellary command > in /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py > > Am I missing something? Does the command[loadscript_check_error_log] > actually have to be a valid plugin in the plugins directory or am I > defining the action of running the script in this file? > > Note: This is the only command in my config that is not working for me > so unlikely a service issue but rather something wrong with my config. > > Thanks! > > JJ > > > > Disclaimer: The information contained in this transmission, including > any > attachments, may contain confidential information of Panasonic > Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or > other use > of the information contained in this transmission is strictly > prohibited. > If you have received this transmission in error or have reason to > believe > you are not authorized to receive it, please notify the sender by > return > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 31 22:31:36 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 31 Oct 2008 14:31:36 -0700 Subject: nrpe script In-Reply-To: <1225488067.3209.20.camel@jeremiah-laptop> References: <1225488067.3209.20.camel@jeremiah-laptop> Message-ID: <20081031213136.GX31128@bakgwai.americas.hpqcorp.net> On Fri, 31 Oct 2008, jeremiah wrote: > Hi folks, > > I have another question for you all that i haven't been able to resolve. > > I want to run a python script on my monitored hosts using the nrpe > command. > > On my server I am running the following command: > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > > Every time i run the command above then i get the following error: > > "NRPE: Command 'loadscript_check_error_log' not defined > > On my monitored hosts, I've specified the corellary command > in /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py > > Am I missing something? Does the command[loadscript_check_error_log] > actually have to be a valid plugin in the plugins directory or am I > defining the action of running the script in this file? > > Note: This is the only command in my config that is not working for me > so unlikely a service issue but rather something wrong with my config. Is it in the config file commented out with a "#" like that? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Fri Oct 31 22:43:01 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Fri, 31 Oct 2008 15:43:01 -0600 Subject: nrpe script In-Reply-To: <1225488067.3209.20.camel@jeremiah-laptop> References: <1225488067.3209.20.camel@jeremiah-laptop> Message-ID: There is no '#' on the beginning of the line in your nrpe.cfg is there? That's just in your e-mail for readability? -----Original Message----- From: jeremiah [mailto:jeremiah.jester at panasonic.aero] Sent: Friday, October 31, 2008 3:21 PM To: Nagios Subject: [Nagios-users] nrpe script Hi folks, I have another question for you all that i haven't been able to resolve. I want to run a python script on my monitored hosts using the nrpe command. On my server I am running the following command: # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Every time i run the command above then i get the following error: "NRPE: Command 'loadscript_check_error_log' not defined On my monitored hosts, I've specified the corellary command in /etc/nagios/nrpe.cfg, then restarted the service. # command[loadscript_check_error_log]=python /home/username/script.py Am I missing something? Does the command[loadscript_check_error_log] actually have to be a valid plugin in the plugins directory or am I defining the action of running the script in this file? Note: This is the only command in my config that is not working for me so unlikely a service issue but rather something wrong with my config. Thanks! JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Fri Oct 31 23:01:39 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Fri, 31 Oct 2008 18:01:39 -0400 Subject: nrpe script In-Reply-To: <1225489105.3209.31.camel@jeremiah-laptop> References: <1225489105.3209.31.camel@jeremiah-laptop> Message-ID: <490B8043.9010401@iweb.com> Hi, jeremiah wrote: > When I typed python on the command line it drops my into the python > interpreter. > > Regardless, I went ahead and specified it in the command: > > command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py > > now when i run the check_nrpe command from the server I get "could not > run command". > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > > Could not run command > > Thoughts? Can the user under which the NRPE daemon runs access and execute /home/jesterj/report_loadscript_error_log.py ? -- Mathieu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 31 23:10:25 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 31 Oct 2008 15:10:25 -0700 Subject: nrpe script In-Reply-To: <490B8043.9010401@iweb.com> References: <1225489105.3209.31.camel@jeremiah-laptop> <490B8043.9010401@iweb.com> Message-ID: <1225491025.3209.34.camel@jeremiah-laptop> I just chown'd the file for nagios. $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py $ ls -la *.py -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 report_loadscript_error_log.py I'm now getting a different error after i fixed the path issue. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log NRPE: Unable to read output Thoughts? thanks, JJ On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote: > Hi, > > jeremiah wrote: > > When I typed python on the command line it drops my into the python > > interpreter. > > > > Regardless, I went ahead and specified it in the command: > > > > > command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py > > > > now when i run the check_nrpe command from the server I get "could > not > > run command". > > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > loadscript_check_error_log > > > > Could not run command > > > > Thoughts? > > Can the user under which the NRPE daemon runs access and execute > /home/jesterj/report_loadscript_error_log.py ? > > -- > Mathieu > > > Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 31 23:20:53 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 31 Oct 2008 15:20:53 -0700 Subject: nrpe script In-Reply-To: <1225491025.3209.34.camel@jeremiah-laptop> References: <1225489105.3209.31.camel@jeremiah-laptop><490B8043.9010401@iweb.com> <1225491025.3209.34.camel@jeremiah-laptop> Message-ID: <1225491653.3209.36.camel@jeremiah-laptop> i check the manual and this is what it says about this particular error: On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: > I just chown'd the file for nagios. > > $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py > > $ ls -la *.py > -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 > report_loadscript_error_log.py > > I'm now getting a different error after i fixed the path issue. > > $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > NRPE: Unable to read output > > Thoughts? > > thanks, > JJ > > > > On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote: > > Hi, > > > > jeremiah wrote: > > > When I typed python on the command line it drops my into the > python > > > interpreter. > > > > > > Regardless, I went ahead and specified it in the command: > > > > > > > > > command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py > > > > > > now when i run the check_nrpe command from the server I get "could > > not > > > run command". > > > > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > loadscript_check_error_log > > > > > > Could not run command > > > > > > Thoughts? > > > > Can the user under which the NRPE daemon runs access and execute > > /home/jesterj/report_loadscript_error_log.py ? > > > > -- > > Mathieu > > > > > > > > > > Disclaimer: The information contained in this transmission, including > any > attachments, may contain confidential information of Panasonic > Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or > other use > of the information contained in this transmission is strictly > prohibited. > If you have received this transmission in error or have reason to > believe > you are not authorized to receive it, please notify the sender by > return > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 31 23:27:31 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 31 Oct 2008 15:27:31 -0700 Subject: nrpe script In-Reply-To: <1225491025.3209.34.camel@jeremiah-laptop> References: <1225489105.3209.31.camel@jeremiah-laptop><490B8043.9010401@iweb.com> <1225491025.3209.34.camel@jeremiah-laptop> Message-ID: <1225492051.3209.41.camel@jeremiah-laptop> I just pulled this error up in the manual and it sasy the following about the error: "NRPE: Unable to read output" ===== This error indicates that the command that was run by the NRPE daemon did not return any character output. This could be an indication of the following problems: -An incorrectly defined command line in the command definition. Verify that the command definition in your NRPE configuration file is correct. -The plugin that is specified in the command line is malfunctioning. Run the command line manually to make sure the plugin returns some kind of text output."" ===== I ran the command via the command prompt and works fine w/ returning output. Hmmm. On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: > I just chown'd the file for nagios. > > $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py > > $ ls -la *.py > -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 > report_loadscript_error_log.py > > I'm now getting a different error after i fixed the path issue. > > $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > NRPE: Unable to read output > > Thoughts? > > thanks, > JJ > > > > On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote: > > Hi, > > > > jeremiah wrote: > > > When I typed python on the command line it drops my into the > python > > > interpreter. > > > > > > Regardless, I went ahead and specified it in the command: > > > > > > > > > command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py > > > > > > now when i run the check_nrpe command from the server I get "could > > not > > > run command". > > > > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > loadscript_check_error_log > > > > > > Could not run command > > > > > > Thoughts? > > > > Can the user under which the NRPE daemon runs access and execute > > /home/jesterj/report_loadscript_error_log.py ? > > > > -- > > Mathieu > > > > > > > > > > Disclaimer: The information contained in this transmission, including > any > attachments, may contain confidential information of Panasonic > Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or > other use > of the information contained in this transmission is strictly > prohibited. > If you have received this transmission in error or have reason to > believe > you are not authorized to receive it, please notify the sender by > return > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Fri Oct 31 23:41:02 2008 From: mgagne at iweb.com (=?UTF-8?B?TWF0aGlldSBHYWduw6k=?=) Date: Fri, 31 Oct 2008 18:41:02 -0400 Subject: nrpe script In-Reply-To: <1225491653.3209.36.camel@jeremiah-laptop> References: <1225489105.3209.31.camel@jeremiah-laptop><490B8043.9010401@iweb.com> <1225491025.3209.34.camel@jeremiah-laptop> <1225491653.3209.36.camel@jeremiah-laptop> Message-ID: <490B897E.4030109@iweb.com> Hi, jeremiah wrote: > i check the manual and this is what it says about this particular error: > > On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: >> I just chown'd the file for nagios. >> >> $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py >> >> $ ls -la *.py >> -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 >> report_loadscript_error_log.py >> >> I'm now getting a different error after i fixed the path issue. >> >> $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c >> loadscript_check_error_log >> NRPE: Unable to read output >> >> Thoughts? "/home/jesterj/" is probably chowned to 700 anyway so the NRPE daemon won't be able to access and execute it anyway. Try running it manually with sudo to see the actual result: sudo -u nagios /usr/local/bin/python /home/jesterj/report_loadscript_error_log.py Also, you should copy your script in a more appropriate location such as /usr/local/bin or even /usr/lib/nagios/plugins if you have installed Nagios on a Debian or Ubuntu server. You can also try to start NRPE with "debug=1": "How to go about debugging other problems... When debugging problems it may be useful to edit the NRPE configuration file and change the debug=0 entry to debug=1. Once you do that, restart the NRPE daemon if it is running as a standalone daemon. After you try using the check_nrpe plugin again, you should be able to see some debugging information in the log files of the remote host. Check your logs carefully ? they should be able to help provide clues as to where the problem lies..." Ref.: http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf -- Mathieu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Fri Oct 31 23:50:37 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Fri, 31 Oct 2008 22:50:37 +0000 Subject: nrpe script In-Reply-To: <1225492051.3209.41.camel@jeremiah-laptop> References: <1225489105.3209.31.camel@jeremiah-laptop><490B8043.9010401@iweb.com> <1225491025.3209.34.camel@jeremiah-laptop> <1225492051.3209.41.camel@jeremiah-laptop> Message-ID: <490B8BBD.608@networkmail.eu> Have you got sudo configured on your NRPE host? I get this error on new servers when I forget to add the Nagios/NRPE user to /etc/sudoers and allow them access to run the plugins without needing a password. Try running your command as the Nagios/NRPE user on your NRPE host like so (alter path to sudo as appropriate): # /usr/bin/sudo /usr/local/bin/python /home/jesterj/report_loadscript_error_log.py If this works, make sure that the path to your sudo executable is the absolute path in nrpe.cfg. Andy. jeremiah wrote: > I just pulled this error up in the manual and it sasy the following > about the error: "NRPE: Unable to read output" > > ===== > This error indicates that the command that was run by the NRPE daemon > did not return any character output. > This could be an indication of the following problems: > > -An incorrectly defined command line in the command definition. Verify > that the command definition in your NRPE configuration file is correct. > > -The plugin that is specified in the command line is malfunctioning. Run > the command line manually to make sure the plugin returns some kind of > text output."" > ===== > > I ran the command via the command prompt and works fine w/ returning > output. > > Hmmm. > > > On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: > >> I just chown'd the file for nagios. >> >> $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py >> >> $ ls -la *.py >> -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 >> report_loadscript_error_log.py >> >> I'm now getting a different error after i fixed the path issue. >> >> $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c >> loadscript_check_error_log >> NRPE: Unable to read output >> >> Thoughts? >> >> thanks, >> JJ >> >> >> >> On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote: >> >>> Hi, >>> >>> jeremiah wrote: >>> >>>> When I typed python on the command line it drops my into the >>>> >> python >> >>>> interpreter. >>>> >>>> Regardless, I went ahead and specified it in the command: >>>> >>>> >>>> >> command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py >> >>>> now when i run the check_nrpe command from the server I get "could >>>> >>> not >>> >>>> run command". >>>> >>>> $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c >>>> loadscript_check_error_log >>>> >>>> Could not run command >>>> >>>> Thoughts? >>>> >>> Can the user under which the NRPE daemon runs access and execute >>> /home/jesterj/report_loadscript_error_log.py ? >>> >>> -- >>> Mathieu >>> >>> >>> >>> >> >> Disclaimer: The information contained in this transmission, including >> any >> attachments, may contain confidential information of Panasonic >> Avionics >> Corporation. This transmission is intended only for the use of the >> addressee(s) listed above. Unauthorized review, dissemination or >> other use >> of the information contained in this transmission is strictly >> prohibited. >> If you have received this transmission in error or have reason to >> believe >> you are not authorized to receive it, please notify the sender by >> return >> email and promptly delete the transmission. >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiah.jester at panasonic.aero Fri Oct 31 23:58:45 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Fri, 31 Oct 2008 15:58:45 -0700 Subject: nrpe script In-Reply-To: <490B897E.4030109@iweb.com> References: <1225489105.3209.31.camel@jeremiah-laptop><490B8043.9010401@iweb.com> <1225491025.3209.34.camel@jeremiah-laptop> <1225491653.3209.36.camel@jeremiah-laptop> <490B897E.4030109@iweb.com> Message-ID: <1225493925.3209.46.camel@jeremiah-laptop> Mathieu, Thanks for your ongoing help. I check the log file and this is all i'm seeing pertaining to this command on the server. Oct 31 22:33:23 serv1 nagios2: SERVICE ALERT: serv2;LOADSCRIPT CHECK ERRORS;WARNING;HARD;3;NRPE: Unable to read output Oct 31 22:33:23 serv1 nagios2: SERVICE NOTIFICATION: root;serv2;LOADSCRIPT CHECK ERRORS;WARNING;notify-by-email;NRPE: Unable to read output Also, the command runs successfully when ran on the cmd line from my home directory or the plugins location. Changed debug=1 on the client and restarted in nrpe, reran the command and don't see anything related to nagios in /var/log/messages? Thanks, JJ On Fri, 2008-10-31 at 15:41 -0700, Mathieu Gagn? wrote: > Hi, > > jeremiah wrote: > > i check the manual and this is what it says about this particular > error: > > > > On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: > >> I just chown'd the file for nagios. > >> > >> $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py > >> > >> $ ls -la *.py > >> -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 > >> report_loadscript_error_log.py > >> > >> I'm now getting a different error after i fixed the path issue. > >> > >> $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > >> loadscript_check_error_log > >> NRPE: Unable to read output > >> > >> Thoughts? > > "/home/jesterj/" is probably chowned to 700 anyway so the NRPE daemon > won't be able to access and execute it anyway. > > Try running it manually with sudo to see the actual result: > sudo -u nagios /usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > Also, you should copy your script in a more appropriate location such > as > /usr/local/bin or even /usr/lib/nagios/plugins if you have installed > Nagios on a Debian or Ubuntu server. > > You can also try to start NRPE with "debug=1": > > "How to go about debugging other problems... > > When debugging problems it may be useful to edit the NRPE > configuration > file and change the debug=0 entry to debug=1. Once you do that, > restart > the NRPE daemon if it is running as a standalone daemon. After you try > using the check_nrpe plugin again, you should be able to see some > debugging information in the log files of the remote host. Check your > logs carefully ? they should be able to help provide clues as to where > the problem lies..." > > Ref.: http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf > > > -- > Mathieu > > > Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null