From mario at bortal.de Sun Jan 1 16:09:41 2006 From: mario at bortal.de (mario at bortal.de) Date: Sun, 1 Jan 2006 16:09:41 +0100 (CET) Subject: Send only X Notifications on failure Message-ID: <1182.84.157.26.156.1136128181.squirrel@thelinuxbeat.net> Hello List! What the feature in Nagios 1.3.x called where i can set the max notifications for a service host? Last night i got about 66 SMS Messages. Just one for the PROBLEM and RECOVERY notification would be enough. Whats the feature called, and where can i read it up in the manual? Thanks, Mario ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at m-wise.com Sun Jan 1 16:21:50 2006 From: assaf at m-wise.com (Assaf Flatto) Date: Sun, 01 Jan 2006 17:21:50 +0200 Subject: Send only X Notifications on failure In-Reply-To: <1182.84.157.26.156.1136128181.squirrel@thelinuxbeat.net> References: <1182.84.157.26.156.1136128181.squirrel@thelinuxbeat.net> Message-ID: <43B7F38E.3090602@m-wise.com> define serviceescalation{ host_name xxx01 service_description check_http first_notification 1 ** last_notification 60** notification_interval 10 contact_groups Admins escalation_period 24x7 escalation_options w,u,c,r } Change the "last notification" to the number of messages you want to be send out for the service . if you want only one for each event - just change it to 1 . Assaf mario at bortal.de wrote: > Hello List! > > What the feature in Nagios 1.3.x called where i can set the max > notifications for a service host? > > Last night i got about 66 SMS Messages. > Just one for the PROBLEM and RECOVERY notification would be enough. > > Whats the feature called, and where can i read it up in the manual? > > Thanks, Mario > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 m-Wise Operations Cellular: +972-54-5679230 e-mail: assaf at m-wise.com MSN : firedrake_3 at hotmail.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mario at bortal.de Sun Jan 1 16:35:07 2006 From: mario at bortal.de (mario at bortal.de) Date: Sun, 1 Jan 2006 16:35:07 +0100 (CET) Subject: Send only X Notifications on failure In-Reply-To: <43B7F38E.3090602@m-wise.com> References: <1182.84.157.26.156.1136128181.squirrel@thelinuxbeat.net> <43B7F38E.3090602@m-wise.com> Message-ID: <2563.84.157.26.156.1136129707.squirrel@thelinuxbeat.net> Hi, > > define serviceescalation{ > host_name xxx01 > service_description check_http > first_notification 1 > ** last_notification 60** > notification_interval 10 > contact_groups Admins > escalation_period 24x7 > escalation_options w,u,c,r > } > > Change the "last notification" to the number of messages you want to be > send out > for the service . > > if you want only one for each event - just change it to 1 . Can you set the last_notification globally? I have about 12Services to monitor, and it would be useful if i could only define it once. Otherwise my escalation config will get pretty big. Thanks, Mario ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at m-wise.com Sun Jan 1 16:41:55 2006 From: assaf at m-wise.com (Assaf Flatto) Date: Sun, 01 Jan 2006 17:41:55 +0200 Subject: Send only X Notifications on failure In-Reply-To: <2563.84.157.26.156.1136129707.squirrel@thelinuxbeat.net> References: <1182.84.157.26.156.1136128181.squirrel@thelinuxbeat.net> <43B7F38E.3090602@m-wise.com> <2563.84.157.26.156.1136129707.squirrel@thelinuxbeat.net> Message-ID: <43B7F843.8090608@m-wise.com> mario at bortal.de wrote: > Hi, > > >>define serviceescalation{ >> host_name xxx01 >> service_description check_http >> first_notification 1 >> ** last_notification 60** >> notification_interval 10 >> contact_groups Admins >> escalation_period 24x7 >> escalation_options w,u,c,r >> } >> >>Change the "last notification" to the number of messages you want to be >>send out >> for the service . >> >>if you want only one for each event - just change it to 1 . > > > Can you set the last_notification globally? > I have about 12Services to monitor, and it would be useful if i could only > define it once. > > Otherwise my escalation config will get pretty big. > > Thanks, Mario > Service escalation is done for each service in a separate section. that is not to say that for each server you need to do a service escalation definitions , read the documentation on service groups http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#servicegroup -- Assaf Flatto m-Wise Operations Cellular: +972-54-5679230 e-mail: assaf at m-wise.com MSN : firedrake_3 at hotmail.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yhasabnis at gmail.com Mon Jan 2 11:39:01 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Mon, 2 Jan 2006 16:09:01 +0530 Subject: disk_check for a remote machine Message-ID: Hi All, As far as I understand the disk_check plugin is meant for monitoring the disk usage on the local machine. Is there any way of monitoring the disk usage for a remote machine in the LAN ? Thanks Yogesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From morten.bekkelund at ergo.no Mon Jan 2 13:22:03 2006 From: morten.bekkelund at ergo.no (Morten Bekkelund) Date: Mon, 2 Jan 2006 13:22:03 +0100 Subject: disk_check for a remote machine Message-ID: <8C6D7826E62F404D94BB0197258F548BBC8EC8@100NOOSLMSG004.common.alpharoot.net> Yeah, check out www.net-snmp.org. Install net-snmp on the machines you wanna monitor and use the functionality it provides for diskchecks. It writes the result to a table in snmp and returns the result when it's being polled from the nagios-server. -----Original Message----- From: Yogesh Hasabnis [mailto:yhasabnis at gmail.com] Sent: 2. januar 2006 11:39 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] disk_check for a remote machine Hi All, As far as I understand the disk_check plugin is meant for monitoring the disk usage on the local machine. Is there any way of monitoring the disk usage for a remote machine in the LAN ? Thanks Yogesh ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morten.bekkelund at ergo.no Mon Jan 2 13:28:08 2006 From: morten.bekkelund at ergo.no (Morten Bekkelund) Date: Mon, 2 Jan 2006 13:28:08 +0100 Subject: Check_nagios Message-ID: <8C6D7826E62F404D94BB0197258F548BBC8EC9@100NOOSLMSG004.common.alpharoot.net> You can also execute the check via snmp. Check out net-snmp's exec function. You can then execute the script when you poll an oid from nagios via snmp :) -----Original Message----- From: Thomas.Zimmer at oppenheim.de [mailto:Thomas.Zimmer at oppenheim.de] Sent: 30. desember 2005 18:36 To: nagios-users at lists.sourceforge.net Subject: AW: [Nagios-users] Check_nagios "check_nagios" ist not designed for remote checking, it?s a local check. use nrpe or ssh-checking for remote execution of the plugin. Greetz, Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Rene Nelson Gesendet: Freitag, 30. Dezember 2005 18:29 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Check_nagios Is there a special port required to be open for Check_nagios to be run remotely? I have an external nagios box that I want to monitor my internal nagios box with. Do I need to open any specific ports? Thanks ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gadis at ladpc.co.il Mon Jan 2 13:51:43 2006 From: gadis at ladpc.co.il (=?utf-8?B?15bXldeg15jXkiDXkteT15k=?=) Date: Mon, 2 Jan 2006 14:51:43 +0200 Subject: Check_nagios Message-ID: Hello How I install nagios console ? I need to start auto discover thank <\\\\\/////> / ^ \ ( (o) (o) ) ====oOOO====(_)====OOOo========== Gadi sontag Tel: 972-3-9275228 Fax: 972-3-9226822 E. mail: gadis at ladpc.co.il Visit our site : http://www.ladpc.co.il ===============Oooo.============== .oooO ( ) ( ) ) / \ ( (_/ -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Morten Bekkelund Sent: Monday, January 02, 2006 2:28 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_nagios You can also execute the check via snmp. Check out net-snmp's exec function. You can then execute the script when you poll an oid from nagios via snmp :) -----Original Message----- From: Thomas.Zimmer at oppenheim.de [mailto:Thomas.Zimmer at oppenheim.de] Sent: 30. desember 2005 18:36 To: nagios-users at lists.sourceforge.net Subject: AW: [Nagios-users] Check_nagios "check_nagios" ist not designed for remote checking, it??s a local check. use nrpe or ssh-checking for remote execution of the plugin. Greetz, Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr??ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Rene Nelson Gesendet: Freitag, 30. Dezember 2005 18:29 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Check_nagios Is there a special port required to be open for Check_nagios to be run remotely? I have an external nagios box that I want to monitor my internal nagios box with. Do I need to open any specific ports? Thanks ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null N?HY?????X???'???u???[??????? ???k??!???W?~?????zk??C? ???m????@^????^??z?Z?f?z?j?!?x2????????????,???? a{? ??,?H??4?m???i?(????o?v' From thomas.edwards at accredohealth.com Mon Jan 2 13:54:20 2006 From: thomas.edwards at accredohealth.com (thomas.edwards at accredohealth.com) Date: Mon, 02 Jan 2006 06:54:20 -0600 Subject: Important Message from the Accredo Health Email Gateway Message-ID: <6FA7FDF61LO61590-01@EMF__accredohealth.com_> In order to protect our employees, patients, partners and computer systems, Accredo Health, Inc. places restrictions on email passing between our network and the Internet. In compliance with that policy, a message addressed to you has been automatically blocked by the gateway due to decomposition errors. The message details are as follows: From: "????? ???" To: Subject: RE: [Nagios-users] Check_nagios Date: 01/02/06, 06:54:20 The message is currently being held in a quarantine area, and may be released for delivery provided there is a legitimate business need. In order to ensure that the message is appropriate for delivery, the Email Gateway admin staff will need to open and manually inspect the message and any associated attachments. To request that the message be released, please reply to this message, include this notice, and explain why you need the email to be released to you. Please send any questions or comments to ServiceDesk at AccredoHealth.com ----------------------------------------------------------- Message ID: 6FA7FDFC230531818-01 ----------------------------------------------------------- From pespinar at oasismp.net Mon Jan 2 19:41:48 2006 From: pespinar at oasismp.net (pespinar at oasismp.net) Date: Mon, 2 Jan 2006 19:41:48 +0100 (CET) Subject: Monitoring AIX 5.2 hosts Message-ID: <2789.80.102.118.232.1136227308.squirrel@mail.oasismp.net> Hello, I need to monitor with Nagios the usual system parameters of several AIX 5.2 boxes (disk, cpu, mem, swap, proc, and the like). Any of you have got it to work in this plattform? And what is the best way: snmp, nrpe, ncsa, ...? Any hint will be greatly appreciatted... Un saludo, Pablo Espinar Barcelona (Spain) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Mon Jan 2 19:53:50 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Mon, 2 Jan 2006 12:53:50 -0600 Subject: Monitoring AIX 5.2 hosts In-Reply-To: <2789.80.102.118.232.1136227308.squirrel@mail.oasismp.net> References: <2789.80.102.118.232.1136227308.squirrel@mail.oasismp.net> Message-ID: <20060102185350.GB2316@keroberos> I've found AIX's SNMP to be limited, and on my hosts I use NCSA and some shell scripts. Russell On Mon, Jan 02, 2006 at 07:41:48PM +0100, pespinar at oasismp.net wrote: > Hello, > > I need to monitor with Nagios the usual system parameters of several AIX > 5.2 boxes (disk, cpu, mem, swap, proc, and the like). Any of you have got > it to work in this plattform? And what is the best way: snmp, nrpe, ncsa, > ...? > > Any hint will be greatly appreciatted... > > Un saludo, > > > Pablo Espinar > > Barcelona (Spain) > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From hvdkooij at vanderkooij.org Mon Jan 2 20:15:24 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 2 Jan 2006 20:15:24 +0100 (CET) Subject: Check_nagios In-Reply-To: References: Message-ID: On Mon, 2 Jan 2006, [utf-8] ????? ??? wrote: > How I install nagios console ? > I need to start auto discover First off all. Read the recent messages on auto discovery in this mailinglist archive. In general it is considered bad because you should know which services are critical if you want to monitor them. Then please define what you mean with 'nagios console'. Becasue the nagios configuratio is through config files (use your favorite editor) and the web interface will tell you alll about the systems and services you are monitoring. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ccyuen at hkcert.org Tue Jan 3 01:39:20 2006 From: ccyuen at hkcert.org (CC Yuen) Date: Tue, 03 Jan 2006 08:39:20 +0800 Subject: Strange issue -- all hosts down In-Reply-To: <9e938faf0512300802q12a38740n3e6a15e857bf9b55@mail.gmail.com> References: <43B4F638.10404@hkcert.org> <9e938faf0512300802q12a38740n3e6a15e857bf9b55@mail.gmail.com> Message-ID: <43B9C7B8.5020205@hkcert.org> Hi, I was done the following check up: Zac ??: > A couple of things to check, did you upgrade your plugins recently? No new plugin or applications installed, Or > changed permisions on check_icmp? No permisions changed to the file system Have you tried pinging your hosts on > the command line of your nagios system to ensure someone didn't put a > firewall in front of you? I was try to ping some of the monitor hosts from the Nagios machine, the most strange thing is it cannot ping itself too. Are you running Service checks on these > hosts? Are they reporting any problems? I was received host down email suddenly on last wed, and no more report output. Could you also reply with the > output of nagios -v nagios.cfg. Yeah, I have checked the cfg file by the -v command, it has no error and warning found. I was shutdown the machine that to avoid it keep sending out email in holiday, what should I do next? Thanks a lot Chung > > -Zac > > On 12/30/05, *CC Yuen* > wrote: > > Dear list, > > I found my Nagios 2.0b4 cannot detect all the hosts suddenly. The > screen shown > all hosts "DOWN" and cannot be resume. I have checked all the cfg > files and tested > all the cfg files, I am ensure the config has no problem. > > Anyone know what's happen? I really have no idea...... > > > Thanks a lot > Chung > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surcouf at debianfr.net Tue Jan 3 09:51:02 2006 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl?= 'SurcouF' Bordet) Date: Tue, 03 Jan 2006 09:51:02 +0100 Subject: Monitoring AIX 5.2 hosts In-Reply-To: <2789.80.102.118.232.1136227308.squirrel@mail.oasismp.net> References: <2789.80.102.118.232.1136227308.squirrel@mail.oasismp.net> Message-ID: <1136278266.23882.25.camel@localhost> Le lundi 02 janvier 2006 ? 19:41 +0100, pespinar at oasismp.net a ?crit : > Hello, > > I need to monitor with Nagios the usual system parameters of several AIX > 5.2 boxes (disk, cpu, mem, swap, proc, and the like). Any of you have got > it to work in this plattform? And what is the best way: snmp, nrpe, ncsa, > ...? > > Any hint will be greatly appreciatted... Hi, By default, on AIX 5.2, aixmibd subagent are desactivated. This subagent handle IBM-AIX-MIB's OID. You can find the MIB file in : /usr/samples/snmpd/aixmib.my To enable aixmibd agent, you should change this following line in /etc/snmpdv3.conf : --( /etc/snmpdv3.conf )-- # exclude aixmibd managed MIBs from the default view VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - excluded - ---8<--- Just replace "excluded" word by "included" word and start aixmibd sub-agent : # startsrc -s aixmibd Regards, -- Rapha?l 'SurcouF' Bordet http://debianfr.net/ | JID: surcouf at debianfr dot net ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.aust at premiere.de Tue Jan 3 11:45:08 2006 From: volker.aust at premiere.de (vol) Date: Tue, 03 Jan 2006 11:45:08 +0100 Subject: Send only X Notifications on failure In-Reply-To: <2563.84.157.26.156.1136129707.squirrel@thelinuxbeat.net> References: <1182.84.157.26.156.1136128181.squirrel@thelinuxbeat.net> <43B7F38E.3090602@m-wise.com> <2563.84.157.26.156.1136129707.squirrel@thelinuxbeat.net> Message-ID: <43BA55B4.9020107@premiere.de> Hi Mario, mario at bortal.de wrote: > Hi, > >> define serviceescalation{ >> host_name xxx01 >> service_description check_http >> first_notification 1 >> ** last_notification 60** >> notification_interval 10 >> contact_groups Admins >> escalation_period 24x7 >> escalation_options w,u,c,r >> } >> >> Change the "last notification" to the number of messages you want to be >> send out >> for the service . >> >> if you want only one for each event - just change it to 1 . > > Can you set the last_notification globally? > I have about 12Services to monitor, and it would be useful if i could only > define it once. > > Otherwise my escalation config will get pretty big. > > Thanks, Mario you can use "notification_interval 0" in your service template, like it is described in the fine manuals: 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 in a non-OK state. 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 service - only one problem notification will be sent out. -vol ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Tue Jan 3 15:10:41 2006 From: muaddib at databit7.com (Hammond, Robin-David%KB3IEN) Date: Tue, 3 Jan 2006 14:10:41 +0000 (UTC) Subject: check_ping Message-ID: Im having an interesting time of getting nagios to work on netbsd-3 for the powerpc. The closest think i can find to what I am experiencing is described here: https://sourceforge.net/mailarchive/message.php?msg_id=1947705 while everything starts up ok, the hosts lists themselves as up, the check_ping never terminates: 55 processes: 1 runnable, 45 sleeping, 8 stopped, 1 on processor CPU states: 0.0% user, 100% nice, 0.0% system, 0.0% interrupt, 0.0% idle Memory: 26M Act, 4K Inact, 996K Wired, 8244K Exec, 9364K File, 180M Free Swap: 129M Total, 129M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 508 nagios 10 0 2576K 1488K wait 0:09 0.00% 0.00% nagios 2284 nagios 10 0 2576K 1488K wait 0:00 0.00% 0.00% nagios 2841 nagios 10 0 140K 580K STOP 0:00 0.00% 0.00% sh 231 nagios 10 0 140K 580K STOP 0:00 0.00% 0.00% sh 2486 nagios 4 0 120K 680K STOP 0:00 0.00% 0.00% ping 235 nagios 4 0 120K 676K STOP 0:00 0.00% 0.00% ping 2285 nagios 2 0 2576K 984K STOP 0:00 0.00% 0.00% nagios 143 nagios 2 0 2576K 984K STOP 0:00 0.00% 0.00% nagios 234 nagios 2 0 228K 724K STOP 0:00 0.00% 0.00% check_ping 2903 nagios 2 0 228K 724K STOP 0:00 0.00% 0.00% check_ping check_ping works fine from the commandline : /usr/local/nagios/libexec/check_ping -H 192.168.102.254 -w 3000.0,80% -c 5000.0,100% -p 1 -t 10 PING OK - Packet loss = 0%, RTA = 0.57 ms its returns and exists cleanly within half a second. but when nagios calls it, ping, check_ping, sh all inturn lock. Both Nagios and the plugs are the latest realase (2.0b4 and 1.4.2) respectively. Any known fixes for this issue? Microsoft: Where do you want to go tomorrow? Linux: Where do you want to go today? BSD: Are you guys coming, or what? Robin-David Hammond KB3IEN www.aresnyc.org. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwanikij at yahoo.com Tue Jan 3 18:51:18 2006 From: mwanikij at yahoo.com (Jack M) Date: Tue, 3 Jan 2006 09:51:18 -0800 (PST) Subject: (no subject) Message-ID: <20060103175118.30947.qmail@web52903.mail.yahoo.com> --------------------------------- Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Tue Jan 3 18:59:47 2006 From: ladams at cloudmark.com (Lori Adams) Date: Tue, 3 Jan 2006 09:59:47 -0800 Subject: disk_check for a remote machine Message-ID: also look at nagios' brother, nrpe. Your nagios server calls check_nrpe which contacts the remote server and runs a command on the remote machine returning an informative output and exit status. -Lori > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Morten Bekkelund > Sent: Monday, January 02, 2006 4:22 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] disk_check for a remote machine > > Yeah, check out www.net-snmp.org. > Install net-snmp on the machines you wanna monitor and use the > functionality it provides for diskchecks. It writes the result to a > table in snmp and returns the result when it's being polled from the > nagios-server. > > -----Original Message----- > From: Yogesh Hasabnis [mailto:yhasabnis at gmail.com] > Sent: 2. januar 2006 11:39 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] disk_check for a remote machine > > Hi All, > > As far as I understand the disk_check plugin is meant for monitoring the > disk usage on the local machine. Is there any way of monitoring the disk > usage for a remote machine in the LAN ? > > Thanks > > Yogesh > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffwilliams05 at gmail.com Tue Jan 3 22:49:00 2006 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Tue, 3 Jan 2006 15:49:00 -0600 Subject: opinions on web-based configuration utilities In-Reply-To: <17e351010512291225n625971bfq21b4ab898489f90e@mail.gmail.com> References: <17e351010512290723j25d9cc42x2cb7c11593db6675@mail.gmail.com> <7e2f9af90512291124g222da227p1f6bc4a3d9bccafb@mail.gmail.com> <17e351010512291225n625971bfq21b4ab898489f90e@mail.gmail.com> Message-ID: <17e351010601031349p53e13efdg9405456d67e47625@mail.gmail.com> On 12/29/05, Jeff Williams wrote: > On 12/29/05, Cam wrote: > > I tried setting up nagioSQL, but I couldn't get it to run on my > > webserver (some sort of php error iirc). Anyway, I just ended up > > writing my own stuff in Ruby/CGI... it's insanely not-powerful (it > > only allows the people to add new hosts, and edit the contacts list > > for the hosts they've added). Anyway, coding up something lame like > > that wasn't much work, so if just adding new boxes is the only > > functionality you need, maybe you could do the same. > > > > Good luck, > > Cameron Matheson > > > > Thanks for all the suggestions folks. I'm going to give Fruity a go > first, then try the others. > > Jeff > Anyone else had any trouble with importing existing escalations in Fruity? I have also tried to use monarch, but I can't get past the database creation step of the setup, even though it has access to create and delete any table it wants. Are there any other software packages that work well and have similar functionality to these two? Thanks. Jeff ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.reeves at newisys.com Tue Jan 3 22:57:40 2006 From: robert.reeves at newisys.com (Robert Reeves) Date: Tue, 3 Jan 2006 15:57:40 -0600 Subject: Return Codes? (was RE: Remotely Checking Windows: Mapped Network Drives) Message-ID: Now that I have my mapped network drives on remote hosts being checked, I'm getting false negatives. My script is reporting the following string to NRPE NT and then to Nagios: CRITICAL U: - Percentage Free = 9% (2200961024/23583522816) However, it's saying that's OK when it clearly has CRITICAL at the beginning of the response. The same for warnings: WARNING V: - Percentage Free = 16% (5904531456/36124491776) I thought that Nagios looking for OK, WARNING and CRITICAL in the return and classified it accordingly? Do I neet to provide a return code for warning or critical states? Thanks! Robert -----Original Message----- From: Robert Reeves Sent: Tuesday, January 03, 2006 3:50 PM To: Robert Reeves; Subhendu Ghosh Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Remotely Checking Windows: Mapped Network Drives I got it working. Add this to your nrpe.cfg file... command[check_nrpe_new_disk]=C:\WINNT\system32\cscript.exe /Nologo C:\nrpe\plugins\checkmappednetworkdrives.vbs $ARG1$ $ARG2$ $ARG3$ Here's checkmappednetworkdrives.vbs... 'On Error Resume Next DeviceName = WScript.Arguments.Item(0) 'Wscript.Echo "DeviceName=" & DeviceName WarningPercentage = WScript.Arguments.Item(1) 'Wscript.Echo "WarningPercentage=" & WarningPercentage CriticalPercentage = WScript.Arguments.Item(2) 'Wscript.Echo "CriticalPercentage=" & CriticalPercentage strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_MappedLogicalDisk WHERE DeviceID=""" & DeviceName & """") For Each objItem in colItems PercentageFree = objItem.FreeSpace / objItem.Size PercentageFree = Int(PercentageFree * 100) If (PercentageFree <= Int(CriticalPercentage)) Then ReturnCode = "CRITICAL" ElseIf (PercentageFree <= Int(WarningPercentage)) Then ReturnCode = "WARNING" Else ReturnCode = "OK" End If Wscript.Echo ReturnCode & " " & objItem.DeviceID & " - Percentage Free = " & PercentageFree & "% (" & objItem.FreeSpace & "/" & objItem.Size & ")" Next -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert Reeves Sent: Wednesday, December 21, 2005 10:39 AM To: Subhendu Ghosh Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Remotely Checking Windows: Mapped Network Drives All are WindowsXP. I'll look into WMI32_MappedLogicalDisk. Have you had success with that before? Thanks! Robert -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu Ghosh Sent: Wednesday, December 21, 2005 10:03 AM To: Robert Reeves Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Remotely Checking Windows: Mapped Network Drives On Wed, 21 Dec 2005, Robert Reeves wrote: > I have several windows servers that use mapped network drives. At > times, these drives become unavailable and halt services. I would like > to be able to monitor these drives. > > I have both NRPE_NT and nsclient running on the Windows boxes. Both > responses are not working for me: > > NRPE > Status: OK > Status Information: DEBUG : 12/21/05 08:59:15: GetDiskFreeSpaceEx() > returned an error > > Nsclient: > Status: UNKNOWN > Status Information: Free disk space : Invalid drive > > I have attempted to run both services as the SYSTEM account and as a > valid domain user. Both result in the same response. > > There is an earlier thread that suggests granting the SYSTEM user > permissions to the share. However, due to some uniqueness with how we > set up the mapped network drives, I am unable to change the > permissions on the shares. There are from a Linux box running Samba. > > Does anybody have a solution for this? I simply need to make sure the > drives are accessible from the Windows server, so I'm willing to go in > a different location instead of checking free space left. > > Thanks, > > Robert > server os - win2k or win2k3? Have you tried using NRPE_NT with a script that uses the WMI32_MappedLogicalDisk to enumerate mapped disks? -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 3 23:05:40 2006 From: marc at ena.com (Marc Powell) Date: Tue, 3 Jan 2006 16:05:40 -0600 Subject: Return Codes? (was RE: Remotely Checking Windows: Mapped Network Drives) Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Robert Reeves > Sent: Tuesday, January 03, 2006 3:58 PM > To: nagios-users at lists.sourceforge.net > Subject: Return Codes? (was RE: [Nagios-users] Remotely Checking Windows: > Mapped Network Drives) > > Now that I have my mapped network drives on remote hosts being checked, > I'm getting false negatives. > > My script is reporting the following string to NRPE NT and then to > Nagios: > > CRITICAL U: - Percentage Free = 9% (2200961024/23583522816) > > However, it's saying that's OK when it clearly has CRITICAL at the > beginning of the response. The same for warnings: > > WARNING V: - Percentage Free = 16% (5904531456/36124491776) > > I thought that Nagios looking for OK, WARNING and CRITICAL in the return > and classified it accordingly? Do I neet to provide a return code for > warning or critical states? Yes, you do. The text response above is for human consumption only. Nagios relies exclusively on the exit code of the plugin to determine state. http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.reeves at newisys.com Tue Jan 3 22:50:27 2006 From: robert.reeves at newisys.com (Robert Reeves) Date: Tue, 3 Jan 2006 15:50:27 -0600 Subject: Remotely Checking Windows: Mapped Network Drives Message-ID: I got it working. Add this to your nrpe.cfg file... command[check_nrpe_new_disk]=C:\WINNT\system32\cscript.exe /Nologo C:\nrpe\plugins\checkmappednetworkdrives.vbs $ARG1$ $ARG2$ $ARG3$ Here's checkmappednetworkdrives.vbs... 'On Error Resume Next DeviceName = WScript.Arguments.Item(0) 'Wscript.Echo "DeviceName=" & DeviceName WarningPercentage = WScript.Arguments.Item(1) 'Wscript.Echo "WarningPercentage=" & WarningPercentage CriticalPercentage = WScript.Arguments.Item(2) 'Wscript.Echo "CriticalPercentage=" & CriticalPercentage strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_MappedLogicalDisk WHERE DeviceID=""" & DeviceName & """") For Each objItem in colItems PercentageFree = objItem.FreeSpace / objItem.Size PercentageFree = Int(PercentageFree * 100) If (PercentageFree <= Int(CriticalPercentage)) Then ReturnCode = "CRITICAL" ElseIf (PercentageFree <= Int(WarningPercentage)) Then ReturnCode = "WARNING" Else ReturnCode = "OK" End If Wscript.Echo ReturnCode & " " & objItem.DeviceID & " - Percentage Free = " & PercentageFree & "% (" & objItem.FreeSpace & "/" & objItem.Size & ")" Next -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert Reeves Sent: Wednesday, December 21, 2005 10:39 AM To: Subhendu Ghosh Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Remotely Checking Windows: Mapped Network Drives All are WindowsXP. I'll look into WMI32_MappedLogicalDisk. Have you had success with that before? Thanks! Robert -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu Ghosh Sent: Wednesday, December 21, 2005 10:03 AM To: Robert Reeves Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Remotely Checking Windows: Mapped Network Drives On Wed, 21 Dec 2005, Robert Reeves wrote: > I have several windows servers that use mapped network drives. At > times, these drives become unavailable and halt services. I would like > to be able to monitor these drives. > > I have both NRPE_NT and nsclient running on the Windows boxes. Both > responses are not working for me: > > NRPE > Status: OK > Status Information: DEBUG : 12/21/05 08:59:15: GetDiskFreeSpaceEx() > returned an error > > Nsclient: > Status: UNKNOWN > Status Information: Free disk space : Invalid drive > > I have attempted to run both services as the SYSTEM account and as a > valid domain user. Both result in the same response. > > There is an earlier thread that suggests granting the SYSTEM user > permissions to the share. However, due to some uniqueness with how we > set up the mapped network drives, I am unable to change the > permissions on the shares. There are from a Linux box running Samba. > > Does anybody have a solution for this? I simply need to make sure the > drives are accessible from the Windows server, so I'm willing to go in > a different location instead of checking free space left. > > Thanks, > > Robert > server os - win2k or win2k3? Have you tried using NRPE_NT with a script that uses the WMI32_MappedLogicalDisk to enumerate mapped disks? -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.reeves at newisys.com Tue Jan 3 23:12:11 2006 From: robert.reeves at newisys.com (Robert Reeves) Date: Tue, 3 Jan 2006 16:12:11 -0600 Subject: Return Codes? (was RE: Remotely Checking Windows: Mapped Network Drives) Message-ID: Yeah, thanks...this whole exercise with VBScript has made me feel very dirty and caused me to not think straight. Here's the final working product... 'On Error Resume Next DeviceName = WScript.Arguments.Item(0) 'Wscript.Echo "DeviceName=" & DeviceName WarningPercentage = WScript.Arguments.Item(1) 'Wscript.Echo "WarningPercentage=" & WarningPercentage CriticalPercentage = WScript.Arguments.Item(2) 'Wscript.Echo "CriticalPercentage=" & CriticalPercentage Const intOK = 0 Const intWarning = 1 Const intCritical = 2 Const intUnknown = 3 strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_MappedLogicalDisk WHERE DeviceID=""" & DeviceName & """") For Each objItem in colItems PercentageFree = objItem.FreeSpace / objItem.Size PercentageFree = Int(PercentageFree * 100) If (PercentageFree <= Int(CriticalPercentage)) Then ReturnString = "CRITICAL" ReturnCode = intCritical ElseIf (PercentageFree <= Int(WarningPercentage)) Then ReturnString = "WARNING" ReturnCode = intWarning Else ReturnString = "OK" ReturnCode = intOK End If Wscript.Echo ReturnString & " " & objItem.DeviceID & " - Percentage Free = " & PercentageFree & "% (" & objItem.FreeSpace & "/" & objItem.Size & ")" Wscript.Quit(ReturnCode) Next -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, January 03, 2006 4:06 PM To: nagios-users at lists.sourceforge.net Subject: RE: Return Codes? (was RE: [Nagios-users] Remotely Checking Windows: Mapped Network Drives) > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Robert Reeves > Sent: Tuesday, January 03, 2006 3:58 PM > To: nagios-users at lists.sourceforge.net > Subject: Return Codes? (was RE: [Nagios-users] Remotely Checking Windows: > Mapped Network Drives) > > Now that I have my mapped network drives on remote hosts being checked, > I'm getting false negatives. > > My script is reporting the following string to NRPE NT and then to > Nagios: > > CRITICAL U: - Percentage Free = 9% (2200961024/23583522816) > > However, it's saying that's OK when it clearly has CRITICAL at the > beginning of the response. The same for warnings: > > WARNING V: - Percentage Free = 16% (5904531456/36124491776) > > I thought that Nagios looking for OK, WARNING and CRITICAL in the return > and classified it accordingly? Do I neet to provide a return code for > warning or critical states? Yes, you do. The text response above is for human consumption only. Nagios relies exclusively on the exit code of the plugin to determine state. http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jan 3 23:13:34 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 3 Jan 2006 17:13:34 -0500 Subject: Return Codes? (was RE: Remotely Checking Windows: Mapped Network Drives) In-Reply-To: References: Message-ID: <20060103221334.GA24692@mal.members.linode.com> On Tue, Jan 03, 2006 at 03:57:40PM -0600, Robert Reeves wrote: > My script is reporting the following string to NRPE NT and then to > Nagios: > CRITICAL U: - Percentage Free = 9% (2200961024/23583522816) > WARNING V: - Percentage Free = 16% (5904531456/36124491776) > > I thought that Nagios looking for OK, WARNING and CRITICAL in the return The returned output and return code are entirly different. The output is the STDOUT text and is not parsed by Nagios save for splitting the text on the first | character and displaying only the first part. The use of the name 'returncode' in the example below is bad; in that contect returncode should be named 'output'. The return code is the return code of the program. It is passed by ending the plugin with something like 'exit(0)', exit(1), exit(2) or exit(3). These are commonly macro'd as OK,WARNING,CRITICAL, and UNKNOWN, respetively. All programs default to exiting return-code 0 (IE OK), which is why you are getting OK when the text says something else. A basic plugin in a shell script would be: #!/bin/sh #Below is the output echo "Foo bar" #below is the return code exit 2 #END The above is a dummy plugin that would always show up as CRITICAL. -Jason Martin > -----Original Message----- > From: Robert Reeves > Sent: Tuesday, January 03, 2006 3:50 PM > To: Robert Reeves; Subhendu Ghosh > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Remotely Checking Windows: Mapped Network > Drives > > I got it working. > > Add this to your nrpe.cfg file... > command[check_nrpe_new_disk]=C:\WINNT\system32\cscript.exe /Nologo > C:\nrpe\plugins\checkmappednetworkdrives.vbs $ARG1$ $ARG2$ $ARG3$ > > Here's checkmappednetworkdrives.vbs... > > 'On Error Resume Next > > DeviceName = WScript.Arguments.Item(0) > 'Wscript.Echo "DeviceName=" & DeviceName WarningPercentage = > WScript.Arguments.Item(1) 'Wscript.Echo "WarningPercentage=" & > WarningPercentage CriticalPercentage = WScript.Arguments.Item(2) > 'Wscript.Echo "CriticalPercentage=" & CriticalPercentage > > strComputer = "." > Set objWMIService = GetObject("winmgmts:" _ > & "{impersonationLevel=impersonate}!\\" & strComputer & > "\root\cimv2") > > Set colItems = objWMIService.ExecQuery("Select * from > Win32_MappedLogicalDisk WHERE DeviceID=""" & DeviceName & """") > > For Each objItem in colItems > PercentageFree = objItem.FreeSpace / objItem.Size > PercentageFree = Int(PercentageFree * 100) > > If (PercentageFree <= Int(CriticalPercentage)) Then > ReturnCode = "CRITICAL" > ElseIf (PercentageFree <= Int(WarningPercentage)) Then > ReturnCode = "WARNING" > Else > ReturnCode = "OK" > End If > > Wscript.Echo ReturnCode & " " & objItem.DeviceID & " - > Percentage Free = " & PercentageFree & "% (" & objItem.FreeSpace & "/" & > objItem.Size & ")" > Next > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert > Reeves > Sent: Wednesday, December 21, 2005 10:39 AM > To: Subhendu Ghosh > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Remotely Checking Windows: Mapped Network > Drives > > All are WindowsXP. > > I'll look into WMI32_MappedLogicalDisk. Have you had success with that > before? > > Thanks! > > Robert > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu > Ghosh > Sent: Wednesday, December 21, 2005 10:03 AM > To: Robert Reeves > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Remotely Checking Windows: Mapped Network > Drives > > On Wed, 21 Dec 2005, Robert Reeves wrote: > > > I have several windows servers that use mapped network drives. At > > times, these drives become unavailable and halt services. I would like > > > to be able to monitor these drives. > > > > I have both NRPE_NT and nsclient running on the Windows boxes. Both > > responses are not working for me: > > > > NRPE > > Status: OK > > Status Information: DEBUG : 12/21/05 08:59:15: GetDiskFreeSpaceEx() > > returned an error > > > > Nsclient: > > Status: UNKNOWN > > Status Information: Free disk space : Invalid drive > > > > I have attempted to run both services as the SYSTEM account and as a > > valid domain user. Both result in the same response. > > > > There is an earlier thread that suggests granting the SYSTEM user > > permissions to the share. However, due to some uniqueness with how we > > set up the mapped network drives, I am unable to change the > > permissions on the shares. There are from a Linux box running Samba. > > > > Does anybody have a solution for this? I simply need to make sure the > > drives are accessible from the Windows server, so I'm willing to go in > > > a different location instead of checking free space left. > > > > Thanks, > > > > Robert > > > > server os - win2k or win2k3? > > Have you tried using NRPE_NT with a script that uses the > WMI32_MappedLogicalDisk to enumerate mapped disks? > > -- Best way to dispose of the Borg: Give them Windows 3.1. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From cott at internetstaff.com Wed Jan 4 04:29:37 2006 From: cott at internetstaff.com (Cott Lang) Date: Tue, 03 Jan 2006 20:29:37 -0700 Subject: 2.0 upgrade, passive checks problem Message-ID: <1136345377.25800.6.camel@box> I've had passive checks working for several years in 1.x, with never a hitch. Unfortunately, that all changed when I upgraded to 2.0. Suddenly, freshness checks never occurred. Ever. I've re-read the docs several times, my config seems okay. My first problem seems to be that my "check_period" under 1.x was always "none", which worked fine. If I change it to "24x7", I start getting freshness checks. However, they seem to totally ignore freshness_threshold and use the normal_check_interval. If I comment out freshness_threshold and define normal_check_interval to what I want, I seem to get random values. i.e., a service set to 10 minutes tells me this: [1136344804] Warning: The results of service 'x' on host y are stale by 12 seconds (threshold=821 seconds). I'm forcing an immediate check of the service. Where'd 821 seconds come from? Worse, I have other services with nearly identical definitions that don't indicate they are stale or that a freshness check is being scheduled, but suddenly go critical: [1136344634] SERVICE ALERT: host;service;CRITICAL;HARD;1;CRITICAL: service success not reported The normal_check_interval is set to 2 hours, but it seems to go critical every ~10-15 minutes. I'm at a loss at this point, I can only "kinda" get passive checks working. It seems like I must be missing something obvious here in the 2.0 upgrade, but I'm befuddled. I've been using a template for all my passive services like this: define service { name passive-service active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts max_check_attempts 1 normal_check_interval 1560 ; 26 hours retry_check_interval 1 is_volatile 0 check_period 24x7 notification_interval 15 notification_period 24x7 notification_options w,c,r ; freshness_threshold 93600 ; 26 hours appears useless! register 0 } Any help would be appreciated! thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ms_usmani at hotmail.com Wed Jan 4 11:18:58 2006 From: ms_usmani at hotmail.com (Salman Usmani) Date: Wed, 04 Jan 2006 05:18:58 -0500 Subject: Premature end of script headers In-Reply-To: <20060104100810.9DD548887B@sc8-sf-spam1.sourceforge.net> References: <20060104100810.9DD548887B@sc8-sf-spam1.sourceforge.net> Message-ID: Hello, I installed nagios 1.3 on one of our RHEL3 boxes. Running ../bin/nagios -v nagios.cfg from the /etc directory gave no errors. However the web interface doesnt seem to allow the cgi's to execute. I can get to http://serverIP/nagios/ The index page and documentation loads fine but i get the following errors when trying to load ANY of the cgi's: Premature end of script headers: /usr/local/nagios/sbin/status.cgi Premature end of script headers: /usr/local/nagios/sbin/extinfo.cgi Premature end of script headers: /usr/local/nagios/sbin/tac.cgi Can someone help? Thanks so much Salman ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Wed Jan 4 11:39:25 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Wed, 4 Jan 2006 11:39:25 +0100 Subject: Antwort: Premature end of script headers In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 04.01.2006 11:18:58: > However the web interface doesnt seem to allow the cgi's to execute. I can > get to http://serverIP/nagios/ > > The index page and documentation loads fine but i get the following errors > when trying to load ANY of the cgi's: > > Premature end of script headers: /usr/local/nagios/sbin/status.cgi > Premature end of script headers: /usr/local/nagios/sbin/extinfo.cgi > Premature end of script headers: /usr/local/nagios/sbin/tac.cgi Well, you obviously gave yourself the answer already. How about allowing apache to execute the cgi's? ;) sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Jan 4 11:55:22 2006 From: teng at dataway.com (Tedman Eng) Date: Wed, 4 Jan 2006 02:55:22 -0800 Subject: Premature end of script headers Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CAB@dw-mail.dataway.com> Refer to your httpd logs, look for errors. Maybe even post them here, we're not psychic. "Permission Denied" is most likely in your httpd logs. Double-check file and directory permissions. Check the parent directory too, and it's parent, etc... The http server usually runs as either "apache" or "nobody". Can either of those accounts read the nagios/var directory? Double-check httpd configuration, is the directory containing your CGI's "Script Executable"? (ie Options ExecCGI) > -----Original Message----- > From: Salman Usmani [mailto:ms_usmani at hotmail.com] > Sent: Wednesday, January 04, 2006 2:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Premature end of script headers > > > Hello, > > I installed nagios 1.3 on one of our RHEL3 boxes. > > Running ../bin/nagios -v nagios.cfg from the /etc directory > gave no errors. > > However the web interface doesnt seem to allow the cgi's to > execute. I can > get to http://serverIP/nagios/ > > The index page and documentation loads fine but i get the > following errors > when trying to load ANY of the cgi's: > > Premature end of script headers: /usr/local/nagios/sbin/status.cgi > Premature end of script headers: /usr/local/nagios/sbin/extinfo.cgi > Premature end of script headers: /usr/local/nagios/sbin/tac.cgi > > Can someone help? > > Thanks so much > > Salman > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Laden at tudor.com Wed Jan 4 15:00:30 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Wed, 4 Jan 2006 09:00:30 -0500 Subject: 2.0 upgrade, passive checks problem Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DEC3E@tudor.com> I had a similar problem with passive checks and freshness checking when I upgraded to 2.0. I am guessing (though no one ever responded when I asked the list before) That they changed the logic. Before a stale check would trigger an active check in all cases regardless of the check period. Now it appears that check_period overrides that. ie. Whereas check_period = none active_check_enabled = 1 used to work, now you have to use check_period = 24x7 active_checks_enabled = 0 Which is a little annoying, in that the gui now puts the "pasv" icon next to all your passive checks, and the tac cgi wont consider a passive failed check to be an unhandled problem by default. This is a bug in my opinion, though no one seems to agree with me. (assuming silence indicates disagreement.) Anyway. below is the config i use.. define service{ name audit-service-tmpl ; template for Passive commands (like Replication Check Services ) is_volatile 1 ; notify with every failure (with freshness checks) check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 retain_status_information 1 retain_nonstatus_information 1 ; passive_checks_enabled 1 ; these are all passive checks active_checks_enabled 0 ; these are all passive checks flap_detection_enabled 0 ; don't want flaps detected in these cases. notification_interval 31536000 notification_period 24x7 notification_options w,u,c,r check_freshness 1 register 0 } define service{ service_description rhost_check host_name audit contact_groups unix-admins check_command check-freshness-stale!"rhost audit did not report on time" ; dont forget to give script details freshness_threshold 90000 ; 25 hours (seconds) make this number be a couple of hours after next job should complete use audit-service-tmpl } _____ From: Cott Lang [mailto:cott at internetstaff.com] Sent: Tuesday, January 03, 2006 10:30 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 2.0 upgrade, passive checks problem I've had passive checks working for several years in 1.x, with never a hitch. Unfortunately, that all changed when I upgraded to 2.0. Suddenly, freshness checks never occurred. Ever. I've re-read the docs several times, my config seems okay. My first problem seems to be that my "check_period" under 1.x was always "none", which worked fine. If I change it to "24x7", I start getting freshness checks. However, they seem to totally ignore freshness_threshold and use the normal_check_interval. If I comment out freshness_threshold and define normal_check_interval to what I want, I seem to get random values. i.e., a service set to 10 minutes tells me this: [1136344804] Warning: The results of service 'x' on host y are stale by 12 seconds (threshold=821 seconds). I'm forcing an immediate check of the service. Where'd 821 seconds come from? Worse, I have other services with nearly identical definitions that don't indicate they are stale or that a freshness check is being scheduled, but suddenly go critical: [1136344634] SERVICE ALERT: host;service;CRITICAL;HARD;1;CRITICAL: service success not reported The normal_check_interval is set to 2 hours, but it seems to go critical every ~10-15 minutes. I'm at a loss at this point, I can only "kinda" get passive checks working. It seems like I must be missing something obvious here in the 2.0 upgrade, but I'm befuddled. I've been using a template for all my passive services like this: define service { name passive-service active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts max_check_attempts 1 normal_check_interval 1560 ; 26 hours retry_check_interval 1 is_volatile 0 check_period 24x7 notification_interval 15 notification_period 24x7 notification_options w,c,r ; freshness_threshold 93600 ; 26 hours appears useless! register 0 } Any help would be appreciated! thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ms_usmani at hotmail.com Wed Jan 4 15:15:34 2006 From: ms_usmani at hotmail.com (Salman Usmani) Date: Wed, 04 Jan 2006 09:15:34 -0500 Subject: Premature end of script headers In-Reply-To: References: Message-ID: I have the following lines added to the httpd.conf: ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all So the ExecCGI is there but not executing. Here is the dir listing: root at server151 [/usr/local/nagios/sbin]# ls -al total 1984 drwxrwxr-x 2 nagios nagios 4096 Jan 4 02:53 ./ drwxr-xr-x 8 nagios nagios 4096 Jan 4 02:20 ../ -rwxrwxr-x 1 nagios nagios 139744 Jan 4 02:14 avail.cgi* -rwxrwxr-x 1 nagios nagios 140848 Jan 4 02:14 cmd.cgi* -rwxrwxr-x 1 nagios nagios 110624 Jan 4 02:14 config.cgi* -rwxrwxr-x 1 nagios nagios 154040 Jan 4 02:14 extinfo.cgi* -rwxrwxr-x 1 nagios nagios 122272 Jan 4 02:14 histogram.cgi* -rwxrwxr-x 1 nagios nagios 103380 Jan 4 02:14 history.cgi* -rw-r--r-- 1 nagios nagios 110 Jan 4 02:53 .htaccess -rwxrwxr-x 1 nagios nagios 99252 Jan 4 02:14 notifications.cgi* -rwxrwxr-x 1 nagios nagios 98088 Jan 4 02:14 outages.cgi* -rwxrwxr-x 1 nagios nagios 98868 Jan 4 02:14 showlog.cgi* -rwxrwxr-x 1 nagios nagios 143376 Jan 4 02:14 status.cgi* -rwxrwxr-x 1 nagios nagios 124712 Jan 4 02:14 statusmap.cgi* -rwxrwxr-x 1 nagios nagios 112224 Jan 4 02:14 statuswml.cgi* -rwxrwxr-x 1 nagios nagios 107464 Jan 4 02:14 statuswrl.cgi* -rwxrwxr-x 1 nagios nagios 116000 Jan 4 02:14 summary.cgi* -rwxrwxr-x 1 nagios nagios 120304 Jan 4 02:14 tac.cgi* -rwxrwxr-x 1 nagios nagios 122848 Jan 4 02:14 trends.cgi* The browser loads a 500 error page and apache error log shows: Premature end of script headers: /usr/local/nagios/sbin/status.cgi Premature end of script headers: /usr/local/nagios/sbin/extinfo.cgi Premature end of script headers: /usr/local/nagios/sbin/tac.cgi Thanks for the help Salman ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 4 15:24:26 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 4 Jan 2006 09:24:26 -0500 Subject: Premature end of script headers In-Reply-To: References: Message-ID: <302ce8b50601040624i493960c0j348f5674e278a709@mail.gmail.com> On 1/4/06, Salman Usmani wrote: > I have the following lines added to the httpd.conf: > > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios/ /usr/local/nagios/share/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > So the ExecCGI is there but not executing. Here is the dir listing: ExecCGI is not needed here as scriptalias has you covered. Don't need the belt AND the suspenders. > Premature end of script headers: /usr/local/nagios/sbin/status.cgi > Premature end of script headers: /usr/local/nagios/sbin/extinfo.cgi > Premature end of script headers: /usr/local/nagios/sbin/tac.cgi > A couple other things will cause this too, like REMOTE_USER not being set. One question here. Why aren't you using the RPMS provided for rhel that are listed on the site? The rpms listed on the site, dag.wieers.com repository take most of the guesswork out of setting up nagios and apache. The only thing left to screw up are the configs. If you're on an rpm based distribution, it's nearly ALWAYS worth using rpms to install software. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ms_usmani at hotmail.com Wed Jan 4 15:31:01 2006 From: ms_usmani at hotmail.com (Salman Usmani) Date: Wed, 04 Jan 2006 09:31:01 -0500 Subject: Premature end of script headers In-Reply-To: <302ce8b50601040624i493960c0j348f5674e278a709@mail.gmail.com> References: <302ce8b50601040624i493960c0j348f5674e278a709@mail.gmail.com> Message-ID: Thanks for the reply. I must have overloooked the RPM's. Will try them out now. Salman >From: Jim Perrin >To: Salman Usmani >CC: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Premature end of script headers >Date: Wed, 4 Jan 2006 09:24:26 -0500 > >On 1/4/06, Salman Usmani wrote: > > I have the following lines added to the httpd.conf: > > > > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > > > Alias /nagios/ /usr/local/nagios/share/ > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > > > So the ExecCGI is there but not executing. Here is the dir listing: > >ExecCGI is not needed here as scriptalias has you covered. Don't need >the belt AND the suspenders. > > > > Premature end of script headers: /usr/local/nagios/sbin/status.cgi > > Premature end of script headers: /usr/local/nagios/sbin/extinfo.cgi > > Premature end of script headers: /usr/local/nagios/sbin/tac.cgi > > > >A couple other things will cause this too, like REMOTE_USER not being set. >One question here. Why aren't you using the RPMS provided for rhel >that are listed on the site? The rpms listed on the site, >dag.wieers.com repository take most of the guesswork out of setting up >nagios and apache. The only thing left to screw up are the configs. If >you're on an rpm based distribution, it's nearly ALWAYS worth using >rpms to install software. > > >-- >Jim Perrin >System Architect - UIT >Ft Gordon & US Army Signal Center > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 4 16:19:07 2006 From: marc at ena.com (Marc Powell) Date: Wed, 4 Jan 2006 09:19:07 -0600 Subject: Premature end of script headers Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Salman Usmani > Sent: Wednesday, January 04, 2006 8:16 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Premature end of script headers > > > The browser loads a 500 error page and apache error log shows: > > Premature end of script headers: /usr/local/nagios/sbin/status.cgi > Premature end of script headers: /usr/local/nagios/sbin/extinfo.cgi > Premature end of script headers: /usr/local/nagios/sbin/tac.cgi It's interesting that apache isn't logging more useful information. 'Premature end...' is a pretty generic error message with many possible causes... Were these compiled on the same machine they're now being run on? Try running status.cgi from the command line like so -- $ cd ~nagios/sbin $ bash bash-2.05b$ export REQUEST_METHOD="GET" bash-2.05b$ ./status.cgi Cache-Control: no-store Pragma: no-cache Refresh: 90 Last-Modified: Wed, 04 Jan 2006 15:15:01 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-type: text/html Current Service Status Blah blah blah.... You may see error information that is useful for troubleshooting (missing libraries or libraries that aren't accessible, etc)... -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sloane at ku.edu Wed Jan 4 16:36:20 2006 From: sloane at ku.edu (Sloane, Robert Raymond) Date: Wed, 4 Jan 2006 09:36:20 -0600 Subject: 2.0 upgrade, passive checks problem Message-ID: <9632C3DAB675864EB0A9B7724D85DB7901B8B3DD@MAILBOXSEVEN.home.ku.edu> >This is a bug in my opinion, though no one seems to agree with me. I agree that this behaviour should be changed back. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pespinar at oasismp.net Wed Jan 4 17:04:48 2006 From: pespinar at oasismp.net (pespinar at oasismp.net) Date: Wed, 4 Jan 2006 17:04:48 +0100 (CET) Subject: Sending SNMP traps from Nagios Message-ID: <2547.62.15.160.16.1136390688.squirrel@mail.oasismp.net> Dear all, I need to send traps from Nagios to another NMS, in the ocurrence of some events. I have read all the documentation about snmptrap and the MIB notification, but I have not been able to put it to work, because I do not see the exact syntax of the snmptrap command I have to issue in the event handler. Any of you is using this notification method? Any hints will be greatly appreciatted... Un saludo, Pablo Espinar Barcelona (Spain) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Wed Jan 4 17:16:38 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 04 Jan 2006 10:16:38 -0600 Subject: 2.0 upgrade, passive checks problem In-Reply-To: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DEC3E@tudor.com> References: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DEC3E@tudor.com> Message-ID: <1136391406.10106.31.camel@chi100400.local> On Wed, 2006-01-04 at 09:00 -0500, Andrew Laden wrote: > check_period = none > active_check_enabled = 1 > > used to work, now you have to use > > check_period = 24x7 > active_checks_enabled = 0 Huh. I never thought to set mine up the "old way", I've always done it as you described as the "new way". By what you're describing, though, I wish it worked the "old way"...sounds a lot cleaner (I do hate the passive icons for actively-checked-elsewhere services). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From ms_usmani at hotmail.com Wed Jan 4 17:18:27 2006 From: ms_usmani at hotmail.com (Salman Usmani) Date: Wed, 04 Jan 2006 11:18:27 -0500 Subject: Installing Nagios RPM Message-ID: Hi, I dont seem to be able to find any documentation on how to intall the nagios rpm on rhel3. Can someone help? Thanks Salman ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 4 17:34:03 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 4 Jan 2006 11:34:03 -0500 Subject: Installing Nagios RPM In-Reply-To: References: Message-ID: <302ce8b50601040834u39c73750uc57a1b5e32ee017c@mail.gmail.com> On 1/4/06, Salman Usmani wrote: > Hi, > > I dont seem to be able to find any documentation on how to intall the nagios > rpm on rhel3. It gets installed the same way you install other rpms on the system. man rpm for assistance. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Wed Jan 4 17:52:21 2006 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 04 Jan 2006 10:52:21 -0600 Subject: 2.0 upgrade, passive checks problem In-Reply-To: <1136391406.10106.31.camel@chi100400.local> References: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DEC3E@tudor.com> Message-ID: <43BBA8E5.17393.992D61@nagios.nagios.org> On 4 Jan 2006 at 10:16, jeff vier wrote: > On Wed, 2006-01-04 at 09:00 -0500, Andrew Laden wrote: > > check_period = none > > active_check_enabled = 1 > > > > used to work, now you have to use > > > > check_period = 24x7 > > active_checks_enabled = 0 > > Huh. > I never thought to set mine up the "old way", I've always done it as you > described as the "new way". > > By what you're describing, though, I wish it worked the "old > way"...sounds a lot cleaner (I do hate the passive icons for > actively-checked-elsewhere services). > For some reason, these changes didn't get documented previously. Here are the changes to freshness checking in 2.0: 1. The freshness_threshold must be non-zero if the normal_check_interval option is zero. 2. Freshness checks can only occur during times that are valid for the check_period timeperiod. Hope that helps. I've just updated the documentation. Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ms_usmani at hotmail.com Wed Jan 4 18:10:54 2006 From: ms_usmani at hotmail.com (Salman Usmani) Date: Wed, 04 Jan 2006 12:10:54 -0500 Subject: Installing Nagios RPM In-Reply-To: <302ce8b50601040834u39c73750uc57a1b5e32ee017c@mail.gmail.com> References: <302ce8b50601040834u39c73750uc57a1b5e32ee017c@mail.gmail.com> Message-ID: root at server151 [~]# rpm -i nagios-1.2-2.1.el3.rf.i386.rpm Gives the following reult: warning: nagios-1.2-2.1.el3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 package nagios-1.2-2.1.el3.rf is already installed But when i do root at server151 [~]# rpm -q nagios-1.2-2.1.el3.rf.i386.rpm I get: package nagios-1.2-2.1.el3.rf.i386.rpm is not installed What am i doing wrong? Thanks in advance for the help. Salman >From: Jim Perrin >To: Salman Usmani >CC: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Installing Nagios RPM >Date: Wed, 4 Jan 2006 11:34:03 -0500 > >On 1/4/06, Salman Usmani wrote: > > Hi, > > > > I dont seem to be able to find any documentation on how to intall the >nagios > > rpm on rhel3. > >It gets installed the same way you install other rpms on the system. >man rpm for assistance. > > >-- >Jim Perrin >System Architect - UIT >Ft Gordon & US Army Signal Center > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at rio-de-janeiro.oilfield.slb.com Wed Jan 4 18:01:40 2006 From: flima at rio-de-janeiro.oilfield.slb.com (Fernando Lima) Date: Wed, 04 Jan 2006 15:01:40 -0200 Subject: Installing Nagios RPM In-Reply-To: <302ce8b50601040834u39c73750uc57a1b5e32ee017c@mail.gmail.com> References: <302ce8b50601040834u39c73750uc57a1b5e32ee017c@mail.gmail.com> Message-ID: <008b01c61150$8823c7e0$4023baa3@lam.slb.com> To list. Is it a good idea to install Nagios through RPM??? It will configure the nagios user, nagios group (with nobody and nagios), etc? Best Regards, Fernando Lima Schlumberger Security Engineer flima at slb.com Office: +55 21 3824 6954 Mobile. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jim Perrin Sent: Wednesday, January 04, 2006 2:34 PM To: Salman Usmani Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Installing Nagios RPM On 1/4/06, Salman Usmani wrote: > Hi, > > I dont seem to be able to find any documentation on how to intall the > nagios rpm on rhel3. It gets installed the same way you install other rpms on the system. man rpm for assistance. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&opclick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ms_usmani at hotmail.com Wed Jan 4 18:20:26 2006 From: ms_usmani at hotmail.com (Salman Usmani) Date: Wed, 04 Jan 2006 12:20:26 -0500 Subject: Installing Nagios RPM In-Reply-To: <332A1D23-E968-4365-9BCF-743C07B3892A@jolet.net> References: <332A1D23-E968-4365-9BCF-743C07B3892A@jolet.net> Message-ID: rpm -qa|grep nagios Gives: nagios-1.2-2.1.el3.rf Thanks Salman >From: John Jolet >To: "Salman Usmani" >Subject: Re: [Nagios-users] Installing Nagios RPM >Date: Wed, 4 Jan 2006 11:14:08 -0600 > > >On Jan 4, 2006, at 11:10 AM, Salman Usmani wrote: > >>root at server151 [~]# rpm -i nagios-1.2-2.1.el3.rf.i386.rpm >> >>Gives the following reult: >> >>warning: nagios-1.2-2.1.el3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID >>6b8d79e6 >> package nagios-1.2-2.1.el3.rf is already installed >> >>But when i do >>root at server151 [~]# rpm -q nagios-1.2-2.1.el3.rf.i386.rpm >> >>I get: >>package nagios-1.2-2.1.el3.rf.i386.rpm is not installed >> >>What am i doing wrong? >> >too specific ... rpm -qa|grep nagios and see what you get. >>Thanks in advance for the help. >> >>Salman >> >> >>>From: Jim Perrin >>>To: Salman Usmani >>>CC: nagios-users at lists.sourceforge.net >>>Subject: Re: [Nagios-users] Installing Nagios RPM >>>Date: Wed, 4 Jan 2006 11:34:03 -0500 >>> >>>On 1/4/06, Salman Usmani wrote: >>> > Hi, >>> > >>> > I dont seem to be able to find any documentation on how to intall the >>>nagios >>> > rpm on rhel3. >>> >>>It gets installed the same way you install other rpms on the system. >>>man rpm for assistance. >>> >>> >>>-- >>>Jim Perrin >>>System Architect - UIT >>>Ft Gordon & US Army Signal Center >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log >>>files >>>for problems? Stop! Download the new AJAX search engine that makes >>>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>>http://ads.osdn.com/?ad_idv37&alloc_id865&op=click >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, 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: Splunk Inc. Do you grep through log >>files >>for problems? Stop! Download the new AJAX search engine that makes >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Wed Jan 4 18:19:24 2006 From: hmann at itgroundwork.com (Harper Mann) Date: Wed, 4 Jan 2006 09:19:24 -0800 Subject: Installing Nagios RPM In-Reply-To: References: Message-ID: <43BC039C.7070604@itgroundwork.com> Try "rpm -q nagios". I also often run "rpm -qa | grep -i nagios", when I can't remember the rpm name. Rpm is pretty useful. There is an RPM site [1]http://www.rpm.org/ with lots of good info. I hope this helps, - Harper Harper Mann Groundwork 510-599-2075 (cell) Salman Usmani wrote: root at server151 [~]# rpm -i nagios-1.2-2.1.el3.rf.i386.rpm Gives the following reult: warning: nagios-1.2-2.1.el3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 package nagios-1.2-2.1.el3.rf is already installed But when i do root at server151 [~]# rpm -q nagios-1.2-2.1.el3.rf.i386.rpm I get: package nagios-1.2-2.1.el3.rf.i386.rpm is not installed What am i doing wrong? Thanks in advance for the help. Salman From: Jim Perrin [2] To: Salman Usmani [3] CC: [4]nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Installing Nagios RPM Date: Wed, 4 Jan 2006 11:34:03 -0500 On 1/4/06, Salman Usmani [5] wrote: > Hi, > > I dont seem to be able to find any documentation on how to intall the nagios > rpm on rhel3. It gets installed the same way you install other rpms on the system. man rpm for assistance. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! [6]http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list [7]Nagios-users at lists.sourceforge.net [8]https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! [9]http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list [10]Nagios-users at lists.sourceforge.net [11]https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null References 1. http://www.rpm.org/ 2. mailto:jperrin at gmail.com 3. mailto:ms_usmani at hotmail.com 4. mailto:nagios-users at lists.sourceforge.net 5. mailto:ms_usmani at hotmail.com 6. http://ads.osdn.com/?ad_idv37&alloc_id865&op=click 7. mailto:Nagios-users at lists.sourceforge.net 8. https://lists.sourceforge.net/lists/listinfo/nagios-users 9. http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click 10. mailto:Nagios-users at lists.sourceforge.net 11. https://lists.sourceforge.net/lists/listinfo/nagios-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From srunschke at abit.de Wed Jan 4 18:21:50 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Wed, 4 Jan 2006 18:21:50 +0100 Subject: Antwort: Re: Installing Nagios RPM In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 04.01.2006 18:10:54: > root at server151 [~]# rpm -i nagios-1.2-2.1.el3.rf.i386.rpm > > Gives the following reult: > > warning: nagios-1.2-2.1.el3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID > 6b8d79e6 > package nagios-1.2-2.1.el3.rf is already installed > > But when i do > root at server151 [~]# rpm -q nagios-1.2-2.1.el3.rf.i386.rpm > > I get: > package nagios-1.2-2.1.el3.rf.i386.rpm is not installed > > What am i doing wrong? > > Thanks in advance for the help. man rpm "rpm -q" takes the NAME of the paket as parameter, not the filename. So in your case it would be: "rpm -q nagios" or "rpm -q nagios-1.2", I'm unsure if they took the version number into the paketname since there's 1.2 and 2.0 out. But I fail to see why you want to use nagios 1.2 instead of 2.0. It's more or less outdated. regards sash PS: I suggest that you make yourself familiar with RedHat and/or Linux in general first before trying to install such a huge beast like Nagios. -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrsouza at ig.com.br Wed Jan 4 18:28:39 2006 From: chrsouza at ig.com.br (chrsouza) Date: Wed, 4 Jan 2006 15:28:39 -0200 Subject: Installing Nagios RPM Message-ID: <20060104_172839_094065.chrsouza@ig.com.br> Fernando.. I think the best way to install Nagios, is following the README, step by step. Although it seems be harder, it will help you in troubleshooting in the future. Best Regards. Christian Souza. Em (15:01:40), flima at rio-de-janeiro.oilfield.slb.com escreveu: >To list. > >Is it a good idea to install Nagios through RPM??? It will configure the >nagios user, nagios group (with nobody and nagios), etc? > >Best Regards, >Fernando Lima >Schlumberger >Security Engineer >flima at slb.com > >Office: +55 21 3824 6954 >Mobile. : +55 21 9888 9046 >(GMT: -03:00) > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jim Perrin >Sent: Wednesday, January 04, 2006 2:34 PM >To: Salman Usmani >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Installing Nagios RPM > >On 1/4/06, Salman Usmani wrote: >> Hi, >> >> I dont seem to be able to find any documentation on how to intall the >> nagios rpm on rhel3. > >It gets installed the same way you install other rpms on the system. man rpm >for assistance. > >-- >Jim Perrin >System Architect - UIT >Ft Gordon & US Army Signal Center > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&opclick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null > >---------- From ms_usmani at hotmail.com Wed Jan 4 18:40:10 2006 From: ms_usmani at hotmail.com (Salman Usmani) Date: Wed, 04 Jan 2006 12:40:10 -0500 Subject: Installing Nagios RPM In-Reply-To: <43BC039C.7070604@itgroundwork.com> References: <43BC039C.7070604@itgroundwork.com> Message-ID: Doing "rpm -q nagios" shows "nagios-1.2-2.1.el3.rf" How do I remove that? Doing "rpm -e nagios" Shows: error reading information on service nagios: No such file or directory error: %preun(nagios-1.2-2.1.el3.rf) scriptlet failed, exit status 1 Thanks Salman >From: "Harper Mann" >To: Salman Usmani >CC: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Installing Nagios RPM >Date: Wed, 4 Jan 2006 09:19:24 -0800 > > > Try "rpm -q nagios". > I also often run "rpm -qa | grep -i nagios", when I can't remember the > rpm name. > Rpm is pretty useful. There is an RPM site > [1]http://www.rpm.org/ > with lots of good info. > I hope this helps, > - Harper > Harper Mann > Groundwork > 510-599-2075 (cell) > Salman Usmani wrote: > > root at server151 [~]# rpm -i nagios-1.2-2.1.el3.rf.i386.rpm > Gives the following reult: > warning: nagios-1.2-2.1.el3.rf.i386.rpm: V3 DSA signature: NOKEY, > key ID 6b8d79e6 > package nagios-1.2-2.1.el3.rf is already installed > But when i do > root at server151 [~]# rpm -q nagios-1.2-2.1.el3.rf.i386.rpm > I get: > package nagios-1.2-2.1.el3.rf.i386.rpm is not installed > What am i doing wrong? > Thanks in advance for the help. > Salman > > From: Jim Perrin [2] > To: Salman Usmani [3] > CC: [4]nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Installing Nagios RPM > Date: Wed, 4 Jan 2006 11:34:03 -0500 > On 1/4/06, Salman Usmani [5] wrote: > > Hi, > > > > I dont seem to be able to find any documentation on how to intall > the nagios > > rpm on rhel3. > It gets installed the same way you install other rpms on the > system. > man rpm for assistance. > -- > Jim Perrin > System Architect - UIT > Ft Gordon & US Army Signal Center > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that > makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > [6]http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > _______________________________________________ > Nagios-users mailing list > [7]Nagios-users at lists.sourceforge.net > [8]https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that > makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > [9]http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Nagios-users mailing list > [10]Nagios-users at lists.sourceforge.net > [11]https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > >References > > 1. http://www.rpm.org/ > 2. mailto:jperrin at gmail.com > 3. mailto:ms_usmani at hotmail.com > 4. mailto:nagios-users at lists.sourceforge.net > 5. mailto:ms_usmani at hotmail.com > 6. http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > 7. mailto:Nagios-users at lists.sourceforge.net > 8. https://lists.sourceforge.net/lists/listinfo/nagios-users > 9. http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > 10. mailto:Nagios-users at lists.sourceforge.net > 11. https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 4 18:40:27 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 4 Jan 2006 12:40:27 -0500 Subject: Installing Nagios RPM In-Reply-To: <20060104_172839_094065.chrsouza@ig.com.br> References: <20060104_172839_094065.chrsouza@ig.com.br> Message-ID: <302ce8b50601040940t27125be7pc14a6d8d93bd614e@mail.gmail.com> On 1/4/06, chrsouza wrote: > Fernando.. > Ick... Top posting..... > I think the best way to install Nagios, is following the README, step by > step. Although it seems be harder, it will help you in troubleshooting in > the future. This is the best way to get nagios up and running for the first time, however it's a paint by numbers kinda thing and may not be best in the long run for the system. Ideally (yes, I live in an ivory tower, why do you ask? :-P ) You should become familiar enough with nagios that a minor change in the install method is inconsequential. Theory vs practice sort of thing. Any idiot can follow a step by step how-to, but admins earn money by understanding the guide and cooking up their own recipe. It's all a matter of taste. See other post for continued reasons.... -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cott at internetstaff.com Wed Jan 4 18:14:28 2006 From: cott at internetstaff.com (Cott Lang) Date: Wed, 04 Jan 2006 10:14:28 -0700 Subject: Installing Nagios RPM In-Reply-To: References: Message-ID: <1136394868.7886.11.camel@lang.vcommerce.com> > But when i do > root at server151 [~]# rpm -q nagios-1.2-2.1.el3.rf.i386.rpm > > I get: > package nagios-1.2-2.1.el3.rf.i386.rpm is not installed try: rpm -q nagios ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 4 18:54:32 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 4 Jan 2006 12:54:32 -0500 Subject: Installing Nagios RPM In-Reply-To: References: <43BC039C.7070604@itgroundwork.com> Message-ID: <302ce8b50601040954j51a82bcfy68e7b72f6ae850db@mail.gmail.com> On 1/4/06, Salman Usmani wrote: > Doing "rpm -q nagios" shows "nagios-1.2-2.1.el3.rf" > > How do I remove that? > > Doing "rpm -e nagios" > > Shows: > error reading information on service nagios: No such file or directory > error: %preun(nagios-1.2-2.1.el3.rf) scriptlet failed, exit status 1 > Most likely this is the uninstall script that tries to shut nagios down before it uninstalls the rpm. If you have another nagios installed and running (say the one you had built and started off with) then it can't kill it. Stop your nagios service, then do rpm -e nagios -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 4 18:33:34 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 4 Jan 2006 12:33:34 -0500 Subject: Installing Nagios RPM In-Reply-To: <008b01c61150$8823c7e0$4023baa3@lam.slb.com> References: <302ce8b50601040834u39c73750uc57a1b5e32ee017c@mail.gmail.com> <008b01c61150$8823c7e0$4023baa3@lam.slb.com> Message-ID: <302ce8b50601040933v5cd7c118ue00b14ea91f1fd73@mail.gmail.com> On 1/4/06, Fernando Lima wrote: > To list. > > Is it a good idea to install Nagios through RPM??? It will configure the > nagios user, nagios group (with nobody and nagios), etc? > Yes, the nagios rpm will create the nagios user, and set up the apache environment for you. You have to add users to the htpasswd setup, or change the auth to suit your environment. I'm of the belief that you should install the software in a manner consistent with your system. If you're a debian user, install the nagios deb files, if you use an rpm based system, install nagios via rpm. This keeps a clean, consistent system, and allows you to track what package owns what files. It's not so much a nagios issue, as a system administration issue. This way when you need to do a software audit of the system to see what's on it, one command will work, rather than doing rpm -qa.... AND digging through /usr/local/ or other source build/install locations. Just my $0.02US -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Wed Jan 4 18:57:42 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Wed, 4 Jan 2006 18:57:42 +0100 Subject: Antwort: Re: Installing Nagios RPM In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 04.01.2006 18:40:10: > Doing "rpm -q nagios" shows "nagios-1.2-2.1.el3.rf" > > How do I remove that? > > Doing "rpm -e nagios" > > Shows: > error reading information on service nagios: No such file or directory > error: %preun(nagios-1.2-2.1.el3.rf) scriptlet failed, exit status 1 http://learn.to/quote Topposting with fullquotes are considered rude. It seems like you managed to screw your nagios installation. If I had to guess: you installed the nagios rpm (obviously without knowing you did) and then tried to do some manual installing - destroying vital information, needed by the rpm for a successful uninstall for example. Looks like you have some major problems here, it's kinda hard to remotely solve your problem without access to the machine. There are a myriad of places where you would need to check where you broke the installation. regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jqualkenbush at iso-ne.com Wed Jan 4 19:04:15 2006 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Wed, 04 Jan 2006 13:04:15 -0500 Subject: Installing Nagios RPM In-Reply-To: References: Message-ID: <43BC0E1F.8070105@iso-ne.com> Salman Usmani wrote: > Doing "rpm -q nagios" shows "nagios-1.2-2.1.el3.rf" > > How do I remove that? > > Doing "rpm -e nagios" > I thought you needed the full name to remove it. "rpm -e nagios-1.2-2.1.el3.rf" ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ms_usmani at hotmail.com Wed Jan 4 19:07:20 2006 From: ms_usmani at hotmail.com (Salman Usmani) Date: Wed, 04 Jan 2006 13:07:20 -0500 Subject: Antwort: Re: Installing Nagios RPM In-Reply-To: References: Message-ID: Sorry, didnt mean to be rude. I actually installed from the source first and got Premature end of script headers errors in the apache log. None of the cgi's would execute. Then i tried the rpm. Salman >From: srunschke at abit.de >To: nagios-users at lists.sourceforge.net >Subject: Antwort: Re: [Nagios-users] Installing Nagios RPM >Date: Wed, 4 Jan 2006 18:57:42 +0100 > >nagios-users-admin at lists.sourceforge.net schrieb am 04.01.2006 18:40:10: > > > Doing "rpm -q nagios" shows "nagios-1.2-2.1.el3.rf" > > > > How do I remove that? > > > > Doing "rpm -e nagios" > > > > Shows: > > error reading information on service nagios: No such file or directory > > error: %preun(nagios-1.2-2.1.el3.rf) scriptlet failed, exit status 1 > >http://learn.to/quote > >Topposting with fullquotes are considered rude. > >It seems like you managed to screw your nagios installation. >If I had to guess: you installed the nagios rpm (obviously >without knowing you did) and then tried to do some manual >installing - destroying vital information, needed by the rpm >for a successful uninstall for example. >Looks like you have some major problems here, it's kinda >hard to remotely solve your problem without access to the >machine. There are a myriad of places where you would need >to check where you broke the installation. > >regards > sash > >-------------------------------------------------- >Sascha Runschke >Netzwerk Administration >IT-Services > >ABIT AG >Robert-Bosch-Str. 1 >40668 Meerbusch > >Tel.:+49 (0) 2150.9153.226 >Mobil:+49 (0) 173.5419665 >mailto:SRunschke at abit.de > >http://www.abit.net >http://www.abit-epos.net >--------------------------------- >Sicherheitshinweis zur E-Mail Kommunikation / > Security note regarding email communication: >http://www.abit.net/sicherheitshinweis.html > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ms_usmani at hotmail.com Wed Jan 4 19:16:56 2006 From: ms_usmani at hotmail.com (Salman Usmani) Date: Wed, 04 Jan 2006 13:16:56 -0500 Subject: Installing Nagios RPM In-Reply-To: <302ce8b50601040954j51a82bcfy68e7b72f6ae850db@mail.gmail.com> References: <302ce8b50601040954j51a82bcfy68e7b72f6ae850db@mail.gmail.com> Message-ID: root at server151 [~]# service nagios stop nagios: unrecognized service Thanks for the help Salman >From: Jim Perrin >To: Salman Usmani >CC: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Installing Nagios RPM >Date: Wed, 4 Jan 2006 12:54:32 -0500 > >On 1/4/06, Salman Usmani wrote: > > Doing "rpm -q nagios" shows "nagios-1.2-2.1.el3.rf" > > > > How do I remove that? > > > > Doing "rpm -e nagios" > > > > Shows: > > error reading information on service nagios: No such file or directory > > error: %preun(nagios-1.2-2.1.el3.rf) scriptlet failed, exit status 1 > > >Most likely this is the uninstall script that tries to shut nagios >down before it uninstalls the rpm. If you have another nagios >installed and running (say the one you had built and started off with) >then it can't kill it. Stop your nagios service, then do rpm -e nagios > > >-- >Jim Perrin >System Architect - UIT >Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott_yem at agilent.com Wed Jan 4 19:46:54 2006 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Wed, 4 Jan 2006 10:46:54 -0800 Subject: Send only X Notifications on failure Message-ID: <65213341217E8D458E7C78E6640C7495099D57D6@waglmb01.labs.agilent.com> Additionally, you should be able to add the information to the template and use templates as described in the manual. This would make the changes you make global. Alternatively, you should be able to vi the file and ":%s/last_notification 60/last_notification 1/" to make the change globally. This would work if the configurations were copied to make the next template. The task is not difficult to manage even with several hundreds of services. Scott Yem -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of vol Sent: Tuesday, January 03, 2006 2:45 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Send only X Notifications on failure Hi Mario, mario at bortal.de wrote: > Hi, > >> define serviceescalation{ >> host_name xxx01 >> service_description check_http >> first_notification 1 >> ** last_notification 60** >> notification_interval 10 >> contact_groups Admins >> escalation_period 24x7 >> escalation_options w,u,c,r >> } >> >> Change the "last notification" to the number of messages you want to be >> send out >> for the service . >> >> if you want only one for each event - just change it to 1 . > > Can you set the last_notification globally? > I have about 12Services to monitor, and it would be useful if i could only > define it once. > > Otherwise my escalation config will get pretty big. > > Thanks, Mario you can use "notification_interval 0" in your service template, like it is described in the fine manuals: 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 in a non-OK state. 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 service - only one problem notification will be sent out. -vol ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at rio-de-janeiro.oilfield.slb.com Wed Jan 4 20:14:49 2006 From: flima at rio-de-janeiro.oilfield.slb.com (Fernando Lima) Date: Wed, 04 Jan 2006 17:14:49 -0200 Subject: Installing Nagios RPM In-Reply-To: <302ce8b50601040940t27125be7pc14a6d8d93bd614e@mail.gmail.com> References: <302ce8b50601040940t27125be7pc14a6d8d93bd614e@mail.gmail.com> Message-ID: <00a701c61163$21d576b0$4023baa3@lam.slb.com> Thanks Jim, Valeu Christian, The question is that I'd installed Nagios so many times, that I was just wondering if I would win some time (time is money, so I'll ask an upgrade at my payment :p), doing it at next time that we rebuild our Nagios Server. Jim, your answer sounds perfect to me I'll try it. Best Regards, Thanks for your help, Fernando Lima Schlumberger Security Engineer flima at slb.com Office: +55 21 3824 6954 Mobile. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jim Perrin Sent: Wednesday, January 04, 2006 3:40 PM To: chrsouza Cc: flima at rio-de-janeiro.oilfield.slb.com; Salman Usmani; nagios-users at lists.sourceforge.net Subject: Re: RE: [Nagios-users] Installing Nagios RPM On 1/4/06, chrsouza wrote: > Fernando.. > Ick... Top posting..... > I think the best way to install Nagios, is following the README, step > by step. Although it seems be harder, it will help you in > troubleshooting in the future. This is the best way to get nagios up and running for the first time, however it's a paint by numbers kinda thing and may not be best in the long run for the system. Ideally (yes, I live in an ivory tower, why do you ask? :-P ) You should become familiar enough with nagios that a minor change in the install method is inconsequential. Theory vs practice sort of thing. Any idiot can follow a step by step how-to, but admins earn money by understanding the guide and cooking up their own recipe. It's all a matter of taste. See other post for continued reasons.... -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&opclick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eford at nexusenergy.com Wed Jan 4 20:27:38 2006 From: eford at nexusenergy.com (Edward Ford) Date: Wed, 4 Jan 2006 14:27:38 -0500 Subject: Fix when not broken? Message-ID: <014701c61164$ecc36cf0$7f03a8c0@energyguide.com> I have Nagios version 2.0b3 and it is running pretty good. Is there any advantage to running/upgrading to version 2.0rc1? Do the upgrade Nagios programs have anything different than the version I am using? Is the upgrade path: 1) kill Nagios and reinstall the new version? 2) Upgrade program made to upgrade works well? Thank You; Eddie -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Wed Jan 4 20:39:35 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 4 Jan 2006 14:39:35 -0500 Subject: Installing Nagios RPM In-Reply-To: References: <302ce8b50601040954j51a82bcfy68e7b72f6ae850db@mail.gmail.com> Message-ID: <302ce8b50601041139u68fa7e8s40535c5731956416@mail.gmail.com> On 1/4/06, Salman Usmani wrote: > root at server151 [~]# service nagios stop > nagios: unrecognized service If it says it's unrecognized, it may have removed it anyway, even though part of the uninstall script failed. 'rpm -q nagios' to verify if it's there or not. The service command will only work for things that deposit the appropriate files in /etc/init.d/. Basically it usually only works if the program was installed via rpm, though that's more of a usage thing and not a rule. Not to be rude, but you should REALLY consider reading the RHEL docs for sysadmins if you're going to be running rhel. There's a vast difference between being able to build / configure software and being able to admin a system. Some of the "Best Practice" type docs would do you a world of good. It doesn't matter what distro you run, you need to learn the particulars of that distribution to be able to fully utilize it. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 4 21:14:47 2006 From: marc at ena.com (Marc Powell) Date: Wed, 4 Jan 2006 14:14:47 -0600 Subject: Fix when not broken? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Edward Ford > Sent: Wednesday, January 04, 2006 1:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Fix when not broken? > > I have Nagios version 2.0b3 and it is running pretty good. Is there any > advantage to running/upgrading to version 2.0rc1? Do the upgrade Nagios > programs have anything different than the version I am using? http://www.nagios.org/development/changelog.php You'll always want to check this when upgrading as there may be important information about manual changes you need to make. You should be able to judge based on the changes made whether they're important to you. You could always just do it to assist in the testing of course. > Is the upgrade path: > > 1) kill Nagios and reinstall the new version? Yup. Upgrades within the same major version are generally very painless. You'll probably want to tar up your current nagios directory as a fallback measure in the event of some critical problem but generally -- $ ./configure --with-your-options $ make all $ /etc/init.d/nagios stop $ make install $ /path/to/nagios -v /path/to/nagios.cfg $ /etc/init.d/nagios start > 2) Upgrade program made to upgrade works well? There isn't a dedicated 'upgrade program' that I've seen. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MHANLEY at cxtec.com Wed Jan 4 21:24:06 2006 From: MHANLEY at cxtec.com (Matt Hanley) Date: Wed, 4 Jan 2006 15:24:06 -0500 Subject: Notification problem Message-ID: <25AC2CBEEFA22F49BC36DED1250EB6A80972513A@cxmailx.ad.cxtec.com> I'm having trouble diagnosing a problem with notifications. I am using Nagios v1.2 on Red Hat Enterprise Linux ES version 3 and it has been working great for the most part. I noticed that at some point (don't know when), Nagios stopped sending notifications for the PING service. All other notifications appeared to be working great. In an effort to troubleshoot the problem, I added a host named 'nebula' and brought the interface down and back up. No notification was sent for the host or the service. I've searched with Google, et al, but am at a loss, so any guidance would be appreciated. I've included everything I thought was relevant, thanks!: # Generic service definition template define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 check_freshness 0 check_period 24x7 is_volatile 0 max_check_attempts 3 normal_check_interval 5 notifications_enabled 1 notification_interval 0 notification_period 24x7 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 retry_check_interval 1 register 0 } # Ping nebula define service { use generic-service host_name nebula service_description PING contact_groups mhanley notification_options c,r,u check_command check_ping!20.0,20%!100.0,40% } 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! } # 'nebula' host definition define host{ use generic-host host_name nebula alias nebula.cxtec.com address 172.22.3.156 check_command check-host-alive max_check_attempts 10 notification_interval 0 notification_period 24x7 notification_options d,u,r } # 'mhanley' contact group definition - For things only he wants to be notified # for define contactgroup{ contactgroup_name mhanley alias Matthew Hanley members mhanley } # 'mhanley' contact definition define contact{ contact_name mhanley alias Matthew Hanley service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email mhanley at cxtec.com } Jan 4 14:30:32 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;1;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:30:35 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;2;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:30:38 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;3;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:30:41 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;4;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:30:44 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;5;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:30:48 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;6;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:30:51 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;7;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:30:54 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;8;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:30:57 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;9;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:31:00 nagios nagios: HOST ALERT: nebula;DOWN;HARD;10;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:31:00 nagios nagios: SERVICE ALERT: nebula;PING;UNKNOWN;HARD;1;/bin/ping -n -U -c 5 172.22.3.156 Jan 4 14:35:29 nagios nagios: HOST ALERT: nebula;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.46 ms Jan 4 14:35:29 nagios nagios: SERVICE ALERT: nebula;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.48 ms -matt Matthew Hanley mhanley at cxtec.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Wed Jan 4 21:31:35 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 4 Jan 2006 14:31:35 -0600 (CST) Subject: Installing Nagios RPM In-Reply-To: References: Message-ID: On Wed, 4 Jan 2006, Salman Usmani wrote: > Doing "rpm -q nagios" shows "nagios-1.2-2.1.el3.rf" > > How do I remove that? > > Doing "rpm -e nagios" > > Shows: > error reading information on service nagios: No such file or directory > error: %preun(nagios-1.2-2.1.el3.rf) scriptlet failed, exit status 1 > All your questions are really rpm questions, not nagios ones. Anyway, here's the preun section of the nagios spec file: preuninstall scriptlet (using /bin/sh): if [ $1 -eq 0 ]; then /sbin/service nagios stop &>/dev/null || : /sbin/chkconfig --del nagios fi Seems like you have a broken installation. Try this: rpm -e --nopreun nagios For all the information you ever wanted about rpm, please see the following: http://fedora.redhat.com/docs/drafts/rpm-guide-en/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blessingstr at hotmail.com Wed Jan 4 21:57:38 2006 From: blessingstr at hotmail.com (Blessing Strous) Date: Wed, 04 Jan 2006 15:57:38 -0500 Subject: integrating Nagios for use by end-users? Message-ID: Hello, I am new to Nagios and am considering using it to allow end users to view certain perfromance metrics and receive alerts that they themselves configure.They would be able to confiure threshholds and alert levels which would get passed to a check plugin I would write. I wou;d have to integrate the GUI for both configuring alerts and the monitoring reports with my existing website. I saw there are plugins for web-based and db-based configuration and plugins for giving the monitoring reports a different GUI. Does this sound like its do-able? Has anyone done this and can give me some pointers? Thanks, Blessing _________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tharanga at roomsnet.com Thu Jan 5 02:37:49 2006 From: tharanga at roomsnet.com (Tharanga) Date: Thu, 5 Jan 2006 07:37:49 +0600 Subject: softstates and retry check intervals Message-ID: <005601c61198$a2cd42e0$2aff7893@RoomsNet.com> Greetings, My nagios system alerts as critical when the system gives CHECK_NRPE time out. so..i need to retry 3 attempts using retry intervals..then after this 3 checks i want to send the critical alert. but theres a method called softstates in nagios. can any one help me to configure this.. thxs in advance Tharanga ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Thu Jan 5 02:46:10 2006 From: drussell at mpifix.com (Danny Russell) Date: Wed, 4 Jan 2006 18:46:10 -0700 Subject: softstates and retry check intervals Message-ID: <028B223BB24E5443A9784BBE1CC5EBE07CEB21@Lisa.mpifix.com> Notifications are only sent out for HARD States. The retry check interval is how quickly should I start checking as soon as this service is in an non-okay status. The maximum check attempts is how many consecutive checks must be the same before it is considered a hard state, up until then it was a soft state. This can probably explain it better: http://nagios.sourceforge.net/docs/2_0/statetypes.html -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tharanga Sent: Wednesday, January 04, 2006 6:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] softstates and retry check intervals Greetings, My nagios system alerts as critical when the system gives CHECK_NRPE time out. so..i need to retry 3 attempts using retry intervals..then after this 3 checks i want to send the critical alert. but theres a method called softstates in nagios. can any one help me to configure this.. thxs in advance Tharanga ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwhardeman at gmail.com Thu Jan 5 02:14:25 2006 From: jwhardeman at gmail.com (Joseph Hardeman) Date: Wed, 4 Jan 2006 20:14:25 -0500 Subject: Slow Starting Of Nagios 2.0b6 Message-ID: Hi Everyone, I am wondering if anyone knows how I may get Nagios to start faster and check the configs faster. I have a little over 9000 hosts and about 19500 services. It is taking about 25 minutes to start. I have/am setting up distributed checks on the main hosts and have all of the other hosts at these sites as dependents on the main hosts. I have not added all of the services that I am trying to check, so this time will only grow. Plus as time goes by I will be adding more hosts and all the services they need to be monitored for. Thanks Joseph -------------- next part -------------- An HTML attachment was scrubbed... URL: From estair at ilm.com Thu Jan 5 02:57:54 2006 From: estair at ilm.com (Eli Stair) Date: Wed, 04 Jan 2006 17:57:54 -0800 Subject: Slow Starting Of Nagios 2.0b6 In-Reply-To: References: Message-ID: <43BC7D22.9070809@ilm.com> I've noticed that expanding wildcards drastically increases the time it takes to validate the config before re{load|start}ing. I've created population scripts that make _very_ large config files fully expanding all the otherwise wildcard-able host/hostgroup/service/dependency names because of this. If you haven't already, you may consider evaluating that. /eli Joseph Hardeman wrote: > Hi Everyone, > > I am wondering if anyone knows how I may get Nagios to start faster and > check the configs faster. I have a little over 9000 hosts and about > 19500 services. It is taking about 25 minutes to start. I have/am > setting up distributed checks on the main hosts and have all of the > other hosts at these sites as dependents on the main hosts. I have not > added all of the services that I am trying to check, so this time will > only grow. Plus as time goes by I will be adding more hosts and all the > services they need to be monitored for. > > Thanks > > Joseph ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tharanga at roomsnet.com Thu Jan 5 03:02:43 2006 From: tharanga at roomsnet.com (Tharanga) Date: Thu, 5 Jan 2006 08:02:43 +0600 Subject: softstates and retry check intervals References: <028B223BB24E5443A9784BBE1CC5EBE07CEB21@Lisa.mpifix.com> Message-ID: <005f01c6119c$1dafaae0$2aff7893@RoomsNet.com> Hello Danny, Thxs for the immeidate reply. actualy i need to do this "In order to prevent false alarms, Nagios allows you to define how many times a service or host check will be retried before the service or host is considered to have a real problem." but my one process went to NRPE time out..it gives critical alert..but its a false alarm. if nagios can check that service 3 times..if all three times fails..it should alert... this is my servises.cfg define service{ use generic-service ; Name of service template to use host_name Linux-PBX service_description PBX-Asterisk process is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_process!asterisk } thxs in advance Tharanga ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 7:46 AM Subject: RE: [Nagios-users] softstates and retry check intervals Notifications are only sent out for HARD States. The retry check interval is how quickly should I start checking as soon as this service is in an non-okay status. The maximum check attempts is how many consecutive checks must be the same before it is considered a hard state, up until then it was a soft state. This can probably explain it better: http://nagios.sourceforge.net/docs/2_0/statetypes.html -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tharanga Sent: Wednesday, January 04, 2006 6:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] softstates and retry check intervals Greetings, My nagios system alerts as critical when the system gives CHECK_NRPE time out. so..i need to retry 3 attempts using retry intervals..then after this 3 checks i want to send the critical alert. but theres a method called softstates in nagios. can any one help me to configure this.. thxs in advance Tharanga ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Thu Jan 5 03:18:31 2006 From: drussell at mpifix.com (Danny Russell) Date: Wed, 4 Jan 2006 19:18:31 -0700 Subject: softstates and retry check intervals Message-ID: <028B223BB24E5443A9784BBE1CC5EBE07CEB22@Lisa.mpifix.com> That should work, here is a sample from my config: define service { name --template Customer Service max_check_attempts 5 normal_check_interval 10 retry_check_interval 3 active_checks_enabled 1 check_period 24x7 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 30 notification_period ShopHours notifications_enabled 1 register 0 notification_options u,c,r servicegroups Customer Services contact_groups FieldOpsSupport,TechOpsSupport } -----Original Message----- From: Tharanga [mailto:tharanga at roomsnet.com] Sent: Wednesday, January 04, 2006 7:03 PM To: Danny Russell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] softstates and retry check intervals Hello Danny, Thxs for the immeidate reply. actualy i need to do this "In order to prevent false alarms, Nagios allows you to define how many times a service or host check will be retried before the service or host is considered to have a real problem." but my one process went to NRPE time out..it gives critical alert..but its a false alarm. if nagios can check that service 3 times..if all three times fails..it should alert... this is my servises.cfg define service{ use generic-service ; Name of service template to use host_name Linux-PBX service_description PBX-Asterisk process is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_process!asterisk } thxs in advance Tharanga ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 7:46 AM Subject: RE: [Nagios-users] softstates and retry check intervals Notifications are only sent out for HARD States. The retry check interval is how quickly should I start checking as soon as this service is in an non-okay status. The maximum check attempts is how many consecutive checks must be the same before it is considered a hard state, up until then it was a soft state. This can probably explain it better: http://nagios.sourceforge.net/docs/2_0/statetypes.html -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tharanga Sent: Wednesday, January 04, 2006 6:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] softstates and retry check intervals Greetings, My nagios system alerts as critical when the system gives CHECK_NRPE time out. so..i need to retry 3 attempts using retry intervals..then after this 3 checks i want to send the critical alert. but theres a method called softstates in nagios. can any one help me to configure this.. thxs in advance Tharanga ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tharanga at roomsnet.com Thu Jan 5 03:29:17 2006 From: tharanga at roomsnet.com (Tharanga) Date: Thu, 5 Jan 2006 08:29:17 +0600 Subject: softstates and retry check intervals References: <028B223BB24E5443A9784BBE1CC5EBE07CEB22@Lisa.mpifix.com> Message-ID: <007601c6119f$d38d1a70$2aff7893@RoomsNet.com> Thxs again...for the mail...but thats not working..iam using version 1.2. can it be a problem ?? it alerts every time when nrpe time out occurs. it wont check 3 attempts..in the first failure it gives the crtical state..and alert..this is a real problem to my administrators. thanks for ur time.. rgds Tharanga ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 8:18 AM Subject: RE: [Nagios-users] softstates and retry check intervals That should work, here is a sample from my config: define service { name --template Customer Service max_check_attempts 5 normal_check_interval 10 retry_check_interval 3 active_checks_enabled 1 check_period 24x7 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 30 notification_period ShopHours notifications_enabled 1 register 0 notification_options u,c,r servicegroups Customer Services contact_groups FieldOpsSupport,TechOpsSupport } -----Original Message----- From: Tharanga [mailto:tharanga at roomsnet.com] Sent: Wednesday, January 04, 2006 7:03 PM To: Danny Russell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] softstates and retry check intervals Hello Danny, Thxs for the immeidate reply. actualy i need to do this "In order to prevent false alarms, Nagios allows you to define how many times a service or host check will be retried before the service or host is considered to have a real problem." but my one process went to NRPE time out..it gives critical alert..but its a false alarm. if nagios can check that service 3 times..if all three times fails..it should alert... this is my servises.cfg define service{ use generic-service ; Name of service template to use host_name Linux-PBX service_description PBX-Asterisk process is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_process!asterisk } thxs in advance Tharanga ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 7:46 AM Subject: RE: [Nagios-users] softstates and retry check intervals Notifications are only sent out for HARD States. The retry check interval is how quickly should I start checking as soon as this service is in an non-okay status. The maximum check attempts is how many consecutive checks must be the same before it is considered a hard state, up until then it was a soft state. This can probably explain it better: http://nagios.sourceforge.net/docs/2_0/statetypes.html -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tharanga Sent: Wednesday, January 04, 2006 6:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] softstates and retry check intervals Greetings, My nagios system alerts as critical when the system gives CHECK_NRPE time out. so..i need to retry 3 attempts using retry intervals..then after this 3 checks i want to send the critical alert. but theres a method called softstates in nagios. can any one help me to configure this.. thxs in advance Tharanga ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Thu Jan 5 03:45:16 2006 From: drussell at mpifix.com (Danny Russell) Date: Wed, 4 Jan 2006 19:45:16 -0700 Subject: softstates and retry check intervals Message-ID: <028B223BB24E5443A9784BBE1CC5EBE07CEB23@Lisa.mpifix.com> Email us the status.log that contains the checks of the service. -----Original Message----- From: Tharanga [mailto:tharanga at roomsnet.com] Sent: Wednesday, January 04, 2006 7:29 PM To: Danny Russell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] softstates and retry check intervals Thxs again...for the mail...but thats not working..iam using version 1.2. can it be a problem ?? it alerts every time when nrpe time out occurs. it wont check 3 attempts..in the first failure it gives the crtical state..and alert..this is a real problem to my administrators. thanks for ur time.. rgds Tharanga ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 8:18 AM Subject: RE: [Nagios-users] softstates and retry check intervals That should work, here is a sample from my config: define service { name --template Customer Service max_check_attempts 5 normal_check_interval 10 retry_check_interval 3 active_checks_enabled 1 check_period 24x7 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 30 notification_period ShopHours notifications_enabled 1 register 0 notification_options u,c,r servicegroups Customer Services contact_groups FieldOpsSupport,TechOpsSupport } -----Original Message----- From: Tharanga [mailto:tharanga at roomsnet.com] Sent: Wednesday, January 04, 2006 7:03 PM To: Danny Russell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] softstates and retry check intervals Hello Danny, Thxs for the immeidate reply. actualy i need to do this "In order to prevent false alarms, Nagios allows you to define how many times a service or host check will be retried before the service or host is considered to have a real problem." but my one process went to NRPE time out..it gives critical alert..but its a false alarm. if nagios can check that service 3 times..if all three times fails..it should alert... this is my servises.cfg define service{ use generic-service ; Name of service template to use host_name Linux-PBX service_description PBX-Asterisk process is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_process!asterisk } thxs in advance Tharanga ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 7:46 AM Subject: RE: [Nagios-users] softstates and retry check intervals Notifications are only sent out for HARD States. The retry check interval is how quickly should I start checking as soon as this service is in an non-okay status. The maximum check attempts is how many consecutive checks must be the same before it is considered a hard state, up until then it was a soft state. This can probably explain it better: http://nagios.sourceforge.net/docs/2_0/statetypes.html -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tharanga Sent: Wednesday, January 04, 2006 6:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] softstates and retry check intervals Greetings, My nagios system alerts as critical when the system gives CHECK_NRPE time out. so..i need to retry 3 attempts using retry intervals..then after this 3 checks i want to send the critical alert. but theres a method called softstates in nagios. can any one help me to configure this.. thxs in advance Tharanga ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tharanga at roomsnet.com Thu Jan 5 04:02:41 2006 From: tharanga at roomsnet.com (Tharanga) Date: Thu, 5 Jan 2006 09:02:41 +0600 Subject: softstates and retry check intervals References: <028B223BB24E5443A9784BBE1CC5EBE07CEB23@Lisa.mpifix.com> Message-ID: <008901c611a4$7e134a60$2aff7893@RoomsNet.com> here is the status.log [1136429754] SERVICE;DB-server;cpu load;OK;1/30;HARD;1136429719;1136429744;ACTIVE;1;1;1;1136414173;0;OK;4877981 ;0;50829;42026;0;0;1;8;2;1;0;0.00;0;1;1;1;OK - load average: 0.74, 0.86, 0.88 [1136429754] SERVICE;-DB-server;ping;OK;1/10;HARD;1136429739;1136429789;ACTIVE;1;1;1;1136 412427;0;OK;4969226;0;0;46;0;0;1;0;1;1;0;0.00;0;1;1;1;PING OK - Packet loss = 0%, RTA = 0.06 ms [1136429754] SERVICE;Current Users;OK;1/30;HARD;1136429743;1136429768;ACTIVE;1;1;1;1136377184;0;OK;429467 ;0;12388;17;0;0;0;0;2;1;0;0.00;0;1;1;1;USERS OK - 1 users currently logged in ---THARANGA-- ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 8:45 AM Subject: RE: [Nagios-users] softstates and retry check intervals Email us the status.log that contains the checks of the service. -----Original Message----- From: Tharanga [mailto:tharanga at roomsnet.com] Sent: Wednesday, January 04, 2006 7:29 PM To: Danny Russell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] softstates and retry check intervals Thxs again...for the mail...but thats not working..iam using version 1.2. can it be a problem ?? it alerts every time when nrpe time out occurs. it wont check 3 attempts..in the first failure it gives the crtical state..and alert..this is a real problem to my administrators. thanks for ur time.. rgds Tharanga ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 8:18 AM Subject: RE: [Nagios-users] softstates and retry check intervals That should work, here is a sample from my config: define service { name --template Customer Service max_check_attempts 5 normal_check_interval 10 retry_check_interval 3 active_checks_enabled 1 check_period 24x7 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 30 notification_period ShopHours notifications_enabled 1 register 0 notification_options u,c,r servicegroups Customer Services contact_groups FieldOpsSupport,TechOpsSupport } -----Original Message----- From: Tharanga [mailto:tharanga at roomsnet.com] Sent: Wednesday, January 04, 2006 7:03 PM To: Danny Russell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] softstates and retry check intervals Hello Danny, Thxs for the immeidate reply. actualy i need to do this "In order to prevent false alarms, Nagios allows you to define how many times a service or host check will be retried before the service or host is considered to have a real problem." but my one process went to NRPE time out..it gives critical alert..but its a false alarm. if nagios can check that service 3 times..if all three times fails..it should alert... this is my servises.cfg define service{ use generic-service ; Name of service template to use host_name Linux-PBX service_description PBX-Asterisk process is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_process!asterisk } thxs in advance Tharanga ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 7:46 AM Subject: RE: [Nagios-users] softstates and retry check intervals Notifications are only sent out for HARD States. The retry check interval is how quickly should I start checking as soon as this service is in an non-okay status. The maximum check attempts is how many consecutive checks must be the same before it is considered a hard state, up until then it was a soft state. This can probably explain it better: http://nagios.sourceforge.net/docs/2_0/statetypes.html -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tharanga Sent: Wednesday, January 04, 2006 6:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] softstates and retry check intervals Greetings, My nagios system alerts as critical when the system gives CHECK_NRPE time out. so..i need to retry 3 attempts using retry intervals..then after this 3 checks i want to send the critical alert. but theres a method called softstates in nagios. can any one help me to configure this.. thxs in advance Tharanga ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Thu Jan 5 04:12:25 2006 From: drussell at mpifix.com (Danny Russell) Date: Wed, 4 Jan 2006 20:12:25 -0700 Subject: softstates and retry check intervals Message-ID: <028B223BB24E5443A9784BBE1CC5EBE07CEB26@Lisa.mpifix.com> There are only 3 entries in that log. Email the parts that have PBX-Asterisk in them. Should look something like: [1136429754] SERVICE;Linux-PBX;PBX-Asterisk; -----Original Message----- From: Tharanga [mailto:tharanga at roomsnet.com] Sent: Wednesday, January 04, 2006 8:03 PM To: Danny Russell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] softstates and retry check intervals here is the status.log [1136429754] SERVICE;DB-server;cpu load;OK;1/30;HARD;1136429719;1136429744;ACTIVE;1;1;1;1136414173;0;OK;487 7981 ;0;50829;42026;0;0;1;8;2;1;0;0.00;0;1;1;1;OK - load average: 0.74, 0.86, 0.88 [1136429754] SERVICE;-DB-server;ping;OK;1/10;HARD;1136429739;1136429789;ACTIVE;1;1;1; 1136 412427;0;OK;4969226;0;0;46;0;0;1;0;1;1;0;0.00;0;1;1;1;PING OK - Packet loss = 0%, RTA = 0.06 ms [1136429754] SERVICE;Current Users;OK;1/30;HARD;1136429743;1136429768;ACTIVE;1;1;1;1136377184;0;OK;42 9467 ;0;12388;17;0;0;0;0;2;1;0;0.00;0;1;1;1;USERS OK - 1 users currently logged in ---THARANGA-- ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 8:45 AM Subject: RE: [Nagios-users] softstates and retry check intervals Email us the status.log that contains the checks of the service. -----Original Message----- From: Tharanga [mailto:tharanga at roomsnet.com] Sent: Wednesday, January 04, 2006 7:29 PM To: Danny Russell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] softstates and retry check intervals Thxs again...for the mail...but thats not working..iam using version 1.2. can it be a problem ?? it alerts every time when nrpe time out occurs. it wont check 3 attempts..in the first failure it gives the crtical state..and alert..this is a real problem to my administrators. thanks for ur time.. rgds Tharanga ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 8:18 AM Subject: RE: [Nagios-users] softstates and retry check intervals That should work, here is a sample from my config: define service { name --template Customer Service max_check_attempts 5 normal_check_interval 10 retry_check_interval 3 active_checks_enabled 1 check_period 24x7 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 30 notification_period ShopHours notifications_enabled 1 register 0 notification_options u,c,r servicegroups Customer Services contact_groups FieldOpsSupport,TechOpsSupport } -----Original Message----- From: Tharanga [mailto:tharanga at roomsnet.com] Sent: Wednesday, January 04, 2006 7:03 PM To: Danny Russell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] softstates and retry check intervals Hello Danny, Thxs for the immeidate reply. actualy i need to do this "In order to prevent false alarms, Nagios allows you to define how many times a service or host check will be retried before the service or host is considered to have a real problem." but my one process went to NRPE time out..it gives critical alert..but its a false alarm. if nagios can check that service 3 times..if all three times fails..it should alert... this is my servises.cfg define service{ use generic-service ; Name of service template to use host_name Linux-PBX service_description PBX-Asterisk process is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_process!asterisk } thxs in advance Tharanga ----- Original Message ----- From: "Danny Russell" To: "Tharanga" ; Sent: Thursday, January 05, 2006 7:46 AM Subject: RE: [Nagios-users] softstates and retry check intervals Notifications are only sent out for HARD States. The retry check interval is how quickly should I start checking as soon as this service is in an non-okay status. The maximum check attempts is how many consecutive checks must be the same before it is considered a hard state, up until then it was a soft state. This can probably explain it better: http://nagios.sourceforge.net/docs/2_0/statetypes.html -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tharanga Sent: Wednesday, January 04, 2006 6:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] softstates and retry check intervals Greetings, My nagios system alerts as critical when the system gives CHECK_NRPE time out. so..i need to retry 3 attempts using retry intervals..then after this 3 checks i want to send the critical alert. but theres a method called softstates in nagios. can any one help me to configure this.. thxs in advance Tharanga ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yhasabnis at gmail.com Thu Jan 5 05:57:16 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Thu, 5 Jan 2006 10:27:16 +0530 Subject: disk_check for a remote machine In-Reply-To: References: Message-ID: Hi All, Thanks for all the suggestions. I will try out the nrpe option today and give a feedback. If required, I will also try other options that have been suggested. Thanks Yogesh On 1/3/06, Lori Adams wrote: > > also look at nagios' brother, nrpe. Your nagios server calls check_nrpe > which contacts the remote server and runs a command on the remote > machine returning an informative output and exit status. > > -Lori > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Morten Bekkelund > > Sent: Monday, January 02, 2006 4:22 AM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] disk_check for a remote machine > > > > Yeah, check out www.net-snmp.org. > > Install net-snmp on the machines you wanna monitor and use the > > functionality it provides for diskchecks. It writes the result to a > > table in snmp and returns the result when it's being polled from the > > nagios-server. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ms_usmani at hotmail.com Thu Jan 5 06:47:08 2006 From: ms_usmani at hotmail.com (Salman Usmani) Date: Thu, 05 Jan 2006 00:47:08 -0500 Subject: Installing Nagios RPM In-Reply-To: <302ce8b50601041139u68fa7e8s40535c5731956416@mail.gmail.com> References: <302ce8b50601041139u68fa7e8s40535c5731956416@mail.gmail.com> Message-ID: Thanks for the advice Jim, i will do that. Salman >From: Jim Perrin >To: Salman Usmani >CC: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Installing Nagios RPM >Date: Wed, 4 Jan 2006 14:39:35 -0500 > >On 1/4/06, Salman Usmani wrote: > > root at server151 [~]# service nagios stop > > nagios: unrecognized service > >If it says it's unrecognized, it may have removed it anyway, even >though part of the uninstall script failed. 'rpm -q nagios' to verify >if it's there or not. > >The service command will only work for things that deposit the >appropriate files in /etc/init.d/. Basically it usually only works if >the program was installed via rpm, though that's more of a usage thing >and not a rule. > >Not to be rude, but you should REALLY consider reading the RHEL docs >for sysadmins if you're going to be running rhel. There's a vast >difference between being able to build / configure software and being >able to admin a system. Some of the "Best Practice" type docs would do >you a world of good. It doesn't matter what distro you run, you need >to learn the particulars of that distribution to be able to fully >utilize it. > > >-- >Jim Perrin >System Architect - UIT >Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Thu Jan 5 10:56:11 2006 From: werner.flamme at ufz.de (Werner Flamme) Date: Thu, 05 Jan 2006 10:56:11 +0100 Subject: Antwort: Re: Installing Nagios RPM In-Reply-To: References: Message-ID: <43BCED3B.5020106@ufz.de> srunschke at abit.de schrieb am 04.01.2006 18:57: > > http://learn.to/quote > > Topposting with fullquotes are considered rude. Is it seen as recommended behaviour to use "Antwort:" instead of "Re:"? Especially when sending mail to a mailing list that runs in english? SCNR ;-) > > It seems like you managed to screw your nagios installation. > If I had to guess: you installed the nagios rpm (obviously > without knowing you did) and then tried to do some manual > installing - destroying vital information, needed by the rpm > for a successful uninstall for example. > Looks like you have some major problems here, it's kinda > hard to remotely solve your problem without access to the > machine. There are a myriad of places where you would need > to check where you broke the installation. > > regards > sash > > -------------------------------------------------- > Sascha Runschke > Netzwerk Administration > IT-Services > > ABIT AG > Robert-Bosch-Str. 1 > 40668 Meerbusch > > Tel.:+49 (0) 2150.9153.226 > Mobil:+49 (0) 173.5419665 > mailto:SRunschke at abit.de > > http://www.abit.net > http://www.abit-epos.net > --------------------------------- > Sicherheitshinweis zur E-Mail Kommunikation / > Security note regarding email communication: > http://www.abit.net/sicherheitshinweis.html > > BTW, a footer is seperated with/preceded by "-- " (without the ") :-> not by a line full of "-". Beside that ;-) you sure are right, some installation (info) has been messed up. Maybe "rpm --rebuilddb" will help? HTH, Werner -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15, 04318 Leipzig - http://www.ufz.de eMail: werner.flamme at ufz.de, Tel.: (0341) 235-3921 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 5 16:19:36 2006 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jan 2006 09:19:36 -0600 Subject: Notification problem Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matt Hanley > Sent: Wednesday, January 04, 2006 2:24 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification problem > > I'm having trouble diagnosing a problem with notifications. I am using > Nagios v1.2 on Red Hat Enterprise Linux ES version 3 and it has been > working great for the most part. I noticed that at some point (don't know > when), Nagios stopped sending notifications for the PING service. All > other notifications appeared to be working great. In an effort to > troubleshoot the problem, I added a host named 'nebula' and brought the > interface down and back up. No notification was sent for the host or the > service. > > I've searched with Google, et al, but am at a loss, so any guidance would > be appreciated. I've included everything I thought was relevant, thanks!: > [chop] > Jan 4 14:30:32 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;1;/bin/ping -n > -U -c 1 172.22.3.156 > Jan 4 14:30:35 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;2;/bin/ping -n > -U -c 1 172.22.3.156 > Jan 4 14:30:38 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;3;/bin/ping -n > -U -c 1 172.22.3.156 > Jan 4 14:30:41 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;4;/bin/ping -n > -U -c 1 172.22.3.156 > Jan 4 14:30:44 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;5;/bin/ping -n > -U -c 1 172.22.3.156 > Jan 4 14:30:48 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;6;/bin/ping -n > -U -c 1 172.22.3.156 > Jan 4 14:30:51 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;7;/bin/ping -n > -U -c 1 172.22.3.156 > Jan 4 14:30:54 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;8;/bin/ping -n > -U -c 1 172.22.3.156 > Jan 4 14:30:57 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;9;/bin/ping -n > -U -c 1 172.22.3.156 > Jan 4 14:31:00 nagios nagios: HOST ALERT: nebula;DOWN;HARD;10;/bin/ping - > n -U -c 1 172.22.3.156 > Jan 4 14:31:00 nagios nagios: SERVICE ALERT: > nebula;PING;UNKNOWN;HARD;1;/bin/ping -n -U -c 5 172.22.3.156 > Jan 4 14:35:29 nagios nagios: HOST ALERT: nebula;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 0.46 ms > Jan 4 14:35:29 nagios nagios: SERVICE ALERT: nebula;PING;OK;HARD;1;PING > OK - Packet loss = 0%, RTA = 0.48 ms To start, it looks like /bin/ping wasn't executable by nagios before 14:35 and you corrected that, is that the case? As far as the notifications, the one thing that seems a possibility to me is that you have retention enabled, may have disabled notifications at some point and now the notifications_enabled setting is now being preferenced from the retention file over the config file. If that sounds familiar, take a look at the Retention Notes at http://nagios.sourceforge.net/docs/1_0/xodtemplate.html. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhall at healthvision.com Thu Jan 5 16:27:50 2006 From: rhall at healthvision.com (Rusty Hall) Date: Thu, 5 Jan 2006 16:27:50 +0100 (CET) Subject: monitoring F5 BigIP Message-ID: <20060105152750.E21074F415D@desire.netways.de> I have been tasked to monitor multiple F5 bigip's. Is there anyone that is currently monitoring all the aspects of the F5's (Virtual Server States, Pools (2 servers and the states of the servers), SSL Offload) I can monitor the physical metrics like cpu, mem, temp, and so on. I have been tasked to be able to complete this in a short manor. Any assistance will be appreciated. This is not the latest F5 with icontrol so the cyurrent plugin does not help me much. Thanks in advance ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 5 16:30:17 2006 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jan 2006 09:30:17 -0600 Subject: softstates and retry check intervals Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tharanga > Sent: Wednesday, January 04, 2006 8:03 PM > To: Danny Russell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] softstates and retry check intervals > > Hello Danny, > > Thxs for the immeidate reply. actualy i need to do this > "In order to prevent false alarms, Nagios allows you to define how many > times a service or host check will be retried before the service or host > is > considered to have a real problem." > > but my one process went to NRPE time out..it gives critical alert..but its > a > false alarm. if nagios can check that service 3 times..if all three times > fails..it should alert... > this is my servises.cfg > > > define service{ > use generic-service ; Name of > service template to use > > host_name Linux-PBX > service_description PBX-Asterisk process > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_snmp_process!asterisk > } This should do exactly what you want, 3 checks at 1 minute intervals before notification. This _does_ work with all versions of Nagios that I've ever used (years and years). Are you sure this is the active config? Could you possibly have a copy of nagios running that is using an older variation of the config files? Stop nagios, make sure they're all dead with ps then restart nagios. Another strong possibility is that your host check for Linux-PBX is bad. The first time Nagios receives a non-OK response for the PBX-Asterisk process service it will attempt to run the host check_command to make sure that the host isn't down. If _that_ returns non-OK you'll receive an immediate host notification (if enabled) and notifications for the services on that host will be suppressed. Are you receiving a host alert or a service alert? What does the host definition and it's associated command definition look like? -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhall at healthvision.com Thu Jan 5 16:30:12 2006 From: rhall at healthvision.com (Rusty Hall) Date: Thu, 5 Jan 2006 16:30:12 +0100 (CET) Subject: monitoring F5 BigIP Message-ID: <20060105153012.F35CF4F415D@desire.netways.de> I have been tasked to monitor multiple F5 bigip's. Is there anyone that is currently monitoring all the aspects of the F5's (Virtual Server States, Pools (2 servers and the states of the servers), SSL Offload) I can monitor the physical metrics like cpu, mem, temp, and so on. I have been tasked to be able to complete this in a short manor. Any assistance will be appreciated. This is not the latest F5 with icontrol so the cyurrent plugin does not help me much. Thanks in advance ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhall at healthvision.com Thu Jan 5 16:28:01 2006 From: rhall at healthvision.com (Rusty Hall) Date: Thu, 5 Jan 2006 16:28:01 +0100 (CET) Subject: monitoring F5 BigIP Message-ID: <20060105152801.7062C4F415D@desire.netways.de> I have been tasked to monitor multiple F5 bigip's. Is there anyone that is currently monitoring all the aspects of the F5's (Virtual Server States, Pools (2 servers and the states of the servers), SSL Offload) I can monitor the physical metrics like cpu, mem, temp, and so on. I have been tasked to be able to complete this in a short manor. Any assistance will be appreciated. This is not the latest F5 with icontrol so the cyurrent plugin does not help me much. Thanks in advance ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MHANLEY at cxtec.com Thu Jan 5 17:19:10 2006 From: MHANLEY at cxtec.com (Matt Hanley) Date: Thu, 5 Jan 2006 11:19:10 -0500 Subject: Notification problem Message-ID: <25AC2CBEEFA22F49BC36DED1250EB6A809725145@cxmailx.ad.cxtec.com> > To start, it looks like /bin/ping wasn't executable by nagios before > 14:35 and you corrected that, is that the case? No. What do you see that makes you believe that? Ping works fine, and warnings and criticals are logged/displayed just fine. It's just that Nagios doesn't feel that a notification is warranted for some reason. > As far as the notifications, the one thing that seems a possibility to me is that you have retention > enabled, may have disabled notifications at some point and now the notifications_enabled setting is now > being preferenced from the retention file over the config file. If that sounds familiar, take a look at > the Retention Notes at http://nagios.sourceforge.net/docs/1_0/xodtemplate.html. Yeah, that's the direction I went, but with no luck. I figured that with a new host and a new service, this would avoid any such problem. Is my thinking incorrect? -matt Matthew Hanley mhanley at cxtec.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 5 17:44:59 2006 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jan 2006 10:44:59 -0600 Subject: Notification problem Message-ID: > -----Original Message----- > From: Matt Hanley [mailto:MHANLEY at cxtec.com] > Sent: Thursday, January 05, 2006 10:19 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notification problem > > > To start, it looks like /bin/ping wasn't executable by nagios before > > 14:35 and you corrected that, is that the case? > > No. What do you see that makes you believe that? Ping works fine, and > warnings and criticals are logged/displayed just fine. It's just that > Nagios doesn't feel that a notification is warranted for some reason. >From your earlier e-mail -- Jan 4 14:30:32 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;1;/bin/ping -n -U -c 1 172.22.3.156 Jan 4 14:30:35 nagios nagios: HOST ALERT: nebula;DOWN;SOFT;2;/bin/ping -n -U -c 1 172.22.3.156 The fact that nagios is logging the actual ping command used as opposed to the output of the ping command is an indication to me that /bin/ping wasn't executing properly for your host check _or_ check_ping couldn't interpret the output of /bin/ping. I'll bet that if you down your host again and then run your host check_command from the command line as the nagios user you may see additional information. If you're not running the latest plugins, upgrade and/or try using check_icmp instead. If you search the archives for "/bin/ping -n" (use the quotes) you'll see similar instances of notifications not being sent in this case. > > As far as the notifications, the one thing that seems a possibility to > me is that you have retention > > enabled, may have disabled notifications at some point and now the > notifications_enabled setting is now > > being preferenced from the retention file over the config file. If > that sounds familiar, take a look at > > the Retention Notes at > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html. > > Yeah, that's the direction I went, but with no luck. I figured that > with a new host and a new service, this would avoid any such problem. > Is my thinking incorrect? I would expect so but I don't claim to know all the intricacies of template inheritance when it comes to retention data. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neririn at gmail.com Thu Jan 5 18:56:46 2006 From: neririn at gmail.com (Rene Nelson) Date: Thu, 5 Jan 2006 10:56:46 -0700 Subject: bigger.cfg Message-ID: <60e826da0601050956x351cf70bxdd6f8cf7d2f25c40@mail.gmail.com> It is my understanding in nagios 2.0beta and beyond that we can use one single cfg file for hosts, definitions, escalations, contacts, contactgroups, etc. When I place the content of my existing hosts.cfg, hostgroups.cfg, timeperiods.cfg etc into the template bigger.cfg using the order defined therein and reference only bigger.cfg in nagios.cfg, the verification fails with hundreds of errors stating that contacts, contactgroups, hosts etc in the services are not defined anywhere. Can anyone help me with this more consolidated version of config files? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Thu Jan 5 19:09:31 2006 From: jhmartin at toger.us (Jason Martin) Date: Thu, 5 Jan 2006 13:09:31 -0500 Subject: bigger.cfg In-Reply-To: <60e826da0601050956x351cf70bxdd6f8cf7d2f25c40@mail.gmail.com> References: <60e826da0601050956x351cf70bxdd6f8cf7d2f25c40@mail.gmail.com> Message-ID: <20060105180931.GD9907@mal.members.linode.com> On Thu, Jan 05, 2006 at 10:56:46AM -0700, Rene Nelson wrote: > It is my understanding in nagios 2.0beta and beyond that we can use one > single cfg file for hosts, definitions, escalations, contacts, You've always been able to put all of those objects together, and order is not significant. In the past you haven't been able to put the 'extra info' objects in the same file, such as hostextinfo and servicextinfo -- perhaps that is what you are thinking about. -Jason Martin > contactgroups, etc. When I place the content of my existing hosts.cfg, > hostgroups.cfg, timeperiods.cfg etc into the template bigger.cfg using the > order defined therein and reference only bigger.cfg in nagios.cfg, the > verification fails with hundreds of errors stating that contacts, > contactgroups, hosts etc in the services are not defined anywhere. Can > anyone help me with this more consolidated version of config files? > > Thanks in advance. -- It is ten o'clock; do you know where your processes are? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From techjedi at gmail.com Thu Jan 5 19:09:43 2006 From: techjedi at gmail.com (Chris McKeever) Date: Thu, 5 Jan 2006 12:09:43 -0600 Subject: Commands after a service/host failure Message-ID: Is there a way to execute code after a service failure? In particular, our nagios machines network, likes to loose subnets on occassion, resulting in notifications that hosts are down a network restart kicks it all back into gear, and we are doing that on a cron every hour or so. It would be much more efficient if after the first time the host is found to be down (before any notification) to try a network restart, therefore getting everything back online and no false notifications sent. Any ideas? -- ---------------------------------- please respond to the list .. if you need to contact me direct cgmckeever is the account prupref.com is the domain Simply Chicago Real Estate -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwcook at arcadis-us.com Thu Jan 5 19:17:28 2006 From: gwcook at arcadis-us.com (Cook, Garry) Date: Thu, 5 Jan 2006 11:17:28 -0700 Subject: Commands after a service/host failure Message-ID: <38D6D515FC15924693F2640881AF46201B1577@corpexbe2.arcadis-us.com> Event Handlers. http://nagios.sourceforge.net/docs/2_0/eventhandlers.html Thanks, Garry ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Chris McKeever Sent: Thursday, January 05, 2006 11:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Commands after a service/host failure Is there a way to execute code after a service failure? In particular, our nagios machines network, likes to loose subnets on occassion, resulting in notifications that hosts are down a network restart kicks it all back into gear, and we are doing that on a cron every hour or so. It would be much more efficient if after the first time the host is found to be down (before any notification) to try a network restart, therefore getting everything back online and no false notifications sent. Any ideas? -- ---------------------------------- please respond to the list .. if you need to contact me direct cgmckeever is the account prupref.com is the domain Simply Chicago Real Estate -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Jan 5 19:24:10 2006 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jan 2006 12:24:10 -0600 Subject: bigger.cfg Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rene Nelson > Sent: Thursday, January 05, 2006 11:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] bigger.cfg > > It is my understanding in nagios 2.0beta and beyond that we can use one > single cfg file for hosts, definitions, escalations, contacts, Anything specified as a cfg_file in nagios.cfg has been able to be placed in a single file since netsaint. > contactgroups, etc. When I place the content of my existing hosts.cfg, > hostgroups.cfg , timeperiods.cfg etc into the template bigger.cfg using > the order defined therein and reference only bigger.cfg in nagios.cfg, the > verification fails with hundreds of errors stating that contacts, > contactgroups, hosts etc in the services are not defined anywhere. Can > anyone help me with this more consolidated version of config files? It sounds like you've got a typo or other issue that's throwing the parser off (missing close bracket, file edited under windows and includes special control characters, etc). How many objects (approximately) do you have? -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Jan 5 19:18:31 2006 From: jhmartin at toger.us (Jason Martin) Date: Thu, 5 Jan 2006 13:18:31 -0500 Subject: Commands after a service/host failure In-Reply-To: References: Message-ID: <20060105181831.GE9907@mal.members.linode.com> On Thu, Jan 05, 2006 at 12:09:43PM -0600, Chris McKeever wrote: > Is there a way to execute code after a service failure? Look up 'event handlers' in the docs, they do this. -Jason Martin -- It is ten o'clock; do you know where your processes are? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From teng at dataway.com Thu Jan 5 19:46:44 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 5 Jan 2006 10:46:44 -0800 Subject: bigger.cfg Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CB0@dw-mail.dataway.com> Also, make sure you've updated your other .cfg files (checkcommands, misccommands, etc) with new macro names. See: http://nagios.sourceforge.net/docs/2_0/whatsnew.html -----Original Message----- From: Rene Nelson [mailto:neririn at gmail.com] Sent: Thursday, January 05, 2006 9:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] bigger.cfg It is my understanding in nagios 2.0beta and beyond that we can use one single cfg file for hosts, definitions, escalations, contacts, contactgroups, etc. When I place the content of my existing hosts.cfg, hostgroups.cfg , timeperiods.cfg etc into the template bigger.cfg using the order defined therein and reference only bigger.cfg in nagios.cfg, the verification fails with hundreds of errors stating that contacts, contactgroups, hosts etc in the services are not defined anywhere. Can anyone help me with this more consolidated version of config files? Thanks in advance. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Thu Jan 5 19:52:28 2006 From: estair at ilm.com (Eli Stair) Date: Thu, 05 Jan 2006 10:52:28 -0800 Subject: monitoring F5 BigIP In-Reply-To: <20060105153012.F35CF4F415D@desire.netways.de> References: <20060105153012.F35CF4F415D@desire.netways.de> Message-ID: <43BD6AEC.6010102@ilm.com> Just a suggestion, you might want to try polling that info with Cacti and then get the service states from the cacti rrd's in Nagios. I assume that info is manifested in the F5 Enterprise MIB, and probably well-documented. Search around and you'll find the check_rrd_* scripts for pulling that data. I find this handy for using tools more efficient/suited to the task of polling/trending large amounts of data (Ganglia/Cacti) and using Nagios to alert on it. /eli Rusty Hall wrote: > I have been tasked to monitor multiple F5 bigip's. Is there > anyone that is currently monitoring all the aspects of the F5's > (Virtual Server States, Pools (2 servers and the states of the > servers), SSL Offload) I can monitor the physical metrics like > cpu, mem, temp, and so on. I have been tasked to be able to complete > this in a short manor. Any assistance will be appreciated. This > is not the latest F5 with icontrol so the cyurrent plugin does > not help me much. > > > > Thanks in advance > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 5 21:06:53 2006 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jan 2006 14:06:53 -0600 Subject: bigger.cfg Message-ID: Please always respond on list so that others may benefit from your experience. [moving top-post to inline comment] >> On 1/5/06, Marc Powell wrote: [chop] >> >> It sounds like you've got a typo or other issue that's throwing the >> parser off (missing close bracket, file edited under windows and >> includes special control characters, etc). How many objects >> (approximately) do you have? >> > -----Original Message----- > From: Rene Nelson [mailto:neririn at gmail.com] > Sent: Thursday, January 05, 2006 12:35 PM > To: Marc Powell > Subject: Re: [Nagios-users] bigger.cfg > > Aproximately 100 objects. I did compile the .cfg in wordpad for the ease > of cut and paste. Is there a way I can parse the file for invalid chars > and remove? > Wordpad + unix == bad unless you specifically save as plain text. Either use notepad, vi, or some other text editor that works with plain text natively ;) Try opening the file in notepad, re-formatting the text if necessary and re-saving it. That's probably the simplest way if you're not able to start from scratch again. If you have the original files you could always just cat them together from the unix command line with 'cat file1.cfg file2.cfg file3.cfg > my_new.cfg'. then use vi or pico to edit it there. -- Marc Powell ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From djohnson at jsatech.com Thu Jan 5 21:21:32 2006 From: djohnson at jsatech.com (David Johnson) Date: Thu, 5 Jan 2006 14:21:32 -0600 Subject: Commands after a service/host failure In-Reply-To: References: Message-ID: <00d101c61235$a02dca80$1e02a8c0@daviddell> Yes - "monit" another monitoring tool might be better suited for that. We use Debian and it is easily installed and configured. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Chris McKeever Sent: Thursday, January 05, 2006 12:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Commands after a service/host failure Is there a way to execute code after a service failure? In particular, our nagios machines network, likes to loose subnets on occassion, resulting in notifications that hosts are down a network restart kicks it all back into gear, and we are doing that on a cron every hour or so. It would be much more efficient if after the first time the host is found to be down (before any notification) to try a network restart, therefore getting everything back online and no false notifications sent. Any ideas? -- ---------------------------------- please respond to the list .. if you need to contact me direct cgmckeever is the account prupref.com is the domain Simply Chicago Real Estate -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Thu Jan 5 21:44:31 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 5 Jan 2006 12:44:31 -0800 Subject: softstates and retry check intervals Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CB5@dw-mail.dataway.com> > define service{ > use generic-service > host_name Linux-PBX > service_description PBX-Asterisk process > check_command check_snmp_process!asterisk > } I don't see NRPE in your service config. How can NRPE be timing out if it's not defined (here)? > -----Original Message----- > From: Tharanga [mailto:tharanga at roomsnet.com] > Sent: Wednesday, January 04, 2006 6:03 PM > To: Danny Russell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] softstates and retry check intervals > > > Hello Danny, > > Thxs for the immeidate reply. actualy i need to do this > "In order to prevent false alarms, Nagios allows you to > define how many > times a service or host check will be retried before the > service or host is > considered to have a real problem." > > but my one process went to NRPE time out..it gives critical > alert..but its a > false alarm. if nagios can check that service 3 times..if all > three times > fails..it should alert... > this is my servises.cfg > > > define service{ > use generic-service > ; Name of > service template to use > > host_name Linux-PBX > service_description PBX-Asterisk process > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_snmp_process!asterisk > } > > thxs in advance > Tharanga > > > > ----- Original Message ----- > From: "Danny Russell" > To: "Tharanga" ; > > Sent: Thursday, January 05, 2006 7:46 AM > Subject: RE: [Nagios-users] softstates and retry check intervals > > > Notifications are only sent out for HARD States. The retry check > interval is how quickly should I start checking as soon as > this service > is in an non-okay status. The maximum check attempts is how many > consecutive checks must be the same before it is considered a hard > state, up until then it was a soft state. > > This can probably explain it better: > http://nagios.sourceforge.net/docs/2_0/statetypes.html > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Tharanga > Sent: Wednesday, January 04, 2006 6:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] softstates and retry check intervals > > Greetings, > > My nagios system alerts as critical when the system gives CHECK_NRPE > time > out. so..i need to retry 3 attempts using retry intervals..then after > this 3 > checks i want to send the critical alert. but theres a method called > softstates in nagios. > > can any one help me to configure this.. > thxs in advance > Tharanga > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mario at bortal.de Thu Jan 5 22:00:33 2006 From: mario at bortal.de (Mario Ohnewald) Date: Thu, 05 Jan 2006 22:00:33 +0100 Subject: tripwire plugin Message-ID: <1136494833.6255.2.camel@spiekey.lansin.ole> Hello List, would it make sense to write a tripwire nagios plugin? The notification features of nagios make this quite intresting. What do you think? Cheers, Mario ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neririn at gmail.com Thu Jan 5 22:23:41 2006 From: neririn at gmail.com (Rene Nelson) Date: Thu, 5 Jan 2006 14:23:41 -0700 Subject: bigger.cfg In-Reply-To: References: Message-ID: <60e826da0601051323s2a000be9pf03cabc821616883@mail.gmail.com> Worked! Thanks On 1/5/06, Marc Powell wrote: > > Please always respond on list so that others may benefit from your > experience. > > [moving top-post to inline comment] > > > >> On 1/5/06, Marc Powell wrote: > > [chop] > > >> > >> It sounds like you've got a typo or other issue that's throwing > the > >> parser off (missing close bracket, file edited under windows and > >> includes special control characters, etc). How many objects > >> (approximately) do you have? > >> > > > -----Original Message----- > > From: Rene Nelson [mailto:neririn at gmail.com] > > Sent: Thursday, January 05, 2006 12:35 PM > > To: Marc Powell > > Subject: Re: [Nagios-users] bigger.cfg > > > > Aproximately 100 objects. I did compile the .cfg in wordpad for the > ease > > of cut and paste. Is there a way I can parse the file for invalid > chars > > and remove? > > > > Wordpad + unix == bad unless you specifically save as plain text. Either > use notepad, vi, or some other text editor that works with plain text > natively ;) > > Try opening the file in notepad, re-formatting the text if necessary and > re-saving it. That's probably the simplest way if you're not able to > start from scratch again. > > If you have the original files you could always just cat them together > from the unix command line with 'cat file1.cfg file2.cfg file3.cfg > > my_new.cfg'. then use vi or pico to edit it there. > > -- > Marc Powell > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: From neririn at gmail.com Thu Jan 5 22:48:01 2006 From: neririn at gmail.com (Rene Nelson) Date: Thu, 5 Jan 2006 14:48:01 -0700 Subject: check_mysql Message-ID: <60e826da0601051348k40a703efqfdd0d87cdafdd61e@mail.gmail.com> I want to check this via check_by_ssh, but do not want to use the root user nor password. (not too excited about leaving it in a clear text .cfg file) Is there a way to get the same information using a read-only user with no password? Is there a best practices for Check_MySQL via check_by_ssh? -------------- next part -------------- An HTML attachment was scrubbed... URL: From djohnson at jsatech.com Thu Jan 5 22:58:26 2006 From: djohnson at jsatech.com (David Johnson) Date: Thu, 5 Jan 2006 15:58:26 -0600 Subject: check_mysql In-Reply-To: <60e826da0601051348k40a703efqfdd0d87cdafdd61e@mail.gmail.com> References: <60e826da0601051348k40a703efqfdd0d87cdafdd61e@mail.gmail.com> Message-ID: <010f01c61243$2ca00070$1e02a8c0@daviddell> We do this a lot. Where is the mysql server relative to the nagios server? Would NRPE be an option? We used to do SSH and find NRPE better because of the passwords issue. We used to due key authethentication to by pass the passwords with SSH if you still want to go that way. We have also used "expect". _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rene Nelson Sent: Thursday, January 05, 2006 3:48 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_mysql I want to check this via check_by_ssh, but do not want to use the root user nor password. (not too excited about leaving it in a clear text .cfg file) Is there a way to get the same information using a read-only user with no password? Is there a best practices for Check_MySQL via check_by_ssh? -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Jan 5 23:26:42 2006 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jan 2006 16:26:42 -0600 Subject: check_mysql Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rene Nelson > Sent: Thursday, January 05, 2006 3:48 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_mysql > > I want to check this via check_by_ssh, but do not want to use the root > user nor password. (not too excited about leaving it in a clear text .cfg > file) Is there a way to get the same information using a read-only user > with no password? Is there a best practices for Check_MySQL via > check_by_ssh? > check_by_ssh only allows for host-key based authentication methods, not password so one issue is already taken care of. Create a non-root user on your mysql system, configure public key authentication and restrict the command that can be run to check_mysql. http://www.networknewz.com/networknewz-10-20030707AuthenticatingbyPublic KeyOpenSSH.html seems to be a pretty good tutorial on setting up basic public key authentication. When creating the DSA key, leave the passphrase blank for passwordless authentication. Also look in the sshd manpage for information about the authorized_keys file format to restrict access from specific hosts or only allow specific programs to be run. If you find other tutorials that say the ssh-agent needs to be running then you're not looking at the right thing. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Fri Jan 6 00:41:19 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Thu, 05 Jan 2006 18:41:19 -0500 Subject: check_mysql In-Reply-To: Your message of "Thu, 05 Jan 2006 16:26:42 CST." References: Message-ID: <200601052341.k05NfwOR012093@mx1.cs.umb.edu> In message , "Marc Powell" writes: >check_by_ssh only allows for host-key based authentication methods, not >password so one issue is already taken care of. What I did was use ssh-agent to keep the decrypted password. I had hacked check_by_ssh (I no longer have access to the hacks) to allow SSH_AUTH_SOCK to be passed through. The init script for nagios started the ssh-agent, and was able to find and reuse any running ssh-agent. So multiple nagios stops and starts worked without re-entering the key. This way the public key file on disk was able to be encrypted, but the daemon could use the public key. They had 24x7 coverage and if the system crashed and restarted, it would notify the on-call person to add the nagios keys to the agent. A service was created that used ssh-add to verify the existence of the key. If the key disappeared a normal nagios alert went out. Worked quite well. You could also make all check_by_ssh services depend on the key test service and not alert if the key was missing to prevent flooding the on duty operator with messages. Since you can restrict the nagios key to allow access only from certain host and it can force a command to run that prevents running of arbitrary command we found it to be sufficiently secure. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Jan 6 01:18:27 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 5 Jan 2006 16:18:27 -0800 Subject: Sending SNMP traps from Nagios Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CB6@dw-mail.dataway.com> Your snmptrap command would look something like this: /usr/bin/snmptrap -v 2c -c public snmpmanager '' \ .1.3.6.1.4.1.20006.1.5 \ .1.3.6.1.4.1.20006.1.1.1.2 s $HOSTNAME$ \ .1.3.6.1.4.1.20006.1.2.1.1 i $HOSTSTATEID$ \ [OID] [TYPE] [VALUE]... If you had a server "MyServer" go down, and notifications via snmptrap configured as above, your trap manager would recieve the following: TrapOID: HostEvent Hostname = "MyServer" HostStateID = 1 The syntax and options for snmptrap can be found the the net-snmp docs. http://net-snmp.sourceforge.net/ OIDs and descriptions can be found in the Nagios MIB. http://sourceforge.net/project/showfiles.php?group_id=29880&package_id=15331 5 > -----Original Message----- > From: pespinar at oasismp.net [mailto:pespinar at oasismp.net] > Sent: Wednesday, January 04, 2006 8:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Sending SNMP traps from Nagios > > > Dear all, > > I need to send traps from Nagios to another NMS, in the > ocurrence of some > events. I have read all the documentation about snmptrap and the MIB > notification, but I have not been able to put it to work, > because I do not > see the exact syntax of the snmptrap command I have to issue > in the event > handler. Any of you is using this notification method? > > Any hints will be greatly appreciatted... > > Un saludo, > > > Pablo Espinar > > Barcelona (Spain) > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tharanga at roomsnet.com Fri Jan 6 02:23:52 2006 From: tharanga at roomsnet.com (Tharanga) Date: Fri, 6 Jan 2006 07:23:52 +0600 Subject: softstates and retry check intervals References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CB5@dw-mail.dataway.com> Message-ID: <005501c6125f$daf63740$2aff7893@RoomsNet.com> Hello, Yes..i didnt include the nrpe thing here.but even for asterisk process it gives crtical when first check fail. i need to recheck 3 times and throw the critical alert..i think this can used to prevent NRPE time out over WAN link to trigger false alarms. thanks in advance Tharanga ----- Original Message ----- From: "Tedman Eng" To: "'Tharanga'" ; Sent: Friday, January 06, 2006 2:44 AM Subject: RE: [Nagios-users] softstates and retry check intervals > > define service{ > > use generic-service > > host_name Linux-PBX > > service_description PBX-Asterisk process > > check_command check_snmp_process!asterisk > > } > > I don't see NRPE in your service config. > How can NRPE be timing out if it's not defined (here)? > > > > > -----Original Message----- > > From: Tharanga [mailto:tharanga at roomsnet.com] > > Sent: Wednesday, January 04, 2006 6:03 PM > > To: Danny Russell; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] softstates and retry check intervals > > > > > > Hello Danny, > > > > Thxs for the immeidate reply. actualy i need to do this > > "In order to prevent false alarms, Nagios allows you to > > define how many > > times a service or host check will be retried before the > > service or host is > > considered to have a real problem." > > > > but my one process went to NRPE time out..it gives critical > > alert..but its a > > false alarm. if nagios can check that service 3 times..if all > > three times > > fails..it should alert... > > this is my servises.cfg > > > > > > define service{ > > use generic-service > > ; Name of > > service template to use > > > > host_name Linux-PBX > > service_description PBX-Asterisk process > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 1 > > retry_check_interval 1 > > contact_groups linux-admins > > notification_interval 240 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_snmp_process!asterisk > > } > > > > thxs in advance > > Tharanga > > > > > > > > ----- Original Message ----- > > From: "Danny Russell" > > To: "Tharanga" ; > > > > Sent: Thursday, January 05, 2006 7:46 AM > > Subject: RE: [Nagios-users] softstates and retry check intervals > > > > > > Notifications are only sent out for HARD States. The retry check > > interval is how quickly should I start checking as soon as > > this service > > is in an non-okay status. The maximum check attempts is how many > > consecutive checks must be the same before it is considered a hard > > state, up until then it was a soft state. > > > > This can probably explain it better: > > http://nagios.sourceforge.net/docs/2_0/statetypes.html > > > > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Tharanga > > Sent: Wednesday, January 04, 2006 6:38 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] softstates and retry check intervals > > > > Greetings, > > > > My nagios system alerts as critical when the system gives CHECK_NRPE > > time > > out. so..i need to retry 3 attempts using retry intervals..then after > > this 3 > > checks i want to send the critical alert. but theres a method called > > softstates in nagios. > > > > can any one help me to configure this.. > > thxs in advance > > Tharanga > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. > > DOWNLOAD SPLUNK! > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Splunk Inc. Do you grep > > through log files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. > > DOWNLOAD SPLUNK! > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Jan 6 02:51:39 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 5 Jan 2006 17:51:39 -0800 Subject: softstates and retry check intervals Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CB7@dw-mail.dataway.com> Please do not mix all your information up. Are you having prblems with: CHECK_NRPE timing out? Asterisk-PBX snmp checks? DB-Server ping tests? You've sent different pieces of information in almost every one of your emails, and all of them could be related to different problems. Nagios soft/hard states behave as indicated in the documentation, and as described here by others, and it seems that you are understanding its behavior properly as well. If you provide relevant, consistent information, we'll be better able to help. 1) services.cfg from some service you're having troubles with 2) status.log entries for that SAME service you're having troubles with 3) description of what's happening/not happening for that SAME service > -----Original Message----- > From: Tharanga [mailto:tharanga at roomsnet.com] > Sent: Thursday, January 05, 2006 5:24 PM > To: Tedman Eng; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] softstates and retry check intervals > > > Hello, > > Yes..i didnt include the nrpe thing here.but even for > asterisk process it > gives crtical when first check fail. i need to recheck 3 > times and throw the > critical alert..i think this can used to prevent NRPE time > out over WAN link > to trigger false alarms. > > thanks in advance > Tharanga > > > > ----- Original Message ----- > From: "Tedman Eng" > To: "'Tharanga'" ; > > Sent: Friday, January 06, 2006 2:44 AM > Subject: RE: [Nagios-users] softstates and retry check intervals > > > > > define service{ > > > use generic-service > > > host_name Linux-PBX > > > service_description PBX-Asterisk process > > > check_command check_snmp_process!asterisk > > > } > > > > I don't see NRPE in your service config. > > How can NRPE be timing out if it's not defined (here)? > > > > > > > > > -----Original Message----- > > > From: Tharanga [mailto:tharanga at roomsnet.com] > > > Sent: Wednesday, January 04, 2006 6:03 PM > > > To: Danny Russell; nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] softstates and retry check intervals > > > > > > > > > Hello Danny, > > > > > > Thxs for the immeidate reply. actualy i need to do this > > > "In order to prevent false alarms, Nagios allows you to > > > define how many > > > times a service or host check will be retried before the > > > service or host is > > > considered to have a real problem." > > > > > > but my one process went to NRPE time out..it gives critical > > > alert..but its a > > > false alarm. if nagios can check that service 3 times..if all > > > three times > > > fails..it should alert... > > > this is my servises.cfg > > > > > > > > > define service{ > > > use generic-service > > > ; Name of > > > service template to use > > > > > > host_name Linux-PBX > > > service_description PBX-Asterisk process > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 1 > > > retry_check_interval 1 > > > contact_groups linux-admins > > > notification_interval 240 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > check_command check_snmp_process!asterisk > > > } > > > > > > thxs in advance > > > Tharanga > > > > > > > > > > > > ----- Original Message ----- > > > From: "Danny Russell" > > > To: "Tharanga" ; > > > > > > Sent: Thursday, January 05, 2006 7:46 AM > > > Subject: RE: [Nagios-users] softstates and retry check intervals > > > > > > > > > Notifications are only sent out for HARD States. The retry check > > > interval is how quickly should I start checking as soon as > > > this service > > > is in an non-okay status. The maximum check attempts is how many > > > consecutive checks must be the same before it is considered a hard > > > state, up until then it was a soft state. > > > > > > This can probably explain it better: > > > http://nagios.sourceforge.net/docs/2_0/statetypes.html > > > > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > > Of Tharanga > > > Sent: Wednesday, January 04, 2006 6:38 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] softstates and retry check intervals > > > > > > Greetings, > > > > > > My nagios system alerts as critical when the system gives > CHECK_NRPE > > > time > > > out. so..i need to retry 3 attempts using retry > intervals..then after > > > this 3 > > > checks i want to send the critical alert. but theres a > method called > > > softstates in nagios. > > > > > > can any one help me to configure this.. > > > thxs in advance > > > Tharanga > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do you > grep through log > > > files > > > for problems? Stop! Download the new AJAX search engine > that makes > > > searching your log files as easy as surfing the web. > > > DOWNLOAD SPLUNK! > > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: Splunk Inc. Do you grep > > > through log files > > > for problems? Stop! Download the new AJAX search engine > that makes > > > searching your log files as easy as surfing the web. > > > DOWNLOAD SPLUNK! > > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Jan 6 03:42:29 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 5 Jan 2006 18:42:29 -0800 Subject: check_mysql Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CB8@dw-mail.dataway.com> We use a lot of ssh-based checks. Compiling nrpe is difficult to do on some linux-based appliances or other locked-down devices. Most of our checks are custom scripts that execute ssh-based remote commands. Though not check_mysql specific, here's some guidelines we follow: 1a) Disable root login, use an alternate restricted account if possible) PermitRootLogin = no 1b) If not possible to disable root login, disable root's password-based login PermitRootLogin = without-password 2) Disable Password-based login, use public key authentication only An intruder would have to put a physically place a file on the server to be able to login 3) Restrict the public key to certain IP's 4) Restrict the public key to certain commands (Brian Hatch has a wrapper script to call if you'd like more control) 5) Restrict the public key from port forwarding 6) Install some sort of SSH-banning script like DenyHosts (denyhosts.sourceforge.net) Sample public key we put on the remote server /home/serviceaccount/.ssh/authorized_keys: no-port-forwarding,no-X11-forwarding,no-agent-forwarding,from="1.2.3.4",comm and="/usr/local/bin/check_something" ssh-dss gnm'@j=v-eEQXsAn]FA])QAOWyTzh8jC[ Hello everybody, When I am testing nagios with nagios -v I have a warning with this message that I don't understand : Warning: Nothing specified for illegal_macro_output_chars variable! Have a good year Jean Frontin System team I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 04 France tel (33)(0)5 61 55 63 03 mail frontin at irit.fr ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Fri Jan 6 10:36:08 2006 From: az at whoever.org (Az) Date: Fri, 06 Jan 2006 19:36:08 +1000 Subject: What does it mean ? In-Reply-To: <5.0.2.1.2.20060106091852.00b152d0@mailhost.irit.fr> References: <5.0.2.1.2.20060106091852.00b152d0@mailhost.irit.fr> Message-ID: <43BE3A08.7010005@whoever.org> Jean Frontin wrote: > When I am testing nagios with nagios -v I have a warning with this > message that I don't understand : > Warning: Nothing specified for illegal_macro_output_chars variable! Have a look at the docs... http://nagios.sourceforge.net/docs/2_0/configmain.html#illegal_macro_output_chars I am guessing you have remove the line from your config or commented it out. I commented the line out and got the same result. Cheers. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Fri Jan 6 12:11:22 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Fri, 6 Jan 2006 11:11:22 -0000 Subject: Dependency issue Message-ID: Hi, I have setup dependencies which all seem to work fine to a point. Example : I have 1 host with 3 services HOST A | Service A (master service) | ------------------- | | Service B Service C If service A fails, checks and notifications are suppressed for Service B and Service C which is fine. However, i've had a couple of situations where Service B or Service C may fail first, generate an alert AND then Service A fails which also generates an alert. Is there a way in Nagios that can flip over to only alerting for Service A in this situation and supress anything for Service B and Service C until recovery occurs. Do I need to define further service dependencies or use inheritance of parent ? I've read the docs (several times) but can't seem to find the answers there. I'm using Nagios 2.0b4 / Suse 9.2. Any help, pointers to docs that can help, or even a padded cell would be much appreciated! regards, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From gregcmartin at gmail.com Fri Jan 6 16:05:42 2006 From: gregcmartin at gmail.com (Greg Martin) Date: Fri, 6 Jan 2006 09:05:42 -0600 Subject: check spamhaus lasso Message-ID: <3ef169e20601060705m6161faa0s2c38ee8c17564c50@mail.gmail.com> I would like to use check_http or similar program to query the Spamhaus Lasso tool to report if there are any open issues (this would benefit alot of ISP/HSP's)... Using aol for a generic example: www.spamhaus.org -u /sbl/listings.lasso?isp=aol.com If there are no SBL issues you receive the following text: "There are no current SBL listings for aol.com" If there are you recieve the following text: "Found x SBL listings for IPs under the responsibility of aol.com" So I would imagine my regular check command would be: ./check_http -H www.spamhaus.org -u /sbl/listings.lasso?isp=aol.com -f follow -s no current SBL or ./check_http -H www.spamhaus.org -u /sbl/listings.lasso?isp=aol.com -f follow -s "no current SBL" But neither seems to work... ./check_http -H www.spamhaus.org -u /sbl/listings.lasso?isp=aol.com -f follow -s no works but not: ./check_http -H www.spamhaus.org -u /sbl/listings.lasso?isp=aol.com -f follow -s current I am at a loss now, can anyone make a suggestion on what i'm doin wrong ? Thanks! Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Jan 6 16:30:38 2006 From: marc at ena.com (Marc Powell) Date: Fri, 6 Jan 2006 09:30:38 -0600 Subject: check spamhaus lasso Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Greg Martin > Sent: Friday, January 06, 2006 9:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check spamhaus lasso > > I would like to use check_http or similar program to query the Spamhaus > Lasso tool to report if there are any open issues (this would benefit alot > of ISP/HSP's)... > > Using aol for a generic example: www.spamhaus.org > -u /sbl/listings.lasso?isp=aol.com > > If there are no SBL issues you receive the following text: > > "There are no current SBL listings for aol.com " > > If there are you recieve the following text: > > "Found x SBL listings for IPs under the responsibility of aol.com" > > > > So I would imagine my regular check command would be: > > ./check_http -H www.spamhaus.org -u /sbl/listings.lasso?isp=aol.com -f > follow -s no current SBL > > or > > > ./check_http -H www.spamhaus.org -u /sbl/listings.lasso?isp=aol.com -f > follow -s "no current SBL" > > > But neither seems to work... > > > ./check_http -H www.spamhaus.org -u /sbl/listings.lasso?isp=aol.com -f > follow -s no > > works > > but not: > > ./check_http -H www.spamhaus.org -u /sbl/listings.lasso?isp=aol.com -f > follow -s current > > > I am at a loss now, can anyone make a suggestion on what i'm doin wrong ? It's not you directly. check_http isn't seeing the same page you are seeing in your browser because they use cookies to track database queries (to limit automated checks I would presume). You have already accepted the cookie in your browser so you no longer see that page. check_http however does not support cookies and therefore sees the 'cookie acceptance' page they present as opposed to the page you're expecting. You can see this yourself by using wget or the LWP GET alias if you have that installed -- $ GET "http://www.spamhaus.org/sbl/listings.lasso?isp=aol.com" The Spamhaus Project - Security [chop] Spamhaus uses Cookies to track database queries. We do not collect any information from you, and any tests our servers perform are purely for site security only. To accept our security measures, please press "YES, I Agree". [chop] It looks like wget can load a cookie from a pre-existing file so you _may_ be able to create a wrapper for that to get the page then parse it for the text you want but that's not very efficient and you may be using the service in a manner that is undesirable to them. My suggestion would be to contact them, propose what you want to do and see if they have an alternative way of accessing the information. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffwilliams05 at gmail.com Fri Jan 6 17:16:48 2006 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Fri, 6 Jan 2006 10:16:48 -0600 Subject: opinions on web-based configuration utilities In-Reply-To: <17e351010601031349p53e13efdg9405456d67e47625@mail.gmail.com> References: <17e351010512290723j25d9cc42x2cb7c11593db6675@mail.gmail.com> <7e2f9af90512291124g222da227p1f6bc4a3d9bccafb@mail.gmail.com> <17e351010512291225n625971bfq21b4ab898489f90e@mail.gmail.com> <17e351010601031349p53e13efdg9405456d67e47625@mail.gmail.com> Message-ID: <17e351010601060816h57deaa70x46a33c7260d7928@mail.gmail.com> Does anyone have other recommendations for web-based Nagios configuration besides fruity, monarch, or creating my own? Fruity doesn't want to import my escalations or my generic host/service template and monarch gives me an error about not being able to create the table it wants to create in the monarch_setup script. I am trying to import escalations (into fruity) that exist in this format: ----------------- define hostescalation{ host_name server1,server2,server3 first_notification 2 last_notification 2 notification_interval 5 contact_groups oncall } define hostescalation{ host_name server1,server2,server3 first_notification 3 last_notification 4 notification_interval 5 contact_groups oncall,backup } define hostescalation{ host_name server1,server2,server3 first_notification 5 last_notification 0 notification_interval 0 contact_groups oncall,backup } define serviceescalation{ host_name server1,server2,server3 service_description PING first_notification 2 last_notification 2 notification_interval 5 contact_groups oncall } define serviceescalation{ host_name server1,server2,server3 service_description PING first_notification 3 last_notification 4 notification_interval 5 contact_groups oncall,backup } define serviceescalation{ host_name server1,server2,server3 service_description PING first_notification 5 last_notification 0 notification_interval 0 contact_groups oncall,backup } -------------- I have multiple escalation files that exist within [nagiosdir]/etc/escalations/. This is specified in my nagios.cfg that gets imported, but the import log clearly states that 0 host escalations and 0 service escalations will be imported. For those that are familiar with fruity, am I doing something wrong? Thanks for your time. Jeff ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Fri Jan 6 17:38:15 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Fri, 6 Jan 2006 16:38:15 -0000 Subject: Dependency issue Message-ID: Hi, I have setup dependencies which all seem to work fine to a point. Example : I have 1 host with 3 services HOST A | Service A (master service) | ------------------- | | Service B Service C If service A fails, checks and notifications are suppressed for Service B and Service C which is fine. However, i've had a couple of situations where Service B or Service C may fail first, generate an alert AND then Service A fails which also generates an alert. Is there a way in Nagios that can flip over to only alerting for Service A in this situation and supress anything for Service B and Service C until recovery occurs. Do I need to define further service dependencies or use inheritance of parent ? I've read the docs (several times) but can't seem to find the answers there. I'm using Nagios 2.0b4 / Suse 9.2. Any help, pointers to docs that can help, or even a padded cell would be much appreciated! regards, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From MHANLEY at cxtec.com Fri Jan 6 19:54:17 2006 From: MHANLEY at cxtec.com (Matt Hanley) Date: Fri, 6 Jan 2006 13:54:17 -0500 Subject: Notification problem Message-ID: <25AC2CBEEFA22F49BC36DED1250EB6A809725157@cxmailx.ad.cxtec.com> > host check_command from the command line as the nagios user you may see additional information. If you're > not running the latest plugins, upgrade and/or try using check_icmp instead. If you search the archives > for "/bin/ping -n" (use the quotes) you'll see similar instances of notifications not being sent in this I have installed and am using check_icmp - still no notifications. Most of the ping problems in the archives had to do with permissions issues with ping not running. The problem here is that Nagios does not think it needs to send a notification at all for ping (and now icmp) issues. On the status retention front, I have deleted the status.sav file and restarted Nagios - still no notifications for ping/icmp. I am, however, still getting notifications for other services. Can anyone offer up some advice of other paths to go down? -matt Matthew Hanley mhanley at cxtec.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Jan 6 21:34:43 2006 From: teng at dataway.com (Tedman Eng) Date: Fri, 6 Jan 2006 12:34:43 -0800 Subject: Dependency issue Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CC1@dw-mail.dataway.com> If Service B happens to be queued to be checked before Service A is, you'll get notified of it's problem first, so that's why it's only sometimes that you get this behavior. As for simple solution to your question, increase the max_check_attempts of Service B/C, so that Service A will error out before Service B/C does, thus skirting the check queue phenomenon. -----Original Message----- From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Sent: Friday, January 06, 2006 3:11 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Dependency issue Hi, I have setup dependencies which all seem to work fine to a point. Example : I have 1 host with 3 services HOST A | Service A (master service) | ------------------- | | Service B Service C If service A fails, checks and notifications are suppressed for Service B and Service C which is fine. However, i've had a couple of situations where Service B or Service C may fail first, generate an alert AND then Service A fails which also generates an alert. Is there a way in Nagios that can flip over to only alerting for Service A in this situation and supress anything for Service B and Service C until recovery occurs. Do I need to define further service dependencies or use inheritance of parent ? I've read the docs (several times) but can't seem to find the answers there. I'm using Nagios 2.0b4 / Suse 9.2. Any help, pointers to docs that can help, or even a padded cell would be much appreciated! regards, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Jan 6 21:50:22 2006 From: teng at dataway.com (Tedman Eng) Date: Fri, 6 Jan 2006 12:50:22 -0800 Subject: Notification problem Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CC2@dw-mail.dataway.com> On a downed host, ping service alerts will get suppressed by host alerts if you're also using ping to check the host. If you're using the standard ping-based check_host_alive, you should only get ping-service problem notifications when the host is still pingable but packetloss/RTT is in your warning or critical ranges. For your test, set up your test host to use "check_dummy 0" for the host check, then test your ping service notifications again. That way host-check interaction is out of the equation. > -----Original Message----- > From: Matt Hanley [mailto:MHANLEY at cxtec.com] > Sent: Friday, January 06, 2006 10:54 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notification problem > > > > host check_command from the command line as the nagios user you may > see additional information. If you're > > not running the latest plugins, upgrade and/or try using check_icmp > instead. If you search the archives > > for "/bin/ping -n" (use the quotes) you'll see similar instances of > notifications not being sent in this > > I have installed and am using check_icmp - still no > notifications. Most > of the ping problems in the archives had to do with permissions issues > with ping not running. The problem here is that Nagios does not think > it needs to send a notification at all for ping (and now icmp) issues. > > On the status retention front, I have deleted the status.sav file and > restarted Nagios - still no notifications for ping/icmp. I > am, however, > still getting notifications for other services. Can anyone offer up > some advice of other paths to go down? > > -matt > > Matthew Hanley > mhanley at cxtec.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MHANLEY at cxtec.com Fri Jan 6 22:16:57 2006 From: MHANLEY at cxtec.com (Matt Hanley) Date: Fri, 6 Jan 2006 16:16:57 -0500 Subject: Notification problem Message-ID: <25AC2CBEEFA22F49BC36DED1250EB6A809725158@cxmailx.ad.cxtec.com> > On a downed host, ping service alerts will get suppressed by host alerts if you're also using ping to > check the host. > > If you're using the standard ping-based check_host_alive, you should only get ping-service problem > notifications when the host is still pingable but packetloss/RTT is in your warning or critical ranges. This is my problem, I'm not getting ping/icmp notifications for either adown host or critical ranges. I can find multiple instances of critical ping service alerts for packet loss/RTT without a corresponding notification. And on hosts that are down, I'm not getting a notification that the host is down, either. If it's http or ntp (for example) have problems I'm golden, I get notifications galore - but not ping/icmp/host down/up. -matt Matthew Hanley mhanley at cxtec.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Sat Jan 7 05:02:12 2006 From: muaddib at databit7.com (Hammond, Robin-David%KB3IEN) Date: Sat, 7 Jan 2006 04:02:12 +0000 (UTC) Subject: ping hanging. Message-ID: In order to try to diagnose the nagios problem whereby it enteres the wait state indefinitely, i added some debugging code to commands.c, and rebuilt nagios 2.0rc1. I am now getting a very strange error /Warning: Attempting to execute the command "/check_ping -H 4400::34 -w 3000.0,80% -c 5000.0,100% -p 1 -t 10 -6" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... over and over. this is particularly confusiong as i never reran configure nor did I ever uninstall the /check_ping programme it is still in place and executable. Any ideas? Microsoft: Where do you want to go tomorrow? Linux: Where do you want to go today? BSD: Are you guys coming, or what? Robin-David Hammond KB3IEN ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From time at digg.com Sat Jan 7 06:51:08 2006 From: time at digg.com (timeless) Date: Fri, 06 Jan 2006 21:51:08 -0800 Subject: Why does Socket Timeout immediately send notification? Message-ID: <43BF56CC.3030907@digg.com> I have Nagios configured to send notifications after 4 CRITICAL service checks. However, if the service check returns "socket timeout," Nagios immediately sends the page without doing another 3 checks. Google searches and searching the documentation/FAQ for "socket timeout" only explain what the problem is, not why that sort of failure results in an immediate HARD STATE change. Any clues for me? How can I make it only result in a HARD CRITICAL after 4 checks, like other CRITICAL events? -- timeless ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From askarali at beaconet.net Sat Jan 7 07:32:11 2006 From: askarali at beaconet.net (Askar Ali) Date: Sat, 07 Jan 2006 11:32:11 +0500 Subject: notify via sms Message-ID: <43BF606B.4060202@beaconet.net> Hi, list i know this question has been repeated many times on this list but I still need your help and suggestion. Here is the related text from nagios FAQ.. ------------ #Nagios command obj # 'host-notify-by-gnokii' command definition define command{ command_name host-notify-by-gnokii command_line /opt/nagios/bin/sms_notification_by_gnokki $CONTACTPAGER$ "Nagios Host Alert \n\n $HOSTALIAS$ is $HOSTSTATE$; $OUTPUT$; $DATETIME$" } send sms example script: ---------------------------------- #!/bin/sh # # Gnokii Plugin script # (c) Horst venzke # v 0.1 - 17.01.2004 mess=$2 number=$1 echo $mess | gnokii --sendsms $number ---- My problem is that my gnokii is running on another machine then nagios, can someone guide me how to pipe message from nagios machine to machine running sms gateway (gnokii) ? so that " echo $mess | gnokii --sendsms $number" do the sending of sms. regards askar -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmaij at jbg.com Sat Jan 7 03:27:42 2006 From: rmaij at jbg.com (Rob Maij) Date: Fri, 6 Jan 2006 21:27:42 -0500 Subject: Send only X Notifications on failure Message-ID: <747C60AD94BD0D4B91CFB61DF8E9C3CA0869E744@jbgexchange3.jbg.com> mario at bortal.de wrote: > Hi, > >> define serviceescalation{ >> host_name xxx01 >> service_description check_http >> first_notification 1 >> ** last_notification 60** >> notification_interval 10 >> contact_groups Admins >> escalation_period 24x7 >> escalation_options w,u,c,r >> } >> >> Change the "last notification" to the number of messages you want to >> be send out >> for the service . >> >> if you want only one for each event - just change it to 1 . > > Can you set the last_notification globally? > I have about 12Services to monitor, and it would be useful if i could > only define it once. > > Otherwise my escalation config will get pretty big. > > Thanks, Mario >you can use "notification_interval 0" in your service template, like it is described in the fine manuals: >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 in a non-OK state. 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 service - only one problem notification will be sent >out. -vol I upgraded to version 1.3 and ever since my service notifications go out every 10 minutes. Notification_interval is set to 0. When I go to "View Configs" from the web page and look at the services, all the services indicate "No Re-notification". It was fine prior to the upgrade to 1.3. We would only get one notification. Can this be fixed or (I am unable to check this out at the moment and just wondering) will setting notification_interval to 90 change it from 10 to 90 minutes? IMPORTANT: The information contained in this e-mail message is confidential and is intended only for the named addressee(s). If you are neither the intended recipient(s) nor a person responsible for the delivery of this transmittal to the intended recipient(s), you are hereby notified that any distribution, copying, re-use or dissemination of this transmittal is prohibited. If you have received this transmittal in error, please reply to the sender that you have received the message in error and then delete it. This e-mail and all other electronic communications from JBG Properties, Inc. or any of its affiliates and their respective representatives are for informational purposes only, and no such communication is intended by the sender to constitute an electronic signature, electronic record or any agreement by the sender to conduct a transaction by electronic means.??Any such intention or agreement is hereby expressly disclaimed unless otherwise explicitly indicated. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 11:11:55 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 7 Jan 2006 11:11:55 +0100 (CET) Subject: ping hanging. In-Reply-To: References: Message-ID: On Sat, 7 Jan 2006, Hammond, Robin-David%KB3IEN wrote: > In order to try to diagnose the nagios problem whereby it enteres the > wait state indefinitely, i added some debugging code to commands.c, and > rebuilt nagios 2.0rc1. I am now getting a very strange error > > /Warning: Attempting to execute the command "/check_ping -H 4400::34 -w > 3000.0,80% -c 5000.0,100% -p 1 -t 10 -6" resulted in a return code of 127. > Make sure the script or binary you are trying to execute actually > exists... If check_ping calls the normal ping utility you will need to rewrite it for IPv6. Your normal ping will not handle IPv6 addresses. That will be the job of ping6 on most systems. And 4400:34 may be valid syntax for a IPv6 address. But to the best of my knowledge it is not a valid IPv6 address. Valid ranges will be 2000:: untill 3fff:: for public addreses and fe80:: and upwards for link-local addresses. And check_host does work on IPv6 addresses as I have several IPv6 only systems in my setup which I can contact just fine. A manual test here: ./check_ping -H 2001:888:10fa:1 -w 100,20% -c 500,50% check_ping: Invalid hostname/address - 2001:888:10fa:1 Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 11:16:54 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 7 Jan 2006 11:16:54 +0100 (CET) Subject: ping hanging. In-Reply-To: References: Message-ID: On Sat, 7 Jan 2006, Hugo van der Kooij wrote: > And 4400:34 may be valid syntax for a IPv6 address. Should read 4400::34 and not 4400:34 Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 11:25:38 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 7 Jan 2006 11:25:38 +0100 (CET) Subject: ping hanging. In-Reply-To: References: Message-ID: On Sat, 7 Jan 2006, Hugo van der Kooij wrote: > A manual test here: > > ./check_ping -H 2001:888:10fa:1 -w 100,20% -c 500,50% > check_ping: Invalid hostname/address - 2001:888:10fa:1 I must have run out of coffee. It works in fact well for IPv6 here: ./check_ping -H 2001:888:10fa::1 -w 100,20% -c 500,50% PING OK - Packet loss = 0%, RTA = 0.20 ms Just need to learn how to type with a low-coffee indicator. Anyone got a plugin for caffeine levels? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Sat Jan 7 17:59:32 2006 From: muaddib at databit7.com (Hammond, Robin-David%KB3IEN) Date: Sat, 7 Jan 2006 16:59:32 +0000 (UTC) Subject: ping hanging. In-Reply-To: References: Message-ID: load averages: 1.52, 1.44, 1.33 16:41 60 processes: 1 runnable, 54 sleeping, 4 stopped, 1 on processor CPUstates: 0.0% user, 96.6% nice, 2.1% system, 1.3% interrupt, 0.0% idle Memory: 102M Act, 48M Inact, 888K Wired, 8708K Exec, 132M File, 26M Free Swap: 129M Total, 129M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 10070 nagios 18 0 188K 776K pause 0:00 0.00% 0.00% csh 25520 nagios 10 0 568K 1388K wait 0:00 0.00% 0.00% bash 25664 nagios 10 0 2500K 1328K wait 0:00 0.00% 0.00% nagios 24737 nagios 10 0 140K 580K STOP 0:00 0.00% 0.00% sh 5912 nagios 4 0 120K 680K STOP 0:00 0.00% 0.00% ping 12175 nagios 2 0 2500K 932K STOP 0:00 0.00% 0.00% nagios 8571 nagios 2 0 228K 724K STOP 0:00 0.00% 0.00% check_ping no this still hangs. on ping 127.0.0.1 oddly enough. (im using some of the provided sample configs) I added printfs to command.c to see which fork()/waitpid() hangs, but afaik never actualy logs anything anywhere, i will have to start over creating a new file handle, or maybe print to stderr ? Spent a few hours googling the other day for hang nagios STOP, WAIT etc, and never got any resolution. to make matters worse many sites now dont publish whole email addresses, so its hard to contact anyone whose had this problem before and get resolution. On Sat, 7 Jan 2006, Hugo van der Kooij wrote: > Date: Sat, 7 Jan 2006 11:16:54 +0100 (CET) > From: Hugo van der Kooij > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] ping hanging. > > On Sat, 7 Jan 2006, Hugo van der Kooij wrote: > >> And 4400:34 may be valid syntax for a IPv6 address. > > Should read 4400::34 and not 4400:34 > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Microsoft: Where do you want to go tomorrow? Linux: Where do you want to go today? BSD: Are you guys coming, or what? Robin-David Hammond KB3IEN www.aresnyc.org. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Sat Jan 7 17:28:35 2006 From: muaddib at databit7.com (Hammond, Robin-David%KB3IEN) Date: Sat, 7 Jan 2006 16:28:35 +0000 (UTC) Subject: ping hanging. In-Reply-To: References: Message-ID: As for 4400::34 It is not a darpa net IP, but the host ip is valid on this host. In this case the libexec directory had been deleted, possibly by me, possibly not. re `make install`ing the plugs seems to have worked. I too need this caffeine level indicator. I hope it will support HTCPCP. I am not now attemtping to determine if the ping lock problem persists. (this problem was also noticed with IPv4 hosts, ampr and darpa, both routed and RFC1918.) On Sat, 7 Jan 2006, Hugo van der Kooij wrote: > Date: Sat, 7 Jan 2006 11:11:55 +0100 (CET) > From: Hugo van der Kooij > Reply-To: nagios-users at lists.sourceforge.net > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] ping hanging. > > On Sat, 7 Jan 2006, Hammond, Robin-David%KB3IEN wrote: > >> In order to try to diagnose the nagios problem whereby it enteres the >> wait state indefinitely, i added some debugging code to commands.c, and >> rebuilt nagios 2.0rc1. I am now getting a very strange error >> >> /Warning: Attempting to execute the command "/check_ping -H 4400::34 -w >> 3000.0,80% -c 5000.0,100% -p 1 -t 10 -6" resulted in a return code of 127. >> Make sure the script or binary you are trying to execute actually >> exists... > > If check_ping calls the normal ping utility you will need to rewrite it > for IPv6. Your normal ping will not handle IPv6 addresses. That will be > the job of ping6 on most systems. > > And 4400:34 may be valid syntax for a IPv6 address. But to the best of my > knowledge it is not a valid IPv6 address. Valid ranges will be 2000:: > untill 3fff:: for public addreses and fe80:: and upwards for link-local > addresses. > > And check_host does work on IPv6 addresses as I have several IPv6 only > systems in my setup which I can contact just fine. > > A manual test here: > > ./check_ping -H 2001:888:10fa:1 -w 100,20% -c 500,50% > check_ping: Invalid hostname/address - 2001:888:10fa:1 > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Microsoft: Where do you want to go tomorrow? Linux: Where do you want to go today? BSD: Are you guys coming, or what? Robin-David Hammond KB3IEN www.aresnyc.org. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 22:32:39 2006 From: marc at ena.com (Marc Powell) Date: Sat, 7 Jan 2006 15:32:39 -0600 Subject: ping hanging. Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Hammond, Robin-David%KB3IEN > Sent: Friday, January 06, 2006 10:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ping hanging. > > > In order to try to diagnose the nagios problem whereby it enteres the > wait state indefinitely, i added some debugging code to commands.c, and > rebuilt nagios 2.0rc1. I am now getting a very strange error > > /Warning: Attempting to execute the command "/check_ping -H 4400::34 -w > 3000.0,80% -c 5000.0,100% -p 1 -t 10 -6" resulted in a return code of 127. > Make sure the script or binary you are trying to execute actually > exists... > > over and over. > > this is particularly confusiong as i never reran configure nor did I ever > uninstall the /check_ping programme it is still in place and executable. > > Any ideas? Return code 127 means that the plugin was not found in the location specified in the command definition. Nagios is apparently trying to execute /check_ping and not /path/to/check_ping (usually /usr/local/nagios/libexec/check_ping). There are four primary possibilities -- 1) your command definition does not utilize the $USER1$ macro in the command_line i.e. 'command_line $USER1$/check_ping -H ...' 2) you have manually specified the incorrect path in the command_line i.e. 'command line /check_ping -H ...' 3) $USER1$ is not set to the correct plugins path in resource.cfg 4) you have not included resource.cfg as a resource_file in nagios.cfg -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 22:41:09 2006 From: marc at ena.com (Marc Powell) Date: Sat, 7 Jan 2006 15:41:09 -0600 Subject: Why does Socket Timeout immediately send notification? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of timeless > Sent: Friday, January 06, 2006 11:51 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Why does Socket Timeout immediately send > notification? > > I have Nagios configured to send notifications after 4 CRITICAL service > checks. However, if the service check returns "socket timeout," Nagios > immediately sends the page without doing another 3 checks. Is it a service or host notification? > > Google searches and searching the documentation/FAQ for "socket timeout" > only explain what the problem is, not why that sort of failure results > in an immediate HARD STATE change. It doesn't. It's treated no differently than any other non-OK plugin state. Nagios only knows about exit codes and there are only 4 possibilities: OK, WARNING, CRITICAL and UNKNOWN. Nagios performs retries if the state is anything except OK up to max_check_attempts. > Any clues for me? How can I make it only result in a HARD CRITICAL after > 4 checks, like other CRITICAL events? > Service and host definitions as well as their associated command definitions would be helpful. My guess would be that when nagios sees the non-OK return of the service plugin it executes the host check_command which returns a non-OK state as well resulting in a host notification because nagios believes the host is down. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From time at digg.com Sun Jan 8 03:28:52 2006 From: time at digg.com (timeless) Date: Sat, 07 Jan 2006 18:28:52 -0800 Subject: Why does Socket Timeout immediately send notification? In-Reply-To: References: Message-ID: <43C078E4.3000808@digg.com> Marc Powell wrote: >It doesn't. It's treated no differently than any other non-OK plugin >state. Nagios only knows about exit codes and there are only 4 >possibilities: OK, WARNING, CRITICAL and UNKNOWN. Nagios performs >retries if the state is anything except OK up to max_check_attempts. > > >Service and host definitions as well as their associated command >definitions would be helpful. My guess would be that when nagios sees >the non-OK return of the service plugin it executes the host >check_command which returns a non-OK state as well resulting in a host >notification because nagios believes the host is down. > > Actually, I think you're right. I was fooled by the Alert Histogram, which I'd thought had the same look for both HARD and SOFT states (hence I assumed there were no more SOFT CRITICAL than HARD for the time period in effect). Either I misinterpreted the results, or the bug is in Alert Histogram. When I get a report of Most Recent Alerts For (service), I can see there were SOFT CRITICAL states in the minutes preceding the alert. Thanks for the help, -- timeless ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sun Jan 8 05:57:22 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sat, 07 Jan 2006 23:57:22 -0500 Subject: How to setting service to flapping state/mode using external commands? Message-ID: <200601080457.k084vM9R018984@mx1.cs.umb.edu> Hello all: I have a problem where I want a more narrowly defined definition of flapping. Moving back and forth between ok, critical, warning and unknown states doesn't quite provide the level of discrimination I need. Because plugins can fail in multiple modes (e.g. with ping I may exceed ping time or have excessive dropped packets), I need to detect moving back and forth between states with the same/related failure messages: e.g. I want to identify the sequence: ok, critical plugin timed out, ok, critical plugin timed out as flapping, but the sequence: ok, critical ping time exceeded threshold, ok, critical plugin timed out, ok warning packet loss limit exceeded, ok, critical timed out would not trigger flapping. I know how to detect these patterns using sec and nagios, but I don't know how to set flapping from an external program. There is no command that I see in: http://www.nagios.org/developerinfo/externalcommands/commandlist.php that deals with controlling the flapping "state"/mode of a service. I have flapping commands that can enable/disable flap detection for a host, service or for the program as a whole. I checked the PROCESS_SERVICE_CHECK_RESULT but it has no way to set the flapping state. I think the best I can do is to use: ADD_SVC_COMMENT to add a comment that the service is flapping DISABLE_SVC_NOTIFICATIONS to stop the notifications for the flapping service and set up a passive service called FlappingServices that will generate the notification that some other service is flapping. I am hoping I am just missing the commands, but there is no way to get a service out of flapping mode in the cgi (other than turning off/on flap detection) so I think I am correct. Am I correct? Thanks for your help/thoughts/quips/comments or evasions. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Sun Jan 8 13:24:51 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Sun, 08 Jan 2006 13:24:51 +0100 Subject: ping hanging. In-Reply-To: References: Message-ID: <43C10493.3090204@its-lehmann.de> Hello, On 1/7/2006 10:32 PM, Marc Powell wrote: > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Hammond, Robin-David%KB3IEN >>Sent: Friday, January 06, 2006 10:02 PM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] ping hanging. >> ... >> >>/Warning: Attempting to execute the command "/check_ping -H 4400::34 > > -w > >>3000.0,80% -c 5000.0,100% -p 1 -t 10 -6" resulted in a return code of > > 127. > >>Make sure the script or binary you are trying to execute actually >>exists... >> >>over and over. >> >>this is particularly confusiong as i never reran configure nor did I > > ever > >>uninstall the /check_ping programme it is still in place and > > executable. Hmm. I *really* hope you never installed the plugins in your root directory. >>Any ideas? > > > > Return code 127 means that the plugin was not found in the location > specified in the command definition. Nagios is apparently trying to > execute /check_ping and not /path/to/check_ping (usually > /usr/local/nagios/libexec/check_ping). There are four primary > possibilities -- > 1) your command definition does not utilize the $USER1$ macro in > the command_line i.e. 'command_line $USER1$/check_ping -H ...' > 2) you have manually specified the incorrect path in the > command_line i.e. 'command line /check_ping -H ...' > 3) $USER1$ is not set to the correct plugins path in > resource.cfg > 4) you have not included resource.cfg as a resource_file in > nagios.cfg One other possibility I encountered: When the resource.cfg file is not readable by nagios, the above happens after nagios reloaded its configuration. The initial configuration file access happens before nagios drops its rights (when started as root), but afterwards, during operation, it's simply no longer permitted to read the resource.cfg... he easy work-around is a chown on the file followed by another configuration reload. Arno > -- > Marc > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From whiterabbit at mand4la.info Sun Jan 8 20:59:20 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Sun, 08 Jan 2006 20:59:20 +0100 Subject: nagios do not show "Service Status Details For All Hosts" Message-ID: <43C16F18.4040003@mand4la.info> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi List.. I've got a problem this nagios web interface, when I try to view the pages "Service Status Details For All Hosts" and "Status Map", the first show only half services and the second (status map) is does not appear. These two problems do not always happen, but very often. In a old post of this ML, somebody told that could a web browsers problem, I've tried with various clients o.s. and browsers, but the problem persist. My nagios box is a openbsd 3.8 with nagios 2.0b4 installed via ports, in the system/apache logs I haven't found any strange stuffs.. Thanks Matteo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDwW8Y/TjXD9LUVswRAmBsAKCShMHj75pvbGG1zjHA+8xG0NGJdwCePcdC OfShaU1RtiW6+KkzEqdmCUc= =xnuM -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at ebox.gr Sun Jan 8 21:04:00 2006 From: mailinglist at ebox.gr (Brandino Andreas) Date: Sun, 8 Jan 2006 22:04:00 +0200 Subject: statusmap.cgi compile problem In-Reply-To: <43B66345.7000106@intersaar.de> References: <4D0A3E3121A0504EAEF0FBA7B9576C2605717201@toroondc914.bell.corp.bce.ca> <1775794382.20051231014437@ebox.gr> <43B5DD29.1060302@intersaar.de> <1675783663.20051231114744@ebox.gr> <43B66345.7000106@intersaar.de> Message-ID: <10146716.20060108220400@ebox.gr> finally, defining these parameters fixed the problem: --with-command-group=nagcmd --with-gd-lib=PATHTOLIBDIR - --with-gd-inc=PATHTOHEADREDIR --with-jpeg=PATHTOLIBDIR - --with-png=PATHTOLIBDIR --with-zlib=PATHTOLIBDIR thx Markus and the rest for helping Saturday, December 31, 2005, 12:53:57 PM, you wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > Hello, > are you shure the compiler can find the libs, is /etc/ld.so.conf and > have you tried to run ldconfig? > There is also an other way to tell the compiler the truth. You can tell > him the path to the libraries by using this > /configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin > - --with-htmlurl=/ --with-nagios-user=nagios --with-nagios-group=nagcmd > - --with-command-group=nagcmd --with-gd-lib=PATHTOLIBDIR > - --with-gd-inc=PATHTOHEADREDIR --with-jpeg=PATHTOLIBDIR > - --with-png=PATHTOLIBDIR --with-zlib=PATHTOLIBDIR > tell him the path to the libraries he needs. Before this don't forget to > run make clean or make devclean. > hth > Markus > Brandino Andreas wrote: >> installing all these packages: >> >> libgd1-noxpm >> libttf2 libgdome2-dev libgd-perl >> & >> zlib-bin >> & >> libjpeg-mmx-dev >> libjpeg-mmx-progs >> libjpeg62 >> libjpeg62-dev >> libjpeg-progs >> & >> imgsizer >> imagemagick libdps1 libice6 libjasper-1.701-1 liblcms1 libmagick9 libsm6 libxt6 python python2.3 >> gs html2ps lpr libjasper-runtime liblcms-utils libwmf-bin python-doc python-tk python-profiler python2.3-doc python2.3-profiler >> >> i see no difference >> >> >> cat /etc/ld.so.conf >> /usr/X11R6/lib >> /usr/local/lib >> >> i think the problem is that while find gd libs it cant find specific >> declarations of functions in it (mauybe got removed with new versions) >> >> is possible to send me compiled statusmap.cgi from 2.0rc1? (someone >> sould have it). statusmap.cgi from older versions seem to work.... >> >> thx >> >> >> >> Saturday, December 31, 2005, 3:21:45 AM, you wrote: >> >> >>>Hello Andreas, >> >> >>>I had the same Problem yesterday. It seems that statusmap needs also the >>>libjpeg ,the libpng and the zlib to compile correctly. >> >> >>>hth >> >> >>>Markus >> >> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > iD8DBQFDtmNF9/yQU0fWfl0RAhtAAKC3lcVryCS3o1SuDywHdmWGcVZAGACeNssq > cF2qOCRIDA80nkiJvq+nGjo= > =ZZuc > -----END PGP SIGNATURE----- > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > __________ NOD32 1.1347 (20051230) Information __________ > This message was checked by NOD32 antivirus system. > http://www.eset.com -- Best regards, Brandino mailto:mailinglist at ebox.gr ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Mon Jan 9 10:37:38 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 9 Jan 2006 10:37:38 +0100 Subject: Installing Nagios RPM In-Reply-To: <43BCED3B.5020106@ufz.de> References: <43BCED3B.5020106@ufz.de> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 05.01.2006 10:56:11: > Is it seen as recommended behaviour to use "Antwort:" instead of "Re:"? > Especially when sending mail to a mailing list that runs in english? > > SCNR ;-) I didn't take any offense ;) But it's not something I can do anything about. Lotus Notes sets it and you cannot change it by any means. But I do manually edit the subject if it has too many "Antwort: Re: Antwort: Re:" prefixes. > BTW, a footer is seperated with/preceded by "-- " (without the ") :-> not > by a line full of "-". I know, but yet again, there is nothing I could do about it. Well I could, but I would risk getting a phonecall from the management if they ever find out... This footer is mandatory in our company. Even though I know it does not resemble the average netiquette, I think I am valuable enough to this mailing list that people can bare with it ;) regards sash PS: Yes, I could manually add a "-- " at the end of every post of mine. Sorry, but I hope everyone understands that I am SO not going to do it, for the sake of lazyness ;) -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgenessay at aliadis.fr Mon Jan 9 10:40:36 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Mon, 09 Jan 2006 10:40:36 +0100 Subject: notify via sms In-Reply-To: <43BF606B.4060202@beaconet.net> References: <43BF606B.4060202@beaconet.net> Message-ID: <43C22F94.8020106@aliadis.fr> Askar Ali wrote: > > My problem is that my gnokii is running on another machine then > nagios, can someone guide me how to pipe message from nagios machine > to machine running sms gateway (gnokii) ? > so that " echo $mess | gnokii --sendsms $number" do the sending of sms. You can use a remote shell like SSH and issue the command ssh gnokii-user at gnokii-host 'echo $mess | gnokii --sendsms $number' from your Nagios host. However, automating this process requires the use of an authentication agent like ssh-agent. You might also try to use NSCA or NRPE, or any custom remote check execution service, especially if one is already deployed on your Gnokii machine. This avoids the setup of ssh-agent at the cost of being less secure. Regards -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. 0870 723 724 Fax 04 72 13 90 40 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Mon Jan 9 11:17:17 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Mon, 9 Jan 2006 02:17:17 -0800 (PST) Subject: notification via YM Message-ID: <20060109101718.97357.qmail@web60413.mail.yahoo.com> is there a addons that when a host was down, it will sent a message to a Yahoo messenger account?? --------------------------------- Yahoo! Photos ? Showcase holiday pictures in hardcover Photo Books. You design it and we?ll bind it! -------------- next part -------------- An HTML attachment was scrubbed... URL: From miguelfa at eu.skechers.com Mon Jan 9 11:59:59 2006 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Mon, 9 Jan 2006 10:59:59 -0000 Subject: Check_disk problem on remote machines Message-ID: <20060109110001.2A2B6358017@mail.eu.skechers.com> This is a problem that I've been having for quite some time. Searching the archives turns up a few other people reporting the same problem, but I can't find a solution. I am trying to use check_by_ssh to run the check_disk plugin on a few remote systems. When I run this from the command line, it always does the right thing. It returns the correct string and return code (checked with 'echo $?'). It works flawlessly. However, when this is set up to run through Nagios, it usually reports the check in the UNKNOWN state...even though it still gives the correct "OK..." string. Occasionally, Nagios will change it to OK or WARNING or whatever is correct at the time, but for a good 90% of the time, it just sits there in UNKNOWN. It doesn't seem to matter if the target machine is Linux or Solaris, nor can I find any pattern to when and where it happens. Again, it *always* works perfectly when run from the command line. I've played with giving check_by_ssh a hostname instead of an IP address. I've tried it both with '-l nagios' and without (it's always run from nagios account). I've also tried the -f flag (the purpose of which I don't really understand). Nothing seems to help. For the time being, I'm just running an SNMP client to get this info into Nagios, but I'd really rather use check_by_ssh if at all possible. Has anyone else seen this problem and/or found the cause of it? Here's the exact command I'm using on the command line. This same thing is configutred in my .cfg file. check_by_ssh -H 192.168.230.112 -C '/home/utils/nagios/libexec/check_disk -w 10% -c 5% -p /var' Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntserafica at yahoo.com Mon Jan 9 14:21:58 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Mon, 9 Jan 2006 05:21:58 -0800 (PST) Subject: downtime not working Message-ID: <20060109132158.17612.qmail@web60412.mail.yahoo.com> Wheneve i tried to schedule downtime, it shows: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. i run "chown -R nagios.nagios " just to make sure everything is under nagios user. i check cgi and put "noc" (coz this is the user that gets in to my web interface) to have access in all external cgi. What might be the coz of the problem??? What might be the cause of these problems?? --------------------------------- Yahoo! DSL Something to write home about. Just $16.99/mo. or less -------------- next part -------------- An HTML attachment was scrubbed... URL: From rafaelc at vegait.com.br Mon Jan 9 15:27:56 2006 From: rafaelc at vegait.com.br (Rafael Bandeira da Costa) Date: Mon, 09 Jan 2006 11:27:56 -0300 Subject: downtime not working In-Reply-To: <20060109132158.17612.qmail@web60412.mail.yahoo.com> References: <20060109132158.17612.qmail@web60412.mail.yahoo.com> Message-ID: <43C272EC.8050505@vegait.com.br> Hello Your webserver user must have write access on /usr/local/nagios/var/rw directory. Have you set up the nagios command group, and added the webserver user to that group? Then you would /chown nagios.nagcmd /usr/local/nagios/var/rw/ and /chmod g+x /usr/local/nagios/var/rw/. Just take a close look to adapt it to your needs (nagios homedir, nagios user and nagios command group). -- Cheers, Rafael Costa rafaelc at vegait.com.br Curitiba / PR / Brasil Nelson Serafica escreveu: > Wheneve i tried to schedule downtime, it shows: > > Error: Could not open command file > '/usr/local/nagios/var/rw/nagios.cmd' for update! > The permissions on the external command file and/or directory may be > incorrect. Read the FAQs on how to setup proper permissions. > An error occurred while attempting to commit your command for processing. > > > i run "chown -R nagios.nagios " just to make sure > everything is under nagios user. > > i check cgi and put "noc" (coz this is the user that gets in to my web > interface) > to have access in all external cgi. > > What might be the coz of the problem??? > > What might be the cause of these problems?? > > ------------------------------------------------------------------------ > Yahoo! DSL > > Something to write home about. Just $16.99/mo. or less -------------- next part -------------- An HTML attachment was scrubbed... URL: From Deborah.Martin at Kognitio.com Mon Jan 9 14:40:35 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Mon, 9 Jan 2006 13:40:35 -0000 Subject: Dependency issue Message-ID: thanks for the tip but this doesn't work. It seems that its very dependent on when the next scheduled check will be. If I set max_check_attempts to 5 for services B or C, and then have max_check_attempts set to 1 on service A, it makes no difference. Service B or C could still be scheduled to be checked before service A. In fact, on the first check attempt for service B, for example, a critical alert is generated. I want Nagios to detect that Service B or C is a dependency on Service A, and then if Service A is alerting, suppress alerts for Service B or C. But nagios doesn't seem to do any kind of dependency lookup if a dependency is already alerting. Kind of defeats, in my view, the logic of dependencies. There is no point in Nagios telling me that Service B or C is down, when Service A is down. Service A must be UP for any of its dependencies to work. If however, Service A is OK, then yes - Service B or C should alert if necessary. If I were to have 20 dependencies against a master service, I don't want 20 potential alerts being generated! Plus I want to know the EXACT cause of the problem not have to hunt it down every time. Isn't that one of the points of Nagios - to be able to finely tune plugin checks so that we can easily investigate a problem ? It seems that I needn't bother with dependencies if this is how it's going to work. Does anyone else agree / disagree because it seems to me that either the docs are not explaining dependencies correctly, or Nagios is not behaving correctly. I would appreciate feedback on this issue. regards, deborah -----Original Message----- From: Tedman Eng [mailto:teng at dataway.com] Sent: 06 January 2006 20:35 To: 'Deborah Martin'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Dependency issue If Service B happens to be queued to be checked before Service A is, you'll get notified of it's problem first, so that's why it's only sometimes that you get this behavior. As for simple solution to your question, increase the max_check_attempts of Service B/C, so that Service A will error out before Service B/C does, thus skirting the check queue phenomenon. -----Original Message----- From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Sent: Friday, January 06, 2006 3:11 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Dependency issue Hi, I have setup dependencies which all seem to work fine to a point. Example : I have 1 host with 3 services HOST A | Service A (master service) | ------------------- | | Service B Service C If service A fails, checks and notifications are suppressed for Service B and Service C which is fine. However, i've had a couple of situations where Service B or Service C may fail first, generate an alert AND then Service A fails which also generates an alert. Is there a way in Nagios that can flip over to only alerting for Service A in this situation and supress anything for Service B and Service C until recovery occurs. Do I need to define further service dependencies or use inheritance of parent ? I've read the docs (several times) but can't seem to find the answers there. I'm using Nagios 2.0b4 / Suse 9.2. Any help, pointers to docs that can help, or even a padded cell would be much appreciated! regards, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yhasabnis at gmail.com Mon Jan 9 14:45:59 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Mon, 9 Jan 2006 19:15:59 +0530 Subject: disk_check for a remote machine In-Reply-To: References: Message-ID: Hi All, I managed to configure check_disk for a remote machine using NRPE addon. Seemed a little complex earlier. But found that it's quite simple to set up when I actually I did it. Thanks Yogesh On 1/5/06, Yogesh Hasabnis wrote: > > Hi All, > > Thanks for all the suggestions. I will try out the nrpe option today and > give a feedback. If required, I will also try other options that have been > suggested. > > Thanks > > Yogesh > > > On 1/3/06, Lori Adams wrote: > > > > also look at nagios' brother, nrpe. Your nagios server calls check_nrpe > > which contacts the remote server and runs a command on the remote > > machine returning an informative output and exit status. > > > > -Lori > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Morten Bekkelund > > > Sent: Monday, January 02, 2006 4:22 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] disk_check for a remote machine > > > > > > Yeah, check out www.net-snmp.org. > > > Install net-snmp on the machines you wanna monitor and use the > > > functionality it provides for diskchecks. It writes the result to a > > > table in snmp and returns the result when it's being polled from the > > > nagios-server. > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From assaf at m-wise.com Mon Jan 9 15:03:55 2006 From: assaf at m-wise.com (Assaf Flatto) Date: Mon, 09 Jan 2006 16:03:55 +0200 Subject: Check_disk problem on remote machines In-Reply-To: <20060109110001.2A2B6358017@mail.eu.skechers.com> References: <20060109110001.2A2B6358017@mail.eu.skechers.com> Message-ID: <43C26D4B.7080801@m-wise.com> have you tried using the nagios-statd plugin ? http://www.freshports.org/sysutils/nagios-statd/ i use it to monitor both disk usage and workload . Assaf Miguel Faria wrote: > This is a problem that I've been having for quite some time. Searching > the archives turns up a few other people reporting the same problem, but > I can't find a solution. > > I am trying to use check_by_ssh to run the check_disk plugin on a few > remote systems. When I run this from the command line, it always does > the right thing. It returns the correct string and return code (checked > with 'echo $?'). It works flawlessly. > > However, when this is set up to run through Nagios, it usually reports > the check in the UNKNOWN state...even though it still gives the correct > "OK..." string. Occasionally, Nagios will change it to OK or WARNING or > whatever is correct at the time, but for a good 90% of the time, it just > sits there in UNKNOWN. It doesn't seem to matter if the target machine > is Linux or Solaris, nor can I find any pattern to when and where it > happens. Again, it *always* works perfectly when run from the command > line. > > I've played with giving check_by_ssh a hostname instead of an IP > address. I've tried it both with '-l nagios' and without (it's always > run from nagios account). I've also tried the -f flag (the purpose of > which I don't really understand). Nothing seems to help. For the time > being, I'm just running an SNMP client to get this info into Nagios, but > I'd really rather use check_by_ssh if at all possible. > > Has anyone else seen this problem and/or found the cause of it? > > Here's the exact command I'm using on the command line. This same thing > is configutred in my .cfg file. > > check_by_ssh -H 192.168.230.112 -C > '/home/utils/nagios/libexec/check_disk -w 10% -c 5% -p /var' > > Thanks! > -- Assaf Flatto m-Wise Operations Cellular: +972-54-5679230 e-mail: assaf at m-wise.com MSN : firedrake_3 at hotmail.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 9 15:44:42 2006 From: marc at ena.com (Marc Powell) Date: Mon, 9 Jan 2006 08:44:42 -0600 Subject: nagios do not show "Service Status Details For All Hosts" Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matteo Mancini > Sent: Sunday, January 08, 2006 1:59 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios do not show "Service Status Details For All > Hosts" > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi List.. > I've got a problem this nagios web interface, when I try to view the > pages "Service Status Details For All Hosts" and "Status Map", the first > show only half services and the second (status map) is does not > appear. These two problems do not always happen, but very often. It's probably this FAQ -- http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=t rue -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gremlin at networked.ro Mon Jan 9 15:51:46 2006 From: gremlin at networked.ro (Alexandru Ionica) Date: Mon, 09 Jan 2006 16:51:46 +0200 Subject: Service Check Timed Out Message-ID: <43C27882.9010203@networked.ro> Hello, this is the error i see in the cgi web interface. in the error log i see stuff like: SERVICE NOTIFICATION: noc;host-aaa;FPING;CRITICAL;notify-by-email;(Service Check Timed Out) SERVICE ALERT: host-bbb;FPING;CRITICAL;HARD;3;(Service Check Timed Out) SERVICE ALERT: host-ccc;FPING;CRITICAL;SOFT;1;(Service Check Timed Out) The FPING service is a perl script i wrote wich does a fping, and a snmpwalk. In the worst case scenario this should take are 30 seconds to run. I've set up service_check_timeout=90 in the main (nagios.cfg) config file. The machine is under medium to heavy load, but i can't understand why it's getting a timeout, as 90 seconds seem more than enough for any of the scripts to run. Is there any possibility that this is generated by the check-host-alive plugin and it escalates ? or something like that ... ? The nagios configuration is pretty simple, some of the more important things are: ==================================== inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 service_check_timeout=90 host_check_timeout=90 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=15 perfdata_timeout=15 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 ================================== The service template is: ================================== define service{ name generic-ping2 active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 service_description FPING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups noc-acm notification_interval 1800 notification_period 24x7 notification_options c,r register 0 } ==================================== any ideeas ? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jolet.net Mon Jan 9 16:26:41 2006 From: john at jolet.net (John Jolet) Date: Mon, 9 Jan 2006 09:26:41 -0600 Subject: downtime not working In-Reply-To: <43C272EC.8050505@vegait.com.br> References: <20060109132158.17612.qmail@web60412.mail.yahoo.com> <43C272EC.8050505@vegait.com.br> Message-ID: On Jan 9, 2006, at 8:27 AM, Rafael Bandeira da Costa wrote: > Hello > > Your webserver user must have write access on /usr/local/nagios/var/ > rw directory. > Have you set up the nagios command group, and added the webserver > user to that group? > > Then you would chown nagios.nagcmd /usr/local/nagios/var/rw and > chmod g+x /usr/local/nagios/var/rw. > > Just take a close look to adapt it to your needs (nagios homedir, > nagios user and nagios command group). > > -- > Cheers, > Rafael Costa > rafaelc at vegait.com.br > Curitiba / PR / Brasil > I'm also unable to do downtime, but I just get "an error occurred processing your command". the rw directory is writeable by apache, which is what my server runs as, and the pipe is group writable by apache. I can't find an error either in the apache logs, nor the nagios logs. > > Nelson Serafica escreveu: >> Wheneve i tried to schedule downtime, it shows: >> >> Error: Could not open command file '/usr/local/nagios/var/rw/ >> nagios.cmd' for update! >> The permissions on the external command file and/or directory may >> be incorrect. Read the FAQs on how to setup proper permissions. >> An error occurred while attempting to commit your command for >> processing. >> >> >> i run "chown -R nagios.nagios " just to make sure >> everything is under nagios user. >> >> i check cgi and put "noc" (coz this is the user that gets in to my >> web interface) >> to have access in all external cgi. >> >> What might be the coz of the problem??? >> >> What might be the cause of these problems?? >> >> Yahoo! DSL Something to write home about. Just $16.99/mo. or less -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Jan 9 16:53:12 2006 From: marc at ena.com (Marc Powell) Date: Mon, 9 Jan 2006 09:53:12 -0600 Subject: downtime not working Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John Jolet > Sent: Monday, January 09, 2006 9:27 AM > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] downtime not working > [removed OP] > > I'm also unable to do downtime, but I just get "an error occurred > processing your command". the rw directory is writeable by apache, which > is what my server runs as, and the pipe is group writable by apache. I > can't find an error either in the apache logs, nor the nagios logs. This indicates that nagios received the external command but was unable to completely parse it. Typically this is caused by leaving out a required field (i.e. one shown as red). Have you supplied all the required information in the correct format? -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jolet.net Mon Jan 9 17:58:49 2006 From: john at jolet.net (John Jolet) Date: Mon, 9 Jan 2006 10:58:49 -0600 Subject: downtime not working In-Reply-To: References: Message-ID: <5F34CC10-9FDC-4189-824F-A714D12729D6@jolet.net> > > Are you also supplying the required comment? That's not automatically > populated. > of course not :) that did the trick. and sorry about the posting, for some reason, this is the only list that I have to do a reply-all on to get back to the list. > -- > Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Mon Jan 9 18:41:32 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Mon, 09 Jan 2006 12:41:32 -0500 Subject: Dependency issue In-Reply-To: Your message of "Mon, 09 Jan 2006 13:40:35 GMT." References: Message-ID: <200601091741.k09HfWUw014530@mx1.cs.umb.edu> In message , Deborah Martin writes: >It seems that its very dependent on when the next scheduled check will be. >If I set max_check_attempts to 5 for services >B or C, and then have max_check_attempts set to 1 on service A, it makes no >difference. Service B or C could still >be scheduled to be checked before service A. In fact, on the first check >attempt for service B, for example, a critical >alert is generated. > >I want Nagios to detect that Service B or C is a dependency on Service A, >and then if Service A is alerting, suppress alerts for Service B or C. >But nagios doesn't seem to do any kind of dependency lookup if a dependency >is already alerting. Kind of defeats, in my view, the logic >of dependencies. There is no point in Nagios telling me that Service B or C >is down, when Service A is down. Service A must be UP for any of its >dependencies to work. > >If however, Service A is OK, then yes - Service B or C should alert if >necessary. > >If I were to have 20 dependencies against a master service, I don't want 20 >potential alerts being generated! Plus I want to know the EXACT cause of the >problem not have to hunt it down every time. Isn't that one of the points of >Nagios - to be able to finely tune plugin checks so that we can >easily investigate a problem ? It seems that I needn't bother with >dependencies if this is how it's going to work. > >Does anyone else agree / disagree because it seems to me that either the >docs are not explaining dependencies correctly, or Nagios >is not behaving correctly. I would appreciate feedback on this issue. Try reading the nagios docs on soft_state_dependencies. Then setting soft_state_dependencies=1 in nagios.cfg. If A depends on B (aka no alert on A when B in trouble) make sure that: retry_check_interval(A) * max_check_attempts(A) > normal_check_interval(B) That should guarantee that at least one check of B occurs during the trouble interval for A. Without the soft_state_dependencies you must use: retry_check_interval(A) * max_check_attempts(A) > normal_check_interval(B) + (retry_check_interval(B) * max_check_attempts(B)) to make sure that B goes into a hard state during the trouble interval of A. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Jan 9 20:05:48 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 9 Jan 2006 14:05:48 -0500 Subject: notification via YM In-Reply-To: <20060109101718.97357.qmail@web60413.mail.yahoo.com> References: <20060109101718.97357.qmail@web60413.mail.yahoo.com> Message-ID: <20060109190547.GN9907@mal.members.linode.com> On Mon, Jan 09, 2006 at 02:17:17AM -0800, Nelson Serafica wrote: > is there a addons that when a host was down, it will sent a message to a Yahoo messenger account?? Not directly, but I believe there is an addon to Jabber tthat can send via YM. You'd have to set up the jabber server and a notification method that sends it through jabber. -Jason Martin -- How do you write zero in Roman numerals? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From whiterabbit at mand4la.info Mon Jan 9 21:07:51 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Mon, 09 Jan 2006 21:07:51 +0100 Subject: nagios do not show "Service Status Details For All Hosts" In-Reply-To: References: Message-ID: <43C2C297.5070400@mand4la.info> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi .. thanks for your response..this look like my problem. > > It's probably this FAQ -- > > http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=t > rue > But I don't understand how can I resolve it ?? I've read other child faqs but I couldn't find any interesting. thanks Matteo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDwsKX/TjXD9LUVswRAvKFAJwKS8hq414Q/HO63V4Hz+xvIrvingCfTvYo jf3WGQq4+rmJxUVWSuGiDfM= =Ax8i -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From whiterabbit at mand4la.info Mon Jan 9 21:43:50 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Mon, 09 Jan 2006 21:43:50 +0100 Subject: nagios do not show "Service Status Details For All Hosts" In-Reply-To: <43C2C7E0.50703@its-lehmann.de> References: <43C2C297.5070400@mand4la.info> <43C2C7E0.50703@its-lehmann.de> Message-ID: <43C2CB06.7030208@mand4la.info> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > >> Use your distributions tool to stop service processes. Wait some time. >> Issue something like 'killall nagios; sleep 20; killall -9 nagios'. >> Verify with ps that no more nagios processes are running. Restart >> nagios, using your distributions tool. ..I've restarted my nagios box, then I've started nagios manually. My "distribution tools" is a line in my rc.local "nagios -d /etc/nagios/nagios.cfg". I suppose that this method could be a fresh nagios startup. > >> Or, alternatively, send me your servers address and grant root access to >> me... (Invoice would follow, of course). It will be the next step :-) > >> Arno > bye Matteo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDwssG/TjXD9LUVswRAsKhAKCQTB4Kaqt9V3FZQaosKoLgcGF1cwCeOWRK zentd8LfLBrH0M4+dpEyEXc= =mU52 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Mon Jan 9 23:05:45 2006 From: muaddib at databit7.com (Hammond, Robin-David%KB3IEN) Date: Mon, 9 Jan 2006 22:05:45 +0000 (UTC) Subject: ping hanging. In-Reply-To: <43C10493.3090204@its-lehmann.de> References: <43C10493.3090204@its-lehmann.de> Message-ID: HRM: drwxrwxr-x 2 nagios nagios 512 Jan 7 04:40 . drwxr-xr-x 9 root wheel 512 Jan 7 04:27 .. -rw-rw-r-- 1 nagios nagios 30051 Jan 7 04:27 bigger.cfg-sample -rw-r--r-- 1 root nagios 9580 Jan 7 04:39 cgi.cfg -rw-rw-r-- 1 nagios nagios 9580 Jan 7 04:27 cgi.cfg-sample -rw-r--r-- 1 nagios nagios 4826 Jan 7 04:31 checkcommands.cfg -rw-rw-r-- 1 nagios nagios 4826 Jan 7 04:27 checkcommands.cfg-sample -rw-r--r-- 1 root nagios 47 Jan 7 04:55 htpasswd.users -rw-r--r-- 1 nagios nagios 13789 Jan 7 04:35 minimal.cfg -rw-rw-r-- 1 nagios nagios 13757 Jan 7 04:27 minimal.cfg-sample -rw-r--r-- 1 nagios nagios 4305 Jan 7 04:31 misccommands.cfg -rw-rw-r-- 1 nagios nagios 4305 Jan 7 04:27 misccommands.cfg-sample -rw-r--r-- 1 nagios nagios 30780 Jan 7 04:30 nagios.cfg -rw-rw-r-- 1 nagios nagios 30780 Jan 7 04:27 nagios.cfg-sample -rw-r----- 1 nagios nagios 1335 Jan 7 04:30 resource.cfg -rw-rw---- 1 nagios nagios 1335 Jan 7 04:27 resource.cfg-sample It looks like all the (relevant) files are available for reading. I am compiling lsof now. Thanks for the sugestion. On Sun, 8 Jan 2006, Arno Lehmann wrote: > Date: Sun, 08 Jan 2006 13:24:51 +0100 > From: Arno Lehmann > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] ping hanging. > > Hello, > > On 1/7/2006 10:32 PM, Marc Powell wrote: >> >>> -----Original Message----- >>> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>> admin at lists.sourceforge.net] On Behalf Of Hammond, Robin-David%KB3IEN >>> Sent: Friday, January 06, 2006 10:02 PM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] ping hanging. >>> > ... >>> >>> /Warning: Attempting to execute the command "/check_ping -H 4400::34 >> >> -w >> >>> 3000.0,80% -c 5000.0,100% -p 1 -t 10 -6" resulted in a return code of >> >> 127. >> >>> Make sure the script or binary you are trying to execute actually >>> exists... >>> >>> over and over. >>> >>> this is particularly confusiong as i never reran configure nor did I >> >> ever >> >>> uninstall the /check_ping programme it is still in place and >> >> executable. > > Hmm. I *really* hope you never installed the plugins in your root directory. > >>> Any ideas? >> >> >> >> Return code 127 means that the plugin was not found in the location >> specified in the command definition. Nagios is apparently trying to >> execute /check_ping and not /path/to/check_ping (usually >> /usr/local/nagios/libexec/check_ping). There are four primary >> possibilities -- >> 1) your command definition does not utilize the $USER1$ macro in >> the command_line i.e. 'command_line $USER1$/check_ping -H ...' >> 2) you have manually specified the incorrect path in the >> command_line i.e. 'command line /check_ping -H ...' >> 3) $USER1$ is not set to the correct plugins path in >> resource.cfg >> 4) you have not included resource.cfg as a resource_file in >> nagios.cfg > > One other possibility I encountered: > When the resource.cfg file is not readable by nagios, the above happens after > nagios reloaded its configuration. The initial configuration file access > happens before nagios drops its rights (when started as root), but > afterwards, during operation, it's simply no longer permitted to read the > resource.cfg... he easy work-around is a chown on the file followed by > another configuration reload. > > Arno > >> -- >> Marc >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through log >> files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://ads.osdn.com/?ad_idv37&alloc_id865&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk being >> sent to /dev/null >> > > -- > IT-Service Lehmann al at its-lehmann.de > Arno Lehmann http://www.its-lehmann.de > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. ::: Messages without supporting info will risk being sent to > /dev/null > Microsoft: Where do you want to go tomorrow? Linux: Where do you want to go today? BSD: Are you guys coming, or what? Robin-David Hammond KB3IEN www.aresnyc.org. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 9 23:21:59 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 9 Jan 2006 23:21:59 +0100 (CET) Subject: ping hanging. In-Reply-To: References: <43C10493.3090204@its-lehmann.de> Message-ID: On Mon, 9 Jan 2006, Hammond, Robin-David%KB3IEN wrote: > > -rw-r----- 1 nagios nagios 1335 Jan 7 04:30 resource.cfg > -rw-rw---- 1 nagios nagios 1335 Jan 7 04:27 resource.cfg-sample > > It looks like all the (relevant) files are available for reading. And resorce,cfg is not relevant? Are you 250% sure everything runs as nagios user? Just for arguments sake could you `chmod o+r` these files? Can you trace down the config sections for us? How did you define the service/host? How did you define the check? How did you define the variables? .... Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 infostream.com.au Mon Jan 9 23:42:58 2006 From: tim at infostream.com.au (Tim O'Hare) Date: Tue, 10 Jan 2006 09:42:58 +1100 Subject: Check_disk problem on remote machines In-Reply-To: <20060109110001.2A2B6358017@mail.eu.skechers.com> References: <20060109110001.2A2B6358017@mail.eu.skechers.com> Message-ID: <43C2E6F2.5020705@infostream.com.au> Hello Miguel, In our checkcommands.cfg file we have: command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -t 60 -n $HOSTNAME$ -s check_sda1_by_ssh -C '/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda1' and in our services.cfg we have: # Check sda1 by ssh Service Definition Template define service{ name check_sda1_by_ssh service_description Check_sda1_by_ssh check_command check_sda1_by_ssh use generic-service contact_groups support notification_interval 0 notification_period workhours notification_options c,f ; Critical, Flapping register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service{ use check_sda1_by_ssh ; Name of service template to use host_name megarouter } and it works successfully. How are you referencing it in your services.cfg file i.e. what are you using for the check_command? cheers, Tim Miguel Faria wrote: > This is a problem that I've been having for quite some time. Searching > the archives turns up a few other people reporting the same problem, but > I can't find a solution. > > I am trying to use check_by_ssh to run the check_disk plugin on a few > remote systems. When I run this from the command line, it always does > the right thing. It returns the correct string and return code (checked > with 'echo $?'). It works flawlessly. > > However, when this is set up to run through Nagios, it usually reports > the check in the UNKNOWN state...even though it still gives the correct > "OK..." string. Occasionally, Nagios will change it to OK or WARNING or > whatever is correct at the time, but for a good 90% of the time, it just > sits there in UNKNOWN. It doesn't seem to matter if the target machine > is Linux or Solaris, nor can I find any pattern to when and where it > happens. Again, it *always* works perfectly when run from the command > line. > > I've played with giving check_by_ssh a hostname instead of an IP > address. I've tried it both with '-l nagios' and without (it's always > run from nagios account). I've also tried the -f flag (the purpose of > which I don't really understand). Nothing seems to help. For the time > being, I'm just running an SNMP client to get this info into Nagios, but > I'd really rather use check_by_ssh if at all possible. > > Has anyone else seen this problem and/or found the cause of it? > > Here's the exact command I'm using on the command line. This same thing > is configutred in my .cfg file. > > check_by_ssh -H 192.168.230.112 -C > '/home/utils/nagios/libexec/check_disk -w 10% -c 5% -p /var' > > Thanks! > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Tue Jan 10 08:01:44 2006 From: muaddib at databit7.com (Hammond, Robin-David%KB3IEN) Date: Tue, 10 Jan 2006 07:01:44 +0000 (UTC) Subject: ping hanging. In-Reply-To: References: <43C10493.3090204@its-lehmann.de> Message-ID: I changed the permission, but it still hangs. did two updates in the web interface, and froze. webpage still reloads, but the data are stale. load averages: 1.17, 1.32, 1.27 06:57:54 55 processes: 1 runnable, 49 sleeping, 4 stopped, 1 on processor CPU states: 0.0% user, 100% nice, 0.0% system, 0.0% interrupt, 0.0% idle Memory: 118M Act, 59M Inact, 756K Wired, 8340K Exec, 159M File, 488K Free Swap: 129M Total, 129M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 3378 nagios 28 0 184K 948K CPU 0:00 0.00% 0.00% top 1345 nagios 18 0 188K 4K pause 0:00 0.00% 0.00% 3476 nagios 10 0 2500K 1392K wait 0:00 0.00% 0.00% nagios 1346 nagios 10 0 584K 1320K wait 0:00 0.00% 0.00% bash 1454 nagios 10 0 140K 580K STOP 0:00 0.00% 0.00% sh 1099 nagios 4 0 120K 680K STOP 0:00 0.00% 0.00% ping 3771 nagios 2 0 2500K 932K STOP 0:00 0.00% 0.00% nagios 4336 nagios 2 0 228K 724K STOP 0:00 0.00% 0.00% check_ping im using the minimal.cfg file. On Mon, 9 Jan 2006, Hugo van der Kooij wrote: > Date: Mon, 9 Jan 2006 23:21:59 +0100 (CET) > From: Hugo van der Kooij > Reply-To: nagios-users at lists.sourceforge.net > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] ping hanging. > > On Mon, 9 Jan 2006, Hammond, Robin-David%KB3IEN wrote: > >> >> -rw-r----- 1 nagios nagios 1335 Jan 7 04:30 resource.cfg >> -rw-rw---- 1 nagios nagios 1335 Jan 7 04:27 resource.cfg-sample >> >> It looks like all the (relevant) files are available for reading. > > And resorce,cfg is not relevant? Are you 250% sure everything runs as > nagios user? > > Just for arguments sake could you `chmod o+r` these files? > > Can you trace down the config sections for us? > > How did you define the service/host? > How did you define the check? > How did you define the variables? > .... > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Microsoft: Where do you want to go tomorrow? Linux: Where do you want to go today? BSD: Are you guys coming, or what? Robin-David Hammond KB3IEN www.aresnyc.org. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From whiterabbit at mand4la.info Tue Jan 10 12:11:15 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Tue, 10 Jan 2006 11:11:15 -0000 (GMT) Subject: nagios do not show 'Service Status Details For All Hosts' In-Reply-To: References: <43C2C297.5070400@mand4la.info> <43C2C7E0.50703@its-lehmann.de> <43C2CB06.7030208@mand4la.info> Message-ID: <1046.10.0.10.126.1136891475.squirrel@10.0.10.126> Hi all.. > So what output do you get from `ps ax|grep nagios` on each step? I for > one > would like to see them instead of your interpretation. these two line are when I'm not wachting web interface # ps aux |grep nagios _nagios 32713 0.0 0.3 1564 1520 ?? Ss 9:33PM 5:19.92 nagios -d nagios.cfg root 12965 0.0 0.0 280 140 p0 R+ 1:41PM 0:00.09 grep nagios instead these are the output that I see when I'm browsing web intrerface # ps aux |grep nagios _nagios 32713 0.1 0.3 1564 1520 ?? Ss 9:33PM 5:20.61 nagios -d nagios.cfg _nagios 12113 0.0 0.1 1340 660 ?? S 1:43PM 0:00.02 nagios -d nagios.cfg _nagios 4067 0.0 0.1 584 472 ?? S 1:43PM 0:00.04 sh -c sh _nagios 22904 0.4 0.1 468 604 ?? S 1:43PM 0:00.06 /usr/local/libexec/nagios/check_ping -H 1 _nagios 8489 0.0 0.0 420 224 ?? S 1:43PM 0:00.03 /sbin/ping -n -c 5 10.0.2.50 > > You might actually have more then just that line in rc.local if you > installed packages. this is my rc.local #cat /etc/rc.local # $OpenBSD: rc.local,v 1.38 2005/03/29 21:41:59 uwe Exp $ # site-specific startup actions, daemons, and other things which # can be done AFTER your system goes into securemode. For actions # which should be done BEFORE your system has gone into securemode # please see /etc/rc.securelevel # site-specific startup actions, daemons which can be run # Add your local startup actions to this file echo -n 'starting local daemons:' if [ -x /usr/local/sbin/cfsd ]; then if ps auxc | grep -q '^ *root .* mountd$'; then echo -n ' cfsd'; /usr/local/sbin/cfsd >/dev/null 2>&1 mount -o port=3049,nfsv2,intr localhost:/null /crypt else echo -n ' cfsd (failed, no mountd running)' fi fi #if [ -x /usr/local/sbin/snmpd ]; then # echo -n ' snmpd'; /usr/local/sbin/snmpd #fi echo '.' mkdir /var/run/nagios/ chown _nagios:_nagios /var/run/nagios/ /usr/local/sbin/nagios -d /etc/nagios/nagios.cfg thanks Matteo ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikhollo at cisco.com Tue Jan 10 16:25:10 2006 From: mikhollo at cisco.com (Mike Holloway) Date: Tue, 10 Jan 2006 09:25:10 -0600 Subject: retention.dat not created Message-ID: Howdy fellow Nagios users. I've been researching a Nagios issue I've been experience, and as I haven't yet been able to resolve it with help from the nagios forums, I thought I would try the mailing list. My system: FreeBSD 6.0 / Nagios 2.0b6 and 2.0rc1 The problem: I've been unable to get retention.dat working as described in the documentation. The file is never created. It doesn't appear to be a file/dir permissions problem (running as nagios/nagios). It's not a "multiple Nagios processes" problem. The file never gets created or populated with data. I've tried values of 0, 3, and 60 for retention_update_interval, and have restarted Nagios (killed all procs) and given it plenty of time to populate retention.dat, I never see the file created. My need is to have Nagios remember disabled service checks and disabled notifications when it is restarted. Below are the relevant parts of my config (please assume a host entry exists): retain_state_information=1 state_retention_file=/var/spool/nagios/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 define service{ name generic-service active_checks_enabled 1 is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 notification_interval 120 notification_period 24x7 notification_options c,r event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define service{ use generic-service host_name somehostname.domain.com service_description SSH Secure Shell contact_groups level_1_notifications check_command check_ssh } And a couple of directory listings: /var/spool # ls -la drwxrwxrwx 2 nagios nagios 512 Jan 3 09:54 nagios /var/spool/nagios # ls -la -rw-rw-r-- 1 nagios nagios 784 Dec 29 18:35 comments.dat -rw-rw-r-- 1 nagios nagios 241 Dec 28 15:21 downtime.dat prw-rw---- 1 nagios nagios 0 Jan 3 09:54 nagios.cmd -rw-r--r-- 1 nagios nagios 6 Jan 3 09:54 nagios.lock -rw-rw-r-- 1 nagios nagios 165973 Jan 3 09:54 objects.cache -rw-rw-r-- 1 nagios nagios 1294 Jan 3 09:55 perfdata.dat -rw-rw-r-- 1 nagios nagios 165614 Jan 3 09:55 status.dat Here's a link to the forums thread I've been working in, if I get an answer via the list I will also post it there for posterity: http://www.meulie.net/forum_viewtopic.php?21.4934 Thanks in advance for any assistance guys and gals! -mike ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josej.castilla at juntadeandalucia.es Tue Jan 10 18:02:49 2006 From: josej.castilla at juntadeandalucia.es (Jose Castilla Gallardo) Date: Tue, 10 Jan 2006 18:02:49 +0100 Subject: error checking commnad Message-ID: <43C3E8B9.1050607@juntadeandalucia.es> Hi, i have with a host this message "UNREACHABLE" and Status Information: bin/ping -n -U -w 10 -c 1 x.x.x.x my checkcommands.cfg is: # Command to check to see if a host is "alive" (up) by pinging it define command{ command_name check-host-alive #command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1 command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } # Generic command to check a device by pinging it define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } I have nagios Version 2.0rc1 any solution???? -------------- next part -------------- A non-text attachment was scrubbed... Name: josej.castilla.vcf Type: text/x-vcard Size: 136 bytes Desc: not available URL: From andre.boulianne at gmail.com Tue Jan 10 22:05:09 2006 From: andre.boulianne at gmail.com (Andrew) Date: Tue, 10 Jan 2006 16:05:09 -0500 Subject: SMTP WARNING but STATUS OK Message-ID: <89147a760601101305i4d0d01f4yd123c63138675a4b@mail.gmail.com> I've installed Nagios on FreeBSD not a long time ago and now I'm facing that I really don't understand. I defined a host with two associate where one is check_smtp. When I configure the plugin to have a wrong anwser from the server (with the -C and -R parameters), I get "SMTP WARNING - Invalid....." in the Status Information but the Current Status still "OK" so I don' t receive any notifications for that host even if there is a warning. Can somebody guide me on that error? Thank you ----------------------------------------- Andr? Boulianne, ing. jr -------------- next part -------------- An HTML attachment was scrubbed... URL: From asmoore at edge.net Tue Jan 10 22:57:41 2006 From: asmoore at edge.net (Alex Moore) Date: Tue, 10 Jan 2006 15:57:41 -0600 Subject: 2.0rc2 question Message-ID: <20060110155741.00005a13@sws602.mcsun.local> Do we need a new nrpe for 2.0rc2 that is later than what worked with 2.0rc1? All of my nrpe checks are failing with a '(No output!)' response and all that I changed was nagios 2.0rc1 to 2.0rc2. Thanks, Alex -- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 10 23:08:49 2006 From: marc at ena.com (Marc Powell) Date: Tue, 10 Jan 2006 16:08:49 -0600 Subject: 2.0rc2 question Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Alex Moore > Sent: Tuesday, January 10, 2006 3:58 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] 2.0rc2 question > > Do we need a new nrpe for 2.0rc2 that is later than what worked with > 2.0rc1? > > All of my nrpe checks are failing with a '(No output!)' response and all > that I changed was nagios 2.0rc1 to 2.0rc2. No, NRPE versions are not tied to Nagios versions. You could use an NRPE that's years old if you wanted to. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at jameswhite.org Tue Jan 10 23:11:40 2006 From: james at jameswhite.org (James S. White) Date: Tue, 10 Jan 2006 16:11:40 -0600 (CST) Subject: 2.0rc2 question In-Reply-To: References: Message-ID: I got this behavior a few releases ago and disabling the embedded perl interpreter (at compile) made my output show up again. YMMV. ----------------------------------------------------------------------- James S. White primary/voip: (615) 469-0268 928 Mountain Valley Dr. .O. mobile: (256) 476-2619 Nashville, TN 37209 ..O work: (615) 341-8218 http://www.jameswhite.org OOO work-mobile: (615) 519-5160 james at jameswhite.org fax: (866) 260-5465 ----------------------------------------------------------------------- "Computers are useless. They only give you answers." -- Pablo Picasso On Tue, 10 Jan 2006, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Alex Moore > > Sent: Tuesday, January 10, 2006 3:58 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] 2.0rc2 question > > > > Do we need a new nrpe for 2.0rc2 that is later than what worked with > > 2.0rc1? > > > > All of my nrpe checks are failing with a '(No output!)' response and > all > > that I changed was nagios 2.0rc1 to 2.0rc2. > > No, NRPE versions are not tied to Nagios versions. You could use an NRPE > that's years old if you wanted to. > > -- > Marc > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asmoore at edge.net Tue Jan 10 23:22:47 2006 From: asmoore at edge.net (Alex Moore) Date: Tue, 10 Jan 2006 16:22:47 -0600 Subject: 2.0rc2 question In-Reply-To: References: Message-ID: <20060110162247.00001f14@sws602.mcsun.local> On Tue, 10 Jan 2006 16:11:40 -0600 (CST) "James S. White" wrote: > I got this behavior a few releases ago and disabling the embedded perl > interpreter (at compile) made my output show up again. Ok, I will try that. But my configure script is the same now that is was with 2.0rc1 and previous versions. In fact, I think that I have tried to say no to building with the embedded perl interpreter and it was enabled anyway. Thanks, Alex -- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reg at nwc.ca Wed Jan 11 06:18:35 2006 From: reg at nwc.ca (Reg) Date: Tue, 10 Jan 2006 22:18:35 -0700 Subject: Nagios check_ping times Message-ID: <43C4952B.6080002@nwc.ca> I sporadically ( 1 or 2 times/day for 50 hosts) get check_ping returing average response times of 500ms plus resulting in false "critical" alerts from Nagios. E.G. PING CRITICAL - Packet loss = 0%, RTA = 535.87 ms I'm running Suse 9.1 on VMWare ESX server. I DO NOT believe vmware to be a factor because I also run smokeping on this virtual machine. SmokePing sends 3 pings every 5 seconds to the same hosts and never shows the 500ms+ latency that Nagios reports. During the course of a typical day I get 80-100 of these "false alarms" I suspect the problem is in the nagios daemon and how i have it configured. When i run check_ping manually i can't reproduce the 500ms+. Are there any quick tests or diagnostics to help figure what's going on? Reg ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lauffer at ph-freiburg.de Wed Jan 11 10:01:28 2006 From: lauffer at ph-freiburg.de (Stephan Lauffer) Date: Wed, 11 Jan 2006 10:01:28 +0100 Subject: info about freshness_threshold in extinfo.cgi (detailed service informations)? Message-ID: <43C4C968.4010306@ph-freiburg.de> hi all! I'm monitorung a passive service with the freshness_threshold feature. I'm wondering because I can't see something like "expected freshness: